Class: Google::Apis::MetastoreV1alpha::MoveTableToDatabaseRequest
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::MoveTableToDatabaseRequest
- 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
Request message for DataprocMetastore.MoveTableToDatabase.
Instance Attribute Summary collapse
-
#db_name ⇒ String
Required.
-
#destination_db_name ⇒ String
Required.
-
#table_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MoveTableToDatabaseRequest
constructor
A new instance of MoveTableToDatabaseRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MoveTableToDatabaseRequest
Returns a new instance of MoveTableToDatabaseRequest.
1252 1253 1254 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1252 def initialize(**args) update!(**args) end |
Instance Attribute Details
#db_name ⇒ String
Required. The name of the database where the table resides.
Corresponds to the JSON property dbName
1240 1241 1242 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1240 def db_name @db_name end |
#destination_db_name ⇒ String
Required. The name of the database where the table should be moved.
Corresponds to the JSON property destinationDbName
1245 1246 1247 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1245 def destination_db_name @destination_db_name end |
#table_name ⇒ String
Required. The name of the table to be moved.
Corresponds to the JSON property tableName
1250 1251 1252 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1250 def table_name @table_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1257 1258 1259 1260 1261 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1257 def update!(**args) @db_name = args[:db_name] if args.key?(:db_name) @destination_db_name = args[:destination_db_name] if args.key?(:destination_db_name) @table_name = args[:table_name] if args.key?(:table_name) end |