class Google::Apis::FileV1::RestoreInstanceRequest

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

Attributes

file_share[RW]

Required. Name of the file share in the Cloud Filestore instance that the backup 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_number`/ locations/`location_id`/backups/`backup_id“. Corresponds to the JSON property `sourceBackup` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/file_v1/classes.rb, line 1262
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_v1/classes.rb, line 1267
def update!(**args)
  @file_share = args[:file_share] if args.key?(:file_share)
  @source_backup = args[:source_backup] if args.key?(:source_backup)
end