Class: Google::Apis::MetastoreV1alpha::StartMigrationRequest
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::StartMigrationRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
Request message for DataprocMetastore.StartMigration.
Instance Attribute Summary collapse
-
#migration_execution ⇒ Google::Apis::MetastoreV1alpha::MigrationExecution
The details of a migration execution resource.
-
#request_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StartMigrationRequest
constructor
A new instance of StartMigrationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StartMigrationRequest
Returns a new instance of StartMigrationRequest.
2738 2739 2740 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#migration_execution ⇒ Google::Apis::MetastoreV1alpha::MigrationExecution
The details of a migration execution resource.
Corresponds to the JSON property migrationExecution
2724 2725 2726 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2724 def migration_execution @migration_execution 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
2736 2737 2738 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2736 def request_id @request_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2743 2744 2745 2746 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2743 def update!(**args) @migration_execution = args[:migration_execution] if args.key?(:migration_execution) @request_id = args[:request_id] if args.key?(:request_id) end |