Class: Google::Apis::IamV2::GoogleIamV2ListPoliciesResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamV2::GoogleIamV2ListPoliciesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v2/classes.rb,
lib/google/apis/iam_v2/representations.rb,
lib/google/apis/iam_v2/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::IamV2::GoogleIamV2Policy>
Metadata for the policies that are attached to the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIamV2ListPoliciesResponse
constructor
A new instance of GoogleIamV2ListPoliciesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIamV2ListPoliciesResponse
Returns a new instance of GoogleIamV2ListPoliciesResponse.
396 397 398 |
# File 'lib/google/apis/iam_v2/classes.rb', line 396 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
389 390 391 |
# File 'lib/google/apis/iam_v2/classes.rb', line 389 def next_page_token @next_page_token end |
#policies ⇒ Array<Google::Apis::IamV2::GoogleIamV2Policy>
Metadata for the policies that are attached to the resource.
Corresponds to the JSON property policies
394 395 396 |
# File 'lib/google/apis/iam_v2/classes.rb', line 394 def policies @policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
401 402 403 404 |
# File 'lib/google/apis/iam_v2/classes.rb', line 401 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @policies = args[:policies] if args.key?(:policies) end |