class Google::Apis::FileV1beta1::RestoreInstanceRequest

RestoreInstanceRequest restores an existing instances's file share from a snapshot or backup.

Attributes

file_share[RW]

Required. Name of the file share in the Cloud Filestore instance that the snapshot is being restored to. Corresponds to the JSON property `fileShare` @return [String]

source_backup[RW]

The resource name of the backup, in the format `projects/`project_id`/ locations/`location_id`/backups/`backup_id“. Corresponds to the JSON property `sourceBackup` @return [String]

source_snapshot[RW]

The resource name of the snapshot, in the format `projects/`project_id`/ locations/`location_id`/snapshots/`snapshot_id“. Corresponds to the JSON property `sourceSnapshot` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/file_v1beta1/classes.rb, line 1320
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/file_v1beta1/classes.rb, line 1325
def update!(**args)
  @file_share = args[:file_share] if args.key?(:file_share)
  @source_backup = args[:source_backup] if args.key?(:source_backup)
  @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
end