Optional. The labels to associate with this batch. Labelkeysmust contain 1 to 63 characters, and must conform toRFC 1035. Labelvaluesmay be empty, but, if present, must contain 1 to 63 characters, and must conform toRFC 1035. No more than 32 labels can be associated with a batch.
Output only. The email address of the user who created the batch.
Returns
Type
Description
string
setCreator
Output only. The email address of the user who created the batch.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLabels
Optional. The labels to associate with this batch.
Labelkeysmust contain 1 to 63 characters, and must conform toRFC 1035.
Labelvaluesmay be empty, but, if present, must contain 1 to 63
characters, and must conform toRFC
1035. No more than 32 labels can be
associated with a batch.
Optional. The labels to associate with this batch.
Labelkeysmust contain 1 to 63 characters, and must conform toRFC 1035.
Labelvaluesmay be empty, but, if present, must contain 1 to 63
characters, and must conform toRFC
1035. No more than 32 labels can be
associated with a batch.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc V1 Client - Class Batch (3.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.14.0 (latest)](/php/docs/reference/cloud-dataproc/latest/V1.Batch)\n- [3.13.4](/php/docs/reference/cloud-dataproc/3.13.4/V1.Batch)\n- [3.12.0](/php/docs/reference/cloud-dataproc/3.12.0/V1.Batch)\n- [3.11.0](/php/docs/reference/cloud-dataproc/3.11.0/V1.Batch)\n- [3.10.1](/php/docs/reference/cloud-dataproc/3.10.1/V1.Batch)\n- [3.9.0](/php/docs/reference/cloud-dataproc/3.9.0/V1.Batch)\n- [3.8.1](/php/docs/reference/cloud-dataproc/3.8.1/V1.Batch)\n- [3.7.1](/php/docs/reference/cloud-dataproc/3.7.1/V1.Batch)\n- [3.6.1](/php/docs/reference/cloud-dataproc/3.6.1/V1.Batch)\n- [3.5.1](/php/docs/reference/cloud-dataproc/3.5.1/V1.Batch)\n- [3.4.0](/php/docs/reference/cloud-dataproc/3.4.0/V1.Batch)\n- [3.3.0](/php/docs/reference/cloud-dataproc/3.3.0/V1.Batch)\n- [3.2.2](/php/docs/reference/cloud-dataproc/3.2.2/V1.Batch)\n- [2.6.1](/php/docs/reference/cloud-dataproc/2.6.1/V1.Batch)\n- [2.5.0](/php/docs/reference/cloud-dataproc/2.5.0/V1.Batch)\n- [2.3.0](/php/docs/reference/cloud-dataproc/2.3.0/V1.Batch)\n- [2.2.3](/php/docs/reference/cloud-dataproc/2.2.3/V1.Batch)\n- [2.1.0](/php/docs/reference/cloud-dataproc/2.1.0/V1.Batch)\n- [2.0.0](/php/docs/reference/cloud-dataproc/2.0.0/V1.Batch) \nReference documentation and code samples for the Google Cloud Dataproc V1 Client class Batch.\n\nA representation of a batch workload in the service.\n\nGenerated from protobuf message `google.cloud.dataproc.v1.Batch`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataproc \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. The resource name of the batch.\n\n### setName\n\nOutput only. The resource name of the batch.\n\n### getUuid\n\nOutput only. A batch UUID (Unique Universal Identifier). The service\ngenerates this value when it creates the batch.\n\n### setUuid\n\nOutput only. A batch UUID (Unique Universal Identifier). The service\ngenerates this value when it creates the batch.\n\n### getCreateTime\n\nOutput only. The time when the batch was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the batch was created.\n\n### getPysparkBatch\n\nOptional. PySpark batch config.\n\n### hasPysparkBatch\n\n### setPysparkBatch\n\nOptional. PySpark batch config.\n\n### getSparkBatch\n\nOptional. Spark batch config.\n\n### hasSparkBatch\n\n### setSparkBatch\n\nOptional. Spark batch config.\n\n### getSparkRBatch\n\nOptional. SparkR batch config.\n\n### hasSparkRBatch\n\n### setSparkRBatch\n\nOptional. SparkR batch config.\n\n### getSparkSqlBatch\n\nOptional. SparkSql batch config.\n\n### hasSparkSqlBatch\n\n### setSparkSqlBatch\n\nOptional. SparkSql batch config.\n\n### getRuntimeInfo\n\nOutput only. Runtime information about batch execution.\n\n### hasRuntimeInfo\n\n### clearRuntimeInfo\n\n### setRuntimeInfo\n\nOutput only. Runtime information about batch execution.\n\n### getState\n\nOutput only. The state of the batch.\n\n### setState\n\nOutput only. The state of the batch.\n\n### getStateMessage\n\nOutput only. Batch state details, such as a failure\ndescription if the state is `FAILED`.\n\n### setStateMessage\n\nOutput only. Batch state details, such as a failure\ndescription if the state is `FAILED`.\n\n### getStateTime\n\nOutput only. The time when the batch entered a current state.\n\n### hasStateTime\n\n### clearStateTime\n\n### setStateTime\n\nOutput only. The time when the batch entered a current state.\n\n### getCreator\n\nOutput only. The email address of the user who created the batch.\n\n### setCreator\n\nOutput only. The email address of the user who created the batch.\n\n### getLabels\n\nOptional. The labels to associate with this batch.\n\nLabel **keys** must contain 1 to 63 characters, and must conform to\n[RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\nLabel **values** may be empty, but, if present, must contain 1 to 63\ncharacters, and must conform to [RFC\n1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be\nassociated with a batch.\n\n### setLabels\n\nOptional. The labels to associate with this batch.\n\nLabel **keys** must contain 1 to 63 characters, and must conform to\n[RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).\nLabel **values** may be empty, but, if present, must contain 1 to 63\ncharacters, and must conform to [RFC\n1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be\nassociated with a batch.\n\n### getRuntimeConfig\n\nOptional. Runtime configuration for the batch execution.\n\n### hasRuntimeConfig\n\n### clearRuntimeConfig\n\n### setRuntimeConfig\n\nOptional. Runtime configuration for the batch execution.\n\n### getEnvironmentConfig\n\nOptional. Environment configuration for the batch execution.\n\n### hasEnvironmentConfig\n\n### clearEnvironmentConfig\n\n### setEnvironmentConfig\n\nOptional. Environment configuration for the batch execution.\n\n### getOperation\n\nOutput only. The resource name of the operation associated with this batch.\n\n### setOperation\n\nOutput only. The resource name of the operation associated with this batch.\n\n### getStateHistory\n\nOutput only. Historical state information for the batch.\n\n### setStateHistory\n\nOutput only. Historical state information for the batch.\n\n### getBatchConfig"]]