View Source GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1p7beta1Asset (google_api_cloud_asset v0.35.0)

An asset in Google Cloud. An asset can be any resource in the Google Cloud resource hierarchy, a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See Supported asset types for more information.

Attributes

  • accessLevel (type: GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1AccessLevel.t, default: nil) - Please also refer to the access level user guide.
  • accessPolicy (type: GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1AccessPolicy.t, default: nil) - Please also refer to the access policy user guide.
  • ancestors (type: list(String.t), default: nil) - The ancestry path of an asset in Google Cloud resource hierarchy, represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: ["projects/123456789", "folders/5432", "organizations/1234"]
  • assetType (type: String.t, default: nil) - The type of the asset. Example: compute.googleapis.com/Disk See Supported asset types for more information.
  • iamPolicy (type: GoogleApi.CloudAsset.V1.Model.Policy.t, default: nil) - A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, 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 for more information.
  • name (type: String.t, default: nil) - The full name of the asset. Example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1 See Resource names for more information.
  • orgPolicy (type: list(GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1Policy.t), default: nil) - A representation of an organization policy. There can be more than one organization policy with different constraints set on a given resource.
  • relatedAssets (type: GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1p7beta1RelatedAssets.t, default: nil) - The related assets of the asset of one relationship type. One asset only represents one type of relationship.
  • resource (type: GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1p7beta1Resource.t, default: nil) - A representation of the resource.
  • servicePerimeter (type: GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1ServicePerimeter.t, default: nil) - Please also refer to the service perimeter user guide.
  • updateTime (type: DateTime.t, default: nil) - The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.