# Google API Common Protos Client - Class CommonLanguageSettings (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos Client class CommonLanguageSettings.

Required information for every language.

Generated from protobuf message `google.api.CommonLanguageSettings`

## Namespace

Google \\ Api

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ reference_docs_uri` | `string` Link to automatically generated reference documentation. Example: <https://cloud.google.com/nodejs/docs/reference/asset/latest> |
| `↳ destinations` | `int[]` The destination where API teams want this client library to be published. |
| `↳ selective_gapic_generation` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.SelectiveGapicGeneration` Configuration for which RPCs should be generated in the GAPIC client. Note: This field should not be used in most cases. |

### getReferenceDocsUri

Link to automatically generated reference documentation. Example:
<https://cloud.google.com/nodejs/docs/reference/asset/latest>

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

### setReferenceDocsUri

Link to automatically generated reference documentation. Example:
<https://cloud.google.com/nodejs/docs/reference/asset/latest>

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

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

### getDestinations

The destination where API teams want this client library to be published.

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

### setDestinations

The destination where API teams want this client library to be published.

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

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

### getSelectiveGapicGeneration

Configuration for which RPCs should be generated in the GAPIC client.

Note: This field should not be used in most cases.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.SelectiveGapicGeneration|null` |   |

### hasSelectiveGapicGeneration

### clearSelectiveGapicGeneration

### setSelectiveGapicGeneration

Configuration for which RPCs should be generated in the GAPIC client.

Note: This field should not be used in most cases.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.SelectiveGapicGeneration` |

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