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.
Type of the asset. Example: “google.compute.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.
AuditConfigDelta
One delta entry for AuditConfig. Each individual change (only one exempted_member in each entry) to a AuditConfig will be a separate entry.
.. attribute:: action
The action that was performed on an audit configuration in a policy. Required
A single identity that is exempted from “data access” audit
logging for the service
specified above. Follows the same
format of Binding.members.
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>
__ 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.
Binding
Associates members
with a role
.
.. attribute:: role
Role that is assigned to members
. For example,
roles/viewer
, roles/editor
, or roles/owner
.
The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
BindingDelta
One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.
.. attribute:: action
The action that was performed on a Binding. Required
A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required
CancelOperationRequest
API documentation for asset_v1beta1.types.CancelOperationRequest
class.
DeleteOperationRequest
API documentation for asset_v1beta1.types.DeleteOperationRequest
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.lon grunning.Operations.GetOperation][google.longrunning.Operations.GetOpe ration] 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_v1beta1.types.Expr
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.
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.
Destination on Cloud Storage.
Policy
Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
A Policy
consists of a list of bindings
. A binding
binds a
list of members
to a role
, where the members can be user
accounts, Google groups, Google domains, and service accounts. A
role
is a named list of permissions defined by IAM.
JSON Example
::
{ "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
YAML Example
::
bindings:
- members:
- user:mike@example.com
- group:admins@example.com
- domain:google.com
- serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner
- members:
- user:sean@example.com role: roles/viewer
For a description of IAM and its features, see the IAM developer’s
guide <https://cloud.google.com/iam/docs>
__.
.. attribute:: version
Deprecated.
etag
is used for optimistic concurrency control as a way
to help prevent simultaneous updates of a policy from
overwriting each other. It is strongly suggested that systems
make use of the etag
in the read-modify-write cycle to
perform policy updates in order to avoid race conditions: An
etag
is returned in the response to getIamPolicy
, and
systems are expected to put that etag in the request to
setIamPolicy
to ensure that their change will be applied
to the same version of the policy. If no etag
is provided
in the call to setIamPolicy
, then the existing policy is
overwritten blindly.
PolicyDelta
The difference delta between two policies.
.. attribute:: binding_deltas
The delta for Bindings between two policies.
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_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].
End time of the time window (inclusive). Current timestamp if not specified.
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.