Class: Google::Apis::MetastoreV1beta::MetadataExport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/metastore_v1beta/classes.rb,
generated/google/apis/metastore_v1beta/representations.rb,
generated/google/apis/metastore_v1beta/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.



633
634
635
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 633

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

Instance Attribute Details

#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 propertydestinationGcsUri`

Returns:

  • (String)


616
617
618
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 616

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)


621
622
623
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 621

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


626
627
628
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 626

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


631
632
633
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 631

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



638
639
640
641
642
643
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 638

def update!(**args)
  @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