View Source GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainDatabaseResourceId (google_api_alloy_db v0.15.0)

DatabaseResourceId will serve as primary key for any resource ingestion event.

Attributes

  • provider (type: String.t, default: nil) - Required. Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged
  • providerDescription (type: String.t, default: nil) - Optional. Needs to be used only when the provider is PROVIDER_OTHER.
  • resourceType (type: String.t, default: nil) - Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance, spanner.googleapis.com/Database, firestore.googleapis.com/Database, sqladmin.googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
  • uniqueId (type: String.t, default: nil) - Required. A service-local token that distinguishes this resource from other resources within the same service.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainDatabaseResourceId{
    provider: String.t() | nil,
    providerDescription: String.t() | nil,
    resourceType: String.t() | nil,
    uniqueId: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.