Class: Google::Apis::SpannerV1::ListDatabaseRolesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::ListDatabaseRolesResponse
- 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
-
#database_roles ⇒ Array<Google::Apis::SpannerV1::DatabaseRole>
Database roles that matched the request.
-
#next_page_token ⇒ String
next_page_tokencan be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListDatabaseRolesResponse
constructor
A new instance of ListDatabaseRolesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListDatabaseRolesResponse
Returns a new instance of ListDatabaseRolesResponse.
2035 2036 2037 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 2035 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_roles ⇒ Array<Google::Apis::SpannerV1::DatabaseRole>
Database roles that matched the request.
Corresponds to the JSON property databaseRoles
2027 2028 2029 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 2027 def database_roles @database_roles end |
#next_page_token ⇒ String
next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch
more of the matching roles.
Corresponds to the JSON property nextPageToken
2033 2034 2035 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 2033 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2040 2041 2042 2043 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 2040 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 |