class Google::Apis::MetastoreV1beta::MetadataImport

A metastore resource that imports metadata.

Attributes

create_time[RW]

Output only. The time when the metadata import was started. Corresponds to the JSON property `createTime` @return [String]

database_dump[RW]

A specification of the location of and metadata about a database dump from a relational database management system. Corresponds to the JSON property `databaseDump` @return [Google::Apis::MetastoreV1beta::DatabaseDump]

description[RW]

The description of the metadata import. Corresponds to the JSON property `description` @return [String]

end_time[RW]

Output only. The time when the metadata import finished. Corresponds to the JSON property `endTime` @return [String]

name[RW]

Immutable. The relative resource name of the metadata import, of the form: projects/`project_number`/locations/`location_id`/services/`service_id`/ metadataImports/`metadata_import_id`. Corresponds to the JSON property `name` @return [String]

state[RW]

Output only. The current state of the metadata import. Corresponds to the JSON property `state` @return [String]

update_time[RW]

Output only. The time when the metadata import was last updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/metastore_v1beta/classes.rb, line 886
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/metastore_v1beta/classes.rb, line 891
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @database_dump = args[:database_dump] if args.key?(:database_dump)
  @description = args[:description] if args.key?(:description)
  @end_time = args[:end_time] if args.key?(:end_time)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end