mirror of
https://github.com/rclone/rclone.git
synced 2025-08-12 06:59:29 +02:00
vendor: update all dependencies
This commit is contained in:
44
vendor/google.golang.org/api/composer/v1beta1/composer-api.json
generated
vendored
44
vendor/google.golang.org/api/composer/v1beta1/composer-api.json
generated
vendored
@ -131,7 +131,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"description": "The parent must be of the form `projects/{projectId}/locations/{locationId}`.",
|
||||
"description": "The parent must be of the form \"projects/{projectId}/locations/{locationId}\".",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
"required": true,
|
||||
@ -159,7 +159,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The environment to delete, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
"description": "The environment to delete, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
"required": true,
|
||||
@ -184,7 +184,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the environment to get, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
"description": "The resource name of the environment to get, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
"required": true,
|
||||
@ -220,7 +220,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "List environments in the given project and location, in the form:\n`projects/{projectId}/locations/{locationId}`",
|
||||
"description": "List environments in the given project and location, in the form:\n\"projects/{projectId}/locations/{locationId}\"",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
"required": true,
|
||||
@ -245,7 +245,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The relative resource name of the environment to update, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
"description": "The relative resource name of the environment to update, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
"required": true,
|
||||
@ -371,7 +371,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180430",
|
||||
"revision": "20180510",
|
||||
"rootUrl": "https://composer.googleapis.com/",
|
||||
"schemas": {
|
||||
"Empty": {
|
||||
@ -401,7 +401,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource name of the environment, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
"description": "The resource name of the environment, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
@ -454,16 +454,16 @@
|
||||
},
|
||||
"nodeConfig": {
|
||||
"$ref": "NodeConfig",
|
||||
"description": "The configuration used for the Container Engine cluster."
|
||||
"description": "The configuration used for the Kubernetes Engine cluster."
|
||||
},
|
||||
"nodeCount": {
|
||||
"description": "The number of nodes in the Container Engine cluster that will be\nused to run this environment.",
|
||||
"description": "The number of nodes in the Kubernetes Engine cluster that will be\nused to run this environment.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"softwareConfig": {
|
||||
"$ref": "SoftwareConfig",
|
||||
"description": "The config settings for software inside the environment."
|
||||
"description": "The configuration settings for software inside the environment."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@ -505,28 +505,28 @@
|
||||
"type": "object"
|
||||
},
|
||||
"NodeConfig": {
|
||||
"description": "The configuration information for the Container Engine nodes running\nthe Apache Airflow software.",
|
||||
"description": "The configuration information for the Kubernetes Engine nodes running\nthe Apache Airflow software.",
|
||||
"id": "NodeConfig",
|
||||
"properties": {
|
||||
"diskSizeGb": {
|
||||
"description": "Optional. The disk size in GB used for node VMs. Minimum is 10GB.\nIf unspecified, defaults to 100GB. Cannot be updated.",
|
||||
"description": "Optional. The disk size in GB used for node VMs. Minimum size is 10GB.\nIf unspecified, defaults to 100GB. Cannot be updated.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"location": {
|
||||
"description": "Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which\nto deploy the VMs used to run the Apache Airflow software, specified as a\nrelative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name).\nFor example: `projects/{projectId}/zones/{zoneId}`.\n\nThis `location` must belong to the enclosing environment's project and\nlocation. If both this field and `nodeConfig.machineType` are specified,\n`nodeConfig.machineType` must belong to this `location`; if both are\nunspecified, the service will pick a zone in the Compute Engine region\ncorresponding to the Cloud Composer location and propagate that choice to\nboth fields. If exactly one of this field and `nodeConfig.machineType` is\nspecified, the location information from the specified field will be\npropagated to the unspecified field.",
|
||||
"description": "Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which\nto deploy the VMs used to run the Apache Airflow software, specified as a\n[relative resource name](/apis/design/resource_names#relative_resource_name).\nFor example: \"projects/{projectId}/zones/{zoneId}\".\n\nThis `location` must belong to the enclosing environment's project and\nlocation. If both this field and `nodeConfig.machineType` are specified,\n`nodeConfig.machineType` must belong to this `location`; if both are\nunspecified, the service will pick a zone in the Compute Engine region\ncorresponding to the Cloud Composer location, and propagate that choice to\nboth fields. If only one field (`location` or `nodeConfig.machineType`) is\nspecified, the location information from the specified field will be\npropagated to the unspecified field.",
|
||||
"type": "string"
|
||||
},
|
||||
"machineType": {
|
||||
"description": "Optional. The Google Compute Engine [machine type](\n/compute/docs/machine-types) used for cluster instances, specified as a\n[relative resource name](\nhttps://cloud.google.com/apis/design/resource_names#relative_resource_name).\nFor example:\n`projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}`.\n\nThe `machineType` must belong to the enclosing environment's project and\nlocation. If both this field and `nodeConfig.location` are specified,\nthis `machineType` must belong to the `nodeConfig.location`; if both are\nunspecified, the service will pick a zone in the Compute Engine region\ncorresponding to the Cloud Composer location and propagate that choice to\nboth fields. If exactly one of this field and `nodeConfig.location` is\nspecified, the location information from the specified field will be\npropagated to the unspecified field.\n\nFurthermore, if this field is unspecified, the `machineTypeId` defaults\nto `n1-standard-1`.",
|
||||
"description": "Optional. The Compute Engine\n[machine type](/compute/docs/machine-types) used for cluster instances,\nspecified as a\n[relative resource name](/apis/design/resource_names#relative_resource_name).\nFor example:\n\"projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}\".\n\nThe `machineType` must belong to the enclosing environment's project and\nlocation. If both this field and `nodeConfig.location` are specified,\nthis `machineType` must belong to the `nodeConfig.location`; if both are\nunspecified, the service will pick a zone in the Compute Engine region\ncorresponding to the Cloud Composer location, and propagate that choice to\nboth fields. If exactly one of this field and `nodeConfig.location` is\nspecified, the location information from the specified field will be\npropagated to the unspecified field.\n\nIf this field is unspecified, the `machineTypeId` defaults\nto \"n1-standard-1\".",
|
||||
"type": "string"
|
||||
},
|
||||
"network": {
|
||||
"description": "Optional. The Compute Engine network to be used for machine\ncommunications, specified as a [relative resource name](\nhttps://cloud.google.com/apis/design/resource_names#relative_resource_name).\nFor example: `projects/{projectId}/global/networks/{networkId}`.\n\n[Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The\nnetwork must belong to the environment's project. If unspecified, the\n\"default\" network ID in the environment's project is used. If a \"Custom\nSubnet Network\" (see [Using Subnetworks](/compute/docs/subnetworks) for\nmore information) is provided, `nodeConfig.subnetwork` must also be provided.",
|
||||
"description": "Optional. The Compute Engine network to be used for machine\ncommunications, specified as a\n[relative resource name](/apis/design/resource_names#relative_resource_name).\nFor example: \"projects/{projectId}/global/networks/{networkId}\".\n\n[Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The\nnetwork must belong to the environment's project. If unspecified, the\n\"default\" network ID in the environment's project is used. If a\n[Custom Subnet Network]((/vpc/docs/vpc#vpc_networks_and_subnets)\nis provided, `nodeConfig.subnetwork` must also be provided.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauthScopes": {
|
||||
"description": "Optional. The set of Google API scopes to be made available on all of the\nnode VMs. If `oauth_scopes` is empty, defaults to\n[\"https://www.googleapis.com/auth/cloud-platform\"]. Cannot be updated.",
|
||||
"description": "Optional. The set of Google API scopes to be made available on all\nnode VMs. If `oauth_scopes` is empty, defaults to\n[\"https://www.googleapis.com/auth/cloud-platform\"]. Cannot be updated.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@ -537,7 +537,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"subnetwork": {
|
||||
"description": "Optional. The Compute Engine subnetwork to be used for machine\ncommunications, specified as a [relative resource name](\nhttps://cloud.google.com/apis/design/resource_names#relative_resource_name).\nFor example:\n`projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}`\n\nIf a subnetwork is provided, `nodeConfig.network` must also be provided,\nand the subnetwork must belong to the enclosing environment's project and\nlocation.",
|
||||
"description": "Optional. The Compute Engine subnetwork to be used for machine\ncommunications, specified as a\n[relative resource name](/apis/design/resource_names#relative_resource_name).\nFor example:\n\"projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}\"\n\nIf a subnetwork is provided, `nodeConfig.network` must also be provided,\nand the subnetwork must belong to the enclosing environment's project and\nlocation.",
|
||||
"type": "string"
|
||||
},
|
||||
"tags": {
|
||||
@ -645,32 +645,32 @@
|
||||
"type": "object"
|
||||
},
|
||||
"SoftwareConfig": {
|
||||
"description": "Specifies the selection and config of software inside the environment.",
|
||||
"description": "Specifies the selection and configuration of software inside the environment.",
|
||||
"id": "SoftwareConfig",
|
||||
"properties": {
|
||||
"airflowConfigOverrides": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional. Apache Airflow configuration properties to override.\n\nProperty keys contain the section and property name, separated by a hyphen,\nfor example `core-dags_are_paused_at_creation`. Sections must not\ncontain hyphens (\"-\"), opening square brackets (\"[\"), or closing square\nbrackets (\"]\"). The name must be non-empty and must not contain an equals\nsign (\"=\") or semicolon (\";\"). The section as well as the name must not\ncontain a period (\".\"). Apache Airflow configuration property names must be\nwritten in\n[snake_case](https://www.google.com/url?sa=D\u0026q=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSnake_case).\nProperty values can contain any character and be written in any lower/upper\ncase format.\n\nCertain Apache Airflow configuration property values are\n[blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#airflow_configuration_blacklists) and\ncannot be overridden.",
|
||||
"description": "Optional. Apache Airflow configuration properties to override.\n\nProperty keys contain the section and property names, separated by a hyphen,\nfor example \"core-dags_are_paused_at_creation\". Section names must not\ncontain hyphens (\"-\"), opening square brackets (\"[\"), or closing square\nbrackets (\"]\"). The property name must not be empty and must not contain\nan equals sign (\"=\") or semicolon (\";\"). Section and property names must\nnot contain a period (\".\"). Apache Airflow configuration property names\nmust be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case).\nProperty values can contain any character, and can be written in any\nlower/upper case format.\n\nCertain Apache Airflow configuration property values are\n[blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#airflow_configuration_blacklists),\nand cannot be overridden.",
|
||||
"type": "object"
|
||||
},
|
||||
"envVariables": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional. Additional environment variables to provide to the Apache Airflow\nscheduler, worker, and webserver processes.\n\nEnvironment variable names must match the regular expression\n`a-zA-Z_*`. Furthermore, they cannot specify Apache Airflow\nsoftware configuration overrides (i.e., match the regular expression\n`AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`); nor can they take any of the following\nreserved values:\n\n* `AIRFLOW_HOME`\n* `C_FORCE_ROOT`\n* `CONTAINER_NAME`\n* `DAGS_FOLDER`\n* `GCP_PROJECT`\n* `GCS_BUCKET`\n* `GKE_CLUSTER_NAME`\n* `SQL_DATABASE`\n* `SQL_INSTANCE`\n* `SQL_PASSWORD`\n* `SQL_PROJECT`\n* `SQL_REGION`\n* `SQL_USER`",
|
||||
"description": "Optional. Additional environment variables to provide to the Apache Airflow\nscheduler, worker, and webserver processes.\n\nEnvironment variable names must match the regular expression\n`a-zA-Z_*`. They cannot specify Apache Airflow\nsoftware configuration overrides (they cannot match the regular expression\n`AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the\nfollowing reserved names:\n\n* `AIRFLOW_HOME`\n* `C_FORCE_ROOT`\n* `CONTAINER_NAME`\n* `DAGS_FOLDER`\n* `GCP_PROJECT`\n* `GCS_BUCKET`\n* `GKE_CLUSTER_NAME`\n* `SQL_DATABASE`\n* `SQL_INSTANCE`\n* `SQL_PASSWORD`\n* `SQL_PROJECT`\n* `SQL_REGION`\n* `SQL_USER`",
|
||||
"type": "object"
|
||||
},
|
||||
"imageVersion": {
|
||||
"description": "Output only.\nThe version of the software running in the environment.\nThis encapsulates both the version of Cloud Composer functionality and the\nversion of Apache Airflow. It must match the regular expression\n`composer-[0-9]+\\.[0-9]+(\\.[0-9]+)?-airflow-[0-9]+\\.[0-9]+(\\.[0-9]+.*)?`.\n\nThe Cloud Composer portion of the version is a [semantic\nversion](https://semver.org). The portion of the image version following\n\u003cem\u003eairflow-\u003c/em\u003e is an official Apache Airflow repository [release\nname](https://github.com/apache/incubator-airflow/releases).\n\nSee also [Release Notes](/composer/docs/release-notes).",
|
||||
"description": "Output only.\nThe version of the software running in the environment.\nThis encapsulates both the version of Cloud Composer functionality and the\nversion of Apache Airflow. It must match the regular expression\n`composer-[0-9]+\\.[0-9]+(\\.[0-9]+)?-airflow-[0-9]+\\.[0-9]+(\\.[0-9]+.*)?`.\n\nThe Cloud Composer portion of the version is a\n[semantic version](https://semver.org). The portion of the image version\nfollowing \u003cem\u003eairflow-\u003c/em\u003e is an official Apache Airflow repository\n[release name](https://github.com/apache/incubator-airflow/releases).\n\nSee also [Release Notes](/composer/docs/release-notes).",
|
||||
"type": "string"
|
||||
},
|
||||
"pypiPackages": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional. Custom Python Package Index (PyPI) packages to be installed in\nthe environment.\n\nKeys refer to the lowercase package name such as `numpy`\nand values are the lowercase extras and version specifier such as\n`==1.12.0`, `[devel,gcp_api]`, or `[devel]\u003e=1.8.2, \u003c1.9.2`. To specify a\npackage without pinning it to a version specifier, use the empty string as\nthe value.",
|
||||
"description": "Optional. Custom Python Package Index (PyPI) packages to be installed in\nthe environment.\n\nKeys refer to the lowercase package name such as \"numpy\"\nand values are the lowercase extras and version specifier such as\n\"==1.12.0\", \"[devel,gcp_api]\", or \"[devel]\u003e=1.8.2, \u003c1.9.2\". To specify a\npackage without pinning it to a version specifier, use the empty string as\nthe value.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
|
151
vendor/google.golang.org/api/composer/v1beta1/composer-gen.go
generated
vendored
151
vendor/google.golang.org/api/composer/v1beta1/composer-gen.go
generated
vendored
@ -161,8 +161,8 @@ type Environment struct {
|
||||
|
||||
// Name: The resource name of the environment, in the
|
||||
// form:
|
||||
// `projects/{projectId}/locations/{locationId}/environments/{envir
|
||||
// onmentId}`
|
||||
// "projects/{projectId}/locations/{locationId}/environments/{envir
|
||||
// onmentId}"
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// State: The current state of the environment.
|
||||
@ -241,15 +241,15 @@ type EnvironmentConfig struct {
|
||||
// The Kubernetes Engine cluster used to run this environment.
|
||||
GkeCluster string `json:"gkeCluster,omitempty"`
|
||||
|
||||
// NodeConfig: The configuration used for the Container Engine cluster.
|
||||
// NodeConfig: The configuration used for the Kubernetes Engine cluster.
|
||||
NodeConfig *NodeConfig `json:"nodeConfig,omitempty"`
|
||||
|
||||
// NodeCount: The number of nodes in the Container Engine cluster that
|
||||
// NodeCount: The number of nodes in the Kubernetes Engine cluster that
|
||||
// will be
|
||||
// used to run this environment.
|
||||
NodeCount int64 `json:"nodeCount,omitempty"`
|
||||
|
||||
// SoftwareConfig: The config settings for software inside the
|
||||
// SoftwareConfig: The configuration settings for software inside the
|
||||
// environment.
|
||||
SoftwareConfig *SoftwareConfig `json:"softwareConfig,omitempty"`
|
||||
|
||||
@ -350,12 +350,12 @@ func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// NodeConfig: The configuration information for the Container Engine
|
||||
// NodeConfig: The configuration information for the Kubernetes Engine
|
||||
// nodes running
|
||||
// the Apache Airflow software.
|
||||
type NodeConfig struct {
|
||||
// DiskSizeGb: Optional. The disk size in GB used for node VMs. Minimum
|
||||
// is 10GB.
|
||||
// size is 10GB.
|
||||
// If unspecified, defaults to 100GB. Cannot be updated.
|
||||
DiskSizeGb int64 `json:"diskSizeGb,omitempty"`
|
||||
|
||||
@ -363,10 +363,9 @@ type NodeConfig struct {
|
||||
// [zone](/compute/docs/regions-zones) in which
|
||||
// to deploy the VMs used to run the Apache Airflow software, specified
|
||||
// as a
|
||||
// relative resource
|
||||
// name](https://cloud.google.com/apis/design/resource_names#relative_res
|
||||
// ource_name).
|
||||
// For example: `projects/{projectId}/zones/{zoneId}`.
|
||||
// [relative resource
|
||||
// name](/apis/design/resource_names#relative_resource_name).
|
||||
// For example: "projects/{projectId}/zones/{zoneId}".
|
||||
//
|
||||
// This `location` must belong to the enclosing environment's project
|
||||
// and
|
||||
@ -376,27 +375,25 @@ type NodeConfig struct {
|
||||
// are
|
||||
// unspecified, the service will pick a zone in the Compute Engine
|
||||
// region
|
||||
// corresponding to the Cloud Composer location and propagate that
|
||||
// corresponding to the Cloud Composer location, and propagate that
|
||||
// choice to
|
||||
// both fields. If exactly one of this field and
|
||||
// `nodeConfig.machineType` is
|
||||
// both fields. If only one field (`location` or
|
||||
// `nodeConfig.machineType`) is
|
||||
// specified, the location information from the specified field will
|
||||
// be
|
||||
// propagated to the unspecified field.
|
||||
Location string `json:"location,omitempty"`
|
||||
|
||||
// MachineType: Optional. The Google Compute Engine [machine
|
||||
// type](
|
||||
// /compute/docs/machine-types) used for cluster instances, specified as
|
||||
// a
|
||||
// MachineType: Optional. The Compute Engine
|
||||
// [machine type](/compute/docs/machine-types) used for cluster
|
||||
// instances,
|
||||
// specified as a
|
||||
// [relative resource
|
||||
// name](
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_re
|
||||
// source_name).
|
||||
// name](/apis/design/resource_names#relative_resource_name).
|
||||
// For
|
||||
// example:
|
||||
// `projects/{projectId}/zones/{zoneId}/machineTypes/{machineTyp
|
||||
// eId}`.
|
||||
// "projects/{projectId}/zones/{zoneId}/machineTypes/{machineTyp
|
||||
// eId}".
|
||||
//
|
||||
// The `machineType` must belong to the enclosing environment's project
|
||||
// and
|
||||
@ -406,7 +403,7 @@ type NodeConfig struct {
|
||||
// are
|
||||
// unspecified, the service will pick a zone in the Compute Engine
|
||||
// region
|
||||
// corresponding to the Cloud Composer location and propagate that
|
||||
// corresponding to the Cloud Composer location, and propagate that
|
||||
// choice to
|
||||
// both fields. If exactly one of this field and `nodeConfig.location`
|
||||
// is
|
||||
@ -414,34 +411,30 @@ type NodeConfig struct {
|
||||
// be
|
||||
// propagated to the unspecified field.
|
||||
//
|
||||
// Furthermore, if this field is unspecified, the `machineTypeId`
|
||||
// defaults
|
||||
// to `n1-standard-1`.
|
||||
// If this field is unspecified, the `machineTypeId` defaults
|
||||
// to "n1-standard-1".
|
||||
MachineType string `json:"machineType,omitempty"`
|
||||
|
||||
// Network: Optional. The Compute Engine network to be used for
|
||||
// machine
|
||||
// communications, specified as a [relative resource
|
||||
// name](
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_re
|
||||
// source_name).
|
||||
// communications, specified as a
|
||||
// [relative resource
|
||||
// name](/apis/design/resource_names#relative_resource_name).
|
||||
// For example:
|
||||
// `projects/{projectId}/global/networks/{networkId}`.
|
||||
// "projects/{projectId}/global/networks/{networkId}".
|
||||
//
|
||||
// [Shared VPC](/vpc/docs/shared-vpc) is not currently supported.
|
||||
// The
|
||||
// network must belong to the environment's project. If unspecified,
|
||||
// the
|
||||
// "default" network ID in the environment's project is used. If a
|
||||
// "Custom
|
||||
// Subnet Network" (see [Using Subnetworks](/compute/docs/subnetworks)
|
||||
// for
|
||||
// more information) is provided, `nodeConfig.subnetwork` must also be
|
||||
// provided.
|
||||
// "default" network ID in the environment's project is used. If
|
||||
// a
|
||||
// [Custom Subnet Network]((/vpc/docs/vpc#vpc_networks_and_subnets)
|
||||
// is provided, `nodeConfig.subnetwork` must also be provided.
|
||||
Network string `json:"network,omitempty"`
|
||||
|
||||
// OauthScopes: Optional. The set of Google API scopes to be made
|
||||
// available on all of the
|
||||
// available on all
|
||||
// node VMs. If `oauth_scopes` is empty, defaults
|
||||
// to
|
||||
// ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be
|
||||
@ -457,14 +450,13 @@ type NodeConfig struct {
|
||||
|
||||
// Subnetwork: Optional. The Compute Engine subnetwork to be used for
|
||||
// machine
|
||||
// communications, specified as a [relative resource
|
||||
// name](
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_re
|
||||
// source_name).
|
||||
// communications, specified as a
|
||||
// [relative resource
|
||||
// name](/apis/design/resource_names#relative_resource_name).
|
||||
// For
|
||||
// example:
|
||||
// `projects/{projectId}/regions/{regionId}/subnetworks/{subnetw
|
||||
// orkId}`
|
||||
// "projects/{projectId}/regions/{regionId}/subnetworks/{subnetw
|
||||
// orkId}"
|
||||
//
|
||||
// If a subnetwork is provided, `nodeConfig.network` must also be
|
||||
// provided,
|
||||
@ -646,37 +638,35 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SoftwareConfig: Specifies the selection and config of software inside
|
||||
// the environment.
|
||||
// SoftwareConfig: Specifies the selection and configuration of software
|
||||
// inside the environment.
|
||||
type SoftwareConfig struct {
|
||||
// AirflowConfigOverrides: Optional. Apache Airflow configuration
|
||||
// properties to override.
|
||||
//
|
||||
// Property keys contain the section and property name, separated by a
|
||||
// Property keys contain the section and property names, separated by a
|
||||
// hyphen,
|
||||
// for example `core-dags_are_paused_at_creation`. Sections must
|
||||
// for example "core-dags_are_paused_at_creation". Section names must
|
||||
// not
|
||||
// contain hyphens ("-"), opening square brackets ("["), or closing
|
||||
// square
|
||||
// brackets ("]"). The name must be non-empty and must not contain an
|
||||
// equals
|
||||
// sign ("=") or semicolon (";"). The section as well as the name must
|
||||
// not
|
||||
// contain a period ("."). Apache Airflow configuration property names
|
||||
// must be
|
||||
// written
|
||||
// in
|
||||
// [snake_case](https://www.google.com/url?sa=D&q=https%3A%2F%2Fen.wik
|
||||
// ipedia.org%2Fwiki%2FSnake_case).
|
||||
// Property values can contain any character and be written in any
|
||||
// lower/upper
|
||||
// case format.
|
||||
// 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](https://en.wikipedia.org/wiki/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
|
||||
// [blacklisted](/composer/docs/how-to/managing/setting-airflow-confi
|
||||
// gurations#airflow_configuration_blacklists) and
|
||||
// cannot be overridden.
|
||||
// gurations#airflow_configuration_blacklists),
|
||||
// and cannot be overridden.
|
||||
AirflowConfigOverrides map[string]string `json:"airflowConfigOverrides,omitempty"`
|
||||
|
||||
// EnvVariables: Optional. Additional environment variables to provide
|
||||
@ -685,12 +675,12 @@ type SoftwareConfig struct {
|
||||
//
|
||||
// Environment variable names must match the regular
|
||||
// expression
|
||||
// `a-zA-Z_*`. Furthermore, they cannot specify Apache Airflow
|
||||
// software configuration overrides (i.e., match the regular
|
||||
// `a-zA-Z_*`. They cannot specify Apache Airflow
|
||||
// software configuration overrides (they cannot match the regular
|
||||
// expression
|
||||
// `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`); nor can they take any of the
|
||||
// following
|
||||
// reserved values:
|
||||
// `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of
|
||||
// the
|
||||
// following reserved names:
|
||||
//
|
||||
// * `AIRFLOW_HOME`
|
||||
// * `C_FORCE_ROOT`
|
||||
@ -717,14 +707,13 @@ type SoftwareConfig struct {
|
||||
// \.[0-9]+.*)?`.
|
||||
//
|
||||
// The Cloud Composer portion of the version is a
|
||||
// [semantic
|
||||
// version](https://semver.org). The portion of the image version
|
||||
// following
|
||||
// <em>airflow-</em> is an official Apache Airflow repository
|
||||
// [semantic version](https://semver.org). The portion of the image
|
||||
// version
|
||||
// following <em>airflow-</em> is an official Apache Airflow
|
||||
// repository
|
||||
// [release
|
||||
// name](https://github.com/apache/incubator-airflow/releases).
|
||||
//
|
||||
//
|
||||
// See also [Release Notes](/composer/docs/release-notes).
|
||||
ImageVersion string `json:"imageVersion,omitempty"`
|
||||
|
||||
@ -732,10 +721,10 @@ type SoftwareConfig struct {
|
||||
// to be installed in
|
||||
// the environment.
|
||||
//
|
||||
// Keys refer to the lowercase package name such as `numpy`
|
||||
// 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
|
||||
// "==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
|
||||
@ -1000,7 +989,7 @@ func (c *ProjectsLocationsEnvironmentsCreateCall) Do(opts ...googleapi.CallOptio
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "parent": {
|
||||
// "description": "The parent must be of the form `projects/{projectId}/locations/{locationId}`.",
|
||||
// "description": "The parent must be of the form \"projects/{projectId}/locations/{locationId}\".",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
// "required": true,
|
||||
@ -1128,7 +1117,7 @@ func (c *ProjectsLocationsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOptio
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The environment to delete, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
// "description": "The environment to delete, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
// "required": true,
|
||||
@ -1267,7 +1256,7 @@ func (c *ProjectsLocationsEnvironmentsGetCall) Do(opts ...googleapi.CallOption)
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the environment to get, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
// "description": "The resource name of the environment to get, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
// "required": true,
|
||||
@ -1431,7 +1420,7 @@ func (c *ProjectsLocationsEnvironmentsListCall) Do(opts ...googleapi.CallOption)
|
||||
// "type": "string"
|
||||
// },
|
||||
// "parent": {
|
||||
// "description": "List environments in the given project and location, in the form:\n`projects/{projectId}/locations/{locationId}`",
|
||||
// "description": "List environments in the given project and location, in the form:\n\"projects/{projectId}/locations/{locationId}\"",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
// "required": true,
|
||||
@ -1751,7 +1740,7 @@ func (c *ProjectsLocationsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The relative resource name of the environment to update, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
// "description": "The relative resource name of the environment to update, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
// "required": true,
|
||||
|
Reference in New Issue
Block a user