# Google Cloud Service Usage V1 Client - Class DisableServiceResponse (2.2.0)

2.2.0 (latest) 2.1.2 2.0.4 1.3.4 1.2.3 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Service Usage V1 Client class DisableServiceResponse.

Response message for the `DisableService` method.

This response message is assigned to the `response` field of the returned
Operation when that operation is done.

Generated from protobuf message `google.api.serviceusage.v1.DisableServiceResponse`

## Namespace

Google \\ Cloud \\ ServiceUsage \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ service` | `https://docs.cloud.google.com/php/docs/reference/cloud-service-usage/latest/V1.Service` The new state of the service after disabling. |

### getService

The new state of the service after disabling.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-service-usage/latest/V1.Service|null` |   |

### hasService

### clearService

### setService

The new state of the service after disabling.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-service-usage/latest/V1.Service` |

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