Show / Hide Table of Contents

Class DatabaseResourceMetadata

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

Inheritance
object
DatabaseResourceMetadata
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRedis.v1beta1.Data
Assembly: Google.Apis.CloudRedis.v1beta1.dll
Syntax
public class DatabaseResourceMetadata : IDirectResponseSchema

Properties

AvailabilityConfiguration

Availability configuration for this instance

Declaration
[JsonProperty("availabilityConfiguration")]
public virtual AvailabilityConfiguration AvailabilityConfiguration { get; set; }
Property Value
Type Description
AvailabilityConfiguration

BackupConfiguration

Backup configuration for this instance

Declaration
[JsonProperty("backupConfiguration")]
public virtual BackupConfiguration BackupConfiguration { get; set; }
Property Value
Type Description
BackupConfiguration

BackupRun

Latest backup run information for this instance

Declaration
[JsonProperty("backupRun")]
public virtual BackupRun BackupRun { get; set; }
Property Value
Type Description
BackupRun

CreationTime

object representation of CreationTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreationTimeDateTimeOffset instead.")]
public virtual object CreationTime { get; set; }
Property Value
Type Description
object

CreationTimeDateTimeOffset

DateTimeOffset representation of CreationTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreationTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreationTimeRaw

The creation time of the resource, i.e. the time when resource is created and recorded in partner service.

Declaration
[JsonProperty("creationTime")]
public virtual string CreationTimeRaw { get; set; }
Property Value
Type Description
string

CurrentState

Current state of the instance.

Declaration
[JsonProperty("currentState")]
public virtual string CurrentState { get; set; }
Property Value
Type Description
string

CustomMetadata

Any custom metadata associated with the resource

Declaration
[JsonProperty("customMetadata")]
public virtual CustomMetadataData CustomMetadata { get; set; }
Property Value
Type Description
CustomMetadataData

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Edition

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.

Declaration
[JsonProperty("edition")]
public virtual string Edition { get; set; }
Property Value
Type Description
string

Entitlements

Entitlements associated with the resource

Declaration
[JsonProperty("entitlements")]
public virtual IList<Entitlement> Entitlements { get; set; }
Property Value
Type Description
IList<Entitlement>

ExpectedState

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.

Declaration
[JsonProperty("expectedState")]
public virtual string ExpectedState { get; set; }
Property Value
Type Description
string

GcbdrConfiguration

GCBDR configuration for the resource.

Declaration
[JsonProperty("gcbdrConfiguration")]
public virtual GCBDRConfiguration GcbdrConfiguration { get; set; }
Property Value
Type Description
GCBDRConfiguration

Id

Required. Unique identifier for a Database resource

Declaration
[JsonProperty("id")]
public virtual DatabaseResourceId Id { get; set; }
Property Value
Type Description
DatabaseResourceId

InstanceType

The type of the instance. Specified at creation time.

Declaration
[JsonProperty("instanceType")]
public virtual string InstanceType { get; set; }
Property Value
Type Description
string

Location

The resource location. REQUIRED

Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type Description
string

MachineConfiguration

Machine configuration for this resource.

Declaration
[JsonProperty("machineConfiguration")]
public virtual MachineConfiguration MachineConfiguration { get; set; }
Property Value
Type Description
MachineConfiguration

PrimaryResourceId

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.

Declaration
[JsonProperty("primaryResourceId")]
public virtual DatabaseResourceId PrimaryResourceId { get; set; }
Property Value
Type Description
DatabaseResourceId

PrimaryResourceLocation

Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.

Declaration
[JsonProperty("primaryResourceLocation")]
public virtual string PrimaryResourceLocation { get; set; }
Property Value
Type Description
string

Product

The product this resource represents.

Declaration
[JsonProperty("product")]
public virtual Product Product { get; set; }
Property Value
Type Description
Product

ResourceContainer

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.

Declaration
[JsonProperty("resourceContainer")]
public virtual string ResourceContainer { get; set; }
Property Value
Type Description
string

ResourceName

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

Declaration
[JsonProperty("resourceName")]
public virtual string ResourceName { get; set; }
Property Value
Type Description
string

SuspensionReason

Optional. Suspension reason for the resource.

Declaration
[JsonProperty("suspensionReason")]
public virtual string SuspensionReason { get; set; }
Property Value
Type Description
string

TagsSet

Optional. Tags associated with this resources.

Declaration
[JsonProperty("tagsSet")]
public virtual Tags TagsSet { get; set; }
Property Value
Type Description
Tags

UpdationTime

object representation of UpdationTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdationTimeDateTimeOffset instead.")]
public virtual object UpdationTime { get; set; }
Property Value
Type Description
object

UpdationTimeDateTimeOffset

DateTimeOffset representation of UpdationTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdationTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdationTimeRaw

The time at which the resource was updated and recorded at partner service.

Declaration
[JsonProperty("updationTime")]
public virtual string UpdationTimeRaw { get; set; }
Property Value
Type Description
string

UserLabelSet

User-provided labels associated with the resource

Declaration
[JsonProperty("userLabelSet")]
public virtual UserLabels UserLabelSet { get; set; }
Property Value
Type Description
UserLabels

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX