Module types (0.4.1)

API documentation for asset_v1p2beta1.types module.

Classes

Any

API documentation for asset_v1p2beta1.types.Any class.

Asset

Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM policies, and other non-GCP assets.

Type of the asset. Example: "compute.googleapis.com/Disk".

Representation of the actual Cloud IAM policy set on a cloud resource. For each resource, there must be at most one Cloud IAM policy set on it.

Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, represented as a list of relative resource names. Ancestry path starts with the closest CRM ancestor and ending at a visible root. If the asset is a CRM project/ folder/organization, this starts from the asset itself. Example: ["projects/123456789", "folders/5432", "organizations/1234"]

AuditConfig

API documentation for asset_v1p2beta1.types.AuditConfig class.

AuditConfigDelta

API documentation for asset_v1p2beta1.types.AuditConfigDelta class.

AuditLogConfig

API documentation for asset_v1p2beta1.types.AuditLogConfig class.

BatchGetAssetsHistoryRequest

Batch get assets history request.

A list of the full names of the assets. For example: //compu te.googleapis.com/projects/my_project_123/zones/zone1/instance s/instance1. See Resource Names <https://cloud.google.com/a pis/design/resource_names#full_resource_name> and Resource Name Format <https://cloud.google.com/resource- manager/docs/cloud-asset-inventory/resource-name-format> for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.

Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.

BatchGetAssetsHistoryResponse

Batch get assets history response.

BigQueryDestination

A Bigquery destination.

Required. The BigQuery table to which the snapshot result should be written. If this table does not exist, a new table with the given name will be created.

Binding

API documentation for asset_v1p2beta1.types.Binding class.

BindingDelta

API documentation for asset_v1p2beta1.types.BindingDelta class.

CancelOperationRequest

API documentation for asset_v1p2beta1.types.CancelOperationRequest class.

CreateFeedRequest

Create asset feed request.

Required. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.

DeleteFeedRequest

Delete asset feed request.

DeleteOperationRequest

API documentation for asset_v1p2beta1.types.DeleteOperationRequest class.

Empty

API documentation for asset_v1p2beta1.types.Empty class.

ExportAssetsRequest

Export asset request.

Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.

Asset content type. If not specified, no content but the asset name will be returned.

ExportAssetsResponse

The export asset response. This message is returned by the google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] method in the returned google.longrunning.Operation.response][google.longrunning.Operation.response] field.

Output configuration indicating where the results were output to. All results are in JSON format.

Expr

API documentation for asset_v1p2beta1.types.Expr 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.

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: //comput e.googleapis.com/projects/my_project_123/zones/zone1/instances /instance1. See Resource Names <https://cloud.google.com/ap is/design/resource_names#full_resource_name>__ for more info.

Asset content type. If not specified, no content but the asset name and type will be returned.

FeedOutputConfig

Output configuration for asset feed destination.

Destination on Cloud Pubsub.

FieldMask

API documentation for asset_v1p2beta1.types.FieldMask class.

GcsDestination

A Cloud Storage location.

The uri of the Cloud Storage object. It's the same uri that is used by gsutil. For example: "gs://bucket_name/object_name". See Viewing and Editing Object Metadata <https://cloud.google.com/storage/docs/viewing-editing- metadata>__ for more information.

GetFeedRequest

Get asset feed request.

GetOperationRequest

API documentation for asset_v1p2beta1.types.GetOperationRequest class.

ListFeedsRequest

List asset feeds request.

ListFeedsResponse

List asset feeds response.

ListOperationsRequest

API documentation for asset_v1p2beta1.types.ListOperationsRequest class.

ListOperationsResponse

API documentation for asset_v1p2beta1.types.ListOperationsResponse class.

ListValue

API documentation for asset_v1p2beta1.types.ListValue class.

Operation

API documentation for asset_v1p2beta1.types.Operation class.

OperationInfo

API documentation for asset_v1p2beta1.types.OperationInfo class.

OutputConfig

Output configuration for export assets destination.

Destination on Cloud Storage.

Policy

API documentation for asset_v1p2beta1.types.Policy class.

PolicyDelta

API documentation for asset_v1p2beta1.types.PolicyDelta class.

PubsubDestination

A Cloud Pubsub destination.

Resource

Representation of a cloud resource.

The URL of the discovery document containing the resource's JSON schema. For example: "https://www.googleapis.com/discov ery/v1/apis/compute/v1/rest". It will be left unspecified for resources without a discovery-based API, such as Cloud Bigtable.

The REST URL for accessing the resource. An HTTP GET operation using this URL returns the resource itself. Example: https://cloudresourcemanager.googleapis.com/v1/projects/my- project-123. It will be left unspecified for resources without a REST API.

The content of the resource, in which some sensitive fields are scrubbed away and may not be present.

Status

API documentation for asset_v1p2beta1.types.Status class.

Struct

API documentation for asset_v1p2beta1.types.Struct class.

TemporalAsset

Temporal asset. In addition to the asset, the temporal asset includes the status of the asset and valid from and to time of it.

If the asset is deleted or not.

TimeWindow

A time window of (start_time, end_time].

End time of the time window (inclusive). Current timestamp if not specified.

Timestamp

API documentation for asset_v1p2beta1.types.Timestamp class.

UpdateFeedRequest

Update asset feed request.

Only updates the feed fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.

Value

API documentation for asset_v1p2beta1.types.Value class.

WaitOperationRequest

API documentation for asset_v1p2beta1.types.WaitOperationRequest class.