Class: Google::Apis::IamV2beta::GoogleIamV2betaListPoliciesResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamV2beta::GoogleIamV2betaListPoliciesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v2beta/classes.rb,
lib/google/apis/iam_v2beta/representations.rb,
lib/google/apis/iam_v2beta/representations.rb
Overview
Response message for ListPolicies.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A page token that you can use in a ListPoliciesRequest to retrieve the next page.
-
#policies ⇒ Array<Google::Apis::IamV2beta::GoogleIamV2betaPolicy>
Metadata for the policies that are attached to the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIamV2betaListPoliciesResponse
constructor
A new instance of GoogleIamV2betaListPoliciesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIamV2betaListPoliciesResponse
Returns a new instance of GoogleIamV2betaListPoliciesResponse.
289 290 291 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A page token that you can use in a ListPoliciesRequest to retrieve the next
page. If this field is omitted, there are no additional pages.
Corresponds to the JSON property nextPageToken
282 283 284 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 282 def next_page_token @next_page_token end |
#policies ⇒ Array<Google::Apis::IamV2beta::GoogleIamV2betaPolicy>
Metadata for the policies that are attached to the resource.
Corresponds to the JSON property policies
287 288 289 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 287 def policies @policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
294 295 296 297 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 294 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @policies = args[:policies] if args.key?(:policies) end |