Class: Google::Cloud::DatabaseCenter::V1beta::DatabaseResource
- Inherits:
-
Object
- Object
- Google::Cloud::DatabaseCenter::V1beta::DatabaseResource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/databasecenter/v1beta/service.rb
Overview
DatabaseResource represents every individually configured database unit representing compute and/or storage. NextId: 20
Instance Attribute Summary collapse
-
#backupdr_config ⇒ ::Google::Cloud::DatabaseCenter::V1beta::BackupDRConfig
Optional.
-
#child_resources ⇒ ::Array<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResource>
List of children associated with a database group.
-
#container ⇒ ::String
Specifies where the resource is created.
-
#edition ⇒ ::Google::Cloud::DatabaseCenter::V1beta::Edition
The edition of the resource.
-
#full_resource_name ⇒ ::String
The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format.
-
#labels ⇒ ::Array<::Google::Cloud::DatabaseCenter::V1beta::Label>
Labels applied on the resource.
-
#location ⇒ ::String
The location of the resources.
-
#machine_config ⇒ ::Google::Cloud::DatabaseCenter::V1beta::MachineConfig
Machine configuration like CPU, memory, etc for the resource.
-
#maintenance_info ⇒ ::Google::Cloud::DatabaseCenter::V1beta::MaintenanceInfo
Optional.
-
#metrics ⇒ ::Google::Cloud::DatabaseCenter::V1beta::Metrics
Observable metrics for the resource e.g.
-
#product ⇒ ::Google::Cloud::DatabaseCenter::V1beta::Product
The product this resource represents.
-
#resource_category ⇒ ::Google::Cloud::DatabaseCenter::V1beta::ResourceCategory
The category of the resource.
-
#resource_name ⇒ ::String
The name of the resource(The last part of the full resource name).
-
#resource_type ⇒ ::String
The type of resource defined according to the pattern: {Service Name}/{Type}.
-
#signal_groups ⇒ ::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalGroup>
The list of signal groups and count of issues related to the resource.
-
#sub_resource_type ⇒ ::Google::Cloud::DatabaseCenter::V1beta::SubResourceType
Subtype of the resource specified at creation time.
-
#tags ⇒ ::Array<::Google::Cloud::DatabaseCenter::V1beta::Tag>
Tags applied on the resource.
Instance Attribute Details
#backupdr_config ⇒ ::Google::Cloud::DatabaseCenter::V1beta::BackupDRConfig
Returns Optional. Backup and disaster recovery details for the resource.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#child_resources ⇒ ::Array<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResource>
Returns List of children associated with a database group.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#container ⇒ ::String
Returns Specifies where the resource is created. For GCP, it is the full name of the project.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#edition ⇒ ::Google::Cloud::DatabaseCenter::V1beta::Edition
Returns The edition of the resource.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#full_resource_name ⇒ ::String
Returns 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.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#labels ⇒ ::Array<::Google::Cloud::DatabaseCenter::V1beta::Label>
Returns 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.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location ⇒ ::String
Returns 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.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#machine_config ⇒ ::Google::Cloud::DatabaseCenter::V1beta::MachineConfig
Returns Machine configuration like CPU, memory, etc for the resource.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#maintenance_info ⇒ ::Google::Cloud::DatabaseCenter::V1beta::MaintenanceInfo
Returns Optional. The maintenance information of the resource.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#metrics ⇒ ::Google::Cloud::DatabaseCenter::V1beta::Metrics
Returns Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product ⇒ ::Google::Cloud::DatabaseCenter::V1beta::Product
Returns The product this resource represents.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource_category ⇒ ::Google::Cloud::DatabaseCenter::V1beta::ResourceCategory
Returns The category of the resource.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource_name ⇒ ::String
Returns 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.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource_type ⇒ ::String
Returns 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.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#signal_groups ⇒ ::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalGroup>
Returns The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sub_resource_type ⇒ ::Google::Cloud::DatabaseCenter::V1beta::SubResourceType
Returns Subtype of the resource specified at creation time.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tags ⇒ ::Array<::Google::Cloud::DatabaseCenter::V1beta::Tag>
Returns 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.
307 308 309 310 |
# File 'proto_docs/google/cloud/databasecenter/v1beta/service.rb', line 307 class DatabaseResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |