# Google Cloud Orchestration Airflow V1 Client - Class UserWorkloadsConfigMap (2.2.3)

2.2.3 (latest) 2.2.2 2.1.8 2.0.1 1.6.4 1.5.0 1.4.2 1.3.0 1.2.0 1.1.0 1.0.4 Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class UserWorkloadsConfigMap.

User workloads ConfigMap used by Airflow tasks that run with Kubernetes
executor or KubernetesPodOperator.

Generated from protobuf message `google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap`

## Namespace

Google \\ Cloud \\ Orchestration \\ Airflow \\ Service \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" |
| `↳ data` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: <https://kubernetes.io/docs/concepts/configuration/configmap/> Example: { "example_key": "example_value", "another_key": "another_value" } |

### getName

Identifier. The resource name of the ConfigMap, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"

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

### setName

Identifier. The resource name of the ConfigMap, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"

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

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

### getData

Optional. The "data" field of Kubernetes ConfigMap, organized in key-value
pairs. For details see:
<https://kubernetes.io/docs/concepts/configuration/configmap/>
Example:
{
"example_key": "example_value",
"another_key": "another_value"
}

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

### setData

Optional. The "data" field of Kubernetes ConfigMap, organized in key-value
pairs. For details see:
<https://kubernetes.io/docs/concepts/configuration/configmap/>
Example:
{
"example_key": "example_value",
"another_key": "another_value"
}

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

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