public sealed class SubResource : IMessage<SubResource>, IEquatable<SubResource>, IDeepCloneable<SubResource>, IBufferMessage, IMessageReference documentation and code samples for the Database Center v1beta API 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.
Implements
IMessageSubResource, IEquatableSubResource, IDeepCloneableSubResource, IBufferMessage, IMessageNamespace
Google.Cloud.DatabaseCenter.V1BetaAssembly
Google.Cloud.DatabaseCenter.V1Beta.dll
Constructors
SubResource()
public SubResource()SubResource(SubResource)
public SubResource(SubResource other)| Parameter | |
|---|---|
| Name | Description |
other |
SubResource |
Properties
Container
public string Container { get; set; }Specifies where the resource is created. For GCP, it is the full name of the project.
| Property Value | |
|---|---|
| Type | Description |
string |
|
FullResourceName
public string FullResourceName { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
string |
|
Product
public Product Product { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
Product |
|
ResourceType
public string ResourceType { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
string |
|