Show / Hide Table of Contents

Class DatabaseResource

DatabaseResource represents every individually configured database unit representing compute and/or storage.

Inheritance
object
DatabaseResource
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.DatabaseCenter.v1beta.Data
Assembly: Google.Apis.DatabaseCenter.v1beta.dll
Syntax
public class DatabaseResource : IDirectResponseSchema

Properties

Affiliations

Optional. Affiliation details of the resource.

Declaration
[JsonProperty("affiliations")]
public virtual IList<Affiliation> Affiliations { get; set; }
Property Value
Type Description
IList<Affiliation>

BackupdrConfig

Optional. Backup and disaster recovery details for the resource.

Declaration
[JsonProperty("backupdrConfig")]
public virtual BackupDRConfig BackupdrConfig { get; set; }
Property Value
Type Description
BackupDRConfig

ChildResources

List of children associated with a database group.

Declaration
[JsonProperty("childResources")]
public virtual IList<DatabaseResource> ChildResources { get; set; }
Property Value
Type Description
IList<DatabaseResource>

Container

Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.

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

ETag

The ETag of the item.

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

Edition

The edition of the resource.

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

FullResourceName

The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: //cloudsql.googleapis.com/projects/project-number/instances/mysql-1 //cloudsql.googleapis.com/projects/project-number/instances/postgres-1 //spanner.googleapis.com/projects/project-number/instances/spanner-instance-1 //alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1 //alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1

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

Labels

Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements

Declaration
[JsonProperty("labels")]
public virtual IList<Label> Labels { get; set; }
Property Value
Type Description
IList<Label>

Location

The location of the resources. It supports returning only regional locations in Google Cloud. These are of the form: "us-central1", "us-east1", etc. See https://cloud.google.com/about/locations for a list of such regions.

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

MachineConfig

Machine configuration like CPU, memory, etc for the resource.

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

MaintenanceInfo

Optional. The maintenance information of the resource.

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

Metrics

Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.

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

Product

The product this resource represents.

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

ResourceCategory

The category of the resource.

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

ResourceName

The name of the resource(The last part of the full resource name). Example: For full resource name - //cloudsql.googleapis.com/projects/project-number/instances/mysql-1, resource name - mysql-1 For full resource name - //cloudsql.googleapis.com/projects/project-number/instances/postgres-1 , resource name - postgres-1 Note: In some cases, there might be more than one resource with the same resource name.

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

ResourceType

The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instance

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

SignalGroups

The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.

Declaration
[JsonProperty("signalGroups")]
public virtual IList<SignalGroup> SignalGroups { get; set; }
Property Value
Type Description
IList<SignalGroup>

SubResourceType

Subtype of the resource specified at creation time.

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

Tags

Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview

Declaration
[JsonProperty("tags")]
public virtual IList<Tag> Tags { get; set; }
Property Value
Type Description
IList<Tag>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX