0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class ListGuardrailsResponse.

Response message for
[AgentService.ListGuardrails](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Client.AgentServiceClient.md.txt#_Google_Cloud_Ces_V1_Client_AgentServiceClient__listGuardrails__).

Generated from protobuf message `google.cloud.ces.v1.ListGuardrailsResponse`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ guardrails` | `array<Guardrail>` The list of guardrails. |
| `↳ next_page_token` | `string` A token that can be sent as [ListGuardrailsRequest.page_token](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ListGuardrailsRequest.md.txt#_Google_Cloud_Ces_V1_ListGuardrailsRequest__getPageToken__) to retrieve the next page. Absence of this field indicates there are no subsequent pages. |

### getGuardrails

The list of guardrails.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<Guardrail>` |   |

### setGuardrails

The list of guardrails.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<Guardrail>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNextPageToken

A token that can be sent as
[ListGuardrailsRequest.page_token](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ListGuardrailsRequest.md.txt#_Google_Cloud_Ces_V1_ListGuardrailsRequest__getPageToken__)
to retrieve the next page. Absence of this field indicates there are no
subsequent pages.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNextPageToken

A token that can be sent as
[ListGuardrailsRequest.page_token](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ListGuardrailsRequest.md.txt#_Google_Cloud_Ces_V1_ListGuardrailsRequest__getPageToken__)
to retrieve the next page. Absence of this field indicates there are no
subsequent pages.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |