View Source GoogleApi.BackupDR.V1.Model.DataSourceGcpResource (google_api_backup_dr v0.12.0)

DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource

Attributes

  • computeInstanceDatasourceProperties (type: GoogleApi.BackupDR.V1.Model.ComputeInstanceDataSourceProperties.t, default: nil) - ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
  • gcpResourcename (type: String.t, default: nil) - Output only. Full resource pathname URL of the source Google Cloud resource.
  • location (type: String.t, default: nil) - Location of the resource: //"global"/"unspecified".
  • type (type: String.t, default: nil) - The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BackupDR.V1.Model.DataSourceGcpResource{
  computeInstanceDatasourceProperties:
    GoogleApi.BackupDR.V1.Model.ComputeInstanceDataSourceProperties.t() | nil,
  gcpResourcename: String.t() | nil,
  location: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.