Class: Google::Apis::MetastoreV1beta::ExportMetadataRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/metastore_v1beta/classes.rb,
generated/google/apis/metastore_v1beta/representations.rb,
generated/google/apis/metastore_v1beta/representations.rb

Overview

Request message for DataprocMetastore.ExportMetadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportMetadataRequest

Returns a new instance of ExportMetadataRequest.



239
240
241
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 239

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destination_gcs_folderString

Required. A Cloud Storage URI of a folder that metadata are exported to, in the format gs:///. A sub-folder containing exported files will be created below it. Corresponds to the JSON property destinationGcsFolder

Returns:

  • (String)


225
226
227
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 225

def destination_gcs_folder
  @destination_gcs_folder
end

#request_idString

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

Returns:

  • (String)


237
238
239
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 237

def request_id
  @request_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



244
245
246
247
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 244

def update!(**args)
  @destination_gcs_folder = args[:destination_gcs_folder] if args.key?(:destination_gcs_folder)
  @request_id = args[:request_id] if args.key?(:request_id)
end