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.



2136
2137
2138
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2136

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



2117
2118
2119
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2117

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)


2122
2123
2124
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2122

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)


2127
2128
2129
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2127

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)


2134
2135
2136
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2134

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2141
2142
2143
2144
2145
2146
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2141

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