Class: Google::Apis::MetastoreV1beta::DatabaseDump
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1beta::DatabaseDump
- 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 specification of the location of and metadata about a database dump from a relational database management system.
Instance Attribute Summary collapse
-
#database_type ⇒ String
The type of the database.
-
#gcs_uri ⇒ String
A Cloud Storage object URI that specifies the source from which to import metadata.
-
#source_database ⇒ String
The name of the source database.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabaseDump
constructor
A new instance of DatabaseDump.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabaseDump
Returns a new instance of DatabaseDump.
187 188 189 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 187 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_type ⇒ String
The type of the database.
Corresponds to the JSON property databaseType
174 175 176 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 174 def database_type @database_type end |
#gcs_uri ⇒ String
A Cloud Storage object URI that specifies the source from which to import
metadata. It must begin with gs://.
Corresponds to the JSON property gcsUri
180 181 182 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 180 def gcs_uri @gcs_uri end |
#source_database ⇒ String
The name of the source database.
Corresponds to the JSON property sourceDatabase
185 186 187 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 185 def source_database @source_database end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
192 193 194 195 196 |
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 192 def update!(**args) @database_type = args[:database_type] if args.key?(:database_type) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @source_database = args[:source_database] if args.key?(:source_database) end |