class Google::Apis::MetastoreV1alpha::Backup
The details of a backup resource.
Attributes
Output only. The time when the backup was started. Corresponds to the JSON property `createTime` @return [String]
The description of the backup. Corresponds to the JSON property `description` @return [String]
Output only. The time when the backup finished creating. Corresponds to the JSON property `endTime` @return [String]
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]
Output only. Services that are restoring from the backup. Corresponds to the JSON property `restoringServices` @return [Array<String>]
A managed metastore service that serves metadata queries. Corresponds to the JSON property `serviceRevision` @return [Google::Apis::MetastoreV1alpha::Service]
Output only. The current state of the backup. Corresponds to the JSON property `state` @return [String]
Public Class Methods
# File lib/google/apis/metastore_v1alpha/classes.rb, line 137 def initialize(**args) update!(**args) end
Public Instance Methods
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