Class: Google::Apis::MetastoreV1alpha::CancelMigrationResponse

Inherits:
Object
  • Object
show all
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

Response message for DataprocMetastore.CancelMigration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CancelMigrationResponse

Returns a new instance of CancelMigrationResponse.



421
422
423
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 421

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

Instance Attribute Details

#migration_executionString

The relative resource name of the migration execution, in the following form: projects/project_number/locations/location_id/services/service_id/ migrationExecutions/migration_execution_id. Corresponds to the JSON property migrationExecution

Returns:

  • (String)


419
420
421
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 419

def migration_execution
  @migration_execution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



426
427
428
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 426

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