class Google::Apis::MetastoreV1beta::RestoreServiceRequest

Request message for DataprocMetastore.Restore.

Attributes

backup[RW]

Required. 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]

request_id[RW]

Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (en.wikipedia.org/wiki/Universally_unique_identifier# Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. Corresponds to the JSON property `requestId` @return [String]

restore_type[RW]

Optional. The type of restore. If unspecified, defaults to METADATA_ONLY. Corresponds to the JSON property `restoreType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/metastore_v1beta/classes.rb, line 1243
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 1248
def update!(**args)
  @backup = args[:backup] if args.key?(:backup)
  @request_id = args[:request_id] if args.key?(:request_id)
  @restore_type = args[:restore_type] if args.key?(:restore_type)
end