DatabaseResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)DatabaseResource represents every individually configured database unit representing compute and/or storage. NextId: 20
Attributes |
|
|---|---|
| Name | Description |
child_resources |
MutableSequence[google.cloud.databasecenter_v1beta.types.DatabaseResource]
List of children associated with a database group. |
full_resource_name |
str
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
|
container |
str
Specifies where the resource is created. For GCP, it is the full name of the project. |
product |
google.cloud.databasecenter_v1beta.types.Product
The product this resource represents. |
location |
str
The location of the resources. It supports returning only regional locations in GCP. These are of the form: "us-central1", "us-east1", etc. See https://cloud.google.com/about/locations for a list of such regions. |
labels |
MutableSequence[google.cloud.databasecenter_v1beta.types.Label]
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 |
tags |
MutableSequence[google.cloud.databasecenter_v1beta.types.Tag]
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 |
resource_type |
str
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 |
sub_resource_type |
google.cloud.databasecenter_v1beta.types.SubResourceType
Subtype of the resource specified at creation time. |
machine_config |
google.cloud.databasecenter_v1beta.types.MachineConfig
Machine configuration like CPU, memory, etc for the resource. |
signal_groups |
MutableSequence[google.cloud.databasecenter_v1beta.types.SignalGroup]
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included. |
metrics |
google.cloud.databasecenter_v1beta.types.Metrics
Observable metrics for the resource e.g. CPU utilization, memory utilization, etc. |
resource_category |
google.cloud.databasecenter_v1beta.types.ResourceCategory
The category of the resource. |
resource_name |
str
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.
|
backupdr_config |
google.cloud.databasecenter_v1beta.types.BackupDRConfig
Optional. Backup and disaster recovery details for the resource. |
edition |
google.cloud.databasecenter_v1beta.types.Edition
The edition of the resource. |
maintenance_info |
google.cloud.databasecenter_v1beta.types.MaintenanceInfo
Optional. The maintenance information of the resource. |