Backup for GKE v1 API - Class BackupChannel (2.7.0)

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

Reference documentation and code samples for the Backup for GKE v1 API class BackupChannel.

A BackupChannel imposes constraints on where clusters can be backed up. The BackupChannel should be in the same project and region as the cluster being backed up. The backup can be created only in destination_project.

Inheritance

object > BackupChannel

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

BackupChannel()

public BackupChannel()

BackupChannel(BackupChannel)

public BackupChannel(BackupChannel other)
Parameter
Name Description
other BackupChannel

Properties

BackupChannelName

public BackupChannelName BackupChannelName { get; set; }

BackupChannelName-typed view over the Name resource name property.

Property Value
Type Description
BackupChannelName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when this BackupChannel resource was created.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. User specified descriptive string for this BackupChannel.

Property Value
Type Description
string

DestinationProject

public string DestinationProject { get; set; }

Required. Immutable. The project where Backups are allowed to be stored. The format is projects/{project}. Currently, {project} can only be the project number. Support for project IDs will be added in the future.

Property Value
Type Description
string

DestinationProjectId

public string DestinationProjectId { get; set; }

Output only. The project_id where Backups are allowed to be stored. Example Project ID: "my-project-id". This will be an OUTPUT_ONLY field to return the project_id of the destination project.

Property Value
Type Description
string

Etag

public string Etag { get; set; }

Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a BackupChannel from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupChannel updates in order to avoid race conditions: An etag is returned in the response to GetBackupChannel, and systems are expected to put that etag in the request to UpdateBackupChannel or DeleteBackupChannel to ensure that their change will be applied to the same version of the resource.

Property Value
Type Description
string

Labels

public MapField<string, string> Labels { get; }

Optional. A set of custom labels supplied by user.

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

Identifier. The fully qualified name of the BackupChannel. projects/*/locations/*/backupChannels/*

Property Value
Type Description
string

Uid

public string Uid { get; set; }

Output only. Server generated global unique identifier of UUID format.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when this BackupChannel resource was last updated.

Property Value
Type Description
Timestamp