Class: Google::Apis::MetastoreV1::MetadataImport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/metastore_v1/classes.rb,
lib/google/apis/metastore_v1/representations.rb,
lib/google/apis/metastore_v1/representations.rb

Overview

A metastore resource that imports metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MetadataImport

Returns a new instance of MetadataImport.



1122
1123
1124
# File 'lib/google/apis/metastore_v1/classes.rb', line 1122

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

Instance Attribute Details

#create_timeString

Output only. The time when the metadata import was started. Corresponds to the JSON property createTime

Returns:

  • (String)


1087
1088
1089
# File 'lib/google/apis/metastore_v1/classes.rb', line 1087

def create_time
  @create_time
end

#database_dumpGoogle::Apis::MetastoreV1::DatabaseDump

A specification of the location of and metadata about a database dump from a relational database management system. Corresponds to the JSON property databaseDump



1093
1094
1095
# File 'lib/google/apis/metastore_v1/classes.rb', line 1093

def database_dump
  @database_dump
end

#descriptionString

The description of the metadata import. Corresponds to the JSON property description

Returns:

  • (String)


1098
1099
1100
# File 'lib/google/apis/metastore_v1/classes.rb', line 1098

def description
  @description
end

#end_timeString

Output only. The time when the metadata import finished. Corresponds to the JSON property endTime

Returns:

  • (String)


1103
1104
1105
# File 'lib/google/apis/metastore_v1/classes.rb', line 1103

def end_time
  @end_time
end

#nameString

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

Returns:

  • (String)


1110
1111
1112
# File 'lib/google/apis/metastore_v1/classes.rb', line 1110

def name
  @name
end

#stateString

Output only. The current state of the metadata import. Corresponds to the JSON property state

Returns:

  • (String)


1115
1116
1117
# File 'lib/google/apis/metastore_v1/classes.rb', line 1115

def state
  @state
end

#update_timeString

Output only. The time when the metadata import was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


1120
1121
1122
# File 'lib/google/apis/metastore_v1/classes.rb', line 1120

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/google/apis/metastore_v1/classes.rb', line 1127

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