Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class Environment.
An environment for running orchestration tasks.
Generated from protobuf messagegoogle.cloud.orchestration.airflow.service.v1.Environment
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 environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} * * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}-]{0,63} * * Both keys and values are additionally constrained to be <= 128 bytes in size.
Optional. Storage configuration for this environment.
getName
Identifier. The resource name of the environment, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
EnvironmentId must start with a lowercase letter followed by up to 63
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Returns
Type
Description
string
setName
Identifier. The resource name of the environment, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
EnvironmentId must start with a lowercase letter followed by up to 63
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getConfig
Optional. Configuration parameters for this environment.
[[["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 Orchestration Airflow V1 Client - Class Environment (2.1.8)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.8 (latest)](/php/docs/reference/cloud-orchestration-airflow/latest/V1.Environment)\n- [2.1.7](/php/docs/reference/cloud-orchestration-airflow/2.1.7/V1.Environment)\n- [2.0.1](/php/docs/reference/cloud-orchestration-airflow/2.0.1/V1.Environment)\n- [1.6.4](/php/docs/reference/cloud-orchestration-airflow/1.6.4/V1.Environment)\n- [1.5.0](/php/docs/reference/cloud-orchestration-airflow/1.5.0/V1.Environment)\n- [1.4.2](/php/docs/reference/cloud-orchestration-airflow/1.4.2/V1.Environment)\n- [1.3.0](/php/docs/reference/cloud-orchestration-airflow/1.3.0/V1.Environment)\n- [1.2.0](/php/docs/reference/cloud-orchestration-airflow/1.2.0/V1.Environment)\n- [1.1.0](/php/docs/reference/cloud-orchestration-airflow/1.1.0/V1.Environment)\n- [1.0.4](/php/docs/reference/cloud-orchestration-airflow/1.0.4/V1.Environment) \nReference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class Environment.\n\nAn environment for running orchestration tasks.\n\nGenerated from protobuf message `google.cloud.orchestration.airflow.service.v1.Environment`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Orchestration \\\\ Airflow \\\\ Service \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the environment, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"\nEnvironmentId must start with a lowercase letter followed by up to 63\nlowercase letters, numbers, or hyphens, and cannot end with a hyphen.\n\n### setName\n\nIdentifier. The resource name of the environment, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"\nEnvironmentId must start with a lowercase letter followed by up to 63\nlowercase letters, numbers, or hyphens, and cannot end with a hyphen.\n\n### getConfig\n\nOptional. Configuration parameters for this environment.\n\n### hasConfig\n\n### clearConfig\n\n### setConfig\n\nOptional. Configuration parameters for this environment.\n\n### getUuid\n\nOutput only. The UUID (Universally Unique IDentifier) associated with this\nenvironment. This value is generated when the environment is created.\n\n### setUuid\n\nOutput only. The UUID (Universally Unique IDentifier) associated with this\nenvironment. This value is generated when the environment is created.\n\n### getState\n\nThe current state of the environment.\n\n### setState\n\nThe current state of the environment.\n\n### getCreateTime\n\nOutput only. The time at which this environment was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time at which this environment was created.\n\n### getUpdateTime\n\nOutput only. The time at which this environment was last modified.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The time at which this environment was last modified.\n\n### getLabels\n\nOptional. User-defined labels for this environment.\n\nThe labels map can contain no more than 64 entries. Entries of the labels\nmap are UTF8 strings that comply with the following restrictions:\n\n- Keys must conform to regexp: \\[\\\\p{Ll}\\\\p{Lo}\\]\\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}_-\\]{0,62}\n- Values must conform to regexp: \\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}_-\\]{0,63}\n- Both keys and values are additionally constrained to be \\\u003c= 128 bytes in size.\n\n### setLabels\n\nOptional. User-defined labels for this environment.\n\nThe labels map can contain no more than 64 entries. Entries of the labels\nmap are UTF8 strings that comply with the following restrictions:\n\n- Keys must conform to regexp: \\[\\\\p{Ll}\\\\p{Lo}\\]\\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}_-\\]{0,62}\n- Values must conform to regexp: \\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}_-\\]{0,63}\n- Both keys and values are additionally constrained to be \\\u003c= 128 bytes in size.\n\n### getSatisfiesPzs\n\nOutput only. Reserved for future use.\n\n### setSatisfiesPzs\n\nOutput only. Reserved for future use.\n\n### getSatisfiesPzi\n\nOutput only. Reserved for future use.\n\n### setSatisfiesPzi\n\nOutput only. Reserved for future use.\n\n### getStorageConfig\n\nOptional. Storage configuration for this environment.\n\n### hasStorageConfig\n\n### clearStorageConfig\n\n### setStorageConfig\n\nOptional. Storage configuration for this environment."]]