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

SSL configuration for a `DomainMapping` resource.

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

## Namespace

Google \\ Cloud \\ AppEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ certificate_id` | `string` ID of the `AuthorizedCertificate` resource configuring SSL for the application. Clearing this field will remove SSL support. By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify `SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must be authorized to administer the `AuthorizedCertificate` resource to manually map it to a `DomainMapping` resource. Example: `12345`. |
| `↳ ssl_management_type` | `int` SSL management type for this domain. If `AUTOMATIC`, a managed certificate is automatically provisioned. If `MANUAL`, `certificate_id` must be manually specified in order to configure SSL for this domain. |
| `↳ pending_managed_certificate_id` | `string` ID of the managed `AuthorizedCertificate` resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the `certificate_id` field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the `certificate_id` field with an `UpdateDomainMappingRequest`. @OutputOnly |

### getCertificateId

ID of the `AuthorizedCertificate` resource configuring SSL for the
application. Clearing this field will remove SSL support.

By default, a managed certificate is automatically created for every
domain mapping. To omit SSL support or to configure SSL manually, specify
`SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must
be authorized to administer the `AuthorizedCertificate` resource to
manually map it to a `DomainMapping` resource.
Example: `12345`.

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

### setCertificateId

ID of the `AuthorizedCertificate` resource configuring SSL for the
application. Clearing this field will remove SSL support.

By default, a managed certificate is automatically created for every
domain mapping. To omit SSL support or to configure SSL manually, specify
`SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must
be authorized to administer the `AuthorizedCertificate` resource to
manually map it to a `DomainMapping` resource.
Example: `12345`.

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

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

### getSslManagementType

SSL management type for this domain. If `AUTOMATIC`, a managed certificate
is automatically provisioned. If `MANUAL`, `certificate_id` must be
manually specified in order to configure SSL for this domain.

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

### setSslManagementType

SSL management type for this domain. If `AUTOMATIC`, a managed certificate
is automatically provisioned. If `MANUAL`, `certificate_id` must be
manually specified in order to configure SSL for this domain.

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

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

### getPendingManagedCertificateId

ID of the managed `AuthorizedCertificate` resource currently being
provisioned, if applicable. Until the new managed certificate has been
successfully provisioned, the previous SSL state will be preserved. Once
the provisioning process completes, the `certificate_id` field will reflect
the new managed certificate and this field will be left empty. To remove
SSL support while there is still a pending managed certificate, clear the
`certificate_id` field with an `UpdateDomainMappingRequest`.

@OutputOnly

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

### setPendingManagedCertificateId

ID of the managed `AuthorizedCertificate` resource currently being
provisioned, if applicable. Until the new managed certificate has been
successfully provisioned, the previous SSL state will be preserved. Once
the provisioning process completes, the `certificate_id` field will reflect
the new managed certificate and this field will be left empty. To remove
SSL support while there is still a pending managed certificate, clear the
`certificate_id` field with an `UpdateDomainMappingRequest`.

@OutputOnly

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

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