Class: Google::Apis::BiglakeV1::RenameTableRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/biglake_v1/classes.rb,
lib/google/apis/biglake_v1/representations.rb,
lib/google/apis/biglake_v1/representations.rb

Overview

Request message for the RenameTable method in MetastoreService

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RenameTableRequest

Returns a new instance of RenameTableRequest.



275
276
277
# File 'lib/google/apis/biglake_v1/classes.rb', line 275

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

Instance Attribute Details

#new_nameString

Required. The new name for the specified table, must be in the same database. Format: projects/project_id_or_number/locations/location_id/catalogs/ catalog_id/databases/database_id/tables/table_id Corresponds to the JSON property newName

Returns:

  • (String)


273
274
275
# File 'lib/google/apis/biglake_v1/classes.rb', line 273

def new_name
  @new_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



280
281
282
# File 'lib/google/apis/biglake_v1/classes.rb', line 280

def update!(**args)
  @new_name = args[:new_name] if args.key?(:new_name)
end