Class Feed (3.9.1)

Feed(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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: Cloud Pub/Sub topics.

Attributes

NameDescription
name str
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.
asset_names Sequence[str]
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 and asset_types are exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See `Resource Names
asset_types Sequence[str]
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 and asset_types are exported to the feed. For example: "compute.googleapis.com/Disk" See `Introduction to Cloud Asset Inventory
content_type google.cloud.asset_v1p2beta1.types.ContentType
Asset content type. If not specified, no content but the asset name and type will be returned.
feed_output_config google.cloud.asset_v1p2beta1.types.FeedOutputConfig
Required. Feed output configuration defining where the asset updates are published to.