diff --git a/OrchestrationAirflow/metadata/V1/Environments.php b/OrchestrationAirflow/metadata/V1/Environments.php index 56d005d0f7ac..8a9a31b8e84a 100644 Binary files a/OrchestrationAirflow/metadata/V1/Environments.php and b/OrchestrationAirflow/metadata/V1/Environments.php differ diff --git a/OrchestrationAirflow/src/V1/Environment.php b/OrchestrationAirflow/src/V1/Environment.php index 80a19d648b18..9173036393bc 100644 --- a/OrchestrationAirflow/src/V1/Environment.php +++ b/OrchestrationAirflow/src/V1/Environment.php @@ -16,18 +16,18 @@ class Environment extends \Google\Protobuf\Internal\Message { /** - * The resource name of the environment, in the form: + * 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. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** - * Configuration parameters for this environment. + * Optional. Configuration parameters for this environment. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $config = null; /** @@ -64,7 +64,7 @@ class Environment extends \Google\Protobuf\Internal\Message * * Both keys and values are additionally constrained to be <= 128 bytes in * size. * - * Generated from protobuf field map labels = 7; + * Generated from protobuf field map labels = 7 [(.google.api.field_behavior) = OPTIONAL]; */ private $labels; /** @@ -93,12 +93,12 @@ class Environment extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The resource name of the environment, in the form: + * 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. * @type \Google\Cloud\Orchestration\Airflow\Service\V1\EnvironmentConfig $config - * Configuration parameters for this environment. + * Optional. Configuration parameters for this environment. * @type string $uuid * Output only. The UUID (Universally Unique IDentifier) associated with this * environment. This value is generated when the environment is created. @@ -130,12 +130,12 @@ public function __construct($data = NULL) { } /** - * The resource name of the environment, in the form: + * 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. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -144,12 +144,12 @@ public function getName() } /** - * The resource name of the environment, in the form: + * 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. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ @@ -162,9 +162,9 @@ public function setName($var) } /** - * Configuration parameters for this environment. + * Optional. Configuration parameters for this environment. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Cloud\Orchestration\Airflow\Service\V1\EnvironmentConfig|null */ public function getConfig() @@ -183,9 +183,9 @@ public function clearConfig() } /** - * Configuration parameters for this environment. + * Optional. Configuration parameters for this environment. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Cloud\Orchestration\Airflow\Service\V1\EnvironmentConfig $var * @return $this */ @@ -332,7 +332,7 @@ public function setUpdateTime($var) * * Both keys and values are additionally constrained to be <= 128 bytes in * size. * - * Generated from protobuf field map labels = 7; + * Generated from protobuf field map labels = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\MapField */ public function getLabels() @@ -349,7 +349,7 @@ public function getLabels() * * Both keys and values are additionally constrained to be <= 128 bytes in * size. * - * Generated from protobuf field map labels = 7; + * Generated from protobuf field map labels = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\MapField $var * @return $this */ diff --git a/OrchestrationAirflow/src/V1/EnvironmentConfig.php b/OrchestrationAirflow/src/V1/EnvironmentConfig.php index a6e6b602710c..81fdfdb3e32b 100644 --- a/OrchestrationAirflow/src/V1/EnvironmentConfig.php +++ b/OrchestrationAirflow/src/V1/EnvironmentConfig.php @@ -41,21 +41,22 @@ class EnvironmentConfig extends \Google\Protobuf\Internal\Message */ protected $node_count = 0; /** - * The configuration settings for software inside the environment. + * Optional. The configuration settings for software inside the environment. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ protected $software_config = null; /** - * The configuration used for the Kubernetes Engine cluster. + * Optional. The configuration used for the Kubernetes Engine cluster. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ protected $node_config = null; /** - * The configuration used for the Private IP Cloud Composer environment. + * Optional. The configuration used for the Private IP Cloud Composer + * environment. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7 [(.google.api.field_behavior) = OPTIONAL]; */ protected $private_environment_config = null; /** @@ -194,11 +195,12 @@ class EnvironmentConfig extends \Google\Protobuf\Internal\Message * This field is supported for Cloud Composer environments in versions * composer-1.*.*-airflow-*.*.*. * @type \Google\Cloud\Orchestration\Airflow\Service\V1\SoftwareConfig $software_config - * The configuration settings for software inside the environment. + * Optional. The configuration settings for software inside the environment. * @type \Google\Cloud\Orchestration\Airflow\Service\V1\NodeConfig $node_config - * The configuration used for the Kubernetes Engine cluster. + * Optional. The configuration used for the Kubernetes Engine cluster. * @type \Google\Cloud\Orchestration\Airflow\Service\V1\PrivateEnvironmentConfig $private_environment_config - * The configuration used for the Private IP Cloud Composer environment. + * Optional. The configuration used for the Private IP Cloud Composer + * environment. * @type \Google\Cloud\Orchestration\Airflow\Service\V1\WebServerNetworkAccessControl $web_server_network_access_control * Optional. The network-level access control policy for the Airflow web * server. If unspecified, no network-level access restrictions will be @@ -362,9 +364,9 @@ public function setNodeCount($var) } /** - * The configuration settings for software inside the environment. + * Optional. The configuration settings for software inside the environment. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Cloud\Orchestration\Airflow\Service\V1\SoftwareConfig|null */ public function getSoftwareConfig() @@ -383,9 +385,9 @@ public function clearSoftwareConfig() } /** - * The configuration settings for software inside the environment. + * Optional. The configuration settings for software inside the environment. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.SoftwareConfig software_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Cloud\Orchestration\Airflow\Service\V1\SoftwareConfig $var * @return $this */ @@ -398,9 +400,9 @@ public function setSoftwareConfig($var) } /** - * The configuration used for the Kubernetes Engine cluster. + * Optional. The configuration used for the Kubernetes Engine cluster. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Cloud\Orchestration\Airflow\Service\V1\NodeConfig|null */ public function getNodeConfig() @@ -419,9 +421,9 @@ public function clearNodeConfig() } /** - * The configuration used for the Kubernetes Engine cluster. + * Optional. The configuration used for the Kubernetes Engine cluster. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.NodeConfig node_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Cloud\Orchestration\Airflow\Service\V1\NodeConfig $var * @return $this */ @@ -434,9 +436,10 @@ public function setNodeConfig($var) } /** - * The configuration used for the Private IP Cloud Composer environment. + * Optional. The configuration used for the Private IP Cloud Composer + * environment. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Cloud\Orchestration\Airflow\Service\V1\PrivateEnvironmentConfig|null */ public function getPrivateEnvironmentConfig() @@ -455,9 +458,10 @@ public function clearPrivateEnvironmentConfig() } /** - * The configuration used for the Private IP Cloud Composer environment. + * Optional. The configuration used for the Private IP Cloud Composer + * environment. * - * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7; + * Generated from protobuf field .google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig private_environment_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Cloud\Orchestration\Airflow\Service\V1\PrivateEnvironmentConfig $var * @return $this */ diff --git a/OrchestrationAirflow/src/V1/NodeConfig.php b/OrchestrationAirflow/src/V1/NodeConfig.php index f10507266864..c9834b267eb0 100644 --- a/OrchestrationAirflow/src/V1/NodeConfig.php +++ b/OrchestrationAirflow/src/V1/NodeConfig.php @@ -73,7 +73,7 @@ class NodeConfig extends \Google\Protobuf\Internal\Message * [Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see * `nodeConfig.subnetwork`. * - * Generated from protobuf field string network = 3; + * Generated from protobuf field string network = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $network = ''; /** @@ -86,7 +86,7 @@ class NodeConfig extends \Google\Protobuf\Internal\Message * and the subnetwork must belong to the enclosing environment's project and * location. * - * Generated from protobuf field string subnetwork = 4; + * Generated from protobuf field string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; */ protected $subnetwork = ''; /** @@ -113,7 +113,7 @@ class NodeConfig extends \Google\Protobuf\Internal\Message * VMs. If a service account is not specified, the "default" Compute Engine * service account is used. Cannot be updated. * - * Generated from protobuf field string service_account = 7; + * Generated from protobuf field string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; */ protected $service_account = ''; /** @@ -418,7 +418,7 @@ public function setMachineType($var) * [Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see * `nodeConfig.subnetwork`. * - * Generated from protobuf field string network = 3; + * Generated from protobuf field string network = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getNetwork() @@ -438,7 +438,7 @@ public function getNetwork() * [Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see * `nodeConfig.subnetwork`. * - * Generated from protobuf field string network = 3; + * Generated from protobuf field string network = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -460,7 +460,7 @@ public function setNetwork($var) * and the subnetwork must belong to the enclosing environment's project and * location. * - * Generated from protobuf field string subnetwork = 4; + * Generated from protobuf field string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getSubnetwork() @@ -478,7 +478,7 @@ public function getSubnetwork() * and the subnetwork must belong to the enclosing environment's project and * location. * - * Generated from protobuf field string subnetwork = 4; + * Generated from protobuf field string subnetwork = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -561,7 +561,7 @@ public function setOauthScopes($var) * VMs. If a service account is not specified, the "default" Compute Engine * service account is used. Cannot be updated. * - * Generated from protobuf field string service_account = 7; + * Generated from protobuf field string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getServiceAccount() @@ -574,7 +574,7 @@ public function getServiceAccount() * VMs. If a service account is not specified, the "default" Compute Engine * service account is used. Cannot be updated. * - * Generated from protobuf field string service_account = 7; + * Generated from protobuf field string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/OrchestrationAirflow/src/V1/SoftwareConfig.php b/OrchestrationAirflow/src/V1/SoftwareConfig.php index dafc6d7948fd..ea2277a07c3e 100644 --- a/OrchestrationAirflow/src/V1/SoftwareConfig.php +++ b/OrchestrationAirflow/src/V1/SoftwareConfig.php @@ -16,7 +16,7 @@ class SoftwareConfig extends \Google\Protobuf\Internal\Message { /** - * The version of the software running in the environment. + * Optional. 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]+)?)?)`. @@ -37,7 +37,7 @@ class SoftwareConfig extends \Google\Protobuf\Internal\Message * list](/composer/docs/concepts/versioning/composer-versions) and [versioning * overview](/composer/docs/concepts/versioning/composer-versioning-overview). * - * Generated from protobuf field string image_version = 1; + * Generated from protobuf field string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; */ protected $image_version = ''; /** @@ -138,7 +138,7 @@ class SoftwareConfig extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $image_version - * The version of the software running in the environment. + * Optional. 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]+)?)?)`. @@ -228,7 +228,7 @@ public function __construct($data = NULL) { } /** - * The version of the software running in the environment. + * Optional. 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]+)?)?)`. @@ -249,7 +249,7 @@ public function __construct($data = NULL) { * list](/composer/docs/concepts/versioning/composer-versions) and [versioning * overview](/composer/docs/concepts/versioning/composer-versioning-overview). * - * Generated from protobuf field string image_version = 1; + * Generated from protobuf field string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getImageVersion() @@ -258,7 +258,7 @@ public function getImageVersion() } /** - * The version of the software running in the environment. + * Optional. 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]+)?)?)`. @@ -279,7 +279,7 @@ public function getImageVersion() * list](/composer/docs/concepts/versioning/composer-versions) and [versioning * overview](/composer/docs/concepts/versioning/composer-versioning-overview). * - * Generated from protobuf field string image_version = 1; + * Generated from protobuf field string image_version = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/OrchestrationAirflow/src/V1/UserWorkloadsConfigMap.php b/OrchestrationAirflow/src/V1/UserWorkloadsConfigMap.php index 4ac23f69958d..942b7506ece2 100644 --- a/OrchestrationAirflow/src/V1/UserWorkloadsConfigMap.php +++ b/OrchestrationAirflow/src/V1/UserWorkloadsConfigMap.php @@ -27,6 +27,11 @@ class UserWorkloadsConfigMap extends \Google\Protobuf\Internal\Message * Optional. The "data" field of Kubernetes ConfigMap, organized in key-value * pairs. For details see: * https://kubernetes.io/docs/concepts/configuration/configmap/ + * Example: + * { + * "example_key": "example_value", + * "another_key": "another_value" + * } * * Generated from protobuf field map data = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -45,6 +50,11 @@ class UserWorkloadsConfigMap extends \Google\Protobuf\Internal\Message * Optional. The "data" field of Kubernetes ConfigMap, organized in key-value * pairs. For details see: * https://kubernetes.io/docs/concepts/configuration/configmap/ + * Example: + * { + * "example_key": "example_value", + * "another_key": "another_value" + * } * } */ public function __construct($data = NULL) { @@ -84,6 +94,11 @@ public function setName($var) * Optional. The "data" field of Kubernetes ConfigMap, organized in key-value * pairs. For details see: * https://kubernetes.io/docs/concepts/configuration/configmap/ + * Example: + * { + * "example_key": "example_value", + * "another_key": "another_value" + * } * * Generated from protobuf field map data = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\MapField @@ -97,6 +112,11 @@ public function getData() * Optional. The "data" field of Kubernetes ConfigMap, organized in key-value * pairs. For details see: * https://kubernetes.io/docs/concepts/configuration/configmap/ + * Example: + * { + * "example_key": "example_value", + * "another_key": "another_value" + * } * * Generated from protobuf field map data = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\MapField $var diff --git a/OrchestrationAirflow/src/V1/UserWorkloadsSecret.php b/OrchestrationAirflow/src/V1/UserWorkloadsSecret.php index a7c04b703a33..ff9358356170 100644 --- a/OrchestrationAirflow/src/V1/UserWorkloadsSecret.php +++ b/OrchestrationAirflow/src/V1/UserWorkloadsSecret.php @@ -28,6 +28,11 @@ class UserWorkloadsSecret extends \Google\Protobuf\Internal\Message * pairs, which can contain sensitive values such as a password, a token, or a * key. The values for all keys have to be base64-encoded strings. For details * see: https://kubernetes.io/docs/concepts/configuration/secret/ + * Example: + * { + * "example": "ZXhhbXBsZV92YWx1ZQ==", + * "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" + * } * * Generated from protobuf field map data = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -47,6 +52,11 @@ class UserWorkloadsSecret extends \Google\Protobuf\Internal\Message * pairs, which can contain sensitive values such as a password, a token, or a * key. The values for all keys have to be base64-encoded strings. For details * see: https://kubernetes.io/docs/concepts/configuration/secret/ + * Example: + * { + * "example": "ZXhhbXBsZV92YWx1ZQ==", + * "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" + * } * } */ public function __construct($data = NULL) { @@ -87,6 +97,11 @@ public function setName($var) * pairs, which can contain sensitive values such as a password, a token, or a * key. The values for all keys have to be base64-encoded strings. For details * see: https://kubernetes.io/docs/concepts/configuration/secret/ + * Example: + * { + * "example": "ZXhhbXBsZV92YWx1ZQ==", + * "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" + * } * * Generated from protobuf field map data = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\MapField @@ -101,6 +116,11 @@ public function getData() * pairs, which can contain sensitive values such as a password, a token, or a * key. The values for all keys have to be base64-encoded strings. For details * see: https://kubernetes.io/docs/concepts/configuration/secret/ + * Example: + * { + * "example": "ZXhhbXBsZV92YWx1ZQ==", + * "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" + * } * * Generated from protobuf field map data = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\MapField $var