Reference documentation and code samples for the Google Cloud Design Center V1 Client class GKEDeploymentTarget.

The GKE deployment target.

Generated from protobuf message `google.cloud.designcenter.v1.GKEDeploymentTarget`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cluster_self_link` | `string` Required. The self link of the cluster where GKE based application is deployed. |
| `↳ namespace` | `string` Required. The namespace where the application is deployed. |
| `↳ kubernetes_service_account` | `string` Required. The kubernetes service account that is created within the namespace provided above. Example: default or node-sa |
| `↳ kubernetes_service_account_creation` | `bool` Optional. Whether to create the provided KSA. If true, the KSA will be created in the namespace provided above. If false, the KSA is expected to already exist in the namespace provided above. |

### getClusterSelfLink

Required. The self link of the cluster where GKE based application is
deployed.

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

### setClusterSelfLink

Required. The self link of the cluster where GKE based application is
deployed.

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

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

### getNamespace

Required. The namespace where the application is deployed.

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

### setNamespace

Required. The namespace where the application is deployed.

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

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

### getKubernetesServiceAccount

Required. The kubernetes service account that is created within the
namespace provided above. Example: default or node-sa

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

### setKubernetesServiceAccount

Required. The kubernetes service account that is created within the
namespace provided above. Example: default or node-sa

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

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

### getKubernetesServiceAccountCreation

Optional. Whether to create the provided KSA.

If true, the KSA will be created in the namespace provided above.
If false, the KSA is expected to already exist in the namespace provided
above.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setKubernetesServiceAccountCreation

Optional. Whether to create the provided KSA.

If true, the KSA will be created in the namespace provided above.
If false, the KSA is expected to already exist in the namespace provided
above.

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

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