GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1p7beta1RelationshipAttributes (google_api_cloud_asset v0.23.2) View Source

The relationship attributes which include type, source_resource_type, target_resource_type and action.

Attributes

  • action (type: String.t, default: nil) - The detail of the relationship, e.g. contains, attaches
  • sourceResourceType (type: String.t, default: nil) - The source asset type. Example: compute.googleapis.com/Instance
  • targetResourceType (type: String.t, default: nil) - The target asset type. Example: compute.googleapis.com/Disk
  • type (type: String.t, default: nil) - The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP

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.GoogleCloudAssetV1p7beta1RelationshipAttributes{
    action: String.t() | nil,
    sourceResourceType: String.t() | nil,
    targetResourceType: String.t() | nil,
    type: String.t() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.