2.1.3 (latest) 2.1.2 2.0.4 1.3.5 1.2.2 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class CreateDomainMappingRequest.

Request message for `DomainMappings.CreateDomainMapping`.

Generated from protobuf message `google.appengine.v1.CreateDomainMappingRequest`

## Namespace

Google \\ Cloud \\ AppEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Name of the parent Application resource. Example: `apps/myapp`. |
| `↳ domain_mapping` | `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.DomainMapping` Domain mapping configuration. |
| `↳ override_strategy` | `int` Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. |

### getParent

Name of the parent Application resource. Example: `apps/myapp`.

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

### setParent

Name of the parent Application resource. Example: `apps/myapp`.

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

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

### getDomainMapping

Domain mapping configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.DomainMapping|null` |   |

### hasDomainMapping

### clearDomainMapping

### setDomainMapping

Domain mapping configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.DomainMapping` |

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

### getOverrideStrategy

Whether the domain creation should override any existing mappings for this
domain. By default, overrides are rejected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DomainOverrideStrategy](https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.DomainOverrideStrategy). |

### setOverrideStrategy

Whether the domain creation should override any existing mappings for this
domain. By default, overrides are rejected.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DomainOverrideStrategy](https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.DomainOverrideStrategy). |

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