Class: Google::Apis::MetastoreV1alpha::MigrationSummary

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

Summary of the migration results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MigrationSummary

Returns a new instance of MigrationSummary.



2295
2296
2297
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2295

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

Instance Attribute Details

#catalog_summariesArray<Google::Apis::MetastoreV1alpha::CatalogSummary>

Output only. Summary of results for each catalog involved in the migration. Corresponds to the JSON property catalogSummaries



2276
2277
2278
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2276

def catalog_summaries
  @catalog_summaries
end

#create_timeString

Output only. The UTC time when this report was finalized. Corresponds to the JSON property createTime

Returns:

  • (String)


2281
2282
2283
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2281

def create_time
  @create_time
end

#dry_runBoolean Also known as: dry_run?

Output only. Whether the migration was a dry run. Corresponds to the JSON property dryRun

Returns:

  • (Boolean)


2286
2287
2288
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2286

def dry_run
  @dry_run
end

#serviceString

Output only. The Dataproc Metastore service name (format: projects//locations/ */services/) on which the migration was executed. Corresponds to the JSON property service

Returns:

  • (String)


2293
2294
2295
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2293

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2300
2301
2302
2303
2304
2305
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2300

def update!(**args)
  @catalog_summaries = args[:catalog_summaries] if args.key?(:catalog_summaries)
  @create_time = args[:create_time] if args.key?(:create_time)
  @dry_run = args[:dry_run] if args.key?(:dry_run)
  @service = args[:service] if args.key?(:service)
end