class Google::Apis::MetastoreV1beta::Restore

The details of a metadata restore operation.

Attributes

backup[RW]

Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/`project_id`/locations/` location_id`/services/`service_id`/backups/`backup_id`. Corresponds to the JSON property `backup` @return [String]

details[RW]

Output only. The restore details containing the revision of the service to be restored to, in format of JSON. Corresponds to the JSON property `details` @return [String]

end_time[RW]

Output only. The time when the restore ended. Corresponds to the JSON property `endTime` @return [String]

start_time[RW]

Output only. The time when the restore started. Corresponds to the JSON property `startTime` @return [String]

state[RW]

Output only. The current state of the restore. Corresponds to the JSON property `state` @return [String]

type[RW]

Output only. The type of restore. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/metastore_v1beta/classes.rb, line 1205
def update!(**args)
  @backup = args[:backup] if args.key?(:backup)
  @details = args[:details] if args.key?(:details)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
end