google_api_cloud_asset v0.11.0 GoogleApi.CloudAsset.V1.Model.Feed 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.

  • 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()],
  assetTypes: [String.t()],
  contentType: String.t(),
  feedOutputConfig: GoogleApi.CloudAsset.V1.Model.FeedOutputConfig.t(),
  name: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.