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.



596
597
598
# File 'lib/google/apis/biglake_v1/classes.rb', line 596

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)


594
595
596
# File 'lib/google/apis/biglake_v1/classes.rb', line 594

def new_name
  @new_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



601
602
603
# File 'lib/google/apis/biglake_v1/classes.rb', line 601

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