Class: Google::Apis::MetastoreV1alpha::MetadataExport

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

The details of a metadata export operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MetadataExport

Returns a new instance of MetadataExport.



1644
1645
1646
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1644

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

Instance Attribute Details

#database_dump_typeString

Output only. The type of the database dump. Corresponds to the JSON property databaseDumpType

Returns:

  • (String)


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

def database_dump_type
  @database_dump_type
end

#destination_gcs_uriString

Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs:////, where is automatically generated. Corresponds to the JSON property destinationGcsUri

Returns:

  • (String)


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

def destination_gcs_uri
  @destination_gcs_uri
end

#end_timeString

Output only. The time when the export ended. Corresponds to the JSON property endTime

Returns:

  • (String)


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

def end_time
  @end_time
end

#start_timeString

Output only. The time when the export started. Corresponds to the JSON property startTime

Returns:

  • (String)


1637
1638
1639
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1637

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


1642
1643
1644
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1642

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1649
1650
1651
1652
1653
1654
1655
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1649

def update!(**args)
  @database_dump_type = args[:database_dump_type] if args.key?(:database_dump_type)
  @destination_gcs_uri = args[:destination_gcs_uri] if args.key?(:destination_gcs_uri)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end