Class: Google::Apis::MetastoreV1alpha::MetadataImport
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::MetadataImport
- 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
-
#create_time ⇒ String
Output only.
-
#database_dump ⇒ Google::Apis::MetastoreV1alpha::DatabaseDump
A specification of the location of and metadata about a database dump from a relational database management system.
-
#description ⇒ String
The description of the metadata import.
-
#end_time ⇒ String
Output only.
-
#name ⇒ String
Immutable.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MetadataImport
constructor
A new instance of MetadataImport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MetadataImport
Returns a new instance of MetadataImport.
831 832 833 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 831 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time when the metadata import was started.
Corresponds to the JSON property createTime
796 797 798 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 796 def create_time @create_time end |
#database_dump ⇒ Google::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
802 803 804 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 802 def database_dump @database_dump end |
#description ⇒ String
The description of the metadata import.
Corresponds to the JSON property description
807 808 809 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 807 def description @description end |
#end_time ⇒ String
Output only. The time when the metadata import finished.
Corresponds to the JSON property endTime
812 813 814 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 812 def end_time @end_time end |
#name ⇒ String
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
819 820 821 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 819 def name @name end |
#state ⇒ String
Output only. The current state of the metadata import.
Corresponds to the JSON property state
824 825 826 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 824 def state @state end |
#update_time ⇒ String
Output only. The time when the metadata import was last updated.
Corresponds to the JSON property updateTime
829 830 831 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 829 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
836 837 838 839 840 841 842 843 844 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 836 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 |