class Google::Apis::IamV1::QueryGrantableRolesResponse

The grantable role query response.

Attributes

next_page_token[RW]

To retrieve the next page of results, set `QueryGrantableRolesRequest. page_token` to this value. Corresponds to the JSON property `nextPageToken` @return [String]

roles[RW]

The list of matching roles. Corresponds to the JSON property `roles` @return [Array<Google::Apis::IamV1::Role>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/iam_v1/classes.rb, line 1183
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/iam_v1/classes.rb, line 1188
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @roles = args[:roles] if args.key?(:roles)
end