class Google::Apis::IamV1::ListRolesResponse
The response containing the roles defined under a resource.
Attributes
next_page_token[RW]
To retrieve the next page of results, set `ListRolesRequest.page_token` to this value. Corresponds to the JSON property `nextPageToken` @return [String]
roles[RW]
The Roles defined on this resource. 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 648 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 653 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @roles = args[:roles] if args.key?(:roles) end