Class: Google::Apis::IamV1::QueryGrantableRolesResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::QueryGrantableRolesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/iam_v1/classes.rb,
generated/google/apis/iam_v1/representations.rb,
generated/google/apis/iam_v1/representations.rb
Overview
The grantable role query response.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
To retrieve the next page of results, set `QueryGrantableRolesRequest.
-
#roles ⇒ Array<Google::Apis::IamV1::Role>
The list of matching roles.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryGrantableRolesResponse
constructor
A new instance of QueryGrantableRolesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryGrantableRolesResponse
Returns a new instance of QueryGrantableRolesResponse.
1053 1054 1055 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1053 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
To retrieve the next page of results, set QueryGrantableRolesRequest.
page_token
to this value.
Corresponds to the JSON property nextPageToken
1046 1047 1048 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1046 def next_page_token @next_page_token end |
#roles ⇒ Array<Google::Apis::IamV1::Role>
The list of matching roles.
Corresponds to the JSON property roles
1051 1052 1053 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1051 def roles @roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1058 1059 1060 1061 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1058 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @roles = args[:roles] if args.key?(:roles) end |