Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class Environment.
An environment for running orchestration tasks.
Generated from protobuf message google.cloud.orchestration.airflow.service.v1.Environment
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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.
↳ config
Google\Cloud\Orchestration\Airflow\Service\V1\EnvironmentConfig
Configuration parameters for this environment.
↳ uuid
string
Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
↳ state
int
The current state of the environment.
↳ create_time
↳ update_time
↳ labels
array| Google\Protobuf\Internal\MapField
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.
getName
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.
string
setName
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.
var
string
$this
getConfig
Configuration parameters for this environment.
hasConfig
clearConfig
setConfig
Configuration parameters for this environment.
$this
getUuid
Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
string
setUuid
Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
var
string
$this
getState
The current state of the environment.
int
setState
The current state of the environment.
var
int
$this
getCreateTime
Output only. The time at which this environment was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which this environment was created.
$this
getUpdateTime
Output only. The time at which this environment was last modified.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time at which this environment was last modified.
$this
getLabels
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.
setLabels
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.
$this