Class: Google::Apis::MetastoreV1beta::MetadataImport
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1beta::MetadataImport
- 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
A metastore resource that imports metadata.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#database_dump ⇒ Google::Apis::MetastoreV1beta::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.
-
#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.
683 684 685 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 683 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time when the metadata import was created.
Corresponds to the JSON property createTime
653 654 655 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 653 def create_time @create_time end |
#database_dump ⇒ Google::Apis::MetastoreV1beta::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
659 660 661 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 659 def database_dump @database_dump end |
#description ⇒ String
The description of the metadata import.
Corresponds to the JSON property description
664 665 666 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 664 def description @description 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
671 672 673 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 671 def name @name end |
#state ⇒ String
Output only. The current state of the metadata import.
Corresponds to the JSON property state
676 677 678 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 676 def state @state end |
#update_time ⇒ String
Output only. The time when the metadata import was last updated.
Corresponds to the JSON property updateTime
681 682 683 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 681 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
688 689 690 691 692 693 694 695 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 688 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 |