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

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#searchable_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.

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.AttachedResource{
  assetType: String.t() | nil,
  versionedResources:
    [GoogleApi.CloudAsset.V1.Model.VersionedResource.t()] | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.