Class: Google::Cloud::Metastore::V1::RestoreServiceRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/metastore/v1/metastore.rb

Overview

Request message for [DataprocMetastore.Restore][].

Instance Attribute Summary collapse

Instance Attribute Details

#backup::String

Returns 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}.

Returns:

  • (::String)

    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}.



1191
1192
1193
1194
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 1191

class RestoreServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#request_id::String

Returns 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. A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.

Returns:

  • (::String)

    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. A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.



1191
1192
1193
1194
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 1191

class RestoreServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#restore_type::Google::Cloud::Metastore::V1::Restore::RestoreType

Returns Optional. The type of restore. If unspecified, defaults to METADATA_ONLY.

Returns:



1191
1192
1193
1194
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 1191

class RestoreServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service::String

Returns Required. The relative resource name of the metastore service to run restore, in the following form:

projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns:

  • (::String)

    Required. The relative resource name of the metastore service to run restore, in the following form:

    projects/{project_id}/locations/{location_id}/services/{service_id}.



1191
1192
1193
1194
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 1191

class RestoreServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end