0.17.0 (latest) 0.16.0 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Google Ads Ad Manager V1 Client class ListNetworksResponse.

Response object for `ListNetworks` method.

Generated from protobuf message `google.ads.admanager.v1.ListNetworksResponse`

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ networks` | `array<Network>` The `Network`s a user has access to. |
| `↳ next_page_token` | `string` A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
| `↳ total_size` | `int` Total number of `Network`s. `total_size` won't be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter `$fields` or `fields`, or by using the HTTP/gRPC header `X-Goog-FieldMask`. For more information, see <https://developers.google.com/ad-manager/api/beta/field-masks> |

### getNetworks

The `Network`s a user has access to.

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

### setNetworks

The `Network`s a user has access to.

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

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

### getNextPageToken

A token, which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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

### setNextPageToken

A token, which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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

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

### getTotalSize

Total number of `Network`s.

`total_size` won't be calculated in the response unless it has been
included in a response field mask. The response field mask can be provided
to the method by using the URL parameter `$fields` or `fields`, or by using
the HTTP/gRPC header `X-Goog-FieldMask`.
For more information, see
<https://developers.google.com/ad-manager/api/beta/field-masks>

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

### setTotalSize

Total number of `Network`s.

`total_size` won't be calculated in the response unless it has been
included in a response field mask. The response field mask can be provided
to the method by using the URL parameter `$fields` or `fields`, or by using
the HTTP/gRPC header `X-Goog-FieldMask`.
For more information, see
<https://developers.google.com/ad-manager/api/beta/field-masks>

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

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