FolderFeedArgs

data class FolderFeedArgs(val assetNames: Output<List<String>>? = null, val assetTypes: Output<List<String>>? = null, val billingProject: Output<String>? = null, val condition: Output<FolderFeedConditionArgs>? = null, val contentType: Output<String>? = null, val feedId: Output<String>? = null, val feedOutputConfig: Output<FolderFeedFeedOutputConfigArgs>? = null, val folder: Output<String>? = null) : ConvertibleToJava<FolderFeedArgs>

Describes a Cloud Asset Inventory feed used to to listen to asset updates. To get more information about FolderFeed, see:

Example Usage

{{% /examples %}}

Import

FolderFeed can be imported using any of these accepted formats

$ pulumi import gcp:cloudasset/folderFeed:FolderFeed default folders/{{folder_id}}/feeds/{{name}}
$ pulumi import gcp:cloudasset/folderFeed:FolderFeed default {{folder_id}}/{{name}}

Constructors

Link copied to clipboard
constructor(assetNames: Output<List<String>>? = null, assetTypes: Output<List<String>>? = null, billingProject: Output<String>? = null, condition: Output<FolderFeedConditionArgs>? = null, contentType: Output<String>? = null, feedId: Output<String>? = null, feedOutputConfig: Output<FolderFeedFeedOutputConfigArgs>? = null, folder: Output<String>? = null)

Properties

Link copied to clipboard
val assetNames: Output<List<String>>? = null

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.

Link copied to clipboard
val assetTypes: Output<List<String>>? = null

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.

Link copied to clipboard
val billingProject: Output<String>? = null

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.

Link copied to clipboard
val condition: Output<FolderFeedConditionArgs>? = null

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.

Link copied to clipboard
val contentType: Output<String>? = null

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.

Link copied to clipboard
val feedId: Output<String>? = null

This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.

Link copied to clipboard

Output configuration for asset feed destination. Structure is documented below.

Link copied to clipboard
val folder: Output<String>? = null

The folder this feed should be created in.

Functions

Link copied to clipboard
open override fun toJava(): FolderFeedArgs