google_api_cloud_asset v0.2.0 GoogleApi.CloudAsset.V1.Model.Asset View Source

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

Attributes

  • accessLevel (type: GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1AccessLevel.t, default: nil) -

  • accessPolicy (type: GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1AccessPolicy.t, default: nil) -

  • ancestors (type: list(String.t), default: nil) - Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, represented as a list of relative resource names. Ancestry path starts with the closest CRM ancestor and ends at root. If the asset is a CRM project/folder/organization, this starts from the asset itself.

    Example: ["projects/123456789", "folders/5432", "organizations/1234"]

  • assetType (type: String.t, default: nil) - Type of the asset. Example: "compute.googleapis.com/Disk".

  • iamPolicy (type: GoogleApi.CloudAsset.V1.Model.Policy.t, default: nil) - 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.

  • name (type: String.t, default: nil) - The full name of the asset. For 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) - Representation of the Cloud Organization Policy set on an asset. For each asset, there could be multiple Organization policies with different constraints.

  • resource (type: GoogleApi.CloudAsset.V1.Model.Resource.t, default: nil) - Representation of the resource.

  • servicePerimeter (type: GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1ServicePerimeter.t, default: nil) -

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.