public sealed class RestoreInstanceRequest : IMessage<RestoreInstanceRequest>, IEquatable<RestoreInstanceRequest>, IDeepCloneable<RestoreInstanceRequest>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Filestore v1 API class RestoreInstanceRequest.
RestoreInstanceRequest restores an existing instance's file share from a backup.
Implements
IMessageRestoreInstanceRequest, IEquatableRestoreInstanceRequest, IDeepCloneableRestoreInstanceRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Filestore.V1Assembly
Google.Cloud.Filestore.V1.dll
Constructors
RestoreInstanceRequest()
public RestoreInstanceRequest()RestoreInstanceRequest(RestoreInstanceRequest)
public RestoreInstanceRequest(RestoreInstanceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreInstanceRequest |
Properties
FileShare
public string FileShare { get; set; }Required. Name of the file share in the Filestore instance that the backup is being restored to.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasSourceBackup
public bool HasSourceBackup { get; }Gets whether the "source_backup" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
InstanceName
public InstanceName InstanceName { get; set; }InstanceName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
InstanceName |
|
Name
public string Name { get; set; }Required. The resource name of the instance, in the format
projects/{project_number}/locations/{location_id}/instances/{instance_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SourceBackup
public string SourceBackup { get; set; }The resource name of the backup, in the format
projects/{project_number}/locations/{location_id}/backups/{backup_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SourceBackupAsBackupName
public BackupName SourceBackupAsBackupName { get; set; }BackupName-typed view over the SourceBackup resource name property.
| Property Value | |
|---|---|
| Type | Description |
BackupName |
|
SourceCase
public RestoreInstanceRequest.SourceOneofCase SourceCase { get; }| Property Value | |
|---|---|
| Type | Description |
RestoreInstanceRequestSourceOneofCase |
|