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.
348 349 350 |
# File 'lib/google/apis/iam_v2/classes.rb', line 348 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
341 342 343 |
# File 'lib/google/apis/iam_v2/classes.rb', line 341 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
346 347 348 |
# File 'lib/google/apis/iam_v2/classes.rb', line 346 def policies @policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
353 354 355 356 |
# File 'lib/google/apis/iam_v2/classes.rb', line 353 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @policies = args[:policies] if args.key?(:policies) end |