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 DomainMapping.

A domain serving an App Engine application.

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

## Namespace

Google \\ Cloud \\ AppEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Full path to the `DomainMapping` resource in the API. Example: `apps/myapp/domainMapping/example.com`. @OutputOnly |
| `↳ id` | `string` Relative name of the domain serving the application. Example: `example.com`. |
| `↳ ssl_settings` | `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.SslSettings` SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. |
| `↳ resource_records` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.ResourceRecord>` The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. @OutputOnly |

### getName

Full path to the `DomainMapping` resource in the API. Example:
`apps/myapp/domainMapping/example.com`.

@OutputOnly

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

### setName

Full path to the `DomainMapping` resource in the API. Example:
`apps/myapp/domainMapping/example.com`.

@OutputOnly

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

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

### getId

Relative name of the domain serving the application. Example:
`example.com`.

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

### setId

Relative name of the domain serving the application. Example:
`example.com`.

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

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

### getSslSettings

SSL configuration for this domain. If unconfigured, this domain will not
serve with SSL.

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

### hasSslSettings

### clearSslSettings

### setSslSettings

SSL configuration for this domain. If unconfigured, this domain will not
serve with SSL.

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

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

### getResourceRecords

The resource records required to configure this domain mapping. These
records must be added to the domain's DNS configuration in order to
serve the application via this domain mapping.

@OutputOnly

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.ResourceRecord>` |   |

### setResourceRecords

The resource records required to configure this domain mapping. These
records must be added to the domain's DNS configuration in order to
serve the application via this domain mapping.

@OutputOnly

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

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