gcp.cloudasset.FolderFeed
Explore with Pulumi AI
Describes a Cloud Asset Inventory feed used to to listen to asset updates.
To get more information about FolderFeed, see:
- API documentation
- How-to Guides
Create FolderFeed Resource
new FolderFeed(name: string, args: FolderFeedArgs, opts?: CustomResourceOptions);
@overload
def FolderFeed(resource_name: str,
opts: Optional[ResourceOptions] = None,
asset_names: Optional[Sequence[str]] = None,
asset_types: Optional[Sequence[str]] = None,
billing_project: Optional[str] = None,
condition: Optional[FolderFeedConditionArgs] = None,
content_type: Optional[str] = None,
feed_id: Optional[str] = None,
feed_output_config: Optional[FolderFeedFeedOutputConfigArgs] = None,
folder: Optional[str] = None)
@overload
def FolderFeed(resource_name: str,
args: FolderFeedArgs,
opts: Optional[ResourceOptions] = None)
func NewFolderFeed(ctx *Context, name string, args FolderFeedArgs, opts ...ResourceOption) (*FolderFeed, error)
public FolderFeed(string name, FolderFeedArgs args, CustomResourceOptions? opts = null)
public FolderFeed(String name, FolderFeedArgs args)
public FolderFeed(String name, FolderFeedArgs args, CustomResourceOptions options)
type: gcp:cloudasset:FolderFeed
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FolderFeedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FolderFeedArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FolderFeedArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FolderFeedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FolderFeedArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
FolderFeed Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The FolderFeed resource accepts the following input properties:
- Billing
Project 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.
- Feed
Id string This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- Feed
Output FolderConfig Feed Feed Output Config Output configuration for asset feed destination. Structure is documented below.
- Folder string
The folder this feed should be created in.
- Asset
Names 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.
- Asset
Types 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.
- Condition
Folder
Feed Condition 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.
- Content
Type 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
.
- Billing
Project 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.
- Feed
Id string This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- Feed
Output FolderConfig Feed Feed Output Config Args Output configuration for asset feed destination. Structure is documented below.
- Folder string
The folder this feed should be created in.
- Asset
Names []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.
- Asset
Types []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.
- Condition
Folder
Feed Condition Args 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.
- Content
Type 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
.
- billing
Project 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.
- feed
Id String This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- feed
Output FolderConfig Feed Feed Output Config Output configuration for asset feed destination. Structure is documented below.
- folder String
The folder this feed should be created in.
- asset
Names 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.
- asset
Types 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.
- condition
Folder
Feed Condition 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.
- content
Type 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
.
- billing
Project 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.
- feed
Id string This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- feed
Output FolderConfig Feed Feed Output Config Output configuration for asset feed destination. Structure is documented below.
- folder string
The folder this feed should be created in.
- asset
Names 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.
- asset
Types 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.
- condition
Folder
Feed Condition 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.
- content
Type 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
.
- billing_
project str 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.
- feed_
id str This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- feed_
output_ Folderconfig Feed Feed Output Config Args Output configuration for asset feed destination. Structure is documented below.
- folder str
The folder this feed should be created in.
- asset_
names Sequence[str] 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.
- asset_
types Sequence[str] 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.
- condition
Folder
Feed Condition Args 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.
- content_
type str 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
.
- billing
Project 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.
- feed
Id String This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- feed
Output Property MapConfig Output configuration for asset feed destination. Structure is documented below.
- folder String
The folder this feed should be created in.
- asset
Names 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.
- asset
Types 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.
- condition Property Map
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.
- content
Type 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
.
Outputs
All input properties are implicitly available as output properties. Additionally, the FolderFeed resource produces the following output properties:
Look up Existing FolderFeed Resource
Get an existing FolderFeed resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FolderFeedState, opts?: CustomResourceOptions): FolderFeed
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
asset_names: Optional[Sequence[str]] = None,
asset_types: Optional[Sequence[str]] = None,
billing_project: Optional[str] = None,
condition: Optional[FolderFeedConditionArgs] = None,
content_type: Optional[str] = None,
feed_id: Optional[str] = None,
feed_output_config: Optional[FolderFeedFeedOutputConfigArgs] = None,
folder: Optional[str] = None,
folder_id: Optional[str] = None,
name: Optional[str] = None) -> FolderFeed
func GetFolderFeed(ctx *Context, name string, id IDInput, state *FolderFeedState, opts ...ResourceOption) (*FolderFeed, error)
public static FolderFeed Get(string name, Input<string> id, FolderFeedState? state, CustomResourceOptions? opts = null)
public static FolderFeed get(String name, Output<String> id, FolderFeedState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Asset
Names 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.
- Asset
Types 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.
- Billing
Project 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.
- Condition
Folder
Feed Condition 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.
- Content
Type 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
.- Feed
Id string This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- Feed
Output FolderConfig Feed Feed Output Config Output configuration for asset feed destination. Structure is documented below.
- Folder string
The folder this feed should be created in.
- Folder
Id string The ID of the folder where this feed has been created. Both [FOLDER_NUMBER] and folders/[FOLDER_NUMBER] are accepted.
- Name string
The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
- Asset
Names []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.
- Asset
Types []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.
- Billing
Project 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.
- Condition
Folder
Feed Condition Args 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.
- Content
Type 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
.- Feed
Id string This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- Feed
Output FolderConfig Feed Feed Output Config Args Output configuration for asset feed destination. Structure is documented below.
- Folder string
The folder this feed should be created in.
- Folder
Id string The ID of the folder where this feed has been created. Both [FOLDER_NUMBER] and folders/[FOLDER_NUMBER] are accepted.
- Name string
The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
- asset
Names 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.
- asset
Types 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.
- billing
Project 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.
- condition
Folder
Feed Condition 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.
- content
Type 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
.- feed
Id String This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- feed
Output FolderConfig Feed Feed Output Config Output configuration for asset feed destination. Structure is documented below.
- folder String
The folder this feed should be created in.
- folder
Id String The ID of the folder where this feed has been created. Both [FOLDER_NUMBER] and folders/[FOLDER_NUMBER] are accepted.
- name String
The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
- asset
Names 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.
- asset
Types 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.
- billing
Project 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.
- condition
Folder
Feed Condition 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.
- content
Type 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
.- feed
Id string This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- feed
Output FolderConfig Feed Feed Output Config Output configuration for asset feed destination. Structure is documented below.
- folder string
The folder this feed should be created in.
- folder
Id string The ID of the folder where this feed has been created. Both [FOLDER_NUMBER] and folders/[FOLDER_NUMBER] are accepted.
- name string
The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
- asset_
names Sequence[str] 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.
- asset_
types Sequence[str] 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.
- billing_
project str 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.
- condition
Folder
Feed Condition Args 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.
- content_
type str 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
.- feed_
id str This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- feed_
output_ Folderconfig Feed Feed Output Config Args Output configuration for asset feed destination. Structure is documented below.
- folder str
The folder this feed should be created in.
- folder_
id str The ID of the folder where this feed has been created. Both [FOLDER_NUMBER] and folders/[FOLDER_NUMBER] are accepted.
- name str
The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
- asset
Names 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.
- asset
Types 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.
- billing
Project 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.
- condition Property Map
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.
- content
Type 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
.- feed
Id String This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
- feed
Output Property MapConfig Output configuration for asset feed destination. Structure is documented below.
- folder String
The folder this feed should be created in.
- folder
Id String The ID of the folder where this feed has been created. Both [FOLDER_NUMBER] and folders/[FOLDER_NUMBER] are accepted.
- name String
The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
Supporting Types
FolderFeedCondition, FolderFeedConditionArgs
- Expression string
Textual representation of an expression in Common Expression Language syntax.
- Description string
Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Location string
String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title string
Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- Expression string
Textual representation of an expression in Common Expression Language syntax.
- Description string
Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- Location string
String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- Title string
Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- expression String
Textual representation of an expression in Common Expression Language syntax.
- description String
Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- location String
String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title String
Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- expression string
Textual representation of an expression in Common Expression Language syntax.
- description string
Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- location string
String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title string
Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- expression str
Textual representation of an expression in Common Expression Language syntax.
- description str
Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- location str
String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title str
Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
- expression String
Textual representation of an expression in Common Expression Language syntax.
- description String
Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- location String
String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- title String
Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
FolderFeedFeedOutputConfig, FolderFeedFeedOutputConfigArgs
- Pubsub
Destination FolderFeed Feed Output Config Pubsub Destination Destination on Cloud Pubsub. Structure is documented below.
- Pubsub
Destination FolderFeed Feed Output Config Pubsub Destination Destination on Cloud Pubsub. Structure is documented below.
- pubsub
Destination FolderFeed Feed Output Config Pubsub Destination Destination on Cloud Pubsub. Structure is documented below.
- pubsub
Destination FolderFeed Feed Output Config Pubsub Destination Destination on Cloud Pubsub. Structure is documented below.
- pubsub_
destination FolderFeed Feed Output Config Pubsub Destination Destination on Cloud Pubsub. Structure is documented below.
- pubsub
Destination Property Map Destination on Cloud Pubsub. Structure is documented below.
FolderFeedFeedOutputConfigPubsubDestination, FolderFeedFeedOutputConfigPubsubDestinationArgs
- Topic string
Destination on Cloud Pubsub topic.
- Topic string
Destination on Cloud Pubsub topic.
- topic String
Destination on Cloud Pubsub topic.
- topic string
Destination on Cloud Pubsub topic.
- topic str
Destination on Cloud Pubsub topic.
- topic String
Destination on Cloud Pubsub topic.
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}}
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
google-beta
Terraform Provider.