Secret Manager v1 API - Class CreateBackupRequest (3.1.0)

public sealed class CreateBackupRequest : IMessage<CreateBackupRequest>, IEquatable<CreateBackupRequest>, IDeepCloneable<CreateBackupRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Secret Manager v1 API class CreateBackupRequest.

Request message for [SecretOperationsService.CreateBackup][google.cloud.secretmanager.v1.SecretOperationsService.CreateBackup].

Inheritance

object > CreateBackupRequest

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Constructors

CreateBackupRequest()

public CreateBackupRequest()

CreateBackupRequest(CreateBackupRequest)

public CreateBackupRequest(CreateBackupRequest other)
Parameter
Name Description
other CreateBackupRequest

Properties

Backup

public Backup Backup { get; set; }

Required. The [Backup][google.cloud.secretmanager.v1.Backup] resource to create.

Property Value
Type Description
Backup

BackupId

public string BackupId { get; set; }

Required. The ID to use for the backup, which will become the final component of the backup's resource name.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The resource name of the location where the [Backup][google.cloud.secretmanager.v1.Backup] will be created, in the format projects/{project}/locations/{location}.

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName