# Google Cloud Service Control V1 Client - Class CheckInfo (2.2.0)

2.2.0 (latest) 2.1.1 2.0.4 1.4.4 1.3.0 1.2.1 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Service Control V1 Client class CheckInfo.

Contains additional information about the check operation.

Generated from protobuf message `google.api.servicecontrol.v1.CheckResponse.CheckInfo`

## Namespace

Google \\ Cloud \\ ServiceControl \\ V1 \\ CheckResponse

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ unused_arguments` | `string[]` A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation. |
| `↳ consumer_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-service-control/latest/V1.CheckResponse.ConsumerInfo` Consumer info of this check. |
| `↳ api_key_uid` | `string` The unique id of the api key in the format of "apikey: |

### getUnusedArguments

A list of fields and label keys that are ignored by the server.

The client doesn't need to send them for following requests to improve
performance and allow better aggregation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setUnusedArguments

A list of fields and label keys that are ignored by the server.

The client doesn't need to send them for following requests to improve
performance and allow better aggregation.

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

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

### getConsumerInfo

Consumer info of this check.

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

### hasConsumerInfo

### clearConsumerInfo

### setConsumerInfo

Consumer info of this check.

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

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

### getApiKeyUid

The unique id of the api key in the format of "apikey:


This field will be populated when the consumer passed to Service Control
is an API key and all the API key related validations are successful.

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

### setApiKeyUid

The unique id of the api key in the format of "apikey:


This field will be populated when the consumer passed to Service Control
is an API key and all the API key related validations are successful.

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

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