Reference documentation and code samples for the Secret Manager V1 Client class Replica.
Represents a Replica for this Secret.
Generated from protobuf message google.cloud.secretmanager.v1.Replication.UserManaged.Replica
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ location |
string
The canonical IDs of the location to replicate data. For example: |
↳ customer_managed_encryption |
Google\Cloud\SecretManager\V1\CustomerManagedEncryption
Optional. The customer-managed encryption configuration of the User-Managed Replica. If no configuration is provided, Google-managed default encryption is used. Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions. |
getLocation
The canonical IDs of the location to replicate data.
For example: "us-east1"
.
Generated from protobuf field string location = 1;
Returns | |
---|---|
Type | Description |
string |
setLocation
The canonical IDs of the location to replicate data.
For example: "us-east1"
.
Generated from protobuf field string location = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCustomerManagedEncryption
Optional. The customer-managed encryption configuration of the User-Managed Replica. If no configuration is provided, Google-managed default encryption is used.
Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions.
Generated from protobuf field .google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Google\Cloud\SecretManager\V1\CustomerManagedEncryption|null |
hasCustomerManagedEncryption
clearCustomerManagedEncryption
setCustomerManagedEncryption
Optional. The customer-managed encryption configuration of the User-Managed Replica. If no configuration is provided, Google-managed default encryption is used.
Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions.
Generated from protobuf field .google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\SecretManager\V1\CustomerManagedEncryption
|
Returns | |
---|---|
Type | Description |
$this |