Class: Google::Cloud::DatabaseCenter::V1beta::DatabaseResource

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#backupdr_config::Google::Cloud::DatabaseCenter::V1beta::BackupDRConfig

Returns Optional. Backup and disaster recovery details for the resource.

Returns:



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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:



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.

Returns:



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