Class: Google::Apis::MetastoreV1::ExportMetadataRequest
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1::ExportMetadataRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1/classes.rb,
lib/google/apis/metastore_v1/representations.rb,
lib/google/apis/metastore_v1/representations.rb
Overview
Request message for DataprocMetastore.ExportMetadata.
Instance Attribute Summary collapse
-
#database_dump_type ⇒ String
Optional.
-
#destination_gcs_folder ⇒ String
A Cloud Storage URI of a folder, in the format gs:///.
-
#request_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExportMetadataRequest
constructor
A new instance of ExportMetadataRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExportMetadataRequest
Returns a new instance of ExportMetadataRequest.
505 506 507 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 505 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_dump_type ⇒ String
Optional. The type of the database dump. If unspecified, defaults to MYSQL.
Corresponds to the JSON property databaseDumpType
485 486 487 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 485 def database_dump_type @database_dump_type end |
#destination_gcs_folder ⇒ String
A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing
exported files will be created below it.
Corresponds to the JSON property destinationGcsFolder
491 492 493 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 491 def destination_gcs_folder @destination_gcs_folder end |
#request_id ⇒ 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 (https://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
503 504 505 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 503 def request_id @request_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
510 511 512 513 514 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 510 def update!(**args) @database_dump_type = args[:database_dump_type] if args.key?(:database_dump_type) @destination_gcs_folder = args[:destination_gcs_folder] if args.key?(:destination_gcs_folder) @request_id = args[:request_id] if args.key?(:request_id) end |