Class: Google::Apis::BiglakeV1::ListDatabasesResponse

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

Response message for the ListDatabases method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDatabasesResponse

Returns a new instance of ListDatabasesResponse.



227
228
229
# File 'lib/google/apis/biglake_v1/classes.rb', line 227

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

Instance Attribute Details

#databasesArray<Google::Apis::BiglakeV1::Database>

The databases from the specified catalog. Corresponds to the JSON property databases



219
220
221
# File 'lib/google/apis/biglake_v1/classes.rb', line 219

def databases
  @databases
end

#next_page_tokenString

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

Returns:

  • (String)


225
226
227
# File 'lib/google/apis/biglake_v1/classes.rb', line 225

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



232
233
234
235
# File 'lib/google/apis/biglake_v1/classes.rb', line 232

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