diff --git a/Deploy/src/V1/Range.php b/Deploy/src/V1/Range.php
deleted file mode 100644
index f282b2254cd5..000000000000
--- a/Deploy/src/V1/Range.php
+++ /dev/null
@@ -1,243 +0,0 @@
-google.cloud.deploy.v1.Range
- */
-class Range extends \Google\Protobuf\Internal\Message
-{
- /**
- * Start date.
- *
- * Generated from protobuf field .google.type.Date start_date = 1;
- */
- protected $start_date = null;
- /**
- * End date.
- *
- * Generated from protobuf field .google.type.Date end_date = 2;
- */
- protected $end_date = null;
- /**
- * Start time of day.
- *
- * Generated from protobuf field .google.type.TimeOfDay start_time_of_day = 3;
- */
- protected $start_time_of_day = null;
- /**
- * End time of day.
- *
- * Generated from protobuf field .google.type.TimeOfDay end_time_of_day = 4;
- */
- protected $end_time_of_day = null;
- /**
- * Days of week.
- *
- * Generated from protobuf field repeated .google.type.DayOfWeek day_of_week = 5;
- */
- private $day_of_week;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Type\Date $start_date
- * Start date.
- * @type \Google\Type\Date $end_date
- * End date.
- * @type \Google\Type\TimeOfDay $start_time_of_day
- * Start time of day.
- * @type \Google\Type\TimeOfDay $end_time_of_day
- * End time of day.
- * @type array|\Google\Protobuf\Internal\RepeatedField $day_of_week
- * Days of week.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Deploy\V1\CloudDeploy::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Start date.
- *
- * Generated from protobuf field .google.type.Date start_date = 1;
- * @return \Google\Type\Date|null
- */
- public function getStartDate()
- {
- return $this->start_date;
- }
-
- public function hasStartDate()
- {
- return isset($this->start_date);
- }
-
- public function clearStartDate()
- {
- unset($this->start_date);
- }
-
- /**
- * Start date.
- *
- * Generated from protobuf field .google.type.Date start_date = 1;
- * @param \Google\Type\Date $var
- * @return $this
- */
- public function setStartDate($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\Date::class);
- $this->start_date = $var;
-
- return $this;
- }
-
- /**
- * End date.
- *
- * Generated from protobuf field .google.type.Date end_date = 2;
- * @return \Google\Type\Date|null
- */
- public function getEndDate()
- {
- return $this->end_date;
- }
-
- public function hasEndDate()
- {
- return isset($this->end_date);
- }
-
- public function clearEndDate()
- {
- unset($this->end_date);
- }
-
- /**
- * End date.
- *
- * Generated from protobuf field .google.type.Date end_date = 2;
- * @param \Google\Type\Date $var
- * @return $this
- */
- public function setEndDate($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\Date::class);
- $this->end_date = $var;
-
- return $this;
- }
-
- /**
- * Start time of day.
- *
- * Generated from protobuf field .google.type.TimeOfDay start_time_of_day = 3;
- * @return \Google\Type\TimeOfDay|null
- */
- public function getStartTimeOfDay()
- {
- return $this->start_time_of_day;
- }
-
- public function hasStartTimeOfDay()
- {
- return isset($this->start_time_of_day);
- }
-
- public function clearStartTimeOfDay()
- {
- unset($this->start_time_of_day);
- }
-
- /**
- * Start time of day.
- *
- * Generated from protobuf field .google.type.TimeOfDay start_time_of_day = 3;
- * @param \Google\Type\TimeOfDay $var
- * @return $this
- */
- public function setStartTimeOfDay($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\TimeOfDay::class);
- $this->start_time_of_day = $var;
-
- return $this;
- }
-
- /**
- * End time of day.
- *
- * Generated from protobuf field .google.type.TimeOfDay end_time_of_day = 4;
- * @return \Google\Type\TimeOfDay|null
- */
- public function getEndTimeOfDay()
- {
- return $this->end_time_of_day;
- }
-
- public function hasEndTimeOfDay()
- {
- return isset($this->end_time_of_day);
- }
-
- public function clearEndTimeOfDay()
- {
- unset($this->end_time_of_day);
- }
-
- /**
- * End time of day.
- *
- * Generated from protobuf field .google.type.TimeOfDay end_time_of_day = 4;
- * @param \Google\Type\TimeOfDay $var
- * @return $this
- */
- public function setEndTimeOfDay($var)
- {
- GPBUtil::checkMessage($var, \Google\Type\TimeOfDay::class);
- $this->end_time_of_day = $var;
-
- return $this;
- }
-
- /**
- * Days of week.
- *
- * Generated from protobuf field repeated .google.type.DayOfWeek day_of_week = 5;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDayOfWeek()
- {
- return $this->day_of_week;
- }
-
- /**
- * Days of week.
- *
- * Generated from protobuf field repeated .google.type.DayOfWeek day_of_week = 5;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setDayOfWeek($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Type\DayOfWeek::class);
- $this->day_of_week = $arr;
-
- return $this;
- }
-
-}
-
diff --git a/Deploy/src/V1/RepairMode.php b/Deploy/src/V1/RepairMode.php
deleted file mode 100644
index fc68f99b0bb3..000000000000
--- a/Deploy/src/V1/RepairMode.php
+++ /dev/null
@@ -1,108 +0,0 @@
-google.cloud.deploy.v1.RepairMode
- */
-class RepairMode extends \Google\Protobuf\Internal\Message
-{
- protected $mode;
-
- /**
- * 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 getMode()
- {
- return $this->whichOneof("mode");
- }
-
-}
-
diff --git a/Deploy/src/V1/RestrictRollout.php b/Deploy/src/V1/RestrictRollout.php
deleted file mode 100644
index 17c96b263dd7..000000000000
--- a/Deploy/src/V1/RestrictRollout.php
+++ /dev/null
@@ -1,191 +0,0 @@
-google.cloud.deploy.v1.RestrictRollout
- */
-class RestrictRollout extends \Google\Protobuf\Internal\Message
-{
- /**
- * Optional. Restriction rule ID. Required and must be unique within a
- * DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
- *
- * Generated from protobuf field string id = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $id = '';
- /**
- * Optional. What invoked the action. If left empty, all invoker types will be
- * restricted.
- *
- * Generated from protobuf field repeated .google.cloud.deploy.v1.DeployPolicy.Invoker invokers = 6 [(.google.api.field_behavior) = OPTIONAL];
- */
- private $invokers;
- /**
- * Rollout actions to be restricted as part of the policy. If left empty, all
- * actions will be restricted.
- *
- * Generated from protobuf field repeated .google.cloud.deploy.v1.RestrictRollout.Actions actions = 3;
- */
- private $actions;
- /**
- * Required. Time window within which actions are restricted.
- *
- * Generated from protobuf field .google.cloud.deploy.v1.TimeWindow time_window = 4 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $time_window = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $id
- * Optional. Restriction rule ID. Required and must be unique within a
- * DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
- * @type array|\Google\Protobuf\Internal\RepeatedField $invokers
- * Optional. What invoked the action. If left empty, all invoker types will be
- * restricted.
- * @type array|\Google\Protobuf\Internal\RepeatedField $actions
- * Rollout actions to be restricted as part of the policy. If left empty, all
- * actions will be restricted.
- * @type \Google\Cloud\Deploy\V1\TimeWindow $time_window
- * Required. Time window within which actions are restricted.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Deploy\V1\CloudDeploy::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Optional. Restriction rule ID. Required and must be unique within a
- * DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
- *
- * Generated from protobuf field string id = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Optional. Restriction rule ID. Required and must be unique within a
- * DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
- *
- * Generated from protobuf field string id = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkString($var, True);
- $this->id = $var;
-
- return $this;
- }
-
- /**
- * Optional. What invoked the action. If left empty, all invoker types will be
- * restricted.
- *
- * Generated from protobuf field repeated .google.cloud.deploy.v1.DeployPolicy.Invoker invokers = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getInvokers()
- {
- return $this->invokers;
- }
-
- /**
- * Optional. What invoked the action. If left empty, all invoker types will be
- * restricted.
- *
- * Generated from protobuf field repeated .google.cloud.deploy.v1.DeployPolicy.Invoker invokers = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setInvokers($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Deploy\V1\DeployPolicy\Invoker::class);
- $this->invokers = $arr;
-
- return $this;
- }
-
- /**
- * Rollout actions to be restricted as part of the policy. If left empty, all
- * actions will be restricted.
- *
- * Generated from protobuf field repeated .google.cloud.deploy.v1.RestrictRollout.Actions actions = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getActions()
- {
- return $this->actions;
- }
-
- /**
- * Rollout actions to be restricted as part of the policy. If left empty, all
- * actions will be restricted.
- *
- * Generated from protobuf field repeated .google.cloud.deploy.v1.RestrictRollout.Actions actions = 3;
- * @param array|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setActions($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Deploy\V1\RestrictRollout\Actions::class);
- $this->actions = $arr;
-
- return $this;
- }
-
- /**
- * Required. Time window within which actions are restricted.
- *
- * Generated from protobuf field .google.cloud.deploy.v1.TimeWindow time_window = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Deploy\V1\TimeWindow|null
- */
- public function getTimeWindow()
- {
- return $this->time_window;
- }
-
- public function hasTimeWindow()
- {
- return isset($this->time_window);
- }
-
- public function clearTimeWindow()
- {
- unset($this->time_window);
- }
-
- /**
- * Required. Time window within which actions are restricted.
- *
- * Generated from protobuf field .google.cloud.deploy.v1.TimeWindow time_window = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Deploy\V1\TimeWindow $var
- * @return $this
- */
- public function setTimeWindow($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Deploy\V1\TimeWindow::class);
- $this->time_window = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Deploy/src/V1/RestrictRollout/Actions.php b/Deploy/src/V1/RestrictRollout/Actions.php
deleted file mode 100644
index 2f8d7d640db9..000000000000
--- a/Deploy/src/V1/RestrictRollout/Actions.php
+++ /dev/null
@@ -1,104 +0,0 @@
-google.cloud.deploy.v1.RestrictRollout.Actions
- */
-class Actions
-{
- /**
- * Unspecified.
- *
- * Generated from protobuf enum ACTIONS_UNSPECIFIED = 0;
- */
- const ACTIONS_UNSPECIFIED = 0;
- /**
- * Advance the rollout to the next phase.
- *
- * Generated from protobuf enum ADVANCE = 1;
- */
- const ADVANCE = 1;
- /**
- * Approve the rollout.
- *
- * Generated from protobuf enum APPROVE = 2;
- */
- const APPROVE = 2;
- /**
- * Cancel the rollout.
- *
- * Generated from protobuf enum CANCEL = 3;
- */
- const CANCEL = 3;
- /**
- * Create a rollout.
- *
- * Generated from protobuf enum CREATE = 4;
- */
- const CREATE = 4;
- /**
- * Ignore a job result on the rollout.
- *
- * Generated from protobuf enum IGNORE_JOB = 5;
- */
- const IGNORE_JOB = 5;
- /**
- * Retry a job for a rollout.
- *
- * Generated from protobuf enum RETRY_JOB = 6;
- */
- const RETRY_JOB = 6;
- /**
- * Rollback a rollout.
- *
- * Generated from protobuf enum ROLLBACK = 7;
- */
- const ROLLBACK = 7;
- /**
- * Terminate a jobrun.
- *
- * Generated from protobuf enum TERMINATE_JOBRUN = 8;
- */
- const TERMINATE_JOBRUN = 8;
-
- private static $valueToName = [
- self::ACTIONS_UNSPECIFIED => 'ACTIONS_UNSPECIFIED',
- self::ADVANCE => 'ADVANCE',
- self::APPROVE => 'APPROVE',
- self::CANCEL => 'CANCEL',
- self::CREATE => 'CREATE',
- self::IGNORE_JOB => 'IGNORE_JOB',
- self::RETRY_JOB => 'RETRY_JOB',
- self::ROLLBACK => 'ROLLBACK',
- self::TERMINATE_JOBRUN => 'TERMINATE_JOBRUN',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
-
diff --git a/Deploy/src/V1/TimeWindow.php b/Deploy/src/V1/TimeWindow.php
deleted file mode 100644
index bb7aafb7dda5..000000000000
--- a/Deploy/src/V1/TimeWindow.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.deploy.v1.TimeWindow
- */
-class TimeWindow extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The time zone in IANA format [IANA Time Zone
- * Database](https://www.iana.org/time-zones) (e.g. America/New_York).
- *
- * Generated from protobuf field string time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $time_zone = '';
- /**
- * Required. Range within which actions are restricted.
- *
- * Generated from protobuf field repeated .google.cloud.deploy.v1.Range ranges = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- private $ranges;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $time_zone
- * Required. The time zone in IANA format [IANA Time Zone
- * Database](https://www.iana.org/time-zones) (e.g. America/New_York).
- * @type array<\Google\Cloud\Deploy\V1\Range>|\Google\Protobuf\Internal\RepeatedField $ranges
- * Required. Range within which actions are restricted.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Deploy\V1\CloudDeploy::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The time zone in IANA format [IANA Time Zone
- * Database](https://www.iana.org/time-zones) (e.g. America/New_York).
- *
- * Generated from protobuf field string time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getTimeZone()
- {
- return $this->time_zone;
- }
-
- /**
- * Required. The time zone in IANA format [IANA Time Zone
- * Database](https://www.iana.org/time-zones) (e.g. America/New_York).
- *
- * Generated from protobuf field string time_zone = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setTimeZone($var)
- {
- GPBUtil::checkString($var, True);
- $this->time_zone = $var;
-
- return $this;
- }
-
- /**
- * Required. Range within which actions are restricted.
- *
- * Generated from protobuf field repeated .google.cloud.deploy.v1.Range ranges = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getRanges()
- {
- return $this->ranges;
- }
-
- /**
- * Required. Range within which actions are restricted.
- *
- * Generated from protobuf field repeated .google.cloud.deploy.v1.Range ranges = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param array<\Google\Cloud\Deploy\V1\Range>|\Google\Protobuf\Internal\RepeatedField $var
- * @return $this
- */
- public function setRanges($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Deploy\V1\Range::class);
- $this->ranges = $arr;
-
- return $this;
- }
-
-}
-