Create a new environment.
Scopes
You will need authorization for the https://www.googleapis.com/auth/cloud-platform scope to make a valid call.
If unset, the scope for this method defaults to https://www.googleapis.com/auth/cloud-platform.
You can set the scope for this method like this: composer1 --scope <scope> projects locations-environments-create ...
Required Scalar Argument
- <parent> (string)
- The parent must be of the form "projects/{projectId}/locations/{locationId}".
Required Request Value
The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure. In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.
For example, a structure like this:
Environment:
config:
airflow-byoid-uri: string
airflow-uri: string
dag-gcs-prefix: string
data-retention-config:
airflow-metadata-retention-config:
retention-days: integer
retention-mode: string
task-logs-retention-config:
storage-mode: string
database-config:
machine-type: string
zone: string
encryption-config:
kms-key-name: string
environment-size: string
gke-cluster: string
maintenance-window:
end-time: string
recurrence: string
start-time: string
master-authorized-networks-config:
enabled: boolean
node-config:
composer-internal-ipv4-cidr-block: string
composer-network-attachment: string
disk-size-gb: integer
enable-ip-masq-agent: boolean
ip-allocation-policy:
cluster-ipv4-cidr-block: string
cluster-secondary-range-name: string
services-ipv4-cidr-block: string
services-secondary-range-name: string
use-ip-aliases: boolean
location: string
machine-type: string
network: string
oauth-scopes: [string]
service-account: string
subnetwork: string
tags: [string]
node-count: integer
private-environment-config:
cloud-composer-connection-subnetwork: string
cloud-composer-network-ipv4-cidr-block: string
cloud-composer-network-ipv4-reserved-range: string
cloud-sql-ipv4-cidr-block: string
enable-private-builds-only: boolean
enable-private-environment: boolean
enable-privately-used-public-ips: boolean
networking-config:
connection-type: string
private-cluster-config:
enable-private-endpoint: boolean
master-ipv4-cidr-block: string
master-ipv4-reserved-range: string
web-server-ipv4-cidr-block: string
web-server-ipv4-reserved-range: string
recovery-config:
scheduled-snapshots-config:
enabled: boolean
snapshot-creation-schedule: string
snapshot-location: string
time-zone: string
resilience-mode: string
software-config:
airflow-config-overrides: { string: string }
cloud-data-lineage-integration:
enabled: boolean
env-variables: { string: string }
image-version: string
pypi-packages: { string: string }
python-version: string
scheduler-count: integer
web-server-plugins-mode: string
web-server-config:
machine-type: string
workloads-config:
dag-processor:
count: integer
cpu: number
memory-gb: number
storage-gb: number
scheduler:
count: integer
cpu: number
memory-gb: number
storage-gb: number
triggerer:
count: integer
cpu: number
memory-gb: number
web-server:
cpu: number
memory-gb: number
storage-gb: number
worker:
cpu: number
max-count: integer
memory-gb: number
min-count: integer
storage-gb: number
create-time: string
labels: { string: string }
name: string
satisfies-pzs: boolean
state: string
storage-config:
bucket: string
update-time: string
uuid: string
can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.
-r .config airflow-byoid-uri=et
- Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see Access environments with workforce identity federation).
airflow-uri=magna
- Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).
dag-gcs-prefix=no
- Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
data-retention-config.airflow-metadata-retention-config retention-days=46
- Optional. How many days data should be retained for.
-
retention-mode=voluptua.
- Optional. Retention can be either enabled or disabled.
-
..task-logs-retention-config storage-mode=at
- Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc
-
...database-config machine-type=sanctus
- Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1..-airflow-..*.
-
zone=sed
- Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2..-airflow-..*.
-
..encryption-config kms-key-name=amet.
- Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used.
-
.. environment-size=takimata
- Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
gke-cluster=amet.
- Output only. The Kubernetes Engine cluster used to run this environment.
maintenance-window end-time=duo
- Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to
start_time
.
- Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to
recurrence=ipsum
- Required. Maintenance window recurrence. Format is a subset of RFC-5545
RRULE
. The only allowed values forFREQ
field areFREQ=DAILY
andFREQ=WEEKLY;BYDAY=...
Example values:FREQ=WEEKLY;BYDAY=TU,WE
,FREQ=DAILY
.
- Required. Maintenance window recurrence. Format is a subset of RFC-5545
-
start-time=gubergren
- Required. Start time of the first recurrence of the maintenance window.
-
..master-authorized-networks-config enabled=true
- Whether or not master authorized networks feature is enabled.
-
..node-config composer-internal-ipv4-cidr-block=gubergren
- Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
composer-network-attachment=eos
- Optional. Network Attachment that Cloud Composer environment is connected to, which provides connectivity with a user's VPC network. Takes precedence over network and subnetwork settings. If not provided, but network and subnetwork are defined during environment, it will be provisioned. If not provided and network and subnetwork are also empty, then connectivity to user's VPC network is disabled. Network attachment must be provided in format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. This field is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
disk-size-gb=97
- Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.
enable-ip-masq-agent=true
- Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
ip-allocation-policy cluster-ipv4-cidr-block=invidunt
- Optional. The IP address range used to allocate IP addresses to pods in the GKE cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
use_ip_aliases
is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g./14
) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g.10.96.0.0/14
) from the RFC-1918 private networks (e.g.10.0.0.0/8
,172.16.0.0/12
,192.168.0.0/16
) to pick a specific range to use.
- Optional. The IP address range used to allocate IP addresses to pods in the GKE cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
cluster-secondary-range-name=amet
- Optional. The name of the GKE cluster's secondary range used to allocate IP addresses to pods. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
use_ip_aliases
is true.
- Optional. The name of the GKE cluster's secondary range used to allocate IP addresses to pods. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
services-ipv4-cidr-block=duo
- Optional. The IP address range of the services IP addresses in this GKE cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
use_ip_aliases
is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g./14
) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g.10.96.0.0/14
) from the RFC-1918 private networks (e.g.10.0.0.0/8
,172.16.0.0/12
,192.168.0.0/16
) to pick a specific range to use.
- Optional. The IP address range of the services IP addresses in this GKE cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
services-secondary-range-name=ipsum
- Optional. The name of the services' secondary range used to allocate IP addresses to the GKE cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
use_ip_aliases
is true.
- Optional. The name of the services' secondary range used to allocate IP addresses to the GKE cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
-
use-ip-aliases=false
- Optional. Whether or not to enable Alias IPs in the GKE cluster. If
true
, a VPC-native cluster is created. This field is only supported for Cloud Composer environments in versions composer-1..-airflow-..*. Environments in newer versions always use VPC-native GKE clusters.
- Optional. Whether or not to enable Alias IPs in the GKE cluster. If
-
.. location=ut
- Optional. The Compute Engine zone in which to deploy the VMs used to run the Apache Airflow software, specified as a relative resource name. For example: "projects/{projectId}/zones/{zoneId}". This
location
must belong to the enclosing environment's project and location. If both this field andnodeConfig.machineType
are specified,nodeConfig.machineType
must belong to thislocation
; if both are unspecified, the service will pick a zone in the Compute Engine region corresponding to the Cloud Composer location, and propagate that choice to both fields. If only one field (location
ornodeConfig.machineType
) is specified, the location information from the specified field will be propagated to the unspecified field. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.
- Optional. The Compute Engine zone in which to deploy the VMs used to run the Apache Airflow software, specified as a relative resource name. For example: "projects/{projectId}/zones/{zoneId}". This
machine-type=gubergren
- Optional. The Compute Engine machine type used for cluster instances, specified as a relative resource name. For example: "projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}". The
machineType
must belong to the enclosing environment's project and location. If both this field andnodeConfig.location
are specified, thismachineType
must belong to thenodeConfig.location
; if both are unspecified, the service will pick a zone in the Compute Engine region corresponding to the Cloud Composer location, and propagate that choice to both fields. If exactly one of this field andnodeConfig.location
is specified, the location information from the specified field will be propagated to the unspecified field. ThemachineTypeId
must not be a shared-core machine type. If this field is unspecified, themachineTypeId
defaults to "n1-standard-1". This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.
- Optional. The Compute Engine machine type used for cluster instances, specified as a relative resource name. For example: "projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}". The
network=rebum.
- Optional. The Compute Engine network to be used for machine communications, specified as a relative resource name. For example: "projects/{projectId}/global/networks/{networkId}". If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided,
nodeConfig.subnetwork
must also be provided. For Shared VPC subnetwork requirements, seenodeConfig.subnetwork
.
- Optional. The Compute Engine network to be used for machine communications, specified as a relative resource name. For example: "projects/{projectId}/global/networks/{networkId}". If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided,
oauth-scopes=est
- Optional. The set of Google API scopes to be made available on all node VMs. If
oauth_scopes
is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*. - Each invocation of this argument appends the given value to the array.
- Optional. The set of Google API scopes to be made available on all node VMs. If
service-account=ipsum
- Optional. The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated.
subnetwork=ipsum
- Optional. The Compute Engine subnetwork to be used for machine communications, specified as a relative resource name. For example: "projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}" If a subnetwork is provided,
nodeConfig.network
must also be provided, and the subnetwork must belong to the enclosing environment's project and location.
- Optional. The Compute Engine subnetwork to be used for machine communications, specified as a relative resource name. For example: "projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}" If a subnetwork is provided,
-
tags=est
- Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.
- Each invocation of this argument appends the given value to the array.
-
.. node-count=39
- The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.
private-environment-config cloud-composer-connection-subnetwork=ea
- Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork.
cloud-composer-network-ipv4-cidr-block=dolor
- Optional. The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
cloud-composer-network-ipv4-reserved-range=lorem
- Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
cloud-sql-ipv4-cidr-block=eos
- Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from
web_server_ipv4_cidr_block
.
- Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from
enable-private-builds-only=false
- Optional. If
true
, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if eitherNodeConfig.network
andNodeConfig.subnetwork
fields orNodeConfig.composer_network_attachment
field are specified). Iffalse
, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
- Optional. If
enable-private-environment=true
- Optional. If
true
, a Private IP Cloud Composer environment is created. If this field is set to true,IPAllocationPolicy.use_ip_aliases
must be set to true for Cloud Composer environments in versions composer-1..-airflow-..*.
- Optional. If
enable-privately-used-public-ips=false
- Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
IPAllocationPolicy.cluster_ipv4_cidr_block
andIPAllocationPolicy.service_ipv4_cidr_block
.
- Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
-
networking-config connection-type=sed
- Optional. Indicates the user requested specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.
-
..private-cluster-config enable-private-endpoint=true
- Optional. If
true
, access to the public endpoint of the GKE cluster is denied.
- Optional. If
master-ipv4-cidr-block=stet
- Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If left blank, the default value of '172.16.0.0/23' is used.
-
master-ipv4-reserved-range=kasd
- Output only. The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the GKE cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network.
-
.. web-server-ipv4-cidr-block=et
- Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from
private_cluster_config.master_ipv4_cidr_block
andcloud_sql_ipv4_cidr_block
. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.
- Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from
-
web-server-ipv4-reserved-range=sed
- Output only. The IP range reserved for the tenant project's App Engine VMs. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.
-
..recovery-config.scheduled-snapshots-config enabled=true
- Optional. Whether scheduled snapshots creation is enabled.
snapshot-creation-schedule=vero
- Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.
snapshot-location=erat
- Optional. The Cloud Storage location for storing automatically created snapshots.
-
time-zone=sed
- Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
-
... resilience-mode=duo
- Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-..* and newer.
software-config airflow-config-overrides=key=dolore
- Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blocked, and cannot be overridden.
- the value will be associated with the given
key
-
cloud-data-lineage-integration enabled=false
- Optional. Whether or not Cloud Data Lineage integration is enabled.
-
.. env-variables=key=diam
- Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression
a-zA-Z_*
. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expressionAIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+
), and they cannot match any of the following reserved names: *AIRFLOW_HOME
*C_FORCE_ROOT
*CONTAINER_NAME
*DAGS_FOLDER
*GCP_PROJECT
*GCS_BUCKET
*GKE_CLUSTER_NAME
*SQL_DATABASE
*SQL_INSTANCE
*SQL_PASSWORD
*SQL_PROJECT
*SQL_REGION
*SQL_USER
- the value will be associated with the given
key
- Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression
image-version=dolor
- The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression
composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)
. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number orlatest
. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also version list and versioning overview.
- The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression
pypi-packages=key=et
- Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name such as "numpy" and values are the lowercase extras and version specifier such as "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To specify a package without pinning it to a version specifier, use the empty string as the value.
- the value will be associated with the given
key
python-version=et
- Optional. The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '3'. Cannot be updated. This field is only supported for Cloud Composer environments in versions composer-1..-airflow-..*. Environments in newer versions always use Python major version 3.
scheduler-count=6
- Optional. The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1..-airflow-2...
-
web-server-plugins-mode=stet
- Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to
PLUGINS_ENABLED
. This field is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
- Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to
-
..web-server-config machine-type=dolor
- Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
-
..workloads-config.dag-processor count=81
- Optional. The number of DAG processors. If not provided or set to 0, a single DAG processor instance will be created.
cpu=0.19681975392268636
- Optional. CPU request and limit for a single Airflow DAG processor replica.
memory-gb=0.10459029141758258
- Optional. Memory (GB) request and limit for a single Airflow DAG processor replica.
-
storage-gb=0.19657477328425788
- Optional. Storage (GB) request and limit for a single Airflow DAG processor replica.
-
..scheduler count=95
- Optional. The number of schedulers.
cpu=0.9165308177445435
- Optional. CPU request and limit for a single Airflow scheduler replica.
memory-gb=0.7982388255646697
- Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
-
storage-gb=0.31428290912855783
- Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
-
..triggerer count=78
- Optional. The number of triggerers.
cpu=0.333591971041029
- Optional. CPU request and limit for a single Airflow triggerer replica.
-
memory-gb=0.5721089079262882
- Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
-
..web-server cpu=0.22880530766851637
- Optional. CPU request and limit for Airflow web server.
memory-gb=0.04583256524798884
- Optional. Memory (GB) request and limit for Airflow web server.
-
storage-gb=0.9786556702510281
- Optional. Storage (GB) request and limit for Airflow web server.
-
..worker cpu=0.726541471822237
- Optional. CPU request and limit for a single Airflow worker replica.
max-count=39
- Optional. Maximum number of workers for autoscaling.
memory-gb=0.8484298131719972
- Optional. Memory (GB) request and limit for a single Airflow worker replica.
min-count=27
- Optional. Minimum number of workers for autoscaling.
-
storage-gb=0.611403219211556
- Optional. Storage (GB) request and limit for a single Airflow worker replica.
-
.... create-time=voluptua.
- Output only. The time at which this environment was created.
labels=key=dolore
- 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}{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.
- the value will be associated with the given
key
name=dolore
- 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.
satisfies-pzs=false
- Output only. Reserved for future use.
state=amet.
- The current state of the environment.
-
storage-config bucket=ea
- Optional. The name of the Cloud Storage bucket used by the environment. No
gs://
prefix.
- Optional. The name of the Cloud Storage bucket used by the environment. No
-
.. update-time=sadipscing
- Output only. The time at which this environment was last modified.
uuid=lorem
- Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
About Cursors
The cursor position is key to comfortably set complex nested structures. The following rules apply:
- The cursor position is always set relative to the current one, unless the field name starts with the
.
character. Fields can be nested such as in-r f.s.o
. - The cursor position is set relative to the top-level structure if it starts with
.
, e.g.-r .s.s
- You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify
-r struct.sub_struct=bar
. - You can move the cursor one level up by using
..
. Each additional.
moves it up one additional level. E.g....
would go three levels up.
Optional Output Flags
The method's return value a JSON encoded structure, which will be written to standard output by default.
- -o out
- out specifies the destination to which to write the server's result to.
It will be a JSON-encoded structure.
The destination may be
-
to indicate standard output, or a filepath that is to contain the received bytes. If unset, it defaults to standard output.
- out specifies the destination to which to write the server's result to.
It will be a JSON-encoded structure.
The destination may be
Optional General Properties
The following properties can configure any call, and are not specific to this method.
-
-p $-xgafv=string
- V1 error format.
-
-p access-token=string
- OAuth access token.
-
-p alt=string
- Data format for response.
-
-p callback=string
- JSONP
-
-p fields=string
- Selector specifying which fields to include in a partial response.
-
-p key=string
- API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
-
-p oauth-token=string
- OAuth 2.0 token for the current user.
-
-p pretty-print=boolean
- Returns response with indentations and line breaks.
-
-p quota-user=string
- Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
-
-p upload-type=string
- Legacy upload protocol for media (e.g. "media", "multipart").
-
-p upload-protocol=string
- Upload protocol for media (e.g. "raw", "multipart").