Module types (1.1.0)

API documentation for asset_v1beta1.types module.

Classes

Any

API documentation for asset_v1beta1.types.Any class.

Asset

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

The full name of the asset. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See https://cloud.google.com/apis/design/resource_names#full_resource_name for more information.

Representation of the resource.

AuditConfig

API documentation for asset_v1beta1.types.AuditConfig class.

AuditConfigDelta

API documentation for asset_v1beta1.types.AuditConfigDelta class.

AuditLogConfig

API documentation for asset_v1beta1.types.AuditLogConfig class.

BatchGetAssetsHistoryRequest

Batch get assets history request. .. attribute:: parent

Required. The relative name of the root asset. It can only be an organization number (such as “organizations/123”), a project ID (such as “projects/my-project-id”)“, or a project number (such as”projects/12345").

Optional. The content type.

BatchGetAssetsHistoryResponse

Batch get assets history response. .. attribute:: assets

A list of assets with valid time windows.

Binding

API documentation for asset_v1beta1.types.Binding class.

BindingDelta

API documentation for asset_v1beta1.types.BindingDelta class.

CancelOperationRequest

API documentation for asset_v1beta1.types.CancelOperationRequest class.

DeleteOperationRequest

API documentation for asset_v1beta1.types.DeleteOperationRequest class.

ExportAssetsRequest

Export asset request. .. attribute:: parent

Required. The relative name of the root asset. This can only be an organization number (such as “organizations/123”), a project ID (such as “projects/my-project-id”), a project number (such as “projects/12345”), or a folder number (such as “folders/123”).

A list of asset types of which to take a snapshot for. For example: “google.compute.Disk”. If specified, only matching assets will be returned. See Introduction to Cloud Asset Inventory <https://cloud.google.com/resource- manager/docs/cloud-asset-inventory/overview>__ for all supported asset types.

Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.

ExportAssetsResponse

The export asset response. This message is returned by the [google.lon grunning.Operations.GetOperation][google.longrunning.Operations.GetOpe ration] method in the returned [google.longrunning.Operation.response] [google.longrunning.Operation.response] field. .. attribute:: read_time

Time the snapshot was taken.

Expr

API documentation for asset_v1beta1.types.Expr class.

GcsDestination

A Cloud Storage location. .. attribute:: object_uri

Required.

The uri prefix of all generated Cloud Storage objects. For example: “gs://bucket_name/object_name_prefix”. Each object uri is in format: “gs://bucket_name/object_name_prefix// and only contains assets for that type. starts from 0. For example :”gs://bucket_name/object_name_prefix/google.compute.disk/0" is the first shard of output objects containing all google.compute.disk assets. An INVALID_ARGUMENT error will be returned if file with the same name “gs://bucket_name/object_name_prefix” already exists.

GetOperationRequest

API documentation for asset_v1beta1.types.GetOperationRequest class.

ListOperationsRequest

API documentation for asset_v1beta1.types.ListOperationsRequest class.

ListOperationsResponse

API documentation for asset_v1beta1.types.ListOperationsResponse class.

ListValue

API documentation for asset_v1beta1.types.ListValue class.

Operation

API documentation for asset_v1beta1.types.Operation class.

OperationInfo

API documentation for asset_v1beta1.types.OperationInfo class.

OutputConfig

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

Asset export destination.

Policy

API documentation for asset_v1beta1.types.Policy class.

PolicyDelta

API documentation for asset_v1beta1.types.PolicyDelta class.

Resource

Representation of a cloud resource. .. attribute:: version

The API version. Example: “v1”.

The JSON schema name listed in the discovery document. Example: “Project”. It will be left unspecified for resources (such as Cloud Bigtable) without a discovery-based API.

The full name of the immediate parent of this resource. See Resource Names <https://cloud.google.com/apis/design/resource _names#full_resource_name> for more information. For GCP assets, it is the parent resource defined in the Cloud IAM policy hierarchy <https://cloud.google.com/iam/docs/overview#p olicy_hierarchy>. For example: "//cloudresourcemanager.go ogleapis.com/projects/my_project_123". For third-party assets, it is up to the users to define.

Status

API documentation for asset_v1beta1.types.Status class.

Struct

API documentation for asset_v1beta1.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]. .. attribute:: start_time

Start time of the time window (exclusive).

Timestamp

API documentation for asset_v1beta1.types.Timestamp class.

Value

API documentation for asset_v1beta1.types.Value class.

WaitOperationRequest

API documentation for asset_v1beta1.types.WaitOperationRequest class.