API documentation for asset_v1.types
module.
Classes
AccessLevel
API documentation for asset_v1.types.AccessLevel
class.
AccessPolicy
API documentation for asset_v1.types.AccessPolicy
class.
Any
API documentation for asset_v1.types.Any
class.
Asset
An asset in Google Cloud. An asset can be any resource in
the Google Cloud resource
hierarchy <https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy>
__,
a resource outside the Google Cloud resource hierarchy (such as Google
Kubernetes Engine clusters and objects), or a Cloud IAM policy.
The type of the asset. For example:
“compute.googleapis.com/Disk” See Supported asset types
<https://cloud.google.com/asset-inventory/docs/supported-
asset-types>
__ for more information.
A representation of the Cloud IAM policy set on a Google Cloud
resource. There can be a maximum of one Cloud IAM policy set
on any given resource. In addition, Cloud IAM policies inherit
their granted access scope from any policies set on parent
resources in the resource hierarchy. Therefore, the
effectively policy is the union of both the policy set on this
resource and each policy set on all of the resource’s ancestry
resource levels in the hierarchy. See this topic
<https://cloud.google.com/iam/docs/policies#inheritance>
__
for more information.
A representation of an access policy
<https://cloud.google.com/access-context-
manager/docs/overview#access-policies>
__.
AuditConfig
API documentation for asset_v1.types.AuditConfig
class.
AuditConfigDelta
API documentation for asset_v1.types.AuditConfigDelta
class.
AuditLogConfig
API documentation for asset_v1.types.AuditLogConfig
class.
BasicLevel
API documentation for asset_v1.types.BasicLevel
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/asset-
inventory/docs/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 the current time minus 35 days. 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_v1.types.Binding
class.
BindingDelta
API documentation for asset_v1.types.BindingDelta
class.
CancelOperationRequest
API documentation for asset_v1.types.CancelOperationRequest
class.
Condition
API documentation for asset_v1.types.Condition
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.
CustomLevel
API documentation for asset_v1.types.CustomLevel
class.
DeleteFeedRequest
DeleteOperationRequest
API documentation for asset_v1.types.DeleteOperationRequest
class.
DevicePolicy
API documentation for asset_v1.types.DevicePolicy
class.
Empty
API documentation for asset_v1.types.Empty
class.
ExportAssetsRequest
Export asset request.
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). 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_v1.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: 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: //compute
.googleapis.com/projects/my_project_123/zones/zone1/instances/
instance1
. See Resource Names <https://cloud.google.com/api
s/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 Pub/Sub.
FieldMask
API documentation for asset_v1.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_v1.types.GetOperationRequest
class.
ListFeedsRequest
List asset feeds request.
ListFeedsResponse
ListOperationsRequest
API documentation for asset_v1.types.ListOperationsRequest
class.
ListOperationsResponse
API documentation for asset_v1.types.ListOperationsResponse
class.
ListValue
API documentation for asset_v1.types.ListValue
class.
Operation
API documentation for asset_v1.types.Operation
class.
OperationInfo
API documentation for asset_v1.types.OperationInfo
class.
OsConstraint
API documentation for asset_v1.types.OsConstraint
class.
OutputConfig
Output configuration for export assets destination.
Destination on Cloud Storage.
Policy
API documentation for asset_v1.types.Policy
class.
PolicyDelta
API documentation for asset_v1.types.PolicyDelta
class.
PubsubDestination
A Pub/Sub destination.
Resource
A representation of a Google Cloud resource.
The URL of the discovery document containing the resource’s JSON schema. For example: “https://www.googleapis.com/discovery/v1/apis/compute/v1/rest” This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.
The REST URL for accessing the resource. An HTTP GET
request using this URL returns the resource itself. For
example:
“https://cloudresourcemanager.googleapis.com/v1/projects/my-
project-123” This value is unspecified for resources without
a REST API.
The content of the resource, in which some sensitive fields are removed and may not be present.
ServicePerimeter
API documentation for asset_v1.types.ServicePerimeter
class.
ServicePerimeterConfig
API documentation for asset_v1.types.ServicePerimeterConfig
class.
Status
API documentation for asset_v1.types.Status
class.
Struct
API documentation for asset_v1.types.Struct
class.
TemporalAsset
An asset in Google Cloud and its temporal metadata, including the time window when it was observed and its status during that window.
Whether the asset has been deleted or not.
TimeWindow
A time window specified by its “start_time” and “end_time”.
End time of the time window (inclusive). If not specified, the current timestamp is used instead.
Timestamp
API documentation for asset_v1.types.Timestamp
class.
UpdateFeedRequest
Update asset feed request.
Required. 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_v1.types.Value
class.
WaitOperationRequest
API documentation for asset_v1.types.WaitOperationRequest
class.