# Google Cloud Channel V1 Client - Class UnregisterSubscriberRequest (2.4.1)

2.4.1 (latest) 2.4.0 2.3.1 2.2.1 2.1.4 2.0.0 1.9.5 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Channel V1 Client class UnregisterSubscriberRequest.

Request Message for UnregisterSubscriber.

Generated from protobuf message `google.cloud.channel.v1.UnregisterSubscriberRequest`

## Namespace

Google \\ Cloud \\ Channel \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ account` | `string` Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. |
| `↳ service_account` | `string` Required. Service account to unregister from subscriber access to the topic. |
| `↳ integrator` | `string` Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. |

### getAccount

Optional. Resource name of the account. Required if integrator is not
provided. Otherwise, leave this field empty/unset.

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

### setAccount

Optional. Resource name of the account. Required if integrator is not
provided. Otherwise, leave this field empty/unset.

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

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

### getServiceAccount

Required. Service account to unregister from subscriber access to the
topic.

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

### setServiceAccount

Required. Service account to unregister from subscriber access to the
topic.

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

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

### getIntegrator

Optional. Resource name of the integrator. Required if account is not
provided. Otherwise, leave this field empty/unset.

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

### hasIntegrator

### clearIntegrator

### setIntegrator

Optional. Resource name of the integrator. Required if account is not
provided. Otherwise, leave this field empty/unset.

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

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