Reference documentation and code samples for the Google Cloud Database Center V1beta Client class 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.
Generated from protobuf message google.cloud.databasecenter.v1beta.SubResource
Namespace
Google \ Cloud \ DatabaseCenter \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ resource_type
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
↳ full_resource_name
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
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
↳ container
string
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
getResourceType
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
string
setResourceType
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
var
string
$this
getFullResourceName
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
string
setFullResourceName
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
var
string
$this
getProduct
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
hasProduct
clearProduct
setProduct
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
$this
getContainer
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string
setContainer
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
var
string
$this

