GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1p7beta1RelatedAsset (google_api_cloud_asset v0.24.0) View Source

An asset identify in Google Cloud which contains its name, type and ancestors. 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. Cloud IAM policy). See Supported asset types for more information.

Attributes

  • ancestors (type: list(String.t), default: nil) - The ancestors 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. Example: ["projects/123456789", "folders/5432", "organizations/1234"]
  • asset (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.
  • assetType (type: String.t, default: nil) - The type of the asset. Example: compute.googleapis.com/Disk See Supported asset types for more information.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1p7beta1RelatedAsset{
  ancestors: [String.t()] | nil,
  asset: String.t() | nil,
  assetType: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.