FolderFeedState class
Input properties used for looking up and filtering FolderFeed resources.
Constructors
-
FolderFeedState({Input<
List< ? assetNames, Input<String> ?>List< ? assetTypes, Input<String> ?>String?> ? billingProject, Input<FolderFeedCondition?> ? condition, Input<String?> ? contentType, Input<String?> ? deletionPolicy, Input<String?> ? feedId, Input<FolderFeedFeedOutputConfig?> ? feedOutputConfig, Input<String?> ? folder, Input<String?> ? folderId, Input<String?> ? name}) -
Creates a new FolderFeedState.
assetNamesA list of the full names of the assets to receive updates. You must specify either or both ofassetTypesA list of types of the assets to receive updates. You must specify either or both of assetNamesbillingProjectThe project whose identity will be used when sending messages to theconditionA condition which determines whether an asset update should be published. If specified, an assetcontentTypeAsset content type. If not specified, no content but the asset name and type will be returned.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.feedIdThis is the client-assigned asset feed identifier and it needs to be unique under a specific parent.feedOutputConfigOutput configuration for asset feed destination.folderThe folder this feed should be created in.folderIdThe ID of the folder where this feed has been created. BothFOLDER_NUMBERnameThe format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.const -
FolderFeedState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
assetNames
→ Input<
List< ?String> ?> -
A list of the full names of the assets to receive updates. You must specify either or both of
assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are
exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1.
See https://cloud.google.com/apis/design/resourceNames#fullResourceName for more info.
final
-
assetTypes
→ Input<
List< ?String> ?> -
A list of types of the assets to receive updates. You must specify either or both of assetNames
and assetTypes. Only asset updates matching specified assetNames and assetTypes are exported to
the feed. For example: "compute.googleapis.com/Disk"
See https://cloud.google.com/asset-inventory/docs/supported-asset-types for a list of all
supported asset types.
final
-
billingProject
→ Input<
String?> ? -
The project whose identity will be used when sending messages to the
destination pubsub topic. It also specifies the project for API
enablement check, quota, and billing.
final
-
condition
→ Input<
FolderFeedCondition?> ? -
A condition which determines whether an asset update should be published. If specified, an asset
will be returned only when the expression evaluates to true. When set, expression field
must be a valid CEL expression on a TemporalAsset with name temporal_asset. Example: a Feed with
expression "temporal_asset.deleted == true" will only publish Asset deletions. Other fields of
condition are optional.
Structure is documented below.
final
-
contentType
→ Input<
String?> ? -
Asset content type. If not specified, no content but the asset name and type will be returned.
Possible values are:
CONTENT_TYPE_UNSPECIFIED,RESOURCE,IAM_POLICY,ORG_POLICY,OS_INVENTORY,ACCESS_POLICY.final -
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
feedId
→ Input<
String?> ? -
This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
final
-
feedOutputConfig
→ Input<
FolderFeedFeedOutputConfig?> ? -
Output configuration for asset feed destination.
Structure is documented below.
final
-
folder
→ Input<
String?> ? -
The folder this feed should be created in.
final
-
folderId
→ Input<
String?> ? -
The ID of the folder where this feed has been created. Both
FOLDER_NUMBERand folders/FOLDER_NUMBERare accepted.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited