Feed constructor

Feed(
  1. String name, {
  2. FeedArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new Feed. name The Pulumi resource name. args Arguments used to configure this Feed. The set of arguments for Feed. options Resource options controlling this resource's behavior.

Implementation

Feed(
  String name, {
  FeedArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:cloudasset/v1:Feed',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  assetNames = registerOutput<List<String>>('assetNames');
  assetTypes = registerOutput<List<String>>('assetTypes');
  condition = registerOutput<ExprResponse>('condition', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ExprResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  contentType = registerOutput<String>('contentType');
  feedOutputConfig = registerOutput<FeedOutputConfigResponse>('feedOutputConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return FeedOutputConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  this.name = registerOutput<String>('name');
  relationshipTypes = registerOutput<List<String>>('relationshipTypes');
  v1Id = registerOutput<String>('v1Id');
  v1Id1 = registerOutput<String>('v1Id1');
}