Class: Google::Apis::SpannerV1::ListDatabaseRolesResponse

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

Overview

The response for ListDatabaseRoles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDatabaseRolesResponse

Returns a new instance of ListDatabaseRolesResponse.



2384
2385
2386
# File 'lib/google/apis/spanner_v1/classes.rb', line 2384

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

Instance Attribute Details

#database_rolesArray<Google::Apis::SpannerV1::DatabaseRole>

Database roles that matched the request. Corresponds to the JSON property databaseRoles



2376
2377
2378
# File 'lib/google/apis/spanner_v1/classes.rb', line 2376

def database_roles
  @database_roles
end

#next_page_tokenString

next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2382
2383
2384
# File 'lib/google/apis/spanner_v1/classes.rb', line 2382

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2389
2390
2391
2392
# File 'lib/google/apis/spanner_v1/classes.rb', line 2389

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