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

Attached resource representation, which is defined by the corresponding service provider. It represents an attached resource's payload.

Attributes

  • assetType (type: String.t, default: nil) - The type of this attached resource. Example: osconfig.googleapis.com/Inventory You can find the supported attached asset types of each resource in this table: https://cloud.google.com/asset-inventory/docs/supported-asset-types
  • versionedResources (type: list(GoogleApi.CloudAsset.V1.Model.VersionedResource.t), default: nil) - Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudAsset.V1.Model.AttachedResource{
  assetType: String.t() | nil,
  versionedResources:
    [GoogleApi.CloudAsset.V1.Model.VersionedResource.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.