Class: Google::Apis::MetastoreV1alpha::MetadataImport

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

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.



1634
1635
1636
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1634

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)


1599
1600
1601
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1599

def create_time
  @create_time
end

#database_dumpGoogle::Apis::MetastoreV1alpha::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



1605
1606
1607
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1605

def database_dump
  @database_dump
end

#descriptionString

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

Returns:

  • (String)


1610
1611
1612
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1610

def description
  @description
end

#end_timeString

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

Returns:

  • (String)


1615
1616
1617
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1615

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)


1622
1623
1624
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1622

def name
  @name
end

#stateString

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

Returns:

  • (String)


1627
1628
1629
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1627

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)


1632
1633
1634
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1632

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1639
1640
1641
1642
1643
1644
1645
1646
1647
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1639

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