diff --git a/Deploy/metadata/V1/CloudDeploy.php b/Deploy/metadata/V1/CloudDeploy.php index 5f7a1a5e403b..d0b95231bcdc 100644 Binary files a/Deploy/metadata/V1/CloudDeploy.php and b/Deploy/metadata/V1/CloudDeploy.php differ diff --git a/Deploy/metadata/V1/DeliverypipelineNotificationPayload.php b/Deploy/metadata/V1/DeliverypipelineNotificationPayload.php index b9331ab0fb29..f159037d9297 100644 --- a/Deploy/metadata/V1/DeliverypipelineNotificationPayload.php +++ b/Deploy/metadata/V1/DeliverypipelineNotificationPayload.php @@ -17,10 +17,11 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Deploy\V1\LogEnums::initOnce(); $pool->internalAddGeneratedFile( ' - -Bgoogle/cloud/deploy/v1/deliverypipeline_notification_payload.protogoogle.cloud.deploy.v1"{ + +Bgoogle/cloud/deploy/v1/deliverypipeline_notification_payload.protogoogle.cloud.deploy.v1" !DeliveryPipelineNotificationEvent -message (  +message (  + pipeline_uid (  delivery_pipeline ( * type (2.google.cloud.deploy.v1.TypeB| com.google.cloud.deploy.v1B(DeliveryPipelineNotificationPayloadProtoPZ2cloud.google.com/go/deploy/apiv1/deploypb;deploypbbproto3' diff --git a/Deploy/metadata/V1/JobrunNotificationPayload.php b/Deploy/metadata/V1/JobrunNotificationPayload.php index dc9a3000723f..a2457623cd07 100644 --- a/Deploy/metadata/V1/JobrunNotificationPayload.php +++ b/Deploy/metadata/V1/JobrunNotificationPayload.php @@ -17,14 +17,16 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Deploy\V1\LogEnums::initOnce(); $pool->internalAddGeneratedFile( ' - -8google/cloud/deploy/v1/jobrun_notification_payload.protogoogle.cloud.deploy.v1" + +8google/cloud/deploy/v1/jobrun_notification_payload.protogoogle.cloud.deploy.v1" JobRunNotificationEvent message (  job_run (  pipeline_uid (  - release_uid (  - rollout_uid (  + release_uid (  +release (  + rollout_uid (  +rollout (  target_id ( * type (2.google.cloud.deploy.v1.TypeBr com.google.cloud.deploy.v1BJobRunNotificationPayloadProtoPZ2cloud.google.com/go/deploy/apiv1/deploypb;deploypbbproto3' diff --git a/Deploy/metadata/V1/ReleaseNotificationPayload.php b/Deploy/metadata/V1/ReleaseNotificationPayload.php index 83d7773edb02..1eabbab67893 100644 --- a/Deploy/metadata/V1/ReleaseNotificationPayload.php +++ b/Deploy/metadata/V1/ReleaseNotificationPayload.php @@ -17,10 +17,12 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Deploy\V1\LogEnums::initOnce(); $pool->internalAddGeneratedFile( ' - -9google/cloud/deploy/v1/release_notification_payload.protogoogle.cloud.deploy.v1"h + +9google/cloud/deploy/v1/release_notification_payload.protogoogle.cloud.deploy.v1" ReleaseNotificationEvent -message (  +message (  + pipeline_uid (  + release_uid (  release ( * type (2.google.cloud.deploy.v1.TypeBs com.google.cloud.deploy.v1BReleaseNotificationPayloadProtoPZ2cloud.google.com/go/deploy/apiv1/deploypb;deploypbbproto3' diff --git a/Deploy/metadata/V1/ReleaseRenderPayload.php b/Deploy/metadata/V1/ReleaseRenderPayload.php index 62137ad172fe..bf80edd2a223 100644 --- a/Deploy/metadata/V1/ReleaseRenderPayload.php +++ b/Deploy/metadata/V1/ReleaseRenderPayload.php @@ -15,13 +15,16 @@ public static function initOnce() { return; } \GPBMetadata\Google\Cloud\Deploy\V1\CloudDeploy::initOnce(); + \GPBMetadata\Google\Cloud\Deploy\V1\LogEnums::initOnce(); $pool->internalAddGeneratedFile( ' - -3google/cloud/deploy/v1/release_render_payload.protogoogle.cloud.deploy.v1" + +3google/cloud/deploy/v1/release_render_payload.protogoogle.cloud.deploy.v1&google/cloud/deploy/v1/log_enums.proto" ReleaseRenderEvent -message (  -release ( I +message (  + pipeline_uid (  +release ( * +type (2.google.cloud.deploy.v1.TypeI release_render_state (2+.google.cloud.deploy.v1.Release.RenderStateBm com.google.cloud.deploy.v1BReleaseRenderPayloadProtoPZ2cloud.google.com/go/deploy/apiv1/deploypb;deploypbbproto3' , true); diff --git a/Deploy/metadata/V1/RolloutNotificationPayload.php b/Deploy/metadata/V1/RolloutNotificationPayload.php index ca8674a581f6..7ea89d9a57da 100644 --- a/Deploy/metadata/V1/RolloutNotificationPayload.php +++ b/Deploy/metadata/V1/RolloutNotificationPayload.php @@ -17,15 +17,17 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Deploy\V1\LogEnums::initOnce(); $pool->internalAddGeneratedFile( ' - -9google/cloud/deploy/v1/rollout_notification_payload.protogoogle.cloud.deploy.v1" + +9google/cloud/deploy/v1/rollout_notification_payload.protogoogle.cloud.deploy.v1" RolloutNotificationEvent message (  pipeline_uid (  release_uid (  -rollout ( * -type (2.google.cloud.deploy.v1.Type - target_id ( Bs +release (  + rollout_uid (  +rollout (  + target_id ( * +type (2.google.cloud.deploy.v1.TypeBs com.google.cloud.deploy.v1BRolloutNotificationPayloadProtoPZ2cloud.google.com/go/deploy/apiv1/deploypb;deploypbbproto3' , true); diff --git a/Deploy/metadata/V1/RolloutUpdatePayload.php b/Deploy/metadata/V1/RolloutUpdatePayload.php index 976c45d43dbc..beba3f9c57a2 100644 Binary files a/Deploy/metadata/V1/RolloutUpdatePayload.php and b/Deploy/metadata/V1/RolloutUpdatePayload.php differ diff --git a/Deploy/samples/V1/CloudDeployClient/create_custom_target_type.php b/Deploy/samples/V1/CloudDeployClient/create_custom_target_type.php index 5c19c3396b4e..e9b007676a79 100644 --- a/Deploy/samples/V1/CloudDeployClient/create_custom_target_type.php +++ b/Deploy/samples/V1/CloudDeployClient/create_custom_target_type.php @@ -34,7 +34,7 @@ * Creates a new CustomTargetType in a given project and location. * * @param string $formattedParent The parent collection in which the `CustomTargetType` should be - * created in. Format should be + * created. Format should be * `projects/{project_id}/locations/{location_name}`. Please see * {@see CloudDeployClient::locationName()} for help formatting this field. * @param string $customTargetTypeId ID of the `CustomTargetType`. diff --git a/Deploy/src/V1/CloudRunConfig.php b/Deploy/src/V1/CloudRunConfig.php index c0548bed6717..9af7174bba20 100644 --- a/Deploy/src/V1/CloudRunConfig.php +++ b/Deploy/src/V1/CloudRunConfig.php @@ -26,21 +26,21 @@ class CloudRunConfig extends \Google\Protobuf\Internal\Message private $automatic_traffic_control = false; /** * Optional. A list of tags that are added to the canary revision while the - * canary deployment is in progress. + * canary phase is in progress. * * Generated from protobuf field repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private $canary_revision_tags; /** * Optional. A list of tags that are added to the prior revision while the - * canary deployment is in progress. + * canary phase is in progress. * * Generated from protobuf field repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private $prior_revision_tags; /** - * Optional. A list of tags that are added to the final stable revision after - * the canary deployment is completed. + * Optional. A list of tags that are added to the final stable revision when + * the stable phase is applied. * * Generated from protobuf field repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -59,13 +59,13 @@ class CloudRunConfig extends \Google\Protobuf\Internal\Message * CustomCanaryDeployments. * @type array|\Google\Protobuf\Internal\RepeatedField $canary_revision_tags * Optional. A list of tags that are added to the canary revision while the - * canary deployment is in progress. + * canary phase is in progress. * @type array|\Google\Protobuf\Internal\RepeatedField $prior_revision_tags * Optional. A list of tags that are added to the prior revision while the - * canary deployment is in progress. + * canary phase is in progress. * @type array|\Google\Protobuf\Internal\RepeatedField $stable_revision_tags - * Optional. A list of tags that are added to the final stable revision after - * the canary deployment is completed. + * Optional. A list of tags that are added to the final stable revision when + * the stable phase is applied. * } */ public function __construct($data = NULL) { @@ -107,7 +107,7 @@ public function setAutomaticTrafficControl($var) /** * Optional. A list of tags that are added to the canary revision while the - * canary deployment is in progress. + * canary phase is in progress. * * Generated from protobuf field repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\RepeatedField @@ -119,7 +119,7 @@ public function getCanaryRevisionTags() /** * Optional. A list of tags that are added to the canary revision while the - * canary deployment is in progress. + * canary phase is in progress. * * Generated from protobuf field repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\RepeatedField $var @@ -135,7 +135,7 @@ public function setCanaryRevisionTags($var) /** * Optional. A list of tags that are added to the prior revision while the - * canary deployment is in progress. + * canary phase is in progress. * * Generated from protobuf field repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\RepeatedField @@ -147,7 +147,7 @@ public function getPriorRevisionTags() /** * Optional. A list of tags that are added to the prior revision while the - * canary deployment is in progress. + * canary phase is in progress. * * Generated from protobuf field repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\RepeatedField $var @@ -162,8 +162,8 @@ public function setPriorRevisionTags($var) } /** - * Optional. A list of tags that are added to the final stable revision after - * the canary deployment is completed. + * Optional. A list of tags that are added to the final stable revision when + * the stable phase is applied. * * Generated from protobuf field repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\RepeatedField @@ -174,8 +174,8 @@ public function getStableRevisionTags() } /** - * Optional. A list of tags that are added to the final stable revision after - * the canary deployment is completed. + * Optional. A list of tags that are added to the final stable revision when + * the stable phase is applied. * * Generated from protobuf field repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\RepeatedField $var diff --git a/Deploy/src/V1/CreateAutomationRequest.php b/Deploy/src/V1/CreateAutomationRequest.php index d17a3d6bcde1..b6e89528f70f 100644 --- a/Deploy/src/V1/CreateAutomationRequest.php +++ b/Deploy/src/V1/CreateAutomationRequest.php @@ -37,9 +37,9 @@ class CreateAutomationRequest extends \Google\Protobuf\Internal\Message private $automation = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -95,9 +95,9 @@ public static function build(string $parent, \Google\Cloud\Deploy\V1\Automation * Required. The `Automation` to create. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -209,9 +209,9 @@ public function setAutomation($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -230,9 +230,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/CreateCustomTargetTypeRequest.php b/Deploy/src/V1/CreateCustomTargetTypeRequest.php index e2f3d05e1049..ab0600295264 100644 --- a/Deploy/src/V1/CreateCustomTargetTypeRequest.php +++ b/Deploy/src/V1/CreateCustomTargetTypeRequest.php @@ -17,7 +17,7 @@ class CreateCustomTargetTypeRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent collection in which the `CustomTargetType` should be - * created in. Format should be + * created. Format should be * `projects/{project_id}/locations/{location_name}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -37,9 +37,9 @@ class CreateCustomTargetTypeRequest extends \Google\Protobuf\Internal\Message private $custom_target_type = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -61,7 +61,7 @@ class CreateCustomTargetTypeRequest extends \Google\Protobuf\Internal\Message /** * @param string $parent Required. The parent collection in which the `CustomTargetType` should be - * created in. Format should be + * created. Format should be * `projects/{project_id}/locations/{location_name}`. Please see * {@see CloudDeployClient::locationName()} for help formatting this field. * @param \Google\Cloud\Deploy\V1\CustomTargetType $customTargetType Required. The `CustomTargetType` to create. @@ -87,7 +87,7 @@ public static function build(string $parent, \Google\Cloud\Deploy\V1\CustomTarge * * @type string $parent * Required. The parent collection in which the `CustomTargetType` should be - * created in. Format should be + * created. Format should be * `projects/{project_id}/locations/{location_name}`. * @type string $custom_target_type_id * Required. ID of the `CustomTargetType`. @@ -95,9 +95,9 @@ public static function build(string $parent, \Google\Cloud\Deploy\V1\CustomTarge * Required. The `CustomTargetType` to create. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -117,7 +117,7 @@ public function __construct($data = NULL) { /** * Required. The parent collection in which the `CustomTargetType` should be - * created in. Format should be + * created. Format should be * `projects/{project_id}/locations/{location_name}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -130,7 +130,7 @@ public function getParent() /** * Required. The parent collection in which the `CustomTargetType` should be - * created in. Format should be + * created. Format should be * `projects/{project_id}/locations/{location_name}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -209,9 +209,9 @@ public function setCustomTargetType($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -230,9 +230,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/CreateDeliveryPipelineRequest.php b/Deploy/src/V1/CreateDeliveryPipelineRequest.php index c2423f6b4eec..5cfb560430c1 100644 --- a/Deploy/src/V1/CreateDeliveryPipelineRequest.php +++ b/Deploy/src/V1/CreateDeliveryPipelineRequest.php @@ -37,9 +37,9 @@ class CreateDeliveryPipelineRequest extends \Google\Protobuf\Internal\Message private $delivery_pipeline = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -95,9 +95,9 @@ public static function build(string $parent, \Google\Cloud\Deploy\V1\DeliveryPip * Required. The `DeliveryPipeline` to create. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -209,9 +209,9 @@ public function setDeliveryPipeline($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -230,9 +230,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/CreateReleaseRequest.php b/Deploy/src/V1/CreateReleaseRequest.php index 8ce93cb40ac9..6d7f011c0768 100644 --- a/Deploy/src/V1/CreateReleaseRequest.php +++ b/Deploy/src/V1/CreateReleaseRequest.php @@ -37,9 +37,9 @@ class CreateReleaseRequest extends \Google\Protobuf\Internal\Message private $release = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -95,9 +95,9 @@ public static function build(string $parent, \Google\Cloud\Deploy\V1\Release $re * Required. The `Release` to create. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -209,9 +209,9 @@ public function setRelease($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -230,9 +230,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/CreateRolloutRequest.php b/Deploy/src/V1/CreateRolloutRequest.php index 158c0f6ed40c..470438383afa 100644 --- a/Deploy/src/V1/CreateRolloutRequest.php +++ b/Deploy/src/V1/CreateRolloutRequest.php @@ -37,9 +37,9 @@ class CreateRolloutRequest extends \Google\Protobuf\Internal\Message private $rollout = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -102,9 +102,9 @@ public static function build(string $parent, \Google\Cloud\Deploy\V1\Rollout $ro * Required. The `Rollout` to create. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -219,9 +219,9 @@ public function setRollout($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -240,9 +240,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/CreateTargetRequest.php b/Deploy/src/V1/CreateTargetRequest.php index 2a69f6f10a90..043c9785a1eb 100644 --- a/Deploy/src/V1/CreateTargetRequest.php +++ b/Deploy/src/V1/CreateTargetRequest.php @@ -37,9 +37,9 @@ class CreateTargetRequest extends \Google\Protobuf\Internal\Message private $target = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -95,9 +95,9 @@ public static function build(string $parent, \Google\Cloud\Deploy\V1\Target $tar * Required. The `Target` to create. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -209,9 +209,9 @@ public function setTarget($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -230,9 +230,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/CustomMetadata.php b/Deploy/src/V1/CustomMetadata.php index 569ef6486ad2..0542e47d8caf 100644 --- a/Deploy/src/V1/CustomMetadata.php +++ b/Deploy/src/V1/CustomMetadata.php @@ -9,14 +9,14 @@ use Google\Protobuf\Internal\GPBUtil; /** - * CustomMetadata contains information from a user defined operation. + * CustomMetadata contains information from a user-defined operation. * * Generated from protobuf message google.cloud.deploy.v1.CustomMetadata */ class CustomMetadata extends \Google\Protobuf\Internal\Message { /** - * Output only. Key-value pairs provided by the user defined operation. + * Output only. Key-value pairs provided by the user-defined operation. * * Generated from protobuf field map values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -29,7 +29,7 @@ class CustomMetadata extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type array|\Google\Protobuf\Internal\MapField $values - * Output only. Key-value pairs provided by the user defined operation. + * Output only. Key-value pairs provided by the user-defined operation. * } */ public function __construct($data = NULL) { @@ -38,7 +38,7 @@ public function __construct($data = NULL) { } /** - * Output only. Key-value pairs provided by the user defined operation. + * Output only. Key-value pairs provided by the user-defined operation. * * Generated from protobuf field map values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Internal\MapField @@ -49,7 +49,7 @@ public function getValues() } /** - * Output only. Key-value pairs provided by the user defined operation. + * Output only. Key-value pairs provided by the user-defined operation. * * Generated from protobuf field map values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param array|\Google\Protobuf\Internal\MapField $var diff --git a/Deploy/src/V1/CustomTargetType.php b/Deploy/src/V1/CustomTargetType.php index 05c25bbb9e03..2371511d3942 100644 --- a/Deploy/src/V1/CustomTargetType.php +++ b/Deploy/src/V1/CustomTargetType.php @@ -11,8 +11,8 @@ /** * A `CustomTargetType` resource in the Cloud Deploy API. * A `CustomTargetType` defines a type of custom target that can be referenced - * in a `Target` in order to facilitate deploying to a runtime that does not - * have a 1P integration with Cloud Deploy. + * in a `Target` in order to facilitate deploying to other systems besides the + * supported runtimes. * * Generated from protobuf message google.cloud.deploy.v1.CustomTargetType */ diff --git a/Deploy/src/V1/DeleteAutomationRequest.php b/Deploy/src/V1/DeleteAutomationRequest.php index 131236ba3549..9dc2aca2174b 100644 --- a/Deploy/src/V1/DeleteAutomationRequest.php +++ b/Deploy/src/V1/DeleteAutomationRequest.php @@ -24,9 +24,9 @@ class DeleteAutomationRequest extends \Google\Protobuf\Internal\Message private $name = ''; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -88,9 +88,9 @@ public static function build(string $name): self * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -146,9 +146,9 @@ public function setName($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -167,9 +167,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/DeleteCustomTargetTypeRequest.php b/Deploy/src/V1/DeleteCustomTargetTypeRequest.php index 6f0e39717956..cc5fbd850526 100644 --- a/Deploy/src/V1/DeleteCustomTargetTypeRequest.php +++ b/Deploy/src/V1/DeleteCustomTargetTypeRequest.php @@ -24,9 +24,9 @@ class DeleteCustomTargetTypeRequest extends \Google\Protobuf\Internal\Message private $name = ''; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -87,9 +87,9 @@ public static function build(string $name): self * `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -144,9 +144,9 @@ public function setName($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -165,9 +165,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/DeleteDeliveryPipelineRequest.php b/Deploy/src/V1/DeleteDeliveryPipelineRequest.php index 025b60fda870..4dacb328170f 100644 --- a/Deploy/src/V1/DeleteDeliveryPipelineRequest.php +++ b/Deploy/src/V1/DeleteDeliveryPipelineRequest.php @@ -24,9 +24,9 @@ class DeleteDeliveryPipelineRequest extends \Google\Protobuf\Internal\Message private $name = ''; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -95,9 +95,9 @@ public static function build(string $name): self * `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -156,9 +156,9 @@ public function setName($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -177,9 +177,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/DeleteTargetRequest.php b/Deploy/src/V1/DeleteTargetRequest.php index d36f98128a06..7e2c7858f978 100644 --- a/Deploy/src/V1/DeleteTargetRequest.php +++ b/Deploy/src/V1/DeleteTargetRequest.php @@ -24,9 +24,9 @@ class DeleteTargetRequest extends \Google\Protobuf\Internal\Message private $name = ''; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -87,9 +87,9 @@ public static function build(string $name): self * `projects/{project_id}/locations/{location_name}/targets/{target_name}`. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -144,9 +144,9 @@ public function setName($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -165,9 +165,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/DeliveryPipelineNotificationEvent.php b/Deploy/src/V1/DeliveryPipelineNotificationEvent.php index 5284bd6127bb..d982f32c9a5f 100644 --- a/Deploy/src/V1/DeliveryPipelineNotificationEvent.php +++ b/Deploy/src/V1/DeliveryPipelineNotificationEvent.php @@ -23,6 +23,12 @@ class DeliveryPipelineNotificationEvent extends \Google\Protobuf\Internal\Messag * Generated from protobuf field string message = 1; */ private $message = ''; + /** + * Unique identifier of the `DeliveryPipeline`. + * + * Generated from protobuf field string pipeline_uid = 4; + */ + private $pipeline_uid = ''; /** * The name of the `Delivery Pipeline`. * @@ -44,6 +50,8 @@ class DeliveryPipelineNotificationEvent extends \Google\Protobuf\Internal\Messag * * @type string $message * Debug message for when a notification fails to send. + * @type string $pipeline_uid + * Unique identifier of the `DeliveryPipeline`. * @type string $delivery_pipeline * The name of the `Delivery Pipeline`. * @type int $type @@ -81,6 +89,32 @@ public function setMessage($var) return $this; } + /** + * Unique identifier of the `DeliveryPipeline`. + * + * Generated from protobuf field string pipeline_uid = 4; + * @return string + */ + public function getPipelineUid() + { + return $this->pipeline_uid; + } + + /** + * Unique identifier of the `DeliveryPipeline`. + * + * Generated from protobuf field string pipeline_uid = 4; + * @param string $var + * @return $this + */ + public function setPipelineUid($var) + { + GPBUtil::checkString($var, True); + $this->pipeline_uid = $var; + + return $this; + } + /** * The name of the `Delivery Pipeline`. * diff --git a/Deploy/src/V1/DeployJobRunMetadata.php b/Deploy/src/V1/DeployJobRunMetadata.php index c0de4a14ca85..05ca7225981c 100644 --- a/Deploy/src/V1/DeployJobRunMetadata.php +++ b/Deploy/src/V1/DeployJobRunMetadata.php @@ -30,7 +30,7 @@ class DeployJobRunMetadata extends \Google\Protobuf\Internal\Message */ private $custom_target = null; /** - * Output only. Custom metadata provided by user defined deploy operation. + * Output only. Custom metadata provided by user-defined deploy operation. * * Generated from protobuf field .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -48,7 +48,7 @@ class DeployJobRunMetadata extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Deploy\V1\CustomTargetDeployMetadata $custom_target * Output only. Custom Target metadata associated with a `DeployJobRun`. * @type \Google\Cloud\Deploy\V1\CustomMetadata $custom - * Output only. Custom metadata provided by user defined deploy operation. + * Output only. Custom metadata provided by user-defined deploy operation. * } */ public function __construct($data = NULL) { @@ -131,7 +131,7 @@ public function setCustomTarget($var) } /** - * Output only. Custom metadata provided by user defined deploy operation. + * Output only. Custom metadata provided by user-defined deploy operation. * * Generated from protobuf field .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Deploy\V1\CustomMetadata|null @@ -152,7 +152,7 @@ public function clearCustom() } /** - * Output only. Custom metadata provided by user defined deploy operation. + * Output only. Custom metadata provided by user-defined deploy operation. * * Generated from protobuf field .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Deploy\V1\CustomMetadata $var diff --git a/Deploy/src/V1/Gapic/CloudDeployGapicClient.php b/Deploy/src/V1/Gapic/CloudDeployGapicClient.php index 453d5db02ebe..9232e942df16 100644 --- a/Deploy/src/V1/Gapic/CloudDeployGapicClient.php +++ b/Deploy/src/V1/Gapic/CloudDeployGapicClient.php @@ -1237,9 +1237,9 @@ public function cancelRollout($name, array $optionalArgs = []) * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -1338,7 +1338,7 @@ public function createAutomation( * ``` * * @param string $parent Required. The parent collection in which the `CustomTargetType` should be - * created in. Format should be + * created. Format should be * `projects/{project_id}/locations/{location_name}`. * @param string $customTargetTypeId Required. ID of the `CustomTargetType`. * @param CustomTargetType $customTargetType Required. The `CustomTargetType` to create. @@ -1347,9 +1347,9 @@ public function createAutomation( * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -1457,9 +1457,9 @@ public function createCustomTargetType( * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -1567,9 +1567,9 @@ public function createDeliveryPipeline( * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -1677,9 +1677,9 @@ public function createRelease( * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -1794,9 +1794,9 @@ public function createRollout( * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -1897,9 +1897,9 @@ public function createTarget( * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -2010,9 +2010,9 @@ public function deleteAutomation($name, array $optionalArgs = []) * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -2122,9 +2122,9 @@ public function deleteCustomTargetType($name, array $optionalArgs = []) * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -2242,9 +2242,9 @@ public function deleteDeliveryPipeline($name, array $optionalArgs = []) * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes after the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -3781,17 +3781,17 @@ public function terminateJobRun($name, array $optionalArgs = []) * @param FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the * `Automation` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * @param Automation $automation Required. The `Automation` to update. * @param array $optionalArgs { * Optional. * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -3896,17 +3896,17 @@ public function updateAutomation( * @param FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the * `CustomTargetType` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * @param CustomTargetType $customTargetType Required. The `CustomTargetType` to update. * @param array $optionalArgs { * Optional. * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -4013,17 +4013,17 @@ public function updateCustomTargetType( * @param FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the * `DeliveryPipeline` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * @param DeliveryPipeline $deliveryPipeline Required. The `DeliveryPipeline` to update. * @param array $optionalArgs { * Optional. * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, @@ -4130,17 +4130,17 @@ public function updateDeliveryPipeline( * @param FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the * Target resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * @param Target $target Required. The `Target` to update. * @param array $optionalArgs { * Optional. * * @type string $requestId * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, diff --git a/Deploy/src/V1/JobRunNotificationEvent.php b/Deploy/src/V1/JobRunNotificationEvent.php index 56bbba56d5a1..d83c49258583 100644 --- a/Deploy/src/V1/JobRunNotificationEvent.php +++ b/Deploy/src/V1/JobRunNotificationEvent.php @@ -41,12 +41,24 @@ class JobRunNotificationEvent extends \Google\Protobuf\Internal\Message * Generated from protobuf field string release_uid = 4; */ private $release_uid = ''; + /** + * The name of the `Release`. + * + * Generated from protobuf field string release = 8; + */ + private $release = ''; /** * Unique identifier of the `Rollout`. * * Generated from protobuf field string rollout_uid = 5; */ private $rollout_uid = ''; + /** + * The name of the `Rollout`. + * + * Generated from protobuf field string rollout = 9; + */ + private $rollout = ''; /** * ID of the `Target`. * @@ -74,8 +86,12 @@ class JobRunNotificationEvent extends \Google\Protobuf\Internal\Message * Unique identifier of the `DeliveryPipeline`. * @type string $release_uid * Unique identifier of the `Release`. + * @type string $release + * The name of the `Release`. * @type string $rollout_uid * Unique identifier of the `Rollout`. + * @type string $rollout + * The name of the `Rollout`. * @type string $target_id * ID of the `Target`. * @type int $type @@ -191,6 +207,32 @@ public function setReleaseUid($var) return $this; } + /** + * The name of the `Release`. + * + * Generated from protobuf field string release = 8; + * @return string + */ + public function getRelease() + { + return $this->release; + } + + /** + * The name of the `Release`. + * + * Generated from protobuf field string release = 8; + * @param string $var + * @return $this + */ + public function setRelease($var) + { + GPBUtil::checkString($var, True); + $this->release = $var; + + return $this; + } + /** * Unique identifier of the `Rollout`. * @@ -217,6 +259,32 @@ public function setRolloutUid($var) return $this; } + /** + * The name of the `Rollout`. + * + * Generated from protobuf field string rollout = 9; + * @return string + */ + public function getRollout() + { + return $this->rollout; + } + + /** + * The name of the `Rollout`. + * + * Generated from protobuf field string rollout = 9; + * @param string $var + * @return $this + */ + public function setRollout($var) + { + GPBUtil::checkString($var, True); + $this->rollout = $var; + + return $this; + } + /** * ID of the `Target`. * diff --git a/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh.php b/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh.php index 12905eecbb26..0fb2e6896efd 100644 --- a/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh.php +++ b/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh.php @@ -42,6 +42,15 @@ class GatewayServiceMesh extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.protobuf.Duration route_update_wait_time = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private $route_update_wait_time = null; + /** + * Optional. The amount of time to migrate traffic back from the canary + * Service to the original Service during the stable phase deployment. If + * specified, must be between 15s and 3600s. If unspecified, there is no + * cutback time. + * + * Generated from protobuf field .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $stable_cutback_duration = null; /** * Constructor. @@ -60,6 +69,11 @@ class GatewayServiceMesh extends \Google\Protobuf\Internal\Message * Optional. The time to wait for route updates to propagate. The maximum * configurable time is 3 hours, in seconds format. If unspecified, there is * no wait time. + * @type \Google\Protobuf\Duration $stable_cutback_duration + * Optional. The amount of time to migrate traffic back from the canary + * Service to the original Service during the stable phase deployment. If + * specified, must be between 15s and 3600s. If unspecified, there is no + * cutback time. * } */ public function __construct($data = NULL) { @@ -187,6 +201,48 @@ public function setRouteUpdateWaitTime($var) return $this; } + /** + * Optional. The amount of time to migrate traffic back from the canary + * Service to the original Service during the stable phase deployment. If + * specified, must be between 15s and 3600s. If unspecified, there is no + * cutback time. + * + * Generated from protobuf field .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getStableCutbackDuration() + { + return $this->stable_cutback_duration; + } + + public function hasStableCutbackDuration() + { + return isset($this->stable_cutback_duration); + } + + public function clearStableCutbackDuration() + { + unset($this->stable_cutback_duration); + } + + /** + * Optional. The amount of time to migrate traffic back from the canary + * Service to the original Service during the stable phase deployment. If + * specified, must be between 15s and 3600s. If unspecified, there is no + * cutback time. + * + * Generated from protobuf field .google.protobuf.Duration stable_cutback_duration = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setStableCutbackDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->stable_cutback_duration = $var; + + return $this; + } + } diff --git a/Deploy/src/V1/Metadata.php b/Deploy/src/V1/Metadata.php index ccf5fe708425..67ec6af8409a 100644 --- a/Deploy/src/V1/Metadata.php +++ b/Deploy/src/V1/Metadata.php @@ -30,7 +30,7 @@ class Metadata extends \Google\Protobuf\Internal\Message */ private $automation = null; /** - * Output only. Custom metadata provided by user defined `Rollout` operations. + * Output only. Custom metadata provided by user-defined `Rollout` operations. * * Generated from protobuf field .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -49,7 +49,7 @@ class Metadata extends \Google\Protobuf\Internal\Message * Output only. AutomationRolloutMetadata contains the information about the * interactions between Automation service and this rollout. * @type \Google\Cloud\Deploy\V1\CustomMetadata $custom - * Output only. Custom metadata provided by user defined `Rollout` operations. + * Output only. Custom metadata provided by user-defined `Rollout` operations. * } */ public function __construct($data = NULL) { @@ -134,7 +134,7 @@ public function setAutomation($var) } /** - * Output only. Custom metadata provided by user defined `Rollout` operations. + * Output only. Custom metadata provided by user-defined `Rollout` operations. * * Generated from protobuf field .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Deploy\V1\CustomMetadata|null @@ -155,7 +155,7 @@ public function clearCustom() } /** - * Output only. Custom metadata provided by user defined `Rollout` operations. + * Output only. Custom metadata provided by user-defined `Rollout` operations. * * Generated from protobuf field .google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Deploy\V1\CustomMetadata $var diff --git a/Deploy/src/V1/ReleaseNotificationEvent.php b/Deploy/src/V1/ReleaseNotificationEvent.php index 5156ef9aa938..81a79b826379 100644 --- a/Deploy/src/V1/ReleaseNotificationEvent.php +++ b/Deploy/src/V1/ReleaseNotificationEvent.php @@ -23,6 +23,18 @@ class ReleaseNotificationEvent extends \Google\Protobuf\Internal\Message * Generated from protobuf field string message = 1; */ private $message = ''; + /** + * Unique identifier of the `DeliveryPipeline`. + * + * Generated from protobuf field string pipeline_uid = 4; + */ + private $pipeline_uid = ''; + /** + * Unique identifier of the `Release`. + * + * Generated from protobuf field string release_uid = 5; + */ + private $release_uid = ''; /** * The name of the `Release`. * @@ -44,6 +56,10 @@ class ReleaseNotificationEvent extends \Google\Protobuf\Internal\Message * * @type string $message * Debug message for when a notification fails to send. + * @type string $pipeline_uid + * Unique identifier of the `DeliveryPipeline`. + * @type string $release_uid + * Unique identifier of the `Release`. * @type string $release * The name of the `Release`. * @type int $type @@ -81,6 +97,58 @@ public function setMessage($var) return $this; } + /** + * Unique identifier of the `DeliveryPipeline`. + * + * Generated from protobuf field string pipeline_uid = 4; + * @return string + */ + public function getPipelineUid() + { + return $this->pipeline_uid; + } + + /** + * Unique identifier of the `DeliveryPipeline`. + * + * Generated from protobuf field string pipeline_uid = 4; + * @param string $var + * @return $this + */ + public function setPipelineUid($var) + { + GPBUtil::checkString($var, True); + $this->pipeline_uid = $var; + + return $this; + } + + /** + * Unique identifier of the `Release`. + * + * Generated from protobuf field string release_uid = 5; + * @return string + */ + public function getReleaseUid() + { + return $this->release_uid; + } + + /** + * Unique identifier of the `Release`. + * + * Generated from protobuf field string release_uid = 5; + * @param string $var + * @return $this + */ + public function setReleaseUid($var) + { + GPBUtil::checkString($var, True); + $this->release_uid = $var; + + return $this; + } + /** * The name of the `Release`. * diff --git a/Deploy/src/V1/ReleaseRenderEvent.php b/Deploy/src/V1/ReleaseRenderEvent.php index e7427f896749..50aedff24f50 100644 --- a/Deploy/src/V1/ReleaseRenderEvent.php +++ b/Deploy/src/V1/ReleaseRenderEvent.php @@ -23,12 +23,26 @@ class ReleaseRenderEvent extends \Google\Protobuf\Internal\Message * Generated from protobuf field string message = 1; */ private $message = ''; + /** + * Unique identifier of the `DeliveryPipeline`. + * + * Generated from protobuf field string pipeline_uid = 4; + */ + private $pipeline_uid = ''; /** * The name of the release. + * release_uid is not in this log message because we write some of these log + * messages at release creation time, before we've generated the uid. * * Generated from protobuf field string release = 2; */ private $release = ''; + /** + * Type of this notification, e.g. for a release render state change event. + * + * Generated from protobuf field .google.cloud.deploy.v1.Type type = 5; + */ + private $type = 0; /** * The state of the release render. * @@ -45,8 +59,14 @@ class ReleaseRenderEvent extends \Google\Protobuf\Internal\Message * @type string $message * Debug message for when a render transition occurs. Provides further * details as rendering progresses through render states. + * @type string $pipeline_uid + * Unique identifier of the `DeliveryPipeline`. * @type string $release * The name of the release. + * release_uid is not in this log message because we write some of these log + * messages at release creation time, before we've generated the uid. + * @type int $type + * Type of this notification, e.g. for a release render state change event. * @type int $release_render_state * The state of the release render. * } @@ -84,8 +104,36 @@ public function setMessage($var) return $this; } + /** + * Unique identifier of the `DeliveryPipeline`. + * + * Generated from protobuf field string pipeline_uid = 4; + * @return string + */ + public function getPipelineUid() + { + return $this->pipeline_uid; + } + + /** + * Unique identifier of the `DeliveryPipeline`. + * + * Generated from protobuf field string pipeline_uid = 4; + * @param string $var + * @return $this + */ + public function setPipelineUid($var) + { + GPBUtil::checkString($var, True); + $this->pipeline_uid = $var; + + return $this; + } + /** * The name of the release. + * release_uid is not in this log message because we write some of these log + * messages at release creation time, before we've generated the uid. * * Generated from protobuf field string release = 2; * @return string @@ -97,6 +145,8 @@ public function getRelease() /** * The name of the release. + * release_uid is not in this log message because we write some of these log + * messages at release creation time, before we've generated the uid. * * Generated from protobuf field string release = 2; * @param string $var @@ -110,6 +160,32 @@ public function setRelease($var) return $this; } + /** + * Type of this notification, e.g. for a release render state change event. + * + * Generated from protobuf field .google.cloud.deploy.v1.Type type = 5; + * @return int + */ + public function getType() + { + return $this->type; + } + + /** + * Type of this notification, e.g. for a release render state change event. + * + * Generated from protobuf field .google.cloud.deploy.v1.Type type = 5; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\Deploy\V1\Type::class); + $this->type = $var; + + return $this; + } + /** * The state of the release render. * diff --git a/Deploy/src/V1/RenderMetadata.php b/Deploy/src/V1/RenderMetadata.php index a8c12e489807..dbb4fc56490e 100644 --- a/Deploy/src/V1/RenderMetadata.php +++ b/Deploy/src/V1/RenderMetadata.php @@ -22,7 +22,7 @@ class RenderMetadata extends \Google\Protobuf\Internal\Message */ private $cloud_run = null; /** - * Output only. Custom metadata provided by user defined render operation. + * Output only. Custom metadata provided by user-defined render operation. * * Generated from protobuf field .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -37,7 +37,7 @@ class RenderMetadata extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Deploy\V1\CloudRunRenderMetadata $cloud_run * Output only. Metadata associated with rendering for Cloud Run. * @type \Google\Cloud\Deploy\V1\CustomMetadata $custom - * Output only. Custom metadata provided by user defined render operation. + * Output only. Custom metadata provided by user-defined render operation. * } */ public function __construct($data = NULL) { @@ -82,7 +82,7 @@ public function setCloudRun($var) } /** - * Output only. Custom metadata provided by user defined render operation. + * Output only. Custom metadata provided by user-defined render operation. * * Generated from protobuf field .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Deploy\V1\CustomMetadata|null @@ -103,7 +103,7 @@ public function clearCustom() } /** - * Output only. Custom metadata provided by user defined render operation. + * Output only. Custom metadata provided by user-defined render operation. * * Generated from protobuf field .google.cloud.deploy.v1.CustomMetadata custom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Deploy\V1\CustomMetadata $var diff --git a/Deploy/src/V1/RolloutNotificationEvent.php b/Deploy/src/V1/RolloutNotificationEvent.php index 9f5a6330a4da..8fc158fbc53c 100644 --- a/Deploy/src/V1/RolloutNotificationEvent.php +++ b/Deploy/src/V1/RolloutNotificationEvent.php @@ -36,23 +36,35 @@ class RolloutNotificationEvent extends \Google\Protobuf\Internal\Message */ private $release_uid = ''; /** - * The name of the `Rollout`. + * The name of the `Release`. * - * Generated from protobuf field string rollout = 4; + * Generated from protobuf field string release = 7; */ - private $rollout = ''; + private $release = ''; /** - * Type of this notification, e.g. for a Pub/Sub failure. + * Unique identifier of the `Rollout`. * - * Generated from protobuf field .google.cloud.deploy.v1.Type type = 5; + * Generated from protobuf field string rollout_uid = 8; */ - private $type = 0; + private $rollout_uid = ''; + /** + * The name of the `Rollout`. + * + * Generated from protobuf field string rollout = 4; + */ + private $rollout = ''; /** * ID of the `Target` that the rollout is deployed to. * * Generated from protobuf field string target_id = 6; */ private $target_id = ''; + /** + * Type of this notification, e.g. for a Pub/Sub failure. + * + * Generated from protobuf field .google.cloud.deploy.v1.Type type = 5; + */ + private $type = 0; /** * Constructor. @@ -66,12 +78,16 @@ class RolloutNotificationEvent extends \Google\Protobuf\Internal\Message * Unique identifier of the `DeliveryPipeline`. * @type string $release_uid * Unique identifier of the `Release`. + * @type string $release + * The name of the `Release`. + * @type string $rollout_uid + * Unique identifier of the `Rollout`. * @type string $rollout * The name of the `Rollout`. - * @type int $type - * Type of this notification, e.g. for a Pub/Sub failure. * @type string $target_id * ID of the `Target` that the rollout is deployed to. + * @type int $type + * Type of this notification, e.g. for a Pub/Sub failure. * } */ public function __construct($data = NULL) { @@ -158,53 +174,79 @@ public function setReleaseUid($var) } /** - * The name of the `Rollout`. + * The name of the `Release`. * - * Generated from protobuf field string rollout = 4; + * Generated from protobuf field string release = 7; * @return string */ - public function getRollout() + public function getRelease() { - return $this->rollout; + return $this->release; } /** - * The name of the `Rollout`. + * The name of the `Release`. * - * Generated from protobuf field string rollout = 4; + * Generated from protobuf field string release = 7; * @param string $var * @return $this */ - public function setRollout($var) + public function setRelease($var) { GPBUtil::checkString($var, True); - $this->rollout = $var; + $this->release = $var; return $this; } /** - * Type of this notification, e.g. for a Pub/Sub failure. + * Unique identifier of the `Rollout`. * - * Generated from protobuf field .google.cloud.deploy.v1.Type type = 5; - * @return int + * Generated from protobuf field string rollout_uid = 8; + * @return string */ - public function getType() + public function getRolloutUid() { - return $this->type; + return $this->rollout_uid; } /** - * Type of this notification, e.g. for a Pub/Sub failure. + * Unique identifier of the `Rollout`. * - * Generated from protobuf field .google.cloud.deploy.v1.Type type = 5; - * @param int $var + * Generated from protobuf field string rollout_uid = 8; + * @param string $var * @return $this */ - public function setType($var) + public function setRolloutUid($var) { - GPBUtil::checkEnum($var, \Google\Cloud\Deploy\V1\Type::class); - $this->type = $var; + GPBUtil::checkString($var, True); + $this->rollout_uid = $var; + + return $this; + } + + /** + * The name of the `Rollout`. + * + * Generated from protobuf field string rollout = 4; + * @return string + */ + public function getRollout() + { + return $this->rollout; + } + + /** + * The name of the `Rollout`. + * + * Generated from protobuf field string rollout = 4; + * @param string $var + * @return $this + */ + public function setRollout($var) + { + GPBUtil::checkString($var, True); + $this->rollout = $var; return $this; } @@ -235,5 +277,31 @@ public function setTargetId($var) return $this; } + /** + * Type of this notification, e.g. for a Pub/Sub failure. + * + * Generated from protobuf field .google.cloud.deploy.v1.Type type = 5; + * @return int + */ + public function getType() + { + return $this->type; + } + + /** + * Type of this notification, e.g. for a Pub/Sub failure. + * + * Generated from protobuf field .google.cloud.deploy.v1.Type type = 5; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\Deploy\V1\Type::class); + $this->type = $var; + + return $this; + } + } diff --git a/Deploy/src/V1/RolloutUpdateEvent.php b/Deploy/src/V1/RolloutUpdateEvent.php index a2a2113eff46..a54242de7979 100644 --- a/Deploy/src/V1/RolloutUpdateEvent.php +++ b/Deploy/src/V1/RolloutUpdateEvent.php @@ -16,6 +16,12 @@ */ class RolloutUpdateEvent extends \Google\Protobuf\Internal\Message { + /** + * Debug message for when a rollout update event occurs. + * + * Generated from protobuf field string message = 6; + */ + private $message = ''; /** * Unique identifier of the pipeline. * @@ -28,8 +34,16 @@ class RolloutUpdateEvent extends \Google\Protobuf\Internal\Message * Generated from protobuf field string release_uid = 2; */ private $release_uid = ''; + /** + * The name of the `Release`. + * + * Generated from protobuf field string release = 8; + */ + private $release = ''; /** * The name of the rollout. + * rollout_uid is not in this log message because we write some of these log + * messages at rollout creation time, before we've generated the uid. * * Generated from protobuf field string rollout = 3; */ @@ -40,24 +54,18 @@ class RolloutUpdateEvent extends \Google\Protobuf\Internal\Message * Generated from protobuf field string target_id = 4; */ private $target_id = ''; - /** - * The type of the rollout update. - * - * Generated from protobuf field .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; - */ - private $rollout_update_type = 0; - /** - * Debug message for when a rollout update event occurs. - * - * Generated from protobuf field string message = 6; - */ - private $message = ''; /** * Type of this notification, e.g. for a rollout update event. * * Generated from protobuf field .google.cloud.deploy.v1.Type type = 7; */ private $type = 0; + /** + * The type of the rollout update. + * + * Generated from protobuf field .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + */ + private $rollout_update_type = 0; /** * Constructor. @@ -65,20 +73,24 @@ class RolloutUpdateEvent extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * + * @type string $message + * Debug message for when a rollout update event occurs. * @type string $pipeline_uid * Unique identifier of the pipeline. * @type string $release_uid * Unique identifier of the release. + * @type string $release + * The name of the `Release`. * @type string $rollout * The name of the rollout. + * rollout_uid is not in this log message because we write some of these log + * messages at rollout creation time, before we've generated the uid. * @type string $target_id * ID of the target. - * @type int $rollout_update_type - * The type of the rollout update. - * @type string $message - * Debug message for when a rollout update event occurs. * @type int $type * Type of this notification, e.g. for a rollout update event. + * @type int $rollout_update_type + * The type of the rollout update. * } */ public function __construct($data = NULL) { @@ -86,6 +98,32 @@ public function __construct($data = NULL) { parent::__construct($data); } + /** + * Debug message for when a rollout update event occurs. + * + * Generated from protobuf field string message = 6; + * @return string + */ + public function getMessage() + { + return $this->message; + } + + /** + * Debug message for when a rollout update event occurs. + * + * Generated from protobuf field string message = 6; + * @param string $var + * @return $this + */ + public function setMessage($var) + { + GPBUtil::checkString($var, True); + $this->message = $var; + + return $this; + } + /** * Unique identifier of the pipeline. * @@ -138,8 +176,36 @@ public function setReleaseUid($var) return $this; } + /** + * The name of the `Release`. + * + * Generated from protobuf field string release = 8; + * @return string + */ + public function getRelease() + { + return $this->release; + } + + /** + * The name of the `Release`. + * + * Generated from protobuf field string release = 8; + * @param string $var + * @return $this + */ + public function setRelease($var) + { + GPBUtil::checkString($var, True); + $this->release = $var; + + return $this; + } + /** * The name of the rollout. + * rollout_uid is not in this log message because we write some of these log + * messages at rollout creation time, before we've generated the uid. * * Generated from protobuf field string rollout = 3; * @return string @@ -151,6 +217,8 @@ public function getRollout() /** * The name of the rollout. + * rollout_uid is not in this log message because we write some of these log + * messages at rollout creation time, before we've generated the uid. * * Generated from protobuf field string rollout = 3; * @param string $var @@ -191,79 +259,53 @@ public function setTargetId($var) } /** - * The type of the rollout update. + * Type of this notification, e.g. for a rollout update event. * - * Generated from protobuf field .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * Generated from protobuf field .google.cloud.deploy.v1.Type type = 7; * @return int */ - public function getRolloutUpdateType() + public function getType() { - return $this->rollout_update_type; + return $this->type; } /** - * The type of the rollout update. + * Type of this notification, e.g. for a rollout update event. * - * Generated from protobuf field .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; + * Generated from protobuf field .google.cloud.deploy.v1.Type type = 7; * @param int $var * @return $this */ - public function setRolloutUpdateType($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\Deploy\V1\RolloutUpdateEvent\RolloutUpdateType::class); - $this->rollout_update_type = $var; - - return $this; - } - - /** - * Debug message for when a rollout update event occurs. - * - * Generated from protobuf field string message = 6; - * @return string - */ - public function getMessage() - { - return $this->message; - } - - /** - * Debug message for when a rollout update event occurs. - * - * Generated from protobuf field string message = 6; - * @param string $var - * @return $this - */ - public function setMessage($var) + public function setType($var) { - GPBUtil::checkString($var, True); - $this->message = $var; + GPBUtil::checkEnum($var, \Google\Cloud\Deploy\V1\Type::class); + $this->type = $var; return $this; } /** - * Type of this notification, e.g. for a rollout update event. + * The type of the rollout update. * - * Generated from protobuf field .google.cloud.deploy.v1.Type type = 7; + * Generated from protobuf field .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; * @return int */ - public function getType() + public function getRolloutUpdateType() { - return $this->type; + return $this->rollout_update_type; } /** - * Type of this notification, e.g. for a rollout update event. + * The type of the rollout update. * - * Generated from protobuf field .google.cloud.deploy.v1.Type type = 7; + * Generated from protobuf field .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5; * @param int $var * @return $this */ - public function setType($var) + public function setRolloutUpdateType($var) { - GPBUtil::checkEnum($var, \Google\Cloud\Deploy\V1\Type::class); - $this->type = $var; + GPBUtil::checkEnum($var, \Google\Cloud\Deploy\V1\RolloutUpdateEvent\RolloutUpdateType::class); + $this->rollout_update_type = $var; return $this; } diff --git a/Deploy/src/V1/TargetAttribute.php b/Deploy/src/V1/TargetAttribute.php index 874ac4a9b837..aa202d0f74eb 100644 --- a/Deploy/src/V1/TargetAttribute.php +++ b/Deploy/src/V1/TargetAttribute.php @@ -9,10 +9,7 @@ use Google\Protobuf\Internal\GPBUtil; /** - * Contains criteria for selecting Targets. Attributes provided must match the - * target resource in order for policy restrictions to apply. E.g. if id "prod" - * and labels "foo: bar" are given the target resource must match both that id - * and have that label in order to be selected. + * Contains criteria for selecting Targets. * * Generated from protobuf message google.cloud.deploy.v1.TargetAttribute */ diff --git a/Deploy/src/V1/UpdateAutomationRequest.php b/Deploy/src/V1/UpdateAutomationRequest.php index 4a1c75e22060..375d3d5ce93e 100644 --- a/Deploy/src/V1/UpdateAutomationRequest.php +++ b/Deploy/src/V1/UpdateAutomationRequest.php @@ -19,8 +19,8 @@ class UpdateAutomationRequest extends \Google\Protobuf\Internal\Message * Required. Field mask is used to specify the fields to be overwritten in the * `Automation` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -33,9 +33,9 @@ class UpdateAutomationRequest extends \Google\Protobuf\Internal\Message private $automation = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -67,8 +67,8 @@ class UpdateAutomationRequest extends \Google\Protobuf\Internal\Message * @param \Google\Protobuf\FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the * `Automation` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * @return \Google\Cloud\Deploy\V1\UpdateAutomationRequest * @@ -91,15 +91,15 @@ public static function build(\Google\Cloud\Deploy\V1\Automation $automation, \Go * Required. Field mask is used to specify the fields to be overwritten in the * `Automation` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * @type \Google\Cloud\Deploy\V1\Automation $automation * Required. The `Automation` to update. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -124,8 +124,8 @@ public function __construct($data = NULL) { * Required. Field mask is used to specify the fields to be overwritten in the * `Automation` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Protobuf\FieldMask|null @@ -149,8 +149,8 @@ public function clearUpdateMask() * Required. Field mask is used to specify the fields to be overwritten in the * `Automation` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var @@ -202,9 +202,9 @@ public function setAutomation($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -223,9 +223,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/UpdateCustomTargetTypeRequest.php b/Deploy/src/V1/UpdateCustomTargetTypeRequest.php index b1de4457a0d4..0dafd5aee52d 100644 --- a/Deploy/src/V1/UpdateCustomTargetTypeRequest.php +++ b/Deploy/src/V1/UpdateCustomTargetTypeRequest.php @@ -19,8 +19,8 @@ class UpdateCustomTargetTypeRequest extends \Google\Protobuf\Internal\Message * Required. Field mask is used to specify the fields to be overwritten in the * `CustomTargetType` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -33,9 +33,9 @@ class UpdateCustomTargetTypeRequest extends \Google\Protobuf\Internal\Message private $custom_target_type = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -67,8 +67,8 @@ class UpdateCustomTargetTypeRequest extends \Google\Protobuf\Internal\Message * @param \Google\Protobuf\FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the * `CustomTargetType` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * @return \Google\Cloud\Deploy\V1\UpdateCustomTargetTypeRequest * @@ -91,15 +91,15 @@ public static function build(\Google\Cloud\Deploy\V1\CustomTargetType $customTar * Required. Field mask is used to specify the fields to be overwritten in the * `CustomTargetType` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * @type \Google\Cloud\Deploy\V1\CustomTargetType $custom_target_type * Required. The `CustomTargetType` to update. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -124,8 +124,8 @@ public function __construct($data = NULL) { * Required. Field mask is used to specify the fields to be overwritten in the * `CustomTargetType` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Protobuf\FieldMask|null @@ -149,8 +149,8 @@ public function clearUpdateMask() * Required. Field mask is used to specify the fields to be overwritten in the * `CustomTargetType` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var @@ -202,9 +202,9 @@ public function setCustomTargetType($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -223,9 +223,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/UpdateDeliveryPipelineRequest.php b/Deploy/src/V1/UpdateDeliveryPipelineRequest.php index 1909aedc66b8..1d69916211f5 100644 --- a/Deploy/src/V1/UpdateDeliveryPipelineRequest.php +++ b/Deploy/src/V1/UpdateDeliveryPipelineRequest.php @@ -19,8 +19,8 @@ class UpdateDeliveryPipelineRequest extends \Google\Protobuf\Internal\Message * Required. Field mask is used to specify the fields to be overwritten in the * `DeliveryPipeline` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -33,9 +33,9 @@ class UpdateDeliveryPipelineRequest extends \Google\Protobuf\Internal\Message private $delivery_pipeline = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -67,8 +67,8 @@ class UpdateDeliveryPipelineRequest extends \Google\Protobuf\Internal\Message * @param \Google\Protobuf\FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the * `DeliveryPipeline` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * @return \Google\Cloud\Deploy\V1\UpdateDeliveryPipelineRequest * @@ -91,15 +91,15 @@ public static function build(\Google\Cloud\Deploy\V1\DeliveryPipeline $deliveryP * Required. Field mask is used to specify the fields to be overwritten in the * `DeliveryPipeline` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * @type \Google\Cloud\Deploy\V1\DeliveryPipeline $delivery_pipeline * Required. The `DeliveryPipeline` to update. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -124,8 +124,8 @@ public function __construct($data = NULL) { * Required. Field mask is used to specify the fields to be overwritten in the * `DeliveryPipeline` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Protobuf\FieldMask|null @@ -149,8 +149,8 @@ public function clearUpdateMask() * Required. Field mask is used to specify the fields to be overwritten in the * `DeliveryPipeline` resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var @@ -202,9 +202,9 @@ public function setDeliveryPipeline($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -223,9 +223,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was diff --git a/Deploy/src/V1/UpdateTargetRequest.php b/Deploy/src/V1/UpdateTargetRequest.php index 8f26b73400f8..d50f7101103c 100644 --- a/Deploy/src/V1/UpdateTargetRequest.php +++ b/Deploy/src/V1/UpdateTargetRequest.php @@ -19,8 +19,8 @@ class UpdateTargetRequest extends \Google\Protobuf\Internal\Message * Required. Field mask is used to specify the fields to be overwritten in the * Target resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -33,9 +33,9 @@ class UpdateTargetRequest extends \Google\Protobuf\Internal\Message private $target = null; /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -67,8 +67,8 @@ class UpdateTargetRequest extends \Google\Protobuf\Internal\Message * @param \Google\Protobuf\FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the * Target resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * @return \Google\Cloud\Deploy\V1\UpdateTargetRequest * @@ -91,15 +91,15 @@ public static function build(\Google\Cloud\Deploy\V1\Target $target, \Google\Pro * Required. Field mask is used to specify the fields to be overwritten in the * Target resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * @type \Google\Cloud\Deploy\V1\Target $target * Required. The `Target` to update. * @type string $request_id * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -124,8 +124,8 @@ public function __construct($data = NULL) { * Required. Field mask is used to specify the fields to be overwritten in the * Target resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Protobuf\FieldMask|null @@ -149,8 +149,8 @@ public function clearUpdateMask() * Required. Field mask is used to specify the fields to be overwritten in the * Target resource by the update. * The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the - * user does not provide a mask then all fields will be overwritten. + * the full request. A field will be overwritten if it's in the mask. If the + * user doesn't provide a mask then all fields are overwritten. * * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var @@ -202,9 +202,9 @@ public function setTarget($var) /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was @@ -223,9 +223,9 @@ public function getRequestId() /** * Optional. A request ID to identify requests. Specify a unique request ID - * so that if you must retry your request, the server will know to ignore - * the request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * so that if you must retry your request, the server knows to ignore the + * request if it has already been completed. The server guarantees that for + * at least 60 minutes after the first request. * For example, consider a situation where you make an initial request and the * request times out. If you make the request again with the same request ID, * the server can check if original operation with the same request ID was