# Policy Troubleshooter V3 API - Class Google::Iam::V2::ListPoliciesResponse (v0.12.0)

0.12.0 (latest) 0.11.1 0.10.0 0.9.1 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.2 0.2.0 0.1.0 Reference documentation and code samples for the Policy Troubleshooter V3 API class Google::Iam::V2::ListPoliciesResponse.

Response message for `ListPolicies`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A page token that you can use in a [ListPoliciesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_troubleshooter-iam-v3/latest/Google-Iam-V2-ListPoliciesRequest "Google::Iam::V2::ListPoliciesRequest (class)") to retrieve the next page. If this field is omitted, there are no additional pages.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A page token that you can use in a [ListPoliciesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_troubleshooter-iam-v3/latest/Google-Iam-V2-ListPoliciesRequest "Google::Iam::V2::ListPoliciesRequest (class)") to retrieve the next page. If this field is omitted, there are no additional pages.
**Returns**

- (::String) --- A page token that you can use in a [ListPoliciesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_troubleshooter-iam-v3/latest/Google-Iam-V2-ListPoliciesRequest "Google::Iam::V2::ListPoliciesRequest (class)") to retrieve the next page. If this field is omitted, there are no additional pages.

### #policies

    def policies() -> ::Array<::Google::Iam::V2::Policy>

**Returns**

- (::Array\<[::Google::Iam::V2::Policy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_troubleshooter-iam-v3/latest/Google-Iam-V2-Policy)\>) --- Metadata for the policies that are attached to the resource.

### #policies=

    def policies=(value) -> ::Array<::Google::Iam::V2::Policy>

**Parameter**

- **value** (::Array\<[::Google::Iam::V2::Policy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_troubleshooter-iam-v3/latest/Google-Iam-V2-Policy)\>) --- Metadata for the policies that are attached to the resource.
**Returns**

- (::Array\<[::Google::Iam::V2::Policy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_troubleshooter-iam-v3/latest/Google-Iam-V2-Policy)\>) --- Metadata for the policies that are attached to the resource.