# Google API Common Protos Client - Class DotnetSettings (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 DotnetSettings.

Settings for Dotnet client libraries.

Generated from protobuf message `google.api.DotnetSettings`

## Namespace

Google \\ Api

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ common` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.CommonLanguageSettings` Some settings. |
| `↳ renamed_services` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi. |
| `↳ renamed_resources` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset" |
| `↳ ignored_resources` | `string[]` List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: "documentai.googleapis.com/Location" |
| `↳ forced_namespace_aliases` | `string[]` Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision |
| `↳ handwritten_signatures` | `string[]` Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however. |

### getCommon

Some settings.

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

### hasCommon

### clearCommon

### setCommon

Some settings.

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

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

### getRenamedServices

Map from original service names to renamed versions.

This is used when the default generated types
would cause a naming conflict. (Neither name is
fully-qualified.)
Example: Subscriber to SubscriberServiceApi.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setRenamedServices

Map from original service names to renamed versions.

This is used when the default generated types
would cause a naming conflict. (Neither name is
fully-qualified.)
Example: Subscriber to SubscriberServiceApi.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getRenamedResources

Map from full resource types to the effective short name
for the resource. This is used when otherwise resource
named from different services would cause naming collisions.

Example entry:
"datalabeling.googleapis.com/Dataset": "DataLabelingDataset"

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setRenamedResources

Map from full resource types to the effective short name
for the resource. This is used when otherwise resource
named from different services would cause naming collisions.

Example entry:
"datalabeling.googleapis.com/Dataset": "DataLabelingDataset"

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getIgnoredResources

List of full resource types to ignore during generation.

This is typically used for API-specific Location resources,
which should be handled by the generator as if they were actually
the common Location resources.
Example entry: "documentai.googleapis.com/Location"

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

### setIgnoredResources

List of full resource types to ignore during generation.

This is typically used for API-specific Location resources,
which should be handled by the generator as if they were actually
the common Location resources.
Example entry: "documentai.googleapis.com/Location"

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

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

### getForcedNamespaceAliases

Namespaces which must be aliased in snippets due to
a known (but non-generator-predictable) naming collision

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

### setForcedNamespaceAliases

Namespaces which must be aliased in snippets due to
a known (but non-generator-predictable) naming collision

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

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

### getHandwrittenSignatures

Method signatures (in the form "service.method(signature)")
which are provided separately, so shouldn't be generated.

Snippets *calling* these methods are still generated, however.

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

### setHandwrittenSignatures

Method signatures (in the form "service.method(signature)")
which are provided separately, so shouldn't be generated.

Snippets *calling* these methods are still generated, however.

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

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