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.



453
454
455
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 453

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)


451
452
453
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 451

def migration_execution
  @migration_execution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



458
459
460
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 458

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