public sealed class RestoreBackupRequest : IMessage<RestoreBackupRequest>, IEquatable<RestoreBackupRequest>, IDeepCloneable<RestoreBackupRequest>, IBufferMessage, IMessageReference documentation and code samples for the Secret Manager v1 API class RestoreBackupRequest.
Request message for [SecretOperationsService.RestoreBackup][google.cloud.secretmanager.v1.SecretOperationsService.RestoreBackup].
Implements
IMessageRestoreBackupRequest, IEquatableRestoreBackupRequest, IDeepCloneableRestoreBackupRequest, IBufferMessage, IMessageNamespace
Google.Cloud.SecretManager.V1Assembly
Google.Cloud.SecretManager.V1.dll
Constructors
RestoreBackupRequest()
public RestoreBackupRequest()RestoreBackupRequest(RestoreBackupRequest)
public RestoreBackupRequest(RestoreBackupRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreBackupRequest |
Properties
BackupName
public BackupName BackupName { get; set; }BackupName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
BackupName |
|
DestinationSecretId
public string DestinationSecretId { get; set; }Required. ID of the new [Secret][google.cloud.secretmanager.v1.Secret] to be created from this backup. This must be unique within the project.
A secret ID is a string with a maximum length of 255 characters and can
contain uppercase and lowercase letters, numerals, and the hyphen (-)
and underscore (_) characters.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DestinationSecretParent
public string DestinationSecretParent { get; set; }Required. Parent of the new [Secret][google.cloud.secretmanager.v1.Secret] to be created from this backup. Formats:
projects/{project}/locations/{location}(for regional secrets)projects/{project}(for global secrets)
| Property Value | |
|---|---|
| Type | Description |
string |
|
DestinationSecretParentAsLocationName
public LocationName DestinationSecretParentAsLocationName { get; set; }LocationName-typed view over the DestinationSecretParent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
DestinationSecretParentAsProjectName
public ProjectName DestinationSecretParentAsProjectName { get; set; }ProjectName-typed view over the DestinationSecretParent resource name property.
| Property Value | |
|---|---|
| Type | Description |
ProjectName |
|
DestinationSecretParentAsResourceName
public IResourceName DestinationSecretParentAsResourceName { get; set; }IResourceName-typed view over the DestinationSecretParent resource name property.
| Property Value | |
|---|---|
| Type | Description |
IResourceName |
|
KmsKeyName
public string KmsKeyName { get; set; }Optional. The resource name of the Cloud KMS CryptoKey to be used to
encrypt the [Secret][google.cloud.secretmanager.v1.Secret].
Format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
| Property Value | |
|---|---|
| Type | Description |
string |
|
KmsKeyNameAsCryptoKeyName
public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }CryptoKeyName-typed view over the KmsKeyName resource name property.
| Property Value | |
|---|---|
| Type | Description |
CryptoKeyName |
|
Name
public string Name { get; set; }Required. The resource name of the
[Backup][google.cloud.secretmanager.v1.Backup] to restore from. Format:
projects/{project}/locations/{location}/backups/{backup}
| Property Value | |
|---|---|
| Type | Description |
string |
|