diff --git a/Deploy/metadata/V1/CloudDeploy.php b/Deploy/metadata/V1/CloudDeploy.php
index a0e8102a4107..e55a683f02bc 100644
Binary files a/Deploy/metadata/V1/CloudDeploy.php and b/Deploy/metadata/V1/CloudDeploy.php differ
diff --git a/Deploy/src/V1/AssociatedEntities.php b/Deploy/src/V1/AssociatedEntities.php
new file mode 100644
index 000000000000..3a6e382e89e5
--- /dev/null
+++ b/Deploy/src/V1/AssociatedEntities.php
@@ -0,0 +1,101 @@
+google.cloud.deploy.v1.AssociatedEntities
+ */
+class AssociatedEntities extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Information specifying GKE clusters as associated entities.
+ *
+ * Generated from protobuf field repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $gke_clusters;
+ /**
+ * Optional. Information specifying Anthos clusters as associated entities.
+ *
+ * Generated from protobuf field repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $anthos_clusters;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Deploy\V1\GkeCluster>|\Google\Protobuf\Internal\RepeatedField $gke_clusters
+ * Optional. Information specifying GKE clusters as associated entities.
+ * @type array<\Google\Cloud\Deploy\V1\AnthosCluster>|\Google\Protobuf\Internal\RepeatedField $anthos_clusters
+ * Optional. Information specifying Anthos clusters as associated entities.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Deploy\V1\CloudDeploy::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Information specifying GKE clusters as associated entities.
+ *
+ * Generated from protobuf field repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getGkeClusters()
+ {
+ return $this->gke_clusters;
+ }
+
+ /**
+ * Optional. Information specifying GKE clusters as associated entities.
+ *
+ * Generated from protobuf field repeated .google.cloud.deploy.v1.GkeCluster gke_clusters = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\Deploy\V1\GkeCluster>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setGkeClusters($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Deploy\V1\GkeCluster::class);
+ $this->gke_clusters = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Information specifying Anthos clusters as associated entities.
+ *
+ * Generated from protobuf field repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAnthosClusters()
+ {
+ return $this->anthos_clusters;
+ }
+
+ /**
+ * Optional. Information specifying Anthos clusters as associated entities.
+ *
+ * Generated from protobuf field repeated .google.cloud.deploy.v1.AnthosCluster anthos_clusters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\Deploy\V1\AnthosCluster>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAnthosClusters($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Deploy\V1\AnthosCluster::class);
+ $this->anthos_clusters = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/Deploy/src/V1/Client/CloudDeployClient.php b/Deploy/src/V1/Client/CloudDeployClient.php
index 48adb7913db0..4bfac1aa9005 100644
--- a/Deploy/src/V1/Client/CloudDeployClient.php
+++ b/Deploy/src/V1/Client/CloudDeployClient.php
@@ -122,56 +122,56 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
- * @method PromiseInterface abandonReleaseAsync(AbandonReleaseRequest $request, array $optionalArgs = [])
- * @method PromiseInterface advanceRolloutAsync(AdvanceRolloutRequest $request, array $optionalArgs = [])
- * @method PromiseInterface approveRolloutAsync(ApproveRolloutRequest $request, array $optionalArgs = [])
- * @method PromiseInterface cancelAutomationRunAsync(CancelAutomationRunRequest $request, array $optionalArgs = [])
- * @method PromiseInterface cancelRolloutAsync(CancelRolloutRequest $request, array $optionalArgs = [])
- * @method PromiseInterface createAutomationAsync(CreateAutomationRequest $request, array $optionalArgs = [])
- * @method PromiseInterface createCustomTargetTypeAsync(CreateCustomTargetTypeRequest $request, array $optionalArgs = [])
- * @method PromiseInterface createDeliveryPipelineAsync(CreateDeliveryPipelineRequest $request, array $optionalArgs = [])
- * @method PromiseInterface createDeployPolicyAsync(CreateDeployPolicyRequest $request, array $optionalArgs = [])
- * @method PromiseInterface createReleaseAsync(CreateReleaseRequest $request, array $optionalArgs = [])
- * @method PromiseInterface createRolloutAsync(CreateRolloutRequest $request, array $optionalArgs = [])
- * @method PromiseInterface createTargetAsync(CreateTargetRequest $request, array $optionalArgs = [])
- * @method PromiseInterface deleteAutomationAsync(DeleteAutomationRequest $request, array $optionalArgs = [])
- * @method PromiseInterface deleteCustomTargetTypeAsync(DeleteCustomTargetTypeRequest $request, array $optionalArgs = [])
- * @method PromiseInterface deleteDeliveryPipelineAsync(DeleteDeliveryPipelineRequest $request, array $optionalArgs = [])
- * @method PromiseInterface deleteDeployPolicyAsync(DeleteDeployPolicyRequest $request, array $optionalArgs = [])
- * @method PromiseInterface deleteTargetAsync(DeleteTargetRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getAutomationAsync(GetAutomationRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getAutomationRunAsync(GetAutomationRunRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getConfigAsync(GetConfigRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getCustomTargetTypeAsync(GetCustomTargetTypeRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getDeliveryPipelineAsync(GetDeliveryPipelineRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getDeployPolicyAsync(GetDeployPolicyRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getJobRunAsync(GetJobRunRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getReleaseAsync(GetReleaseRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getRolloutAsync(GetRolloutRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getTargetAsync(GetTargetRequest $request, array $optionalArgs = [])
- * @method PromiseInterface ignoreJobAsync(IgnoreJobRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listAutomationRunsAsync(ListAutomationRunsRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listAutomationsAsync(ListAutomationsRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listCustomTargetTypesAsync(ListCustomTargetTypesRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listDeliveryPipelinesAsync(ListDeliveryPipelinesRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listDeployPoliciesAsync(ListDeployPoliciesRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listJobRunsAsync(ListJobRunsRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listReleasesAsync(ListReleasesRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listRolloutsAsync(ListRolloutsRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listTargetsAsync(ListTargetsRequest $request, array $optionalArgs = [])
- * @method PromiseInterface retryJobAsync(RetryJobRequest $request, array $optionalArgs = [])
- * @method PromiseInterface rollbackTargetAsync(RollbackTargetRequest $request, array $optionalArgs = [])
- * @method PromiseInterface terminateJobRunAsync(TerminateJobRunRequest $request, array $optionalArgs = [])
- * @method PromiseInterface updateAutomationAsync(UpdateAutomationRequest $request, array $optionalArgs = [])
- * @method PromiseInterface updateCustomTargetTypeAsync(UpdateCustomTargetTypeRequest $request, array $optionalArgs = [])
- * @method PromiseInterface updateDeliveryPipelineAsync(UpdateDeliveryPipelineRequest $request, array $optionalArgs = [])
- * @method PromiseInterface updateDeployPolicyAsync(UpdateDeployPolicyRequest $request, array $optionalArgs = [])
- * @method PromiseInterface updateTargetAsync(UpdateTargetRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
- * @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
- * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRequest $request, array $optionalArgs = [])
- * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRequest $request, array $optionalArgs = [])
- * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface abandonReleaseAsync(AbandonReleaseRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface advanceRolloutAsync(AdvanceRolloutRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface approveRolloutAsync(ApproveRolloutRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface cancelAutomationRunAsync(CancelAutomationRunRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface cancelRolloutAsync(CancelRolloutRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface createAutomationAsync(CreateAutomationRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface createCustomTargetTypeAsync(CreateCustomTargetTypeRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface createDeliveryPipelineAsync(CreateDeliveryPipelineRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface createDeployPolicyAsync(CreateDeployPolicyRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface createReleaseAsync(CreateReleaseRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface createRolloutAsync(CreateRolloutRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface createTargetAsync(CreateTargetRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface deleteAutomationAsync(DeleteAutomationRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface deleteCustomTargetTypeAsync(DeleteCustomTargetTypeRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface deleteDeliveryPipelineAsync(DeleteDeliveryPipelineRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface deleteDeployPolicyAsync(DeleteDeployPolicyRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface deleteTargetAsync(DeleteTargetRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getAutomationAsync(GetAutomationRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getAutomationRunAsync(GetAutomationRunRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getConfigAsync(GetConfigRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getCustomTargetTypeAsync(GetCustomTargetTypeRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getDeliveryPipelineAsync(GetDeliveryPipelineRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getDeployPolicyAsync(GetDeployPolicyRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getJobRunAsync(GetJobRunRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getReleaseAsync(GetReleaseRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getRolloutAsync(GetRolloutRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getTargetAsync(GetTargetRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface ignoreJobAsync(IgnoreJobRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listAutomationRunsAsync(ListAutomationRunsRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listAutomationsAsync(ListAutomationsRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listCustomTargetTypesAsync(ListCustomTargetTypesRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listDeliveryPipelinesAsync(ListDeliveryPipelinesRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listDeployPoliciesAsync(ListDeployPoliciesRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listJobRunsAsync(ListJobRunsRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listReleasesAsync(ListReleasesRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listRolloutsAsync(ListRolloutsRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listTargetsAsync(ListTargetsRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface retryJobAsync(RetryJobRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface rollbackTargetAsync(RollbackTargetRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface terminateJobRunAsync(TerminateJobRunRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface updateAutomationAsync(UpdateAutomationRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface updateCustomTargetTypeAsync(UpdateCustomTargetTypeRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface updateDeliveryPipelineAsync(UpdateDeliveryPipelineRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface updateDeployPolicyAsync(UpdateDeployPolicyRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface updateTargetAsync(UpdateTargetRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface getIamPolicyAsync(GetIamPolicyRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface setIamPolicyAsync(SetIamPolicyRequest $request, array $optionalArgs = [])
+ * @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRequest $request, array $optionalArgs = [])
*/
final class CloudDeployClient
{
diff --git a/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh.php b/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh.php
index 0f84cf1fe5f5..9543fd18a7eb 100644
--- a/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh.php
+++ b/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh.php
@@ -58,6 +58,16 @@ class GatewayServiceMesh extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string pod_selector_label = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
protected $pod_selector_label = '';
+ /**
+ * Optional. Route destinations allow configuring the Gateway API HTTPRoute
+ * to be deployed to additional clusters. This option is available for
+ * multi-cluster service mesh set ups that require the route to exist in the
+ * clusters that call the service. If unspecified, the HTTPRoute will only
+ * be deployed to the Target cluster.
+ *
+ * Generated from protobuf field .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations route_destinations = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $route_destinations = null;
/**
* Constructor.
@@ -84,6 +94,12 @@ class GatewayServiceMesh extends \Google\Protobuf\Internal\Message
* @type string $pod_selector_label
* Optional. The label to use when selecting Pods for the Deployment and
* Service resources. This label must already be present in both resources.
+ * @type \Google\Cloud\Deploy\V1\KubernetesConfig\GatewayServiceMesh\RouteDestinations $route_destinations
+ * Optional. Route destinations allow configuring the Gateway API HTTPRoute
+ * to be deployed to additional clusters. This option is available for
+ * multi-cluster service mesh set ups that require the route to exist in the
+ * clusters that call the service. If unspecified, the HTTPRoute will only
+ * be deployed to the Target cluster.
* }
*/
public function __construct($data = NULL) {
@@ -281,6 +297,50 @@ public function setPodSelectorLabel($var)
return $this;
}
+ /**
+ * Optional. Route destinations allow configuring the Gateway API HTTPRoute
+ * to be deployed to additional clusters. This option is available for
+ * multi-cluster service mesh set ups that require the route to exist in the
+ * clusters that call the service. If unspecified, the HTTPRoute will only
+ * be deployed to the Target cluster.
+ *
+ * Generated from protobuf field .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations route_destinations = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Deploy\V1\KubernetesConfig\GatewayServiceMesh\RouteDestinations|null
+ */
+ public function getRouteDestinations()
+ {
+ return $this->route_destinations;
+ }
+
+ public function hasRouteDestinations()
+ {
+ return isset($this->route_destinations);
+ }
+
+ public function clearRouteDestinations()
+ {
+ unset($this->route_destinations);
+ }
+
+ /**
+ * Optional. Route destinations allow configuring the Gateway API HTTPRoute
+ * to be deployed to additional clusters. This option is available for
+ * multi-cluster service mesh set ups that require the route to exist in the
+ * clusters that call the service. If unspecified, the HTTPRoute will only
+ * be deployed to the Target cluster.
+ *
+ * Generated from protobuf field .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations route_destinations = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Deploy\V1\KubernetesConfig\GatewayServiceMesh\RouteDestinations $var
+ * @return $this
+ */
+ public function setRouteDestinations($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Deploy\V1\KubernetesConfig\GatewayServiceMesh\RouteDestinations::class);
+ $this->route_destinations = $var;
+
+ return $this;
+ }
+
}
diff --git a/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh/RouteDestinations.php b/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh/RouteDestinations.php
new file mode 100644
index 000000000000..d0cb3f721d2d
--- /dev/null
+++ b/Deploy/src/V1/KubernetesConfig/GatewayServiceMesh/RouteDestinations.php
@@ -0,0 +1,130 @@
+google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations
+ */
+class RouteDestinations extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The clusters where the Gateway API HTTPRoute resource will be
+ * deployed to. Valid entries include the associated entities IDs
+ * configured in the Target resource and "@self" to include the Target
+ * cluster.
+ *
+ * Generated from protobuf field repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $destination_ids;
+ /**
+ * Optional. Whether to propagate the Kubernetes Service to the route
+ * destination clusters. The Service will always be deployed to the Target
+ * cluster even if the HTTPRoute is not. This option may be used to
+ * facilitiate successful DNS lookup in the route destination clusters.
+ * Can only be set to true if destinations are specified.
+ *
+ * Generated from protobuf field bool propagate_service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $propagate_service = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array|\Google\Protobuf\Internal\RepeatedField $destination_ids
+ * Required. The clusters where the Gateway API HTTPRoute resource will be
+ * deployed to. Valid entries include the associated entities IDs
+ * configured in the Target resource and "@self" to include the Target
+ * cluster.
+ * @type bool $propagate_service
+ * Optional. Whether to propagate the Kubernetes Service to the route
+ * destination clusters. The Service will always be deployed to the Target
+ * cluster even if the HTTPRoute is not. This option may be used to
+ * facilitiate successful DNS lookup in the route destination clusters.
+ * Can only be set to true if destinations are specified.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Deploy\V1\CloudDeploy::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The clusters where the Gateway API HTTPRoute resource will be
+ * deployed to. Valid entries include the associated entities IDs
+ * configured in the Target resource and "@self" to include the Target
+ * cluster.
+ *
+ * Generated from protobuf field repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDestinationIds()
+ {
+ return $this->destination_ids;
+ }
+
+ /**
+ * Required. The clusters where the Gateway API HTTPRoute resource will be
+ * deployed to. Valid entries include the associated entities IDs
+ * configured in the Target resource and "@self" to include the Target
+ * cluster.
+ *
+ * Generated from protobuf field repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDestinationIds($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->destination_ids = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Whether to propagate the Kubernetes Service to the route
+ * destination clusters. The Service will always be deployed to the Target
+ * cluster even if the HTTPRoute is not. This option may be used to
+ * facilitiate successful DNS lookup in the route destination clusters.
+ * Can only be set to true if destinations are specified.
+ *
+ * Generated from protobuf field bool propagate_service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getPropagateService()
+ {
+ return $this->propagate_service;
+ }
+
+ /**
+ * Optional. Whether to propagate the Kubernetes Service to the route
+ * destination clusters. The Service will always be deployed to the Target
+ * cluster even if the HTTPRoute is not. This option may be used to
+ * facilitiate successful DNS lookup in the route destination clusters.
+ * Can only be set to true if destinations are specified.
+ *
+ * Generated from protobuf field bool propagate_service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setPropagateService($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->propagate_service = $var;
+
+ return $this;
+ }
+
+}
+
+
diff --git a/Deploy/src/V1/RepairPhaseConfig.php b/Deploy/src/V1/RepairPhaseConfig.php
new file mode 100644
index 000000000000..073057c13470
--- /dev/null
+++ b/Deploy/src/V1/RepairPhaseConfig.php
@@ -0,0 +1,108 @@
+google.cloud.deploy.v1.RepairPhaseConfig
+ */
+class RepairPhaseConfig extends \Google\Protobuf\Internal\Message
+{
+ protected $repair_phase;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Deploy\V1\Retry $retry
+ * Optional. Retries a failed job.
+ * @type \Google\Cloud\Deploy\V1\Rollback $rollback
+ * Optional. Rolls back a `Rollout`.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Deploy\V1\CloudDeploy::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Retries a failed job.
+ *
+ * Generated from protobuf field .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Deploy\V1\Retry|null
+ */
+ public function getRetry()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasRetry()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Optional. Retries a failed job.
+ *
+ * Generated from protobuf field .google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Deploy\V1\Retry $var
+ * @return $this
+ */
+ public function setRetry($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Deploy\V1\Retry::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. Rolls back a `Rollout`.
+ *
+ * Generated from protobuf field .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Deploy\V1\Rollback|null
+ */
+ public function getRollback()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasRollback()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Optional. Rolls back a `Rollout`.
+ *
+ * Generated from protobuf field .google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Deploy\V1\Rollback $var
+ * @return $this
+ */
+ public function setRollback($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Deploy\V1\Rollback::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getRepairPhase()
+ {
+ return $this->whichOneof("repair_phase");
+ }
+
+}
+
diff --git a/Deploy/src/V1/RepairRolloutOperation.php b/Deploy/src/V1/RepairRolloutOperation.php
index 8db984466a7f..070ec32be411 100644
--- a/Deploy/src/V1/RepairRolloutOperation.php
+++ b/Deploy/src/V1/RepairRolloutOperation.php
@@ -21,6 +21,12 @@ class RepairRolloutOperation extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
protected $rollout = '';
+ /**
+ * Output only. The index of the current repair action in the repair sequence.
+ *
+ * Generated from protobuf field int64 current_repair_phase_index = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $current_repair_phase_index = 0;
/**
* Output only. Records of the repair attempts. Each repair phase may have
* multiple retry attempts or single rollback attempt.
@@ -50,6 +56,8 @@ class RepairRolloutOperation extends \Google\Protobuf\Internal\Message
*
* @type string $rollout
* Output only. The name of the rollout that initiates the `AutomationRun`.
+ * @type int|string $current_repair_phase_index
+ * Output only. The index of the current repair action in the repair sequence.
* @type array<\Google\Cloud\Deploy\V1\RepairPhase>|\Google\Protobuf\Internal\RepeatedField $repair_phases
* Output only. Records of the repair attempts. Each repair phase may have
* multiple retry attempts or single rollback attempt.
@@ -91,6 +99,32 @@ public function setRollout($var)
return $this;
}
+ /**
+ * Output only. The index of the current repair action in the repair sequence.
+ *
+ * Generated from protobuf field int64 current_repair_phase_index = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getCurrentRepairPhaseIndex()
+ {
+ return $this->current_repair_phase_index;
+ }
+
+ /**
+ * Output only. The index of the current repair action in the repair sequence.
+ *
+ * Generated from protobuf field int64 current_repair_phase_index = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setCurrentRepairPhaseIndex($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->current_repair_phase_index = $var;
+
+ return $this;
+ }
+
/**
* Output only. Records of the repair attempts. Each repair phase may have
* multiple retry attempts or single rollback attempt.
diff --git a/Deploy/src/V1/RepairRolloutRule.php b/Deploy/src/V1/RepairRolloutRule.php
index e562296f3300..86ab43ecfc5d 100644
--- a/Deploy/src/V1/RepairRolloutRule.php
+++ b/Deploy/src/V1/RepairRolloutRule.php
@@ -24,6 +24,17 @@ class RepairRolloutRule extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED];
*/
protected $id = '';
+ /**
+ * Optional. Phases within which jobs are subject to automatic repair actions
+ * on failure. Proceeds only after phase name matched any one in the list, or
+ * for all phases if unspecified. This value must consist of lower-case
+ * letters, numbers, and hyphens, start with a letter and end with a letter or
+ * a number, and have a max length of 63 characters. In other words, it must
+ * match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ *
+ * Generated from protobuf field repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $phases;
/**
* Optional. Jobs to repair. Proceeds only after job name matched any one in
* the list, or for all jobs if unspecified or empty. The phase that includes
@@ -42,6 +53,12 @@ class RepairRolloutRule extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
protected $condition = null;
+ /**
+ * Required. Defines the types of automatic repair phases for failed jobs.
+ *
+ * Generated from protobuf field repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $repair_phases;
/**
* Constructor.
@@ -53,6 +70,13 @@ class RepairRolloutRule extends \Google\Protobuf\Internal\Message
* Required. ID of the rule. This id must be unique in the `Automation`
* resource to which this rule belongs. The format is
* `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
+ * @type array|\Google\Protobuf\Internal\RepeatedField $phases
+ * Optional. Phases within which jobs are subject to automatic repair actions
+ * on failure. Proceeds only after phase name matched any one in the list, or
+ * for all phases if unspecified. This value must consist of lower-case
+ * letters, numbers, and hyphens, start with a letter and end with a letter or
+ * a number, and have a max length of 63 characters. In other words, it must
+ * match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
* @type array|\Google\Protobuf\Internal\RepeatedField $jobs
* Optional. Jobs to repair. Proceeds only after job name matched any one in
* the list, or for all jobs if unspecified or empty. The phase that includes
@@ -63,6 +87,8 @@ class RepairRolloutRule extends \Google\Protobuf\Internal\Message
* `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
* @type \Google\Cloud\Deploy\V1\AutomationRuleCondition $condition
* Output only. Information around the state of the 'Automation' rule.
+ * @type array<\Google\Cloud\Deploy\V1\RepairPhaseConfig>|\Google\Protobuf\Internal\RepeatedField $repair_phases
+ * Required. Defines the types of automatic repair phases for failed jobs.
* }
*/
public function __construct($data = NULL) {
@@ -100,6 +126,42 @@ public function setId($var)
return $this;
}
+ /**
+ * Optional. Phases within which jobs are subject to automatic repair actions
+ * on failure. Proceeds only after phase name matched any one in the list, or
+ * for all phases if unspecified. This value must consist of lower-case
+ * letters, numbers, and hyphens, start with a letter and end with a letter or
+ * a number, and have a max length of 63 characters. In other words, it must
+ * match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ *
+ * Generated from protobuf field repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPhases()
+ {
+ return $this->phases;
+ }
+
+ /**
+ * Optional. Phases within which jobs are subject to automatic repair actions
+ * on failure. Proceeds only after phase name matched any one in the list, or
+ * for all phases if unspecified. This value must consist of lower-case
+ * letters, numbers, and hyphens, start with a letter and end with a letter or
+ * a number, and have a max length of 63 characters. In other words, it must
+ * match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ *
+ * Generated from protobuf field repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setPhases($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->phases = $arr;
+
+ return $this;
+ }
+
/**
* Optional. Jobs to repair. Proceeds only after job name matched any one in
* the list, or for all jobs if unspecified or empty. The phase that includes
@@ -174,5 +236,31 @@ public function setCondition($var)
return $this;
}
+ /**
+ * Required. Defines the types of automatic repair phases for failed jobs.
+ *
+ * Generated from protobuf field repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRepairPhases()
+ {
+ return $this->repair_phases;
+ }
+
+ /**
+ * Required. Defines the types of automatic repair phases for failed jobs.
+ *
+ * Generated from protobuf field repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
+ * @param array<\Google\Cloud\Deploy\V1\RepairPhaseConfig>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setRepairPhases($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Deploy\V1\RepairPhaseConfig::class);
+ $this->repair_phases = $arr;
+
+ return $this;
+ }
+
}
diff --git a/Deploy/src/V1/Rollback.php b/Deploy/src/V1/Rollback.php
index 62a577b8775e..6d1360a23bcd 100644
--- a/Deploy/src/V1/Rollback.php
+++ b/Deploy/src/V1/Rollback.php
@@ -22,6 +22,13 @@ class Rollback extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string destination_phase = 1 [(.google.api.field_behavior) = OPTIONAL];
*/
protected $destination_phase = '';
+ /**
+ * Optional. If pending rollout exists on the target, the rollback operation
+ * will be aborted.
+ *
+ * Generated from protobuf field bool disable_rollback_if_rollout_pending = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $disable_rollback_if_rollout_pending = false;
/**
* Constructor.
@@ -32,6 +39,9 @@ class Rollback extends \Google\Protobuf\Internal\Message
* @type string $destination_phase
* Optional. The starting phase ID for the `Rollout`. If unspecified, the
* `Rollout` will start in the stable phase.
+ * @type bool $disable_rollback_if_rollout_pending
+ * Optional. If pending rollout exists on the target, the rollback operation
+ * will be aborted.
* }
*/
public function __construct($data = NULL) {
@@ -67,5 +77,33 @@ public function setDestinationPhase($var)
return $this;
}
+ /**
+ * Optional. If pending rollout exists on the target, the rollback operation
+ * will be aborted.
+ *
+ * Generated from protobuf field bool disable_rollback_if_rollout_pending = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getDisableRollbackIfRolloutPending()
+ {
+ return $this->disable_rollback_if_rollout_pending;
+ }
+
+ /**
+ * Optional. If pending rollout exists on the target, the rollback operation
+ * will be aborted.
+ *
+ * Generated from protobuf field bool disable_rollback_if_rollout_pending = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setDisableRollbackIfRolloutPending($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->disable_rollback_if_rollout_pending = $var;
+
+ return $this;
+ }
+
}
diff --git a/Deploy/src/V1/RollbackAttempt.php b/Deploy/src/V1/RollbackAttempt.php
index 6cf2b0dae8d7..06b230ee7b7f 100644
--- a/Deploy/src/V1/RollbackAttempt.php
+++ b/Deploy/src/V1/RollbackAttempt.php
@@ -39,6 +39,12 @@ class RollbackAttempt extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
protected $state_desc = '';
+ /**
+ * Output only. If active rollout exists on the target, abort this rollback.
+ *
+ * Generated from protobuf field bool disable_rollback_if_rollout_pending = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $disable_rollback_if_rollout_pending = false;
/**
* Constructor.
@@ -54,6 +60,8 @@ class RollbackAttempt extends \Google\Protobuf\Internal\Message
* Output only. Valid state of this rollback action.
* @type string $state_desc
* Output only. Description of the state of the Rollback.
+ * @type bool $disable_rollback_if_rollout_pending
+ * Output only. If active rollout exists on the target, abort this rollback.
* }
*/
public function __construct($data = NULL) {
@@ -165,5 +173,31 @@ public function setStateDesc($var)
return $this;
}
+ /**
+ * Output only. If active rollout exists on the target, abort this rollback.
+ *
+ * Generated from protobuf field bool disable_rollback_if_rollout_pending = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getDisableRollbackIfRolloutPending()
+ {
+ return $this->disable_rollback_if_rollout_pending;
+ }
+
+ /**
+ * Output only. If active rollout exists on the target, abort this rollback.
+ *
+ * Generated from protobuf field bool disable_rollback_if_rollout_pending = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setDisableRollbackIfRolloutPending($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->disable_rollback_if_rollout_pending = $var;
+
+ return $this;
+ }
+
}
diff --git a/Deploy/src/V1/Rollout.php b/Deploy/src/V1/Rollout.php
index 4a50ee1c678b..889163f01844 100644
--- a/Deploy/src/V1/Rollout.php
+++ b/Deploy/src/V1/Rollout.php
@@ -169,6 +169,12 @@ class Rollout extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private $rolled_back_by_rollouts;
+ /**
+ * Output only. The AutomationRun actively repairing the rollout.
+ *
+ * Generated from protobuf field string active_repair_automation_run = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $active_repair_automation_run = '';
/**
* Constructor.
@@ -241,6 +247,8 @@ class Rollout extends \Google\Protobuf\Internal\Message
* Empty if this `Rollout` wasn't created as a rollback.
* @type array|\Google\Protobuf\Internal\RepeatedField $rolled_back_by_rollouts
* Output only. Names of `Rollouts` that rolled back this `Rollout`.
+ * @type string $active_repair_automation_run
+ * Output only. The AutomationRun actively repairing the rollout.
* }
*/
public function __construct($data = NULL) {
@@ -922,5 +930,31 @@ public function setRolledBackByRollouts($var)
return $this;
}
+ /**
+ * Output only. The AutomationRun actively repairing the rollout.
+ *
+ * Generated from protobuf field string active_repair_automation_run = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getActiveRepairAutomationRun()
+ {
+ return $this->active_repair_automation_run;
+ }
+
+ /**
+ * Output only. The AutomationRun actively repairing the rollout.
+ *
+ * Generated from protobuf field string active_repair_automation_run = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setActiveRepairAutomationRun($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->active_repair_automation_run = $var;
+
+ return $this;
+ }
+
}
diff --git a/Deploy/src/V1/Target.php b/Deploy/src/V1/Target.php
index 8e17d8f3b811..70f1b0a03e49 100644
--- a/Deploy/src/V1/Target.php
+++ b/Deploy/src/V1/Target.php
@@ -84,6 +84,19 @@ class Target extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
protected $update_time = null;
+ /**
+ * Optional. Map of entity IDs to their associated entities. Associated
+ * entities allows specifying places other than the deployment target for
+ * specific features. For example, the Gateway API canary can be configured to
+ * deploy the HTTPRoute to a different cluster(s) than the deployment cluster
+ * using associated entities. An entity ID must consist of lower-case letters,
+ * numbers, and hyphens, start with a letter and end with a letter or a
+ * number, and have a max length of 63 characters. In other words, it must
+ * match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ *
+ * Generated from protobuf field map associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $associated_entities;
/**
* Optional. This checksum is computed by the server based on the value of
* other fields, and may be sent on update and delete requests to ensure the
@@ -159,6 +172,15 @@ class Target extends \Google\Protobuf\Internal\Message
* Optional. Information specifying a multiTarget.
* @type \Google\Cloud\Deploy\V1\CustomTarget $custom_target
* Optional. Information specifying a Custom Target.
+ * @type array|\Google\Protobuf\Internal\MapField $associated_entities
+ * Optional. Map of entity IDs to their associated entities. Associated
+ * entities allows specifying places other than the deployment target for
+ * specific features. For example, the Gateway API canary can be configured to
+ * deploy the HTTPRoute to a different cluster(s) than the deployment cluster
+ * using associated entities. An entity ID must consist of lower-case letters,
+ * numbers, and hyphens, start with a letter and end with a letter or a
+ * number, and have a max length of 63 characters. In other words, it must
+ * match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
* @type string $etag
* Optional. This checksum is computed by the server based on the value of
* other fields, and may be sent on update and delete requests to ensure the
@@ -615,6 +637,46 @@ public function setCustomTarget($var)
return $this;
}
+ /**
+ * Optional. Map of entity IDs to their associated entities. Associated
+ * entities allows specifying places other than the deployment target for
+ * specific features. For example, the Gateway API canary can be configured to
+ * deploy the HTTPRoute to a different cluster(s) than the deployment cluster
+ * using associated entities. An entity ID must consist of lower-case letters,
+ * numbers, and hyphens, start with a letter and end with a letter or a
+ * number, and have a max length of 63 characters. In other words, it must
+ * match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ *
+ * Generated from protobuf field map associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getAssociatedEntities()
+ {
+ return $this->associated_entities;
+ }
+
+ /**
+ * Optional. Map of entity IDs to their associated entities. Associated
+ * entities allows specifying places other than the deployment target for
+ * specific features. For example, the Gateway API canary can be configured to
+ * deploy the HTTPRoute to a different cluster(s) than the deployment cluster
+ * using associated entities. An entity ID must consist of lower-case letters,
+ * numbers, and hyphens, start with a letter and end with a letter or a
+ * number, and have a max length of 63 characters. In other words, it must
+ * match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
+ *
+ * Generated from protobuf field map associated_entities = 23 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setAssociatedEntities($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Deploy\V1\AssociatedEntities::class);
+ $this->associated_entities = $arr;
+
+ return $this;
+ }
+
/**
* Optional. This checksum is computed by the server based on the value of
* other fields, and may be sent on update and delete requests to ensure the
diff --git a/Deploy/tests/Unit/V1/Client/CloudDeployClientTest.php b/Deploy/tests/Unit/V1/Client/CloudDeployClientTest.php
index afb8c134eed8..9229e8618074 100644
--- a/Deploy/tests/Unit/V1/Client/CloudDeployClientTest.php
+++ b/Deploy/tests/Unit/V1/Client/CloudDeployClientTest.php
@@ -1306,6 +1306,7 @@ public function createRolloutTest()
$etag = 'etag3123477';
$controllerRollout = 'controllerRollout-146558962';
$rollbackOfRollout = 'rollbackOfRollout-1880699004';
+ $activeRepairAutomationRun = 'activeRepairAutomationRun-2089265700';
$expectedResponse = new Rollout();
$expectedResponse->setName($name);
$expectedResponse->setUid($uid);
@@ -1316,6 +1317,7 @@ public function createRolloutTest()
$expectedResponse->setEtag($etag);
$expectedResponse->setControllerRollout($controllerRollout);
$expectedResponse->setRollbackOfRollout($rollbackOfRollout);
+ $expectedResponse->setActiveRepairAutomationRun($activeRepairAutomationRun);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
@@ -2824,6 +2826,7 @@ public function getRolloutTest()
$etag = 'etag3123477';
$controllerRollout = 'controllerRollout-146558962';
$rollbackOfRollout = 'rollbackOfRollout-1880699004';
+ $activeRepairAutomationRun = 'activeRepairAutomationRun-2089265700';
$expectedResponse = new Rollout();
$expectedResponse->setName($name2);
$expectedResponse->setUid($uid);
@@ -2834,6 +2837,7 @@ public function getRolloutTest()
$expectedResponse->setEtag($etag);
$expectedResponse->setControllerRollout($controllerRollout);
$expectedResponse->setRollbackOfRollout($rollbackOfRollout);
+ $expectedResponse->setActiveRepairAutomationRun($activeRepairAutomationRun);
$transport->addResponse($expectedResponse);
// Mock request
$formattedName = $gapicClient->rolloutName(