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.



701
702
703
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 701

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


671
672
673
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 671

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



677
678
679
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 677

def database_dump
  @database_dump
end

#descriptionString

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

Returns:

  • (String)


682
683
684
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 682

def description
  @description
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)


689
690
691
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 689

def name
  @name
end

#stateString

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

Returns:

  • (String)


694
695
696
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 694

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)


699
700
701
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 699

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



706
707
708
709
710
711
712
713
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 706

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)
  @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