# Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::SubResource (v0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::SubResource.

Sub resource details
For Spanner/Bigtable instance certain data protection settings are at
sub resource level like database/table.
This message is used to capture such sub resource details.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #container

    def container() -> ::String

**Returns**

- (::String) --- Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.

### #container=

    def container=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
**Returns**

- (::String) --- Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.

### #full_resource_name

    def full_resource_name() -> ::String

**Returns**

- (::String) --- Optional. Resource name associated with the sub resource where backup settings are configured. E.g."//spanner.googleapis.com/projects/project1/instances/inst1/databases/db1" for Spanner where backup retention is configured on database within an instance OPTIONAL

### #full_resource_name=

    def full_resource_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Resource name associated with the sub resource where backup settings are configured. E.g."//spanner.googleapis.com/projects/project1/instances/inst1/databases/db1" for Spanner where backup retention is configured on database within an instance OPTIONAL
**Returns**

- (::String) --- Optional. Resource name associated with the sub resource where backup settings are configured. E.g."//spanner.googleapis.com/projects/project1/instances/inst1/databases/db1" for Spanner where backup retention is configured on database within an instance OPTIONAL

### #product

    def product() -> ::Google::Cloud::DatabaseCenter::V1beta::Product

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-Product)) --- Optional. Product information associated with the sub resource where backup retention settings are configured. e.g. `
  product: {
  type : PRODUCT_TYPE_SPANNER
  engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT
  }
  ` for Spanner where backup is configured on database within an instance OPTIONAL

### #product=

    def product=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::Product

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-Product)) --- Optional. Product information associated with the sub resource where backup retention settings are configured. e.g. `
  product: {
  type : PRODUCT_TYPE_SPANNER
  engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT
  }
  ` for Spanner where backup is configured on database within an instance OPTIONAL
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-Product)) --- Optional. Product information associated with the sub resource where backup retention settings are configured. e.g. `
  product: {
  type : PRODUCT_TYPE_SPANNER
  engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT
  }
  ` for Spanner where backup is configured on database within an instance OPTIONAL

### #resource_type

    def resource_type() -> ::String

**Returns**

- (::String) --- Optional. Resource type associated with the sub resource where backup settings are configured. E.g. "spanner.googleapis.com/Database" for Spanner where backup retention is configured on database within an instance OPTIONAL

### #resource_type=

    def resource_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Resource type associated with the sub resource where backup settings are configured. E.g. "spanner.googleapis.com/Database" for Spanner where backup retention is configured on database within an instance OPTIONAL
**Returns**

- (::String) --- Optional. Resource type associated with the sub resource where backup settings are configured. E.g. "spanner.googleapis.com/Database" for Spanner where backup retention is configured on database within an instance OPTIONAL