Class: Google::Apis::MetastoreV1alpha::BackfillStatus

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

Backfill status for the migration execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackfillStatus

Returns a new instance of BackfillStatus.



292
293
294
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 292

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

Instance Attribute Details

#migration_summaryGoogle::Apis::MetastoreV1alpha::MigrationSummary

Summary of the migration results. Corresponds to the JSON property migrationSummary



279
280
281
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 279

def migration_summary
  @migration_summary
end

#report_pathString

Output only. The Cloud Storage path where the backfill or dry run report is written. Format: "gs://path-to-report". Corresponds to the JSON property reportPath

Returns:

  • (String)


285
286
287
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 285

def report_path
  @report_path
end

#stateString

Output only. The current state of the backfill (or dry run). Corresponds to the JSON property state

Returns:

  • (String)


290
291
292
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 290

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



297
298
299
300
301
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 297

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