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

DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses. 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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudAsset.V1.Model.RelationshipAttributes{
  action: String.t() | nil,
  sourceResourceType: String.t() | nil,
  targetResourceType: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.