# Google Cloud Gke Hub V1 Client - Class ListScopeNamespacesRequest (1.3.1)

1.3.1 (latest) 1.3.0 1.2.2 1.1.0 1.0.6 0.10.0 0.9.5 0.8.2 0.7.1 0.6.3 0.5.6 Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class ListScopeNamespacesRequest.

Request to list fleet namespaces.

Generated from protobuf message `google.cloud.gkehub.v1.ListScopeNamespacesRequest`

## Namespace

Google \\ Cloud \\ GkeHub \\ V1

## Methods

### __construct

Constructor.

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

### getParent

Required. The parent (project and location) where the Features will be
listed. Specified in the format `projects/*/locations/*/scopes/*`.

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

### setParent

Required. The parent (project and location) where the Features will be
listed. Specified in the format `projects/*/locations/*/scopes/*`.

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

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

### getPageSize

Optional. When requesting a 'page' of resources, `page_size` specifies
number of resources to return. If unspecified or set to 0, all resources
will be returned.

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

### setPageSize

Optional. When requesting a 'page' of resources, `page_size` specifies
number of resources to return. If unspecified or set to 0, all resources
will be returned.

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

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

### getPageToken

Optional. Token returned by previous call to `ListFeatures` which
specifies the position in the list from where to continue listing the
resources.

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

### setPageToken

Optional. Token returned by previous call to `ListFeatures` which
specifies the position in the list from where to continue listing the
resources.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`. Please see GkeHubClient::scopeName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/V1.ListScopeNamespacesRequest` |   |