class Google::Apis::MetastoreV1alpha::Backup

The details of a backup resource.

Attributes

create_time[RW]

Output only. The time when the backup was started. Corresponds to the JSON property `createTime` @return [String]

description[RW]

The description of the backup. Corresponds to the JSON property `description` @return [String]

end_time[RW]

Output only. The time when the backup finished creating. Corresponds to the JSON property `endTime` @return [String]

name[RW]

Immutable. The relative resource name of the backup, in the following form: projects/`project_number`/locations/`location_id`/services/`service_id`/ backups/`backup_id` Corresponds to the JSON property `name` @return [String]

restoring_services[RW]

Output only. Services that are restoring from the backup. Corresponds to the JSON property `restoringServices` @return [Array<String>]

service_revision[RW]

A managed metastore service that serves metadata queries. Corresponds to the JSON property `serviceRevision` @return [Google::Apis::MetastoreV1alpha::Service]

state[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/metastore_v1alpha/classes.rb, line 137
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_v1alpha/classes.rb, line 142
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @end_time = args[:end_time] if args.key?(:end_time)
  @name = args[:name] if args.key?(:name)
  @restoring_services = args[:restoring_services] if args.key?(:restoring_services)
  @service_revision = args[:service_revision] if args.key?(:service_revision)
  @state = args[:state] if args.key?(:state)
end