Class: Google::Apis::Area120tablesV1alpha1::ListTablesResponse

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

Overview

Response message for TablesService.ListTables.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListTablesResponse

Returns a new instance of ListTablesResponse.



275
276
277
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 275

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


268
269
270
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 268

def next_page_token
  @next_page_token
end

#tablesArray<Google::Apis::Area120tablesV1alpha1::Table>

The list of tables. Corresponds to the JSON property tables



273
274
275
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 273

def tables
  @tables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



280
281
282
283
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 280

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