Class: Google::Apis::LookerV1::RestoreInstanceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/looker_v1/classes.rb,
lib/google/apis/looker_v1/representations.rb,
lib/google/apis/looker_v1/representations.rb

Overview

Request options for restoring an instance

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RestoreInstanceRequest

Returns a new instance of RestoreInstanceRequest.



1225
1226
1227
# File 'lib/google/apis/looker_v1/classes.rb', line 1225

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#backupString

Required. Backup being used to restore the instance Format: projects/project/ locations/location/instances/instance/backups/backup Corresponds to the JSON property backup

Returns:

  • (String)


1223
1224
1225
# File 'lib/google/apis/looker_v1/classes.rb', line 1223

def backup
  @backup
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1230
1231
1232
# File 'lib/google/apis/looker_v1/classes.rb', line 1230

def update!(**args)
  @backup = args[:backup] if args.key?(:backup)
end