Google Cloud Orchestration Airflow V1 Client - Class UserWorkloadsConfigMap (2.0.0)

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|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/

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/

Returns
Type Description
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/

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this