public sealed class RestoreChannel : IMessage<RestoreChannel>, IEquatable<RestoreChannel>, IDeepCloneable<RestoreChannel>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup for GKE v1 API class RestoreChannel.
A RestoreChannel imposes constraints on where backups can be restored.
The RestoreChannel should be in the same project and region
as the backups. The backups can only be restored in the
destination_project
.
Implements
IMessageRestoreChannel, IEquatableRestoreChannel, IDeepCloneableRestoreChannel, IBufferMessage, IMessageNamespace
Google.Cloud.GkeBackup.V1Assembly
Google.Cloud.GkeBackup.V1.dll
Constructors
RestoreChannel()
public RestoreChannel()
RestoreChannel(RestoreChannel)
public RestoreChannel(RestoreChannel other)
Parameter | |
---|---|
Name | Description |
other |
RestoreChannel |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The timestamp when this RestoreChannel was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Optional. User specified descriptive string for this RestoreChannel.
Property Value | |
---|---|
Type | Description |
string |
DestinationProject
public string DestinationProject { get; set; }
Required. Immutable. The project into which the backups will be restored.
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 will be restored. 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 RestoreChannel from overwriting each
other. It is strongly suggested that systems make use of the 'etag' in the
read-modify-write cycle to perform RestoreChannel updates in order to
avoid race conditions: An etag
is returned in the response to
GetRestoreChannel
, and systems are expected to put that etag in the
request to UpdateRestoreChannel
or DeleteRestoreChannel
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 RestoreChannel.
projects/*/locations/*/restoreChannels/*
Property Value | |
---|---|
Type | Description |
string |
RestoreChannelName
public RestoreChannelName RestoreChannelName { get; set; }
RestoreChannelName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
RestoreChannelName |
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 RestoreChannel was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |