Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::ResourceId.
ResourceId contains the identifier for a database resource, including the full resource name, resource type, and product.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#full_resource_name
def full_resource_name() -> ::String
Returns
- (::String) — The full resource name of the resource.
#full_resource_name=
def full_resource_name=(value) -> ::String
Parameter
- value (::String) — The full resource name of the resource.
Returns
- (::String) — The full resource name of the resource.
#product
def product() -> ::Google::Cloud::DatabaseCenter::V1beta::Product
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::Product) — The product of the resource, including the type, engine, and version.
#product=
def product=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::Product
Parameter
- value (::Google::Cloud::DatabaseCenter::V1beta::Product) — The product of the resource, including the type, engine, and version.
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::Product) — The product of the resource, including the type, engine, and version.
#resource_type
def resource_type() -> ::String
Returns
- (::String) — The type of the resource. sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance
#resource_type=
def resource_type=(value) -> ::String
Parameter
- value (::String) — The type of the resource. sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance
Returns
- (::String) — The type of the resource. sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance