Module types (1.1.0)

API documentation for asset_v1p2beta1.types module.

Classes

CreateFeedRequest

Create asset feed request. .. attribute:: parent

Required. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as “organizations/123”), a folder number (such as “folders/123”), a project ID (such as “projects/my-project- id”)“, or a project number (such as”projects/12345").

Required. The feed details. The field name must be empty and it will be generated in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id

DeleteFeedRequest

Empty

API documentation for asset_v1p2beta1.types.Empty class.

Feed

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. .. attribute:: name

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.

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 <https://cloud.google.com/resource- manager/docs/cloud-asset-inventory/overview>__ for all supported asset types.

Required. Feed output configuration defining where the asset updates are published to.

FeedOutputConfig

Output configuration for asset feed destination. .. attribute:: destination

Asset feed destination.

FieldMask

API documentation for asset_v1p2beta1.types.FieldMask class.

GcsDestination

A Cloud Storage location. .. attribute:: object_uri

Required.

GetFeedRequest

Get asset feed request. .. attribute:: name

Required. The name of the Feed and it must be in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id

ListFeedsRequest

List asset feeds request. .. attribute:: parent

Required. The parent project/folder/organization whose feeds are to be listed. It can only be using project/folder/organization number (such as “folders/12345”)“, or a project ID (such as”projects/my-project-id").

ListFeedsResponse

OutputConfig

Output configuration for export assets destination. .. attribute:: destination

Asset export destination.

PubsubDestination

A Cloud Pubsub destination. .. attribute:: topic

The name of the Cloud Pub/Sub topic to publish to. For example: projects/PROJECT_ID/topics/TOPIC_ID.

UpdateFeedRequest

Update asset feed request. .. attribute:: feed

Required. The new values of feed details. It must match an existing feed and the field name must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id.