# Google Cloud Network Security V1 Client - Class ListServerTlsPoliciesRequest (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class ListServerTlsPoliciesRequest.

Request used by the ListServerTlsPolicies method.

Generated from protobuf message `google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getParent

Required. The project and location from which the ServerTlsPolicies should
be listed, specified in the format `projects/*/locations/{location}`.

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

### setParent

Required. The project and location from which the ServerTlsPolicies should
be listed, specified in the format `projects/*/locations/{location}`.

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

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

### getPageSize

Maximum number of ServerTlsPolicies to return per call.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

Maximum number of ServerTlsPolicies to return per call.

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

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

### getPageToken

The value returned by the last `ListServerTlsPoliciesResponse`
Indicates that this is a continuation of a prior
`ListServerTlsPolicies` call, and that the system
should return the next page of data.

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

### setPageToken

The value returned by the last `ListServerTlsPoliciesResponse`
Indicates that this is a continuation of a prior
`ListServerTlsPolicies` call, and that the system
should return the next page of data.

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

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

### getReturnPartialSuccess

Optional. Setting this field to `true` will opt the request into returning
the resources that are reachable, and into including the names of those
that were unreachable in the \[ListServerTlsPoliciesResponse.unreachable\]
field. This can only be `true` when reading across collections e.g. when
`parent` is set to `"projects/example/locations/-"`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setReturnPartialSuccess

Optional. Setting this field to `true` will opt the request into returning
the resources that are reachable, and into including the names of those
that were unreachable in the \[ListServerTlsPoliciesResponse.unreachable\]
field. This can only be `true` when reading across collections e.g. when
`parent` is set to `"projects/example/locations/-"`.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format `projects/*/locations/{location}`. Please see NetworkSecurityClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.ListServerTlsPoliciesRequest` |   |