GoogleApi.CloudAsset.V1.Model.Feed (google_api_cloud_asset v0.22.1) View Source
An asset feed used to export asset updates to a destinations. An asset feed filter controls what updates are exported. The asset feed must be created within a project, organization, or folder. Supported destinations are: Pub/Sub topics.
Attributes
-
assetNames(type:list(String.t), default:nil) - A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example://compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See Resource Names for more info. -
assetTypes(type:list(String.t), default:nil) - A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example:"compute.googleapis.com/Disk"See this topic for a list of all supported asset types. -
condition(type:GoogleApi.CloudAsset.V1.Model.Expr.t, default:nil) - 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,expressionfield in theExprmust be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with nametemporal_asset. Example: a Feed with expression ("temporal_asset.deleted == true") will only publish Asset deletions. Other fields ofExprare optional. See our user guide for detailed instructions. -
contentType(type:String.t, default:nil) - Asset content type. If not specified, no content but the asset name and type will be returned. -
feedOutputConfig(type:GoogleApi.CloudAsset.V1.Model.FeedOutputConfig.t, default:nil) - Required. Feed output configuration defining where the asset updates are published to. -
name(type:String.t, default:nil) - Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.CloudAsset.V1.Model.Feed{
assetNames: [String.t()] | nil,
assetTypes: [String.t()] | nil,
condition: GoogleApi.CloudAsset.V1.Model.Expr.t() | nil,
contentType: String.t() | nil,
feedOutputConfig: GoogleApi.CloudAsset.V1.Model.FeedOutputConfig.t() | nil,
name: String.t() | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.