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
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1.Data
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class RestoreChannel : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The timestamp when this RestoreChannel was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Optional. User specified descriptive string for this RestoreChannel.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DestinationProject
Required. Immutable. The project into which the backups will be restored. The format is
projects/{projectId} or projects/{projectNumber}.
Declaration
[JsonProperty("destinationProject")]
public virtual string DestinationProject { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DestinationProjectId
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.
Declaration
[JsonProperty("destinationProjectId")]
public virtual string DestinationProjectId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
Optional. A set of custom labels supplied by user.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Name
Identifier. The fully qualified name of the RestoreChannel. projects/*/locations/*/restoreChannels/*
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uid
Output only. Server generated global unique identifier of UUID format.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The timestamp when this RestoreChannel was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |