View Source GoogleApi.Redis.V1.Model.DatabaseResourceMetadata (google_api_redis v0.50.0)

Common model for database resource instance metadata. Next ID: 23

Attributes

  • availabilityConfiguration (type: GoogleApi.Redis.V1.Model.AvailabilityConfiguration.t, default: nil) - Availability configuration for this instance
  • backupConfiguration (type: GoogleApi.Redis.V1.Model.BackupConfiguration.t, default: nil) - Backup configuration for this instance
  • backupRun (type: GoogleApi.Redis.V1.Model.BackupRun.t, default: nil) - Latest backup run information for this instance
  • creationTime (type: DateTime.t, default: nil) - The creation time of the resource, i.e. the time when resource is created and recorded in partner service.
  • currentState (type: String.t, default: nil) - Current state of the instance.
  • customMetadata (type: GoogleApi.Redis.V1.Model.CustomMetadataData.t, default: nil) - Any custom metadata associated with the resource
  • edition (type: String.t, default: nil) - Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to identify the edition of the instance.
  • entitlements (type: list(GoogleApi.Redis.V1.Model.Entitlement.t), default: nil) - Entitlements associated with the resource
  • expectedState (type: String.t, default: nil) - The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.
  • id (type: GoogleApi.Redis.V1.Model.DatabaseResourceId.t, default: nil) - Required. Unique identifier for a Database resource
  • instanceType (type: String.t, default: nil) - The type of the instance. Specified at creation time.
  • location (type: String.t, default: nil) - The resource location. REQUIRED
  • machineConfiguration (type: GoogleApi.Redis.V1.Model.MachineConfiguration.t, default: nil) - Machine configuration for this resource.
  • primaryResourceId (type: GoogleApi.Redis.V1.Model.DatabaseResourceId.t, default: nil) - Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
  • primaryResourceLocation (type: String.t, default: nil) - Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
  • product (type: GoogleApi.Redis.V1.Model.Product.t, default: nil) - The product this resource represents.
  • resourceContainer (type: String.t, default: nil) - Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of "/", such as "projects/123". For GCP provided resources, number should be project number.
  • resourceName (type: String.t, default: nil) - Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
  • tagsSet (type: GoogleApi.Redis.V1.Model.Tags.t, default: nil) - Optional. Tags associated with this resources.
  • updationTime (type: DateTime.t, default: nil) - The time at which the resource was updated and recorded at partner service.
  • userLabelSet (type: GoogleApi.Redis.V1.Model.UserLabels.t, default: nil) - User-provided labels associated with the resource

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Redis.V1.Model.DatabaseResourceMetadata{
  availabilityConfiguration:
    GoogleApi.Redis.V1.Model.AvailabilityConfiguration.t() | nil,
  backupConfiguration: GoogleApi.Redis.V1.Model.BackupConfiguration.t() | nil,
  backupRun: GoogleApi.Redis.V1.Model.BackupRun.t() | nil,
  creationTime: DateTime.t() | nil,
  currentState: String.t() | nil,
  customMetadata: GoogleApi.Redis.V1.Model.CustomMetadataData.t() | nil,
  edition: String.t() | nil,
  entitlements: [GoogleApi.Redis.V1.Model.Entitlement.t()] | nil,
  expectedState: String.t() | nil,
  id: GoogleApi.Redis.V1.Model.DatabaseResourceId.t() | nil,
  instanceType: String.t() | nil,
  location: String.t() | nil,
  machineConfiguration: GoogleApi.Redis.V1.Model.MachineConfiguration.t() | nil,
  primaryResourceId: GoogleApi.Redis.V1.Model.DatabaseResourceId.t() | nil,
  primaryResourceLocation: String.t() | nil,
  product: GoogleApi.Redis.V1.Model.Product.t() | nil,
  resourceContainer: String.t() | nil,
  resourceName: String.t() | nil,
  tagsSet: GoogleApi.Redis.V1.Model.Tags.t() | nil,
  updationTime: DateTime.t() | nil,
  userLabelSet: GoogleApi.Redis.V1.Model.UserLabels.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.