string breakglass_justification = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $breakglass_justification = '';
+ protected $binauthz_method;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type bool $use_default
+ * Optional. If True, indicates to use the default project's binary
+ * authorization policy. If False, binary authorization will be disabled.
+ * @type string $policy
+ * Optional. The path to a binary authorization policy.
+ * Format: `projects/{project}/platforms/cloudRun/{policy-name}`
+ * @type string $breakglass_justification
+ * Optional. If present, indicates to use Breakglass using this justification.
+ * If use_default is False, then it must be empty.
+ * For more information on breakglass, see
+ * https://cloud.google.com/binary-authorization/docs/using-breakglass
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\VendorSettings::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. If True, indicates to use the default project's binary
+ * authorization policy. If False, binary authorization will be disabled.
+ *
+ * Generated from protobuf field bool use_default = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getUseDefault()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasUseDefault()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Optional. If True, indicates to use the default project's binary
+ * authorization policy. If False, binary authorization will be disabled.
+ *
+ * Generated from protobuf field bool use_default = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setUseDefault($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. The path to a binary authorization policy.
+ * Format: `projects/{project}/platforms/cloudRun/{policy-name}`
+ *
+ * Generated from protobuf field string policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getPolicy()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasPolicy()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Optional. The path to a binary authorization policy.
+ * Format: `projects/{project}/platforms/cloudRun/{policy-name}`
+ *
+ * Generated from protobuf field string policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setPolicy($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. If present, indicates to use Breakglass using this justification.
+ * If use_default is False, then it must be empty.
+ * For more information on breakglass, see
+ * https://cloud.google.com/binary-authorization/docs/using-breakglass
+ *
+ * Generated from protobuf field string breakglass_justification = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getBreakglassJustification()
+ {
+ return $this->breakglass_justification;
+ }
+
+ /**
+ * Optional. If present, indicates to use Breakglass using this justification.
+ * If use_default is False, then it must be empty.
+ * For more information on breakglass, see
+ * https://cloud.google.com/binary-authorization/docs/using-breakglass
+ *
+ * Generated from protobuf field string breakglass_justification = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setBreakglassJustification($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->breakglass_justification = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getBinauthzMethod()
+ {
+ return $this->whichOneof("binauthz_method");
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CancelExecutionRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CancelExecutionRequest.php
new file mode 100644
index 000000000000..771e535b0e3a
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CancelExecutionRequest.php
@@ -0,0 +1,172 @@
+google.cloud.run.v2.CancelExecutionRequest
+ */
+class CancelExecutionRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the Execution to cancel.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Indicates that the request should be validated without actually
+ * cancelling any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ */
+ protected $validate_only = false;
+ /**
+ * A system-generated fingerprint for this version of the resource.
+ * This may be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ */
+ protected $etag = '';
+
+ /**
+ * @param string $name Required. The name of the Execution to cancel.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number. Please see
+ * {@see ExecutionsClient::executionName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\CancelExecutionRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the Execution to cancel.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ * @type bool $validate_only
+ * Indicates that the request should be validated without actually
+ * cancelling any resources.
+ * @type string $etag
+ * A system-generated fingerprint for this version of the resource.
+ * This may be used to detect modification conflict during updates.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Execution::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the Execution to cancel.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the Execution to cancel.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * cancelling any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * cancelling any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the resource.
+ * This may be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the resource.
+ * This may be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CloudSqlInstance.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CloudSqlInstance.php
new file mode 100644
index 000000000000..93ca08a9f462
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CloudSqlInstance.php
@@ -0,0 +1,86 @@
+google.cloud.run.v2.CloudSqlInstance
+ */
+class CloudSqlInstance extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The Cloud SQL instance connection names, as can be found in
+ * https://console.cloud.google.com/sql/instances. Visit
+ * https://cloud.google.com/sql/docs/mysql/connect-run for more information on
+ * how to connect Cloud SQL and Cloud Run. Format:
+ * {project}:{location}:{instance}
+ *
+ * Generated from protobuf field repeated string instances = 1;
+ */
+ private $instances;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string instances = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+
+ /**
+ * The Cloud SQL instance connection names, as can be found in
+ * https://console.cloud.google.com/sql/instances. Visit
+ * https://cloud.google.com/sql/docs/mysql/connect-run for more information on
+ * how to connect Cloud SQL and Cloud Run. Format:
+ * {project}:{location}:{instance}
+ *
+ * Generated from protobuf field repeated string instances = 1;
+ * @param arraystring type = 1;
+ */
+ protected $type = '';
+ /**
+ * State of the condition.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.State state = 2;
+ */
+ protected $state = 0;
+ /**
+ * Human readable message indicating details about the current status.
+ *
+ * Generated from protobuf field string message = 3;
+ */
+ protected $message = '';
+ /**
+ * Last time the condition transitioned from one status to another.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp last_transition_time = 4;
+ */
+ protected $last_transition_time = null;
+ /**
+ * How to interpret failures of this condition, one of Error, Warning, Info
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.Severity severity = 5;
+ */
+ protected $severity = 0;
+ protected $reasons;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $type
+ * type is used to communicate the status of the reconciliation process.
+ * See also:
+ * https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting
+ * Types common to all resources include:
+ * * "Ready": True when the Resource is ready.
+ * @type int $state
+ * State of the condition.
+ * @type string $message
+ * Human readable message indicating details about the current status.
+ * @type \Google\Protobuf\Timestamp $last_transition_time
+ * Last time the condition transitioned from one status to another.
+ * @type int $severity
+ * How to interpret failures of this condition, one of Error, Warning, Info
+ * @type int $reason
+ * Output only. A common (service-level) reason for this condition.
+ * @type int $revision_reason
+ * Output only. A reason for the revision condition.
+ * @type int $execution_reason
+ * Output only. A reason for the execution condition.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Condition::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * type is used to communicate the status of the reconciliation process.
+ * See also:
+ * https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting
+ * Types common to all resources include:
+ * * "Ready": True when the Resource is ready.
+ *
+ * Generated from protobuf field string type = 1;
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ /**
+ * type is used to communicate the status of the reconciliation process.
+ * See also:
+ * https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting
+ * Types common to all resources include:
+ * * "Ready": True when the Resource is ready.
+ *
+ * Generated from protobuf field string type = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->type = $var;
+
+ return $this;
+ }
+
+ /**
+ * State of the condition.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.State state = 2;
+ * @return int
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * State of the condition.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.State state = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\Condition\State::class);
+ $this->state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Human readable message indicating details about the current status.
+ *
+ * Generated from protobuf field string message = 3;
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ /**
+ * Human readable message indicating details about the current status.
+ *
+ * Generated from protobuf field string message = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setMessage($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->message = $var;
+
+ return $this;
+ }
+
+ /**
+ * Last time the condition transitioned from one status to another.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp last_transition_time = 4;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getLastTransitionTime()
+ {
+ return $this->last_transition_time;
+ }
+
+ public function hasLastTransitionTime()
+ {
+ return isset($this->last_transition_time);
+ }
+
+ public function clearLastTransitionTime()
+ {
+ unset($this->last_transition_time);
+ }
+
+ /**
+ * Last time the condition transitioned from one status to another.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp last_transition_time = 4;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setLastTransitionTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->last_transition_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * How to interpret failures of this condition, one of Error, Warning, Info
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.Severity severity = 5;
+ * @return int
+ */
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+
+ /**
+ * How to interpret failures of this condition, one of Error, Warning, Info
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.Severity severity = 5;
+ * @param int $var
+ * @return $this
+ */
+ public function setSeverity($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\Condition\Severity::class);
+ $this->severity = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A common (service-level) reason for this condition.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.CommonReason reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getReason()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasReason()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * Output only. A common (service-level) reason for this condition.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.CommonReason reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setReason($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\Condition\CommonReason::class);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. A reason for the revision condition.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getRevisionReason()
+ {
+ return $this->readOneof(9);
+ }
+
+ public function hasRevisionReason()
+ {
+ return $this->hasOneof(9);
+ }
+
+ /**
+ * Output only. A reason for the revision condition.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setRevisionReason($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\Condition\RevisionReason::class);
+ $this->writeOneof(9, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. A reason for the execution condition.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getExecutionReason()
+ {
+ return $this->readOneof(11);
+ }
+
+ public function hasExecutionReason()
+ {
+ return $this->hasOneof(11);
+ }
+
+ /**
+ * Output only. A reason for the execution condition.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setExecutionReason($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\Condition\ExecutionReason::class);
+ $this->writeOneof(11, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getReasons()
+ {
+ return $this->whichOneof("reasons");
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/CommonReason.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/CommonReason.php
new file mode 100644
index 000000000000..b7883e34e0a2
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/CommonReason.php
@@ -0,0 +1,148 @@
+google.cloud.run.v2.Condition.CommonReason
+ */
+class CommonReason
+{
+ /**
+ * Default value.
+ *
+ * Generated from protobuf enum COMMON_REASON_UNDEFINED = 0;
+ */
+ const COMMON_REASON_UNDEFINED = 0;
+ /**
+ * Reason unknown. Further details will be in message.
+ *
+ * Generated from protobuf enum UNKNOWN = 1;
+ */
+ const UNKNOWN = 1;
+ /**
+ * Revision creation process failed.
+ *
+ * Generated from protobuf enum REVISION_FAILED = 3;
+ */
+ const REVISION_FAILED = 3;
+ /**
+ * Timed out waiting for completion.
+ *
+ * Generated from protobuf enum PROGRESS_DEADLINE_EXCEEDED = 4;
+ */
+ const PROGRESS_DEADLINE_EXCEEDED = 4;
+ /**
+ * The container image path is incorrect.
+ *
+ * Generated from protobuf enum CONTAINER_MISSING = 6;
+ */
+ const CONTAINER_MISSING = 6;
+ /**
+ * Insufficient permissions on the container image.
+ *
+ * Generated from protobuf enum CONTAINER_PERMISSION_DENIED = 7;
+ */
+ const CONTAINER_PERMISSION_DENIED = 7;
+ /**
+ * Container image is not authorized by policy.
+ *
+ * Generated from protobuf enum CONTAINER_IMAGE_UNAUTHORIZED = 8;
+ */
+ const CONTAINER_IMAGE_UNAUTHORIZED = 8;
+ /**
+ * Container image policy authorization check failed.
+ *
+ * Generated from protobuf enum CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9;
+ */
+ const CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED = 9;
+ /**
+ * Insufficient permissions on encryption key.
+ *
+ * Generated from protobuf enum ENCRYPTION_KEY_PERMISSION_DENIED = 10;
+ */
+ const ENCRYPTION_KEY_PERMISSION_DENIED = 10;
+ /**
+ * Permission check on encryption key failed.
+ *
+ * Generated from protobuf enum ENCRYPTION_KEY_CHECK_FAILED = 11;
+ */
+ const ENCRYPTION_KEY_CHECK_FAILED = 11;
+ /**
+ * At least one Access check on secrets failed.
+ *
+ * Generated from protobuf enum SECRETS_ACCESS_CHECK_FAILED = 12;
+ */
+ const SECRETS_ACCESS_CHECK_FAILED = 12;
+ /**
+ * Waiting for operation to complete.
+ *
+ * Generated from protobuf enum WAITING_FOR_OPERATION = 13;
+ */
+ const WAITING_FOR_OPERATION = 13;
+ /**
+ * System will retry immediately.
+ *
+ * Generated from protobuf enum IMMEDIATE_RETRY = 14;
+ */
+ const IMMEDIATE_RETRY = 14;
+ /**
+ * System will retry later; current attempt failed.
+ *
+ * Generated from protobuf enum POSTPONED_RETRY = 15;
+ */
+ const POSTPONED_RETRY = 15;
+ /**
+ * An internal error occurred. Further information may be in the message.
+ *
+ * Generated from protobuf enum INTERNAL = 16;
+ */
+ const INTERNAL = 16;
+
+ private static $valueToName = [
+ self::COMMON_REASON_UNDEFINED => 'COMMON_REASON_UNDEFINED',
+ self::UNKNOWN => 'UNKNOWN',
+ self::REVISION_FAILED => 'REVISION_FAILED',
+ self::PROGRESS_DEADLINE_EXCEEDED => 'PROGRESS_DEADLINE_EXCEEDED',
+ self::CONTAINER_MISSING => 'CONTAINER_MISSING',
+ self::CONTAINER_PERMISSION_DENIED => 'CONTAINER_PERMISSION_DENIED',
+ self::CONTAINER_IMAGE_UNAUTHORIZED => 'CONTAINER_IMAGE_UNAUTHORIZED',
+ self::CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED => 'CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED',
+ self::ENCRYPTION_KEY_PERMISSION_DENIED => 'ENCRYPTION_KEY_PERMISSION_DENIED',
+ self::ENCRYPTION_KEY_CHECK_FAILED => 'ENCRYPTION_KEY_CHECK_FAILED',
+ self::SECRETS_ACCESS_CHECK_FAILED => 'SECRETS_ACCESS_CHECK_FAILED',
+ self::WAITING_FOR_OPERATION => 'WAITING_FOR_OPERATION',
+ self::IMMEDIATE_RETRY => 'IMMEDIATE_RETRY',
+ self::POSTPONED_RETRY => 'POSTPONED_RETRY',
+ self::INTERNAL => 'INTERNAL',
+ ];
+
+ 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);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(CommonReason::class, \Google\Cloud\Run\V2\Condition_CommonReason::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/ExecutionReason.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/ExecutionReason.php
new file mode 100644
index 000000000000..11956647ed44
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/ExecutionReason.php
@@ -0,0 +1,86 @@
+google.cloud.run.v2.Condition.ExecutionReason
+ */
+class ExecutionReason
+{
+ /**
+ * Default value.
+ *
+ * Generated from protobuf enum EXECUTION_REASON_UNDEFINED = 0;
+ */
+ const EXECUTION_REASON_UNDEFINED = 0;
+ /**
+ * Internal system error getting execution status. System will retry.
+ *
+ * Generated from protobuf enum JOB_STATUS_SERVICE_POLLING_ERROR = 1;
+ */
+ const JOB_STATUS_SERVICE_POLLING_ERROR = 1;
+ /**
+ * A task reached its retry limit and the last attempt failed due to the
+ * user container exiting with a non-zero exit code.
+ *
+ * Generated from protobuf enum NON_ZERO_EXIT_CODE = 2;
+ */
+ const NON_ZERO_EXIT_CODE = 2;
+ /**
+ * The execution was cancelled by users.
+ *
+ * Generated from protobuf enum CANCELLED = 3;
+ */
+ const CANCELLED = 3;
+ /**
+ * The execution is in the process of being cancelled.
+ *
+ * Generated from protobuf enum CANCELLING = 4;
+ */
+ const CANCELLING = 4;
+ /**
+ * The execution was deleted.
+ *
+ * Generated from protobuf enum DELETED = 5;
+ */
+ const DELETED = 5;
+
+ private static $valueToName = [
+ self::EXECUTION_REASON_UNDEFINED => 'EXECUTION_REASON_UNDEFINED',
+ self::JOB_STATUS_SERVICE_POLLING_ERROR => 'JOB_STATUS_SERVICE_POLLING_ERROR',
+ self::NON_ZERO_EXIT_CODE => 'NON_ZERO_EXIT_CODE',
+ self::CANCELLED => 'CANCELLED',
+ self::CANCELLING => 'CANCELLING',
+ self::DELETED => 'DELETED',
+ ];
+
+ 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);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ExecutionReason::class, \Google\Cloud\Run\V2\Condition_ExecutionReason::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/RevisionReason.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/RevisionReason.php
new file mode 100644
index 000000000000..267653375813
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/RevisionReason.php
@@ -0,0 +1,141 @@
+google.cloud.run.v2.Condition.RevisionReason
+ */
+class RevisionReason
+{
+ /**
+ * Default value.
+ *
+ * Generated from protobuf enum REVISION_REASON_UNDEFINED = 0;
+ */
+ const REVISION_REASON_UNDEFINED = 0;
+ /**
+ * Revision in Pending state.
+ *
+ * Generated from protobuf enum PENDING = 1;
+ */
+ const PENDING = 1;
+ /**
+ * Revision is in Reserve state.
+ *
+ * Generated from protobuf enum RESERVE = 2;
+ */
+ const RESERVE = 2;
+ /**
+ * Revision is Retired.
+ *
+ * Generated from protobuf enum RETIRED = 3;
+ */
+ const RETIRED = 3;
+ /**
+ * Revision is being retired.
+ *
+ * Generated from protobuf enum RETIRING = 4;
+ */
+ const RETIRING = 4;
+ /**
+ * Revision is being recreated.
+ *
+ * Generated from protobuf enum RECREATING = 5;
+ */
+ const RECREATING = 5;
+ /**
+ * There was a health check error.
+ *
+ * Generated from protobuf enum HEALTH_CHECK_CONTAINER_ERROR = 6;
+ */
+ const HEALTH_CHECK_CONTAINER_ERROR = 6;
+ /**
+ * Health check failed due to user error from customized path of the
+ * container. System will retry.
+ *
+ * Generated from protobuf enum CUSTOMIZED_PATH_RESPONSE_PENDING = 7;
+ */
+ const CUSTOMIZED_PATH_RESPONSE_PENDING = 7;
+ /**
+ * A revision with min_instance_count > 0 was created and is reserved, but
+ * it was not configured to serve traffic, so it's not live. This can also
+ * happen momentarily during traffic migration.
+ *
+ * Generated from protobuf enum MIN_INSTANCES_NOT_PROVISIONED = 8;
+ */
+ const MIN_INSTANCES_NOT_PROVISIONED = 8;
+ /**
+ * The maximum allowed number of active revisions has been reached.
+ *
+ * Generated from protobuf enum ACTIVE_REVISION_LIMIT_REACHED = 9;
+ */
+ const ACTIVE_REVISION_LIMIT_REACHED = 9;
+ /**
+ * There was no deployment defined.
+ * This value is no longer used, but Services created in older versions of
+ * the API might contain this value.
+ *
+ * Generated from protobuf enum NO_DEPLOYMENT = 10;
+ */
+ const NO_DEPLOYMENT = 10;
+ /**
+ * A revision's container has no port specified since the revision is of a
+ * manually scaled service with 0 instance count
+ *
+ * Generated from protobuf enum HEALTH_CHECK_SKIPPED = 11;
+ */
+ const HEALTH_CHECK_SKIPPED = 11;
+ /**
+ * A revision with min_instance_count > 0 was created and is waiting for
+ * enough instances to begin a traffic migration.
+ *
+ * Generated from protobuf enum MIN_INSTANCES_WARMING = 12;
+ */
+ const MIN_INSTANCES_WARMING = 12;
+
+ private static $valueToName = [
+ self::REVISION_REASON_UNDEFINED => 'REVISION_REASON_UNDEFINED',
+ self::PENDING => 'PENDING',
+ self::RESERVE => 'RESERVE',
+ self::RETIRED => 'RETIRED',
+ self::RETIRING => 'RETIRING',
+ self::RECREATING => 'RECREATING',
+ self::HEALTH_CHECK_CONTAINER_ERROR => 'HEALTH_CHECK_CONTAINER_ERROR',
+ self::CUSTOMIZED_PATH_RESPONSE_PENDING => 'CUSTOMIZED_PATH_RESPONSE_PENDING',
+ self::MIN_INSTANCES_NOT_PROVISIONED => 'MIN_INSTANCES_NOT_PROVISIONED',
+ self::ACTIVE_REVISION_LIMIT_REACHED => 'ACTIVE_REVISION_LIMIT_REACHED',
+ self::NO_DEPLOYMENT => 'NO_DEPLOYMENT',
+ self::HEALTH_CHECK_SKIPPED => 'HEALTH_CHECK_SKIPPED',
+ self::MIN_INSTANCES_WARMING => 'MIN_INSTANCES_WARMING',
+ ];
+
+ 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);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(RevisionReason::class, \Google\Cloud\Run\V2\Condition_RevisionReason::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/Severity.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/Severity.php
new file mode 100644
index 000000000000..eb2c0967fd4b
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/Severity.php
@@ -0,0 +1,71 @@
+google.cloud.run.v2.Condition.Severity
+ */
+class Severity
+{
+ /**
+ * Unspecified severity
+ *
+ * Generated from protobuf enum SEVERITY_UNSPECIFIED = 0;
+ */
+ const SEVERITY_UNSPECIFIED = 0;
+ /**
+ * Error severity.
+ *
+ * Generated from protobuf enum ERROR = 1;
+ */
+ const ERROR = 1;
+ /**
+ * Warning severity.
+ *
+ * Generated from protobuf enum WARNING = 2;
+ */
+ const WARNING = 2;
+ /**
+ * Info severity.
+ *
+ * Generated from protobuf enum INFO = 3;
+ */
+ const INFO = 3;
+
+ private static $valueToName = [
+ self::SEVERITY_UNSPECIFIED => 'SEVERITY_UNSPECIFIED',
+ self::ERROR => 'ERROR',
+ self::WARNING => 'WARNING',
+ self::INFO => 'INFO',
+ ];
+
+ 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);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Severity::class, \Google\Cloud\Run\V2\Condition_Severity::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/State.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/State.php
new file mode 100644
index 000000000000..3ca42a0f1e32
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/State.php
@@ -0,0 +1,78 @@
+google.cloud.run.v2.Condition.State
+ */
+class State
+{
+ /**
+ * The default value. This value is used if the state is omitted.
+ *
+ * Generated from protobuf enum STATE_UNSPECIFIED = 0;
+ */
+ const STATE_UNSPECIFIED = 0;
+ /**
+ * Transient state: Reconciliation has not started yet.
+ *
+ * Generated from protobuf enum CONDITION_PENDING = 1;
+ */
+ const CONDITION_PENDING = 1;
+ /**
+ * Transient state: reconciliation is still in progress.
+ *
+ * Generated from protobuf enum CONDITION_RECONCILING = 2;
+ */
+ const CONDITION_RECONCILING = 2;
+ /**
+ * Terminal state: Reconciliation did not succeed.
+ *
+ * Generated from protobuf enum CONDITION_FAILED = 3;
+ */
+ const CONDITION_FAILED = 3;
+ /**
+ * Terminal state: Reconciliation completed successfully.
+ *
+ * Generated from protobuf enum CONDITION_SUCCEEDED = 4;
+ */
+ const CONDITION_SUCCEEDED = 4;
+
+ private static $valueToName = [
+ self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED',
+ self::CONDITION_PENDING => 'CONDITION_PENDING',
+ self::CONDITION_RECONCILING => 'CONDITION_RECONCILING',
+ self::CONDITION_FAILED => 'CONDITION_FAILED',
+ self::CONDITION_SUCCEEDED => 'CONDITION_SUCCEEDED',
+ ];
+
+ 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);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(State::class, \Google\Cloud\Run\V2\Condition_State::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Container.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Container.php
new file mode 100644
index 000000000000..1dc5d80d18b9
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Container.php
@@ -0,0 +1,531 @@
+google.cloud.run.v2.Container
+ */
+class Container extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Name of the container specified as a DNS_LABEL (RFC 1123).
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * Required. Name of the container image in Dockerhub, Google Artifact
+ * Registry, or Google Container Registry. If the host is not provided,
+ * Dockerhub is assumed.
+ *
+ * Generated from protobuf field string image = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $image = '';
+ /**
+ * Entrypoint array. Not executed within a shell.
+ * The docker image's ENTRYPOINT is used if this is not provided.
+ *
+ * Generated from protobuf field repeated string command = 3;
+ */
+ private $command;
+ /**
+ * Arguments to the entrypoint.
+ * The docker image's CMD is used if this is not provided.
+ *
+ * Generated from protobuf field repeated string args = 4;
+ */
+ private $args;
+ /**
+ * List of environment variables to set in the container.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.EnvVar env = 5;
+ */
+ private $env;
+ /**
+ * Compute Resource requirements by this container.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ResourceRequirements resources = 6;
+ */
+ protected $resources = null;
+ /**
+ * List of ports to expose from the container. Only a single port can be
+ * specified. The specified ports must be listening on all interfaces
+ * (0.0.0.0) within the container to be accessible.
+ * If omitted, a port number will be chosen and passed to the container
+ * through the PORT environment variable for the container to listen on.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.ContainerPort ports = 7;
+ */
+ private $ports;
+ /**
+ * Volume to mount into the container's filesystem.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
+ */
+ private $volume_mounts;
+ /**
+ * Container's working directory.
+ * If not specified, the container runtime's default will be used, which
+ * might be configured in the container image.
+ *
+ * Generated from protobuf field string working_dir = 9;
+ */
+ protected $working_dir = '';
+ /**
+ * Periodic probe of container liveness.
+ * Container will be restarted if the probe fails.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Probe liveness_probe = 10;
+ */
+ protected $liveness_probe = null;
+ /**
+ * Startup probe of application within the container.
+ * All other probes are disabled if a startup probe is provided, until it
+ * succeeds. Container will not be added to service endpoints if the probe
+ * fails.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Probe startup_probe = 11;
+ */
+ protected $startup_probe = null;
+ /**
+ * Names of the containers that must start before this container.
+ *
+ * Generated from protobuf field repeated string depends_on = 12;
+ */
+ private $depends_on;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Name of the container specified as a DNS_LABEL (RFC 1123).
+ * @type string $image
+ * Required. Name of the container image in Dockerhub, Google Artifact
+ * Registry, or Google Container Registry. If the host is not provided,
+ * Dockerhub is assumed.
+ * @type arraystring name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Name of the container specified as a DNS_LABEL (RFC 1123).
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Name of the container image in Dockerhub, Google Artifact
+ * Registry, or Google Container Registry. If the host is not provided,
+ * Dockerhub is assumed.
+ *
+ * Generated from protobuf field string image = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getImage()
+ {
+ return $this->image;
+ }
+
+ /**
+ * Required. Name of the container image in Dockerhub, Google Artifact
+ * Registry, or Google Container Registry. If the host is not provided,
+ * Dockerhub is assumed.
+ *
+ * Generated from protobuf field string image = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setImage($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->image = $var;
+
+ return $this;
+ }
+
+ /**
+ * Entrypoint array. Not executed within a shell.
+ * The docker image's ENTRYPOINT is used if this is not provided.
+ *
+ * Generated from protobuf field repeated string command = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getCommand()
+ {
+ return $this->command;
+ }
+
+ /**
+ * Entrypoint array. Not executed within a shell.
+ * The docker image's ENTRYPOINT is used if this is not provided.
+ *
+ * Generated from protobuf field repeated string command = 3;
+ * @param arrayrepeated string args = 4;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getArgs()
+ {
+ return $this->args;
+ }
+
+ /**
+ * Arguments to the entrypoint.
+ * The docker image's CMD is used if this is not provided.
+ *
+ * Generated from protobuf field repeated string args = 4;
+ * @param arrayrepeated .google.cloud.run.v2.EnvVar env = 5;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getEnv()
+ {
+ return $this->env;
+ }
+
+ /**
+ * List of environment variables to set in the container.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.EnvVar env = 5;
+ * @param array<\Google\Cloud\Run\V2\EnvVar>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setEnv($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\EnvVar::class);
+ $this->env = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Compute Resource requirements by this container.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ResourceRequirements resources = 6;
+ * @return \Google\Cloud\Run\V2\ResourceRequirements|null
+ */
+ public function getResources()
+ {
+ return $this->resources;
+ }
+
+ public function hasResources()
+ {
+ return isset($this->resources);
+ }
+
+ public function clearResources()
+ {
+ unset($this->resources);
+ }
+
+ /**
+ * Compute Resource requirements by this container.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ResourceRequirements resources = 6;
+ * @param \Google\Cloud\Run\V2\ResourceRequirements $var
+ * @return $this
+ */
+ public function setResources($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\ResourceRequirements::class);
+ $this->resources = $var;
+
+ return $this;
+ }
+
+ /**
+ * List of ports to expose from the container. Only a single port can be
+ * specified. The specified ports must be listening on all interfaces
+ * (0.0.0.0) within the container to be accessible.
+ * If omitted, a port number will be chosen and passed to the container
+ * through the PORT environment variable for the container to listen on.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.ContainerPort ports = 7;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPorts()
+ {
+ return $this->ports;
+ }
+
+ /**
+ * List of ports to expose from the container. Only a single port can be
+ * specified. The specified ports must be listening on all interfaces
+ * (0.0.0.0) within the container to be accessible.
+ * If omitted, a port number will be chosen and passed to the container
+ * through the PORT environment variable for the container to listen on.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.ContainerPort ports = 7;
+ * @param array<\Google\Cloud\Run\V2\ContainerPort>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setPorts($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\ContainerPort::class);
+ $this->ports = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Volume to mount into the container's filesystem.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getVolumeMounts()
+ {
+ return $this->volume_mounts;
+ }
+
+ /**
+ * Volume to mount into the container's filesystem.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
+ * @param array<\Google\Cloud\Run\V2\VolumeMount>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setVolumeMounts($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\VolumeMount::class);
+ $this->volume_mounts = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Container's working directory.
+ * If not specified, the container runtime's default will be used, which
+ * might be configured in the container image.
+ *
+ * Generated from protobuf field string working_dir = 9;
+ * @return string
+ */
+ public function getWorkingDir()
+ {
+ return $this->working_dir;
+ }
+
+ /**
+ * Container's working directory.
+ * If not specified, the container runtime's default will be used, which
+ * might be configured in the container image.
+ *
+ * Generated from protobuf field string working_dir = 9;
+ * @param string $var
+ * @return $this
+ */
+ public function setWorkingDir($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->working_dir = $var;
+
+ return $this;
+ }
+
+ /**
+ * Periodic probe of container liveness.
+ * Container will be restarted if the probe fails.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Probe liveness_probe = 10;
+ * @return \Google\Cloud\Run\V2\Probe|null
+ */
+ public function getLivenessProbe()
+ {
+ return $this->liveness_probe;
+ }
+
+ public function hasLivenessProbe()
+ {
+ return isset($this->liveness_probe);
+ }
+
+ public function clearLivenessProbe()
+ {
+ unset($this->liveness_probe);
+ }
+
+ /**
+ * Periodic probe of container liveness.
+ * Container will be restarted if the probe fails.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Probe liveness_probe = 10;
+ * @param \Google\Cloud\Run\V2\Probe $var
+ * @return $this
+ */
+ public function setLivenessProbe($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\Probe::class);
+ $this->liveness_probe = $var;
+
+ return $this;
+ }
+
+ /**
+ * Startup probe of application within the container.
+ * All other probes are disabled if a startup probe is provided, until it
+ * succeeds. Container will not be added to service endpoints if the probe
+ * fails.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Probe startup_probe = 11;
+ * @return \Google\Cloud\Run\V2\Probe|null
+ */
+ public function getStartupProbe()
+ {
+ return $this->startup_probe;
+ }
+
+ public function hasStartupProbe()
+ {
+ return isset($this->startup_probe);
+ }
+
+ public function clearStartupProbe()
+ {
+ unset($this->startup_probe);
+ }
+
+ /**
+ * Startup probe of application within the container.
+ * All other probes are disabled if a startup probe is provided, until it
+ * succeeds. Container will not be added to service endpoints if the probe
+ * fails.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Probe startup_probe = 11;
+ * @param \Google\Cloud\Run\V2\Probe $var
+ * @return $this
+ */
+ public function setStartupProbe($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\Probe::class);
+ $this->startup_probe = $var;
+
+ return $this;
+ }
+
+ /**
+ * Names of the containers that must start before this container.
+ *
+ * Generated from protobuf field repeated string depends_on = 12;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDependsOn()
+ {
+ return $this->depends_on;
+ }
+
+ /**
+ * Names of the containers that must start before this container.
+ *
+ * Generated from protobuf field repeated string depends_on = 12;
+ * @param arraystring name = 1;
+ */
+ protected $name = '';
+ /**
+ * Port number the container listens on.
+ * This must be a valid TCP port number, 0 < container_port < 65536.
+ *
+ * Generated from protobuf field int32 container_port = 3;
+ */
+ protected $container_port = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * If specified, used to specify which protocol to use.
+ * Allowed values are "http1" and "h2c".
+ * @type int $container_port
+ * Port number the container listens on.
+ * This must be a valid TCP port number, 0 < container_port < 65536.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * If specified, used to specify which protocol to use.
+ * Allowed values are "http1" and "h2c".
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * If specified, used to specify which protocol to use.
+ * Allowed values are "http1" and "h2c".
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Port number the container listens on.
+ * This must be a valid TCP port number, 0 < container_port < 65536.
+ *
+ * Generated from protobuf field int32 container_port = 3;
+ * @return int
+ */
+ public function getContainerPort()
+ {
+ return $this->container_port;
+ }
+
+ /**
+ * Port number the container listens on.
+ * This must be a valid TCP port number, 0 < container_port < 65536.
+ *
+ * Generated from protobuf field int32 container_port = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setContainerPort($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->container_port = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CreateJobRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CreateJobRequest.php
new file mode 100644
index 000000000000..f201e0ba2b8c
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CreateJobRequest.php
@@ -0,0 +1,216 @@
+google.cloud.run.v2.CreateJobRequest
+ */
+class CreateJobRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The location and project in which this Job should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. The Job instance to create.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $job = null;
+ /**
+ * Required. The unique identifier for the Job. The name of the job becomes
+ * {parent}/jobs/{job_id}.
+ *
+ * Generated from protobuf field string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $job_id = '';
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or creating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 4;
+ */
+ protected $validate_only = false;
+
+ /**
+ * @param string $parent Required. The location and project in which this Job should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number. Please see
+ * {@see JobsClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\Run\V2\Job $job Required. The Job instance to create.
+ * @param string $jobId Required. The unique identifier for the Job. The name of the job becomes
+ * {parent}/jobs/{job_id}.
+ *
+ * @return \Google\Cloud\Run\V2\CreateJobRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\Run\V2\Job $job, string $jobId): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setJob($job)
+ ->setJobId($jobId);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The location and project in which this Job should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number.
+ * @type \Google\Cloud\Run\V2\Job $job
+ * Required. The Job instance to create.
+ * @type string $job_id
+ * Required. The unique identifier for the Job. The name of the job becomes
+ * {parent}/jobs/{job_id}.
+ * @type bool $validate_only
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or creating any resources.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The location and project in which this Job should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The location and project in which this Job should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The Job instance to create.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Run\V2\Job|null
+ */
+ public function getJob()
+ {
+ return $this->job;
+ }
+
+ public function hasJob()
+ {
+ return isset($this->job);
+ }
+
+ public function clearJob()
+ {
+ unset($this->job);
+ }
+
+ /**
+ * Required. The Job instance to create.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Run\V2\Job $var
+ * @return $this
+ */
+ public function setJob($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\Job::class);
+ $this->job = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The unique identifier for the Job. The name of the job becomes
+ * {parent}/jobs/{job_id}.
+ *
+ * Generated from protobuf field string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getJobId()
+ {
+ return $this->job_id;
+ }
+
+ /**
+ * Required. The unique identifier for the Job. The name of the job becomes
+ * {parent}/jobs/{job_id}.
+ *
+ * Generated from protobuf field string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setJobId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->job_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or creating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 4;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or creating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CreateServiceRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CreateServiceRequest.php
new file mode 100644
index 000000000000..7a5677b8d359
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CreateServiceRequest.php
@@ -0,0 +1,221 @@
+google.cloud.run.v2.CreateServiceRequest
+ */
+class CreateServiceRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The location and project in which this service should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number. Only lowercase characters, digits, and hyphens.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. The Service instance to create.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $service = null;
+ /**
+ * Required. The unique identifier for the Service. It must begin with letter,
+ * and cannot end with hyphen; must contain fewer than 50 characters.
+ * The name of the service becomes {parent}/services/{service_id}.
+ *
+ * Generated from protobuf field string service_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $service_id = '';
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or creating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 4;
+ */
+ protected $validate_only = false;
+
+ /**
+ * @param string $parent Required. The location and project in which this service should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number. Only lowercase characters, digits, and hyphens. Please see
+ * {@see ServicesClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\Run\V2\Service $service Required. The Service instance to create.
+ * @param string $serviceId Required. The unique identifier for the Service. It must begin with letter,
+ * and cannot end with hyphen; must contain fewer than 50 characters.
+ * The name of the service becomes {parent}/services/{service_id}.
+ *
+ * @return \Google\Cloud\Run\V2\CreateServiceRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\Run\V2\Service $service, string $serviceId): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setService($service)
+ ->setServiceId($serviceId);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The location and project in which this service should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number. Only lowercase characters, digits, and hyphens.
+ * @type \Google\Cloud\Run\V2\Service $service
+ * Required. The Service instance to create.
+ * @type string $service_id
+ * Required. The unique identifier for the Service. It must begin with letter,
+ * and cannot end with hyphen; must contain fewer than 50 characters.
+ * The name of the service becomes {parent}/services/{service_id}.
+ * @type bool $validate_only
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or creating any resources.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The location and project in which this service should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number. Only lowercase characters, digits, and hyphens.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The location and project in which this service should be created.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number. Only lowercase characters, digits, and hyphens.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The Service instance to create.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Run\V2\Service|null
+ */
+ public function getService()
+ {
+ return $this->service;
+ }
+
+ public function hasService()
+ {
+ return isset($this->service);
+ }
+
+ public function clearService()
+ {
+ unset($this->service);
+ }
+
+ /**
+ * Required. The Service instance to create.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Run\V2\Service $var
+ * @return $this
+ */
+ public function setService($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\Service::class);
+ $this->service = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The unique identifier for the Service. It must begin with letter,
+ * and cannot end with hyphen; must contain fewer than 50 characters.
+ * The name of the service becomes {parent}/services/{service_id}.
+ *
+ * Generated from protobuf field string service_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getServiceId()
+ {
+ return $this->service_id;
+ }
+
+ /**
+ * Required. The unique identifier for the Service. It must begin with letter,
+ * and cannot end with hyphen; must contain fewer than 50 characters.
+ * The name of the service becomes {parent}/services/{service_id}.
+ *
+ * Generated from protobuf field string service_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setServiceId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or creating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 4;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or creating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteExecutionRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteExecutionRequest.php
new file mode 100644
index 000000000000..ea7d31e245fe
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteExecutionRequest.php
@@ -0,0 +1,172 @@
+google.cloud.run.v2.DeleteExecutionRequest
+ */
+class DeleteExecutionRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the Execution to delete.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ */
+ protected $validate_only = false;
+ /**
+ * A system-generated fingerprint for this version of the resource.
+ * This may be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ */
+ protected $etag = '';
+
+ /**
+ * @param string $name Required. The name of the Execution to delete.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number. Please see
+ * {@see ExecutionsClient::executionName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\DeleteExecutionRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the Execution to delete.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ * @type bool $validate_only
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ * @type string $etag
+ * A system-generated fingerprint for this version of the resource.
+ * This may be used to detect modification conflict during updates.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Execution::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the Execution to delete.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the Execution to delete.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the resource.
+ * This may be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the resource.
+ * This may be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteJobRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteJobRequest.php
new file mode 100644
index 000000000000..0c4f53d97680
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteJobRequest.php
@@ -0,0 +1,167 @@
+google.cloud.run.v2.DeleteJobRequest
+ */
+class DeleteJobRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 3;
+ */
+ protected $validate_only = false;
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 4;
+ */
+ protected $etag = '';
+
+ /**
+ * @param string $name Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number. Please see
+ * {@see JobsClient::jobName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\DeleteJobRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ * @type bool $validate_only
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ * @type string $etag
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 3;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 3;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 4;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteRevisionRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteRevisionRequest.php
new file mode 100644
index 000000000000..0b7bb2e76937
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteRevisionRequest.php
@@ -0,0 +1,169 @@
+google.cloud.run.v2.DeleteRevisionRequest
+ */
+class DeleteRevisionRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the Revision to delete.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ */
+ protected $validate_only = false;
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. This may be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ */
+ protected $etag = '';
+
+ /**
+ * @param string $name Required. The name of the Revision to delete.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ * Please see {@see RevisionsClient::revisionName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\DeleteRevisionRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the Revision to delete.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ * @type bool $validate_only
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ * @type string $etag
+ * A system-generated fingerprint for this version of the
+ * resource. This may be used to detect modification conflict during updates.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Revision::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the Revision to delete.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the Revision to delete.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. This may be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. This may be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteServiceRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteServiceRequest.php
new file mode 100644
index 000000000000..16182d4a1603
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteServiceRequest.php
@@ -0,0 +1,167 @@
+google.cloud.run.v2.DeleteServiceRequest
+ */
+class DeleteServiceRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ */
+ protected $validate_only = false;
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ */
+ protected $etag = '';
+
+ /**
+ * @param string $name Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number. Please see
+ * {@see ServicesClient::serviceName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\DeleteServiceRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number.
+ * @type bool $validate_only
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ * @type string $etag
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EmptyDirVolumeSource.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EmptyDirVolumeSource.php
new file mode 100644
index 000000000000..be49c7f974ba
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EmptyDirVolumeSource.php
@@ -0,0 +1,143 @@
+google.cloud.run.v2.EmptyDirVolumeSource
+ */
+class EmptyDirVolumeSource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The medium on which the data is stored. Acceptable values today is only
+ * MEMORY or none. When none, the default will currently be backed by memory
+ * but could change over time. +optional
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
+ */
+ protected $medium = 0;
+ /**
+ * Limit on the storage usable by this EmptyDir volume.
+ * The size limit is also applicable for memory medium.
+ * The maximum usage on memory medium EmptyDir would be the minimum value
+ * between the SizeLimit specified here and the sum of memory limits of all
+ * containers. The default is nil which means that the limit is undefined.
+ * More info:
+ * https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume.
+ * Info in Kubernetes:
+ * https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
+ *
+ * Generated from protobuf field string size_limit = 2;
+ */
+ protected $size_limit = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $medium
+ * The medium on which the data is stored. Acceptable values today is only
+ * MEMORY or none. When none, the default will currently be backed by memory
+ * but could change over time. +optional
+ * @type string $size_limit
+ * Limit on the storage usable by this EmptyDir volume.
+ * The size limit is also applicable for memory medium.
+ * The maximum usage on memory medium EmptyDir would be the minimum value
+ * between the SizeLimit specified here and the sum of memory limits of all
+ * containers. The default is nil which means that the limit is undefined.
+ * More info:
+ * https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume.
+ * Info in Kubernetes:
+ * https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The medium on which the data is stored. Acceptable values today is only
+ * MEMORY or none. When none, the default will currently be backed by memory
+ * but could change over time. +optional
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
+ * @return int
+ */
+ public function getMedium()
+ {
+ return $this->medium;
+ }
+
+ /**
+ * The medium on which the data is stored. Acceptable values today is only
+ * MEMORY or none. When none, the default will currently be backed by memory
+ * but could change over time. +optional
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setMedium($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\EmptyDirVolumeSource\Medium::class);
+ $this->medium = $var;
+
+ return $this;
+ }
+
+ /**
+ * Limit on the storage usable by this EmptyDir volume.
+ * The size limit is also applicable for memory medium.
+ * The maximum usage on memory medium EmptyDir would be the minimum value
+ * between the SizeLimit specified here and the sum of memory limits of all
+ * containers. The default is nil which means that the limit is undefined.
+ * More info:
+ * https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume.
+ * Info in Kubernetes:
+ * https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
+ *
+ * Generated from protobuf field string size_limit = 2;
+ * @return string
+ */
+ public function getSizeLimit()
+ {
+ return $this->size_limit;
+ }
+
+ /**
+ * Limit on the storage usable by this EmptyDir volume.
+ * The size limit is also applicable for memory medium.
+ * The maximum usage on memory medium EmptyDir would be the minimum value
+ * between the SizeLimit specified here and the sum of memory limits of all
+ * containers. The default is nil which means that the limit is undefined.
+ * More info:
+ * https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume.
+ * Info in Kubernetes:
+ * https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
+ *
+ * Generated from protobuf field string size_limit = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setSizeLimit($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->size_limit = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EmptyDirVolumeSource/Medium.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EmptyDirVolumeSource/Medium.php
new file mode 100644
index 000000000000..f226a6c0cdda
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EmptyDirVolumeSource/Medium.php
@@ -0,0 +1,58 @@
+google.cloud.run.v2.EmptyDirVolumeSource.Medium
+ */
+class Medium
+{
+ /**
+ * When not specified, falls back to the default implementation which
+ * is currently in memory (this may change over time).
+ *
+ * Generated from protobuf enum MEDIUM_UNSPECIFIED = 0;
+ */
+ const MEDIUM_UNSPECIFIED = 0;
+ /**
+ * Explicitly set the EmptyDir to be in memory. Uses tmpfs.
+ *
+ * Generated from protobuf enum MEMORY = 1;
+ */
+ const MEMORY = 1;
+
+ private static $valueToName = [
+ self::MEDIUM_UNSPECIFIED => 'MEDIUM_UNSPECIFIED',
+ self::MEMORY => 'MEMORY',
+ ];
+
+ 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);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Medium::class, \Google\Cloud\Run\V2\EmptyDirVolumeSource_Medium::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EncryptionKeyRevocationAction.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EncryptionKeyRevocationAction.php
new file mode 100644
index 000000000000..0b07b810a082
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EncryptionKeyRevocationAction.php
@@ -0,0 +1,61 @@
+google.cloud.run.v2.EncryptionKeyRevocationAction
+ */
+class EncryptionKeyRevocationAction
+{
+ /**
+ * Unspecified
+ *
+ * Generated from protobuf enum ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED = 0;
+ */
+ const ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED = 0;
+ /**
+ * Prevents the creation of new instances.
+ *
+ * Generated from protobuf enum PREVENT_NEW = 1;
+ */
+ const PREVENT_NEW = 1;
+ /**
+ * Shuts down existing instances, and prevents creation of new ones.
+ *
+ * Generated from protobuf enum SHUTDOWN = 2;
+ */
+ const SHUTDOWN = 2;
+
+ private static $valueToName = [
+ self::ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED => 'ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED',
+ self::PREVENT_NEW => 'PREVENT_NEW',
+ self::SHUTDOWN => 'SHUTDOWN',
+ ];
+
+ 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/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EnvVar.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EnvVar.php
new file mode 100644
index 000000000000..2073c4252a57
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EnvVar.php
@@ -0,0 +1,152 @@
+google.cloud.run.v2.EnvVar
+ */
+class EnvVar extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Name of the environment variable. Must not exceed 32768
+ * characters.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ protected $values;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Name of the environment variable. Must not exceed 32768
+ * characters.
+ * @type string $value
+ * Literal value of the environment variable.
+ * Defaults to "", and the maximum length is 32768 bytes.
+ * Variable references are not supported in Cloud Run.
+ * @type \Google\Cloud\Run\V2\EnvVarSource $value_source
+ * Source for the environment variable's value.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Name of the environment variable. Must not exceed 32768
+ * characters.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Name of the environment variable. Must not exceed 32768
+ * characters.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Literal value of the environment variable.
+ * Defaults to "", and the maximum length is 32768 bytes.
+ * Variable references are not supported in Cloud Run.
+ *
+ * Generated from protobuf field string value = 2;
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasValue()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Literal value of the environment variable.
+ * Defaults to "", and the maximum length is 32768 bytes.
+ * Variable references are not supported in Cloud Run.
+ *
+ * Generated from protobuf field string value = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Source for the environment variable's value.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EnvVarSource value_source = 3;
+ * @return \Google\Cloud\Run\V2\EnvVarSource|null
+ */
+ public function getValueSource()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasValueSource()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Source for the environment variable's value.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EnvVarSource value_source = 3;
+ * @param \Google\Cloud\Run\V2\EnvVarSource $var
+ * @return $this
+ */
+ public function setValueSource($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\EnvVarSource::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getValues()
+ {
+ return $this->whichOneof("values");
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EnvVarSource.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EnvVarSource.php
new file mode 100644
index 000000000000..99ffb8e651c0
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EnvVarSource.php
@@ -0,0 +1,77 @@
+google.cloud.run.v2.EnvVarSource
+ */
+class EnvVarSource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Selects a secret and a specific version from Cloud Secret Manager.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1;
+ */
+ protected $secret_key_ref = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Run\V2\SecretKeySelector $secret_key_ref
+ * Selects a secret and a specific version from Cloud Secret Manager.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Selects a secret and a specific version from Cloud Secret Manager.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1;
+ * @return \Google\Cloud\Run\V2\SecretKeySelector|null
+ */
+ public function getSecretKeyRef()
+ {
+ return $this->secret_key_ref;
+ }
+
+ public function hasSecretKeyRef()
+ {
+ return isset($this->secret_key_ref);
+ }
+
+ public function clearSecretKeyRef()
+ {
+ unset($this->secret_key_ref);
+ }
+
+ /**
+ * Selects a secret and a specific version from Cloud Secret Manager.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1;
+ * @param \Google\Cloud\Run\V2\SecretKeySelector $var
+ * @return $this
+ */
+ public function setSecretKeyRef($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\SecretKeySelector::class);
+ $this->secret_key_ref = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Execution.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Execution.php
new file mode 100644
index 000000000000..b72c09e5f964
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Execution.php
@@ -0,0 +1,1183 @@
+google.cloud.run.v2.Execution
+ */
+class Execution extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The unique name of this Execution.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $name = '';
+ /**
+ * Output only. Server assigned unique identifier for the Execution. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $uid = '';
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $generation = 0;
+ /**
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels
+ *
+ * Generated from protobuf field map labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $labels;
+ /**
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ *
+ * Generated from protobuf field map annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $annotations;
+ /**
+ * Output only. Represents time when the execution was acknowledged by the
+ * execution controller. It is not guaranteed to be set in happens-before
+ * order across separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. Represents time when the execution started to run.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $start_time = null;
+ /**
+ * Output only. Represents time when the execution was completed. It is not
+ * guaranteed to be set in happens-before order across separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $completion_time = null;
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $delete_time = null;
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $expire_time = null;
+ /**
+ * The least stable launch stage needed to create this resource, as defined by
+ * [Google Cloud Platform Launch
+ * Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
+ * `ALPHA`, `BETA`, and `GA`.
+ * Note that this value might not be what was used
+ * as input. For example, if ALPHA was provided as input in the parent
+ * resource, but only BETA and GA-level features are were, this field will be
+ * BETA.
+ *
+ * Generated from protobuf field .google.api.LaunchStage launch_stage = 11;
+ */
+ protected $launch_stage = 0;
+ /**
+ * Output only. The name of the parent Job.
+ *
+ * Generated from protobuf field string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ */
+ protected $job = '';
+ /**
+ * Output only. Specifies the maximum desired number of tasks the execution
+ * should run at any given time. Must be <= task_count. The actual number of
+ * tasks running in steady state will be less than this number when
+ * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
+ * the work left to do is less than max parallelism.
+ *
+ * Generated from protobuf field int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $parallelism = 0;
+ /**
+ * Output only. Specifies the desired number of tasks the execution should
+ * run. Setting to 1 means that parallelism is limited to 1 and the success of
+ * that task signals the success of the execution.
+ *
+ * Generated from protobuf field int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $task_count = 0;
+ /**
+ * Output only. The template used to create tasks for this execution.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $template = null;
+ /**
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Job.reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $reconciling = false;
+ /**
+ * Output only. The Condition of this Execution, containing its readiness
+ * status, and detailed error information in case it did not reach the desired
+ * state.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $conditions;
+ /**
+ * Output only. The generation of this Execution. See comments in
+ * `reconciling` for additional information on reconciliation process in Cloud
+ * Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $observed_generation = 0;
+ /**
+ * Output only. The number of actively running tasks.
+ *
+ * Generated from protobuf field int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $running_count = 0;
+ /**
+ * Output only. The number of tasks which reached phase Succeeded.
+ *
+ * Generated from protobuf field int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $succeeded_count = 0;
+ /**
+ * Output only. The number of tasks which reached phase Failed.
+ *
+ * Generated from protobuf field int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $failed_count = 0;
+ /**
+ * Output only. The number of tasks which reached phase Cancelled.
+ *
+ * Generated from protobuf field int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $cancelled_count = 0;
+ /**
+ * Output only. The number of tasks which have retried at least once.
+ *
+ * Generated from protobuf field int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $retried_count = 0;
+ /**
+ * Output only. URI where logs for this execution can be found in Cloud
+ * Console.
+ *
+ * Generated from protobuf field string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $log_uri = '';
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $satisfies_pzs = false;
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $etag = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. The unique name of this Execution.
+ * @type string $uid
+ * Output only. Server assigned unique identifier for the Execution. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ * @type int|string $generation
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels
+ * @type array|\Google\Protobuf\Internal\MapField $annotations
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. Represents time when the execution was acknowledged by the
+ * execution controller. It is not guaranteed to be set in happens-before
+ * order across separate operations.
+ * @type \Google\Protobuf\Timestamp $start_time
+ * Output only. Represents time when the execution started to run.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ * @type \Google\Protobuf\Timestamp $completion_time
+ * Output only. Represents time when the execution was completed. It is not
+ * guaranteed to be set in happens-before order across separate operations.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. The last-modified time.
+ * @type \Google\Protobuf\Timestamp $delete_time
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ * @type \Google\Protobuf\Timestamp $expire_time
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ * @type int $launch_stage
+ * The least stable launch stage needed to create this resource, as defined by
+ * [Google Cloud Platform Launch
+ * Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
+ * `ALPHA`, `BETA`, and `GA`.
+ *
Note that this value might not be what was used
+ * as input. For example, if ALPHA was provided as input in the parent
+ * resource, but only BETA and GA-level features are were, this field will be
+ * BETA.
+ * @type string $job
+ * Output only. The name of the parent Job.
+ * @type int $parallelism
+ * Output only. Specifies the maximum desired number of tasks the execution
+ * should run at any given time. Must be <= task_count. The actual number of
+ * tasks running in steady state will be less than this number when
+ * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
+ * the work left to do is less than max parallelism.
+ * @type int $task_count
+ * Output only. Specifies the desired number of tasks the execution should
+ * run. Setting to 1 means that parallelism is limited to 1 and the success of
+ * that task signals the success of the execution.
+ * @type \Google\Cloud\Run\V2\TaskTemplate $template
+ * Output only. The template used to create tasks for this execution.
+ * @type bool $reconciling
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Job.reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ * @type array<\Google\Cloud\Run\V2\Condition>|\Google\Protobuf\Internal\RepeatedField $conditions
+ * Output only. The Condition of this Execution, containing its readiness
+ * status, and detailed error information in case it did not reach the desired
+ * state.
+ * @type int|string $observed_generation
+ * Output only. The generation of this Execution. See comments in
+ * `reconciling` for additional information on reconciliation process in Cloud
+ * Run.
+ * @type int $running_count
+ * Output only. The number of actively running tasks.
+ * @type int $succeeded_count
+ * Output only. The number of tasks which reached phase Succeeded.
+ * @type int $failed_count
+ * Output only. The number of tasks which reached phase Failed.
+ * @type int $cancelled_count
+ * Output only. The number of tasks which reached phase Cancelled.
+ * @type int $retried_count
+ * Output only. The number of tasks which have retried at least once.
+ * @type string $log_uri
+ * Output only. URI where logs for this execution can be found in Cloud
+ * Console.
+ * @type bool $satisfies_pzs
+ * Output only. Reserved for future use.
+ * @type string $etag
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Execution::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The unique name of this Execution.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. The unique name of this Execution.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the Execution. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getUid()
+ {
+ return $this->uid;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the Execution. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setUid($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uid = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels
+ *
+ * Generated from protobuf field map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels
+ *
+ * Generated from protobuf field map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ *
+ * Generated from protobuf field map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+
+ /**
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ *
+ * Generated from protobuf field map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setAnnotations($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->annotations = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents time when the execution was acknowledged by the
+ * execution controller. It is not guaranteed to be set in happens-before
+ * order across separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. Represents time when the execution was acknowledged by the
+ * execution controller. It is not guaranteed to be set in happens-before
+ * order across separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents time when the execution started to run.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getStartTime()
+ {
+ return $this->start_time;
+ }
+
+ public function hasStartTime()
+ {
+ return isset($this->start_time);
+ }
+
+ public function clearStartTime()
+ {
+ unset($this->start_time);
+ }
+
+ /**
+ * Output only. Represents time when the execution started to run.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setStartTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->start_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents time when the execution was completed. It is not
+ * guaranteed to be set in happens-before order across separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCompletionTime()
+ {
+ return $this->completion_time;
+ }
+
+ public function hasCompletionTime()
+ {
+ return isset($this->completion_time);
+ }
+
+ public function clearCompletionTime()
+ {
+ unset($this->completion_time);
+ }
+
+ /**
+ * Output only. Represents time when the execution was completed. It is not
+ * guaranteed to be set in happens-before order across separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCompletionTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->completion_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getDeleteTime()
+ {
+ return $this->delete_time;
+ }
+
+ public function hasDeleteTime()
+ {
+ return isset($this->delete_time);
+ }
+
+ public function clearDeleteTime()
+ {
+ unset($this->delete_time);
+ }
+
+ /**
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setDeleteTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->delete_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getExpireTime()
+ {
+ return $this->expire_time;
+ }
+
+ public function hasExpireTime()
+ {
+ return isset($this->expire_time);
+ }
+
+ public function clearExpireTime()
+ {
+ unset($this->expire_time);
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setExpireTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->expire_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * The least stable launch stage needed to create this resource, as defined by
+ * [Google Cloud Platform Launch
+ * Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
+ * `ALPHA`, `BETA`, and `GA`.
+ *
Note that this value might not be what was used
+ * as input. For example, if ALPHA was provided as input in the parent
+ * resource, but only BETA and GA-level features are were, this field will be
+ * BETA.
+ *
+ * Generated from protobuf field .google.api.LaunchStage launch_stage = 11;
+ * @return int
+ */
+ public function getLaunchStage()
+ {
+ return $this->launch_stage;
+ }
+
+ /**
+ * The least stable launch stage needed to create this resource, as defined by
+ * [Google Cloud Platform Launch
+ * Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
+ * `ALPHA`, `BETA`, and `GA`.
+ *
Note that this value might not be what was used
+ * as input. For example, if ALPHA was provided as input in the parent
+ * resource, but only BETA and GA-level features are were, this field will be
+ * BETA.
+ *
+ * Generated from protobuf field .google.api.LaunchStage launch_stage = 11;
+ * @param int $var
+ * @return $this
+ */
+ public function setLaunchStage($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Api\LaunchStage::class);
+ $this->launch_stage = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The name of the parent Job.
+ *
+ * Generated from protobuf field string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getJob()
+ {
+ return $this->job;
+ }
+
+ /**
+ * Output only. The name of the parent Job.
+ *
+ * Generated from protobuf field string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setJob($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->job = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Specifies the maximum desired number of tasks the execution
+ * should run at any given time. Must be <= task_count. The actual number of
+ * tasks running in steady state will be less than this number when
+ * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
+ * the work left to do is less than max parallelism.
+ *
+ * Generated from protobuf field int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getParallelism()
+ {
+ return $this->parallelism;
+ }
+
+ /**
+ * Output only. Specifies the maximum desired number of tasks the execution
+ * should run at any given time. Must be <= task_count. The actual number of
+ * tasks running in steady state will be less than this number when
+ * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
+ * the work left to do is less than max parallelism.
+ *
+ * Generated from protobuf field int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setParallelism($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->parallelism = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Specifies the desired number of tasks the execution should
+ * run. Setting to 1 means that parallelism is limited to 1 and the success of
+ * that task signals the success of the execution.
+ *
+ * Generated from protobuf field int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getTaskCount()
+ {
+ return $this->task_count;
+ }
+
+ /**
+ * Output only. Specifies the desired number of tasks the execution should
+ * run. Setting to 1 means that parallelism is limited to 1 and the success of
+ * that task signals the success of the execution.
+ *
+ * Generated from protobuf field int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setTaskCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->task_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The template used to create tasks for this execution.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\Run\V2\TaskTemplate|null
+ */
+ public function getTemplate()
+ {
+ return $this->template;
+ }
+
+ public function hasTemplate()
+ {
+ return isset($this->template);
+ }
+
+ public function clearTemplate()
+ {
+ unset($this->template);
+ }
+
+ /**
+ * Output only. The template used to create tasks for this execution.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\Run\V2\TaskTemplate $var
+ * @return $this
+ */
+ public function setTemplate($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\TaskTemplate::class);
+ $this->template = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Job.reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getReconciling()
+ {
+ return $this->reconciling;
+ }
+
+ /**
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Job.reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setReconciling($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->reconciling = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Condition of this Execution, containing its readiness
+ * status, and detailed error information in case it did not reach the desired
+ * state.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+
+ /**
+ * Output only. The Condition of this Execution, containing its readiness
+ * status, and detailed error information in case it did not reach the desired
+ * state.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\Run\V2\Condition>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setConditions($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Condition::class);
+ $this->conditions = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The generation of this Execution. See comments in
+ * `reconciling` for additional information on reconciliation process in Cloud
+ * Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getObservedGeneration()
+ {
+ return $this->observed_generation;
+ }
+
+ /**
+ * Output only. The generation of this Execution. See comments in
+ * `reconciling` for additional information on reconciliation process in Cloud
+ * Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setObservedGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->observed_generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of actively running tasks.
+ *
+ * Generated from protobuf field int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getRunningCount()
+ {
+ return $this->running_count;
+ }
+
+ /**
+ * Output only. The number of actively running tasks.
+ *
+ * Generated from protobuf field int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setRunningCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->running_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of tasks which reached phase Succeeded.
+ *
+ * Generated from protobuf field int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getSucceededCount()
+ {
+ return $this->succeeded_count;
+ }
+
+ /**
+ * Output only. The number of tasks which reached phase Succeeded.
+ *
+ * Generated from protobuf field int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setSucceededCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->succeeded_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of tasks which reached phase Failed.
+ *
+ * Generated from protobuf field int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getFailedCount()
+ {
+ return $this->failed_count;
+ }
+
+ /**
+ * Output only. The number of tasks which reached phase Failed.
+ *
+ * Generated from protobuf field int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setFailedCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->failed_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of tasks which reached phase Cancelled.
+ *
+ * Generated from protobuf field int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getCancelledCount()
+ {
+ return $this->cancelled_count;
+ }
+
+ /**
+ * Output only. The number of tasks which reached phase Cancelled.
+ *
+ * Generated from protobuf field int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setCancelledCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->cancelled_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of tasks which have retried at least once.
+ *
+ * Generated from protobuf field int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getRetriedCount()
+ {
+ return $this->retried_count;
+ }
+
+ /**
+ * Output only. The number of tasks which have retried at least once.
+ *
+ * Generated from protobuf field int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setRetriedCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->retried_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. URI where logs for this execution can be found in Cloud
+ * Console.
+ *
+ * Generated from protobuf field string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getLogUri()
+ {
+ return $this->log_uri;
+ }
+
+ /**
+ * Output only. URI where logs for this execution can be found in Cloud
+ * Console.
+ *
+ * Generated from protobuf field string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setLogUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->log_uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getSatisfiesPzs()
+ {
+ return $this->satisfies_pzs;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setSatisfiesPzs($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->satisfies_pzs = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionEnvironment.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionEnvironment.php
new file mode 100644
index 000000000000..da77efe77d8f
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionEnvironment.php
@@ -0,0 +1,61 @@
+google.cloud.run.v2.ExecutionEnvironment
+ */
+class ExecutionEnvironment
+{
+ /**
+ * Unspecified
+ *
+ * Generated from protobuf enum EXECUTION_ENVIRONMENT_UNSPECIFIED = 0;
+ */
+ const EXECUTION_ENVIRONMENT_UNSPECIFIED = 0;
+ /**
+ * Uses the First Generation environment.
+ *
+ * Generated from protobuf enum EXECUTION_ENVIRONMENT_GEN1 = 1;
+ */
+ const EXECUTION_ENVIRONMENT_GEN1 = 1;
+ /**
+ * Uses Second Generation environment.
+ *
+ * Generated from protobuf enum EXECUTION_ENVIRONMENT_GEN2 = 2;
+ */
+ const EXECUTION_ENVIRONMENT_GEN2 = 2;
+
+ private static $valueToName = [
+ self::EXECUTION_ENVIRONMENT_UNSPECIFIED => 'EXECUTION_ENVIRONMENT_UNSPECIFIED',
+ self::EXECUTION_ENVIRONMENT_GEN1 => 'EXECUTION_ENVIRONMENT_GEN1',
+ self::EXECUTION_ENVIRONMENT_GEN2 => 'EXECUTION_ENVIRONMENT_GEN2',
+ ];
+
+ 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/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionReference.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionReference.php
new file mode 100644
index 000000000000..4de3dd33ddee
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionReference.php
@@ -0,0 +1,238 @@
+google.cloud.run.v2.ExecutionReference
+ */
+class ExecutionReference extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Name of the execution.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Creation timestamp of the execution.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 2;
+ */
+ protected $create_time = null;
+ /**
+ * Creation timestamp of the execution.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp completion_time = 3;
+ */
+ protected $completion_time = null;
+ /**
+ * The deletion time of the execution. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 5;
+ */
+ protected $delete_time = null;
+ /**
+ * Status for the execution completion.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionReference.CompletionStatus completion_status = 4;
+ */
+ protected $completion_status = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Name of the execution.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Creation timestamp of the execution.
+ * @type \Google\Protobuf\Timestamp $completion_time
+ * Creation timestamp of the execution.
+ * @type \Google\Protobuf\Timestamp $delete_time
+ * The deletion time of the execution. It is only
+ * populated as a response to a Delete request.
+ * @type int $completion_status
+ * Status for the execution completion.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Name of the execution.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Name of the execution.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Creation timestamp of the execution.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 2;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Creation timestamp of the execution.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 2;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Creation timestamp of the execution.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp completion_time = 3;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCompletionTime()
+ {
+ return $this->completion_time;
+ }
+
+ public function hasCompletionTime()
+ {
+ return isset($this->completion_time);
+ }
+
+ public function clearCompletionTime()
+ {
+ unset($this->completion_time);
+ }
+
+ /**
+ * Creation timestamp of the execution.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp completion_time = 3;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCompletionTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->completion_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * The deletion time of the execution. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 5;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getDeleteTime()
+ {
+ return $this->delete_time;
+ }
+
+ public function hasDeleteTime()
+ {
+ return isset($this->delete_time);
+ }
+
+ public function clearDeleteTime()
+ {
+ unset($this->delete_time);
+ }
+
+ /**
+ * The deletion time of the execution. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 5;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setDeleteTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->delete_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Status for the execution completion.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionReference.CompletionStatus completion_status = 4;
+ * @return int
+ */
+ public function getCompletionStatus()
+ {
+ return $this->completion_status;
+ }
+
+ /**
+ * Status for the execution completion.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionReference.CompletionStatus completion_status = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setCompletionStatus($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\ExecutionReference\CompletionStatus::class);
+ $this->completion_status = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionReference/CompletionStatus.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionReference/CompletionStatus.php
new file mode 100644
index 000000000000..329e05e4330a
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionReference/CompletionStatus.php
@@ -0,0 +1,85 @@
+google.cloud.run.v2.ExecutionReference.CompletionStatus
+ */
+class CompletionStatus
+{
+ /**
+ * The default value. This value is used if the state is omitted.
+ *
+ * Generated from protobuf enum COMPLETION_STATUS_UNSPECIFIED = 0;
+ */
+ const COMPLETION_STATUS_UNSPECIFIED = 0;
+ /**
+ * Job execution has succeeded.
+ *
+ * Generated from protobuf enum EXECUTION_SUCCEEDED = 1;
+ */
+ const EXECUTION_SUCCEEDED = 1;
+ /**
+ * Job execution has failed.
+ *
+ * Generated from protobuf enum EXECUTION_FAILED = 2;
+ */
+ const EXECUTION_FAILED = 2;
+ /**
+ * Job execution is running normally.
+ *
+ * Generated from protobuf enum EXECUTION_RUNNING = 3;
+ */
+ const EXECUTION_RUNNING = 3;
+ /**
+ * Waiting for backing resources to be provisioned.
+ *
+ * Generated from protobuf enum EXECUTION_PENDING = 4;
+ */
+ const EXECUTION_PENDING = 4;
+ /**
+ * Job execution has been cancelled by the user.
+ *
+ * Generated from protobuf enum EXECUTION_CANCELLED = 5;
+ */
+ const EXECUTION_CANCELLED = 5;
+
+ private static $valueToName = [
+ self::COMPLETION_STATUS_UNSPECIFIED => 'COMPLETION_STATUS_UNSPECIFIED',
+ self::EXECUTION_SUCCEEDED => 'EXECUTION_SUCCEEDED',
+ self::EXECUTION_FAILED => 'EXECUTION_FAILED',
+ self::EXECUTION_RUNNING => 'EXECUTION_RUNNING',
+ self::EXECUTION_PENDING => 'EXECUTION_PENDING',
+ self::EXECUTION_CANCELLED => 'EXECUTION_CANCELLED',
+ ];
+
+ 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);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(CompletionStatus::class, \Google\Cloud\Run\V2\ExecutionReference_CompletionStatus::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionTemplate.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionTemplate.php
new file mode 100644
index 000000000000..18ee4a6bffb3
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionTemplate.php
@@ -0,0 +1,322 @@
+google.cloud.run.v2.ExecutionTemplate
+ */
+class ExecutionTemplate extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Unstructured key value map that can be used to organize and categorize
+ * objects.
+ * User-provided labels are shared with Google's billing system, so they can
+ * be used to filter, or break down billing charges by team, component,
+ * environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ *
Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 ExecutionTemplate.
+ *
+ * Generated from protobuf field map
+ */
+ private $labels;
+ /**
+ * Unstructured key value map that may be set by external tools to store and
+ * arbitrary metadata. They are not queryable and should be preserved
+ * when modifying objects.
+ *
Cloud Run API v2 does not support annotations with `run.googleapis.com`, + * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` + * namespaces, and they will be rejected. All system annotations in v1 now + * have a corresponding field in v2 ExecutionTemplate. + *
This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ *
+ * Generated from protobuf field map
+ */
+ private $annotations;
+ /**
+ * Specifies the maximum desired number of tasks the execution should run at
+ * given time. Must be <= task_count.
+ * When the job is run, if this field is 0 or unset, the maximum possible
+ * value will be used for that execution.
+ * The actual number of tasks running in steady state will be less than this
+ * number when there are fewer tasks waiting to be completed remaining,
+ * i.e. when the work left to do is less than max parallelism.
+ *
+ * Generated from protobuf field int32 parallelism = 3;
+ */
+ protected $parallelism = 0;
+ /**
+ * Specifies the desired number of tasks the execution should run.
+ * Setting to 1 means that parallelism is limited to 1 and the success of
+ * that task signals the success of the execution. Defaults to 1.
+ *
+ * Generated from protobuf field int32 task_count = 4;
+ */
+ protected $task_count = 0;
+ /**
+ * Required. Describes the task(s) that will be created when executing an
+ * execution.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $template = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Unstructured key value map that can be used to organize and categorize
+ * objects.
+ * User-provided labels are shared with Google's billing system, so they can
+ * be used to filter, or break down billing charges by team, component,
+ * environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ *
Cloud Run API v2 does not support labels with `run.googleapis.com`, + * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` + * namespaces, and they will be rejected. All system labels in v1 now have a + * corresponding field in v2 ExecutionTemplate. + * @type array|\Google\Protobuf\Internal\MapField $annotations + * Unstructured key value map that may be set by external tools to store and + * arbitrary metadata. They are not queryable and should be preserved + * when modifying objects. + *
Cloud Run API v2 does not support annotations with `run.googleapis.com`, + * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` + * namespaces, and they will be rejected. All system annotations in v1 now + * have a corresponding field in v2 ExecutionTemplate. + *
This field follows Kubernetes annotations' namespacing, limits, and + * rules. + * @type int $parallelism + * Specifies the maximum desired number of tasks the execution should run at + * given time. Must be <= task_count. + * When the job is run, if this field is 0 or unset, the maximum possible + * value will be used for that execution. + * The actual number of tasks running in steady state will be less than this + * number when there are fewer tasks waiting to be completed remaining, + * i.e. when the work left to do is less than max parallelism. + * @type int $task_count + * Specifies the desired number of tasks the execution should run. + * Setting to 1 means that parallelism is limited to 1 and the success of + * that task signals the success of the execution. Defaults to 1. + * @type \Google\Cloud\Run\V2\TaskTemplate $template + * Required. Describes the task(s) that will be created when executing an + * execution. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Run\V2\ExecutionTemplate::initOnce(); + parent::__construct($data); + } + + /** + * Unstructured key value map that can be used to organize and categorize + * objects. + * User-provided labels are shared with Google's billing system, so they can + * be used to filter, or break down billing charges by team, component, + * environment, state, etc. For more information, visit + * https://cloud.google.com/resource-manager/docs/creating-managing-labels or + * https://cloud.google.com/run/docs/configuring/labels. + *
Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 ExecutionTemplate.
+ *
+ * Generated from protobuf field map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Unstructured key value map that can be used to organize and categorize
+ * objects.
+ * User-provided labels are shared with Google's billing system, so they can
+ * be used to filter, or break down billing charges by team, component,
+ * environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ *
Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 ExecutionTemplate.
+ *
+ * Generated from protobuf field map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Unstructured key value map that may be set by external tools to store and
+ * arbitrary metadata. They are not queryable and should be preserved
+ * when modifying objects.
+ *
Cloud Run API v2 does not support annotations with `run.googleapis.com`, + * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` + * namespaces, and they will be rejected. All system annotations in v1 now + * have a corresponding field in v2 ExecutionTemplate. + *
This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ *
+ * Generated from protobuf field map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+
+ /**
+ * Unstructured key value map that may be set by external tools to store and
+ * arbitrary metadata. They are not queryable and should be preserved
+ * when modifying objects.
+ *
Cloud Run API v2 does not support annotations with `run.googleapis.com`, + * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` + * namespaces, and they will be rejected. All system annotations in v1 now + * have a corresponding field in v2 ExecutionTemplate. + *
This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 Job.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected on new resources. All system
+ * annotations in v1 now have a corresponding field in v2 Job.
+ * This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ *
+ * Generated from protobuf field
+ * For example, if ALPHA is provided as input, but only BETA and GA-level
+ * features are used, this field will be BETA on output.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 Job.
+ * @type array|\Google\Protobuf\Internal\MapField $annotations
+ * Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ * Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected on new resources. All system
+ * annotations in v1 now have a corresponding field in v2 Job.
+ * This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. The creation time.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. The last-modified time.
+ * @type \Google\Protobuf\Timestamp $delete_time
+ * Output only. The deletion time. It is only populated as a response to a
+ * Delete request.
+ * @type \Google\Protobuf\Timestamp $expire_time
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted.
+ * @type string $creator
+ * Output only. Email address of the authenticated creator.
+ * @type string $last_modifier
+ * Output only. Email address of the last authenticated modifier.
+ * @type string $client
+ * Arbitrary identifier for the API client.
+ * @type string $client_version
+ * Arbitrary version identifier for the API client.
+ * @type int $launch_stage
+ * The launch stage as defined by [Google Cloud Platform
+ * Launch Stages](https://cloud.google.com/terms/launch-stages).
+ * Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA
+ * is assumed.
+ * Set the launch stage to a preview stage on input to allow use of preview
+ * features in that stage. On read (or output), describes whether the resource
+ * uses preview features.
+ *
+ * For example, if ALPHA is provided as input, but only BETA and GA-level
+ * features are used, this field will be BETA on output.
+ * @type \Google\Cloud\Run\V2\BinaryAuthorization $binary_authorization
+ * Settings for the Binary Authorization feature.
+ * @type \Google\Cloud\Run\V2\ExecutionTemplate $template
+ * Required. The template used to create executions for this Job.
+ * @type int|string $observed_generation
+ * Output only. The generation of this Job. See comments in `reconciling` for
+ * additional information on reconciliation process in Cloud Run.
+ * @type \Google\Cloud\Run\V2\Condition $terminal_condition
+ * Output only. The Condition of this Job, containing its readiness status,
+ * and detailed error information in case it did not reach the desired state.
+ * @type array<\Google\Cloud\Run\V2\Condition>|\Google\Protobuf\Internal\RepeatedField $conditions
+ * Output only. The Conditions of all other associated sub-resources. They
+ * contain additional diagnostics information in case the Job does not reach
+ * its desired state. See comments in `reconciling` for additional information
+ * on reconciliation process in Cloud Run.
+ * @type int $execution_count
+ * Output only. Number of executions created for this job.
+ * @type \Google\Cloud\Run\V2\ExecutionReference $latest_created_execution
+ * Output only. Name of the last created execution.
+ * @type bool $reconciling
+ * Output only. Returns true if the Job is currently being acted upon by the
+ * system to bring it into the desired state.
+ * When a new Job is created, or an existing one is updated, Cloud Run
+ * will asynchronously perform all necessary steps to bring the Job to the
+ * desired state. This process is called reconciliation.
+ * While reconciliation is in process, `observed_generation` and
+ * `latest_succeeded_execution`, will have transient values that might
+ * mismatch the intended state: Once reconciliation is over (and this field is
+ * false), there are two possible outcomes: reconciliation succeeded and the
+ * state matches the Job, or there was an error, and reconciliation failed.
+ * This state can be found in `terminal_condition.state`.
+ * If reconciliation succeeded, the following fields will match:
+ * `observed_generation` and `generation`, `latest_succeeded_execution` and
+ * `latest_created_execution`.
+ * If reconciliation failed, `observed_generation` and
+ * `latest_succeeded_execution` will have the state of the last succeeded
+ * execution or empty for newly created Job. Additional information on the
+ * failure can be found in `terminal_condition` and `conditions`.
+ * @type bool $satisfies_pzs
+ * Output only. Reserved for future use.
+ * @type string $start_execution_token
+ * A unique string used as a suffix creating a new execution. The Job will
+ * become ready when the execution is successfully started.
+ * The sum of job name and token length must be fewer than 63 characters.
+ * @type string $run_execution_token
+ * A unique string used as a suffix for creating a new execution. The Job
+ * will become ready when the execution is successfully completed.
+ * The sum of job name and token length must be fewer than 63 characters.
+ * @type string $etag
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The fully qualified name of this Job.
+ * Format:
+ * projects/{project}/locations/{location}/jobs/{job}
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 Job.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 Job.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected on new resources. All system
+ * annotations in v1 now have a corresponding field in v2 Job.
+ * This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected on new resources. All system
+ * annotations in v1 now have a corresponding field in v2 Job.
+ * This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ *
+ * Generated from protobuf field
+ * For example, if ALPHA is provided as input, but only BETA and GA-level
+ * features are used, this field will be BETA on output.
+ *
+ * Generated from protobuf field
+ * For example, if ALPHA is provided as input, but only BETA and GA-level
+ * features are used, this field will be BETA on output.
+ *
+ * Generated from protobuf field Notes:
+ * * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4
+ * CPU requires at least 2Gi of memory. For more information, go to
+ * https://cloud.google.com/run/docs/configuring/cpu.
+ * * For supported 'memory' values and syntax, go to
+ * https://cloud.google.com/run/docs/configuring/memory-limits
+ *
+ * Generated from protobuf field Notes:
+ * * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4
+ * CPU requires at least 2Gi of memory. For more information, go to
+ * https://cloud.google.com/run/docs/configuring/cpu.
+ * * For supported 'memory' values and syntax, go to
+ * https://cloud.google.com/run/docs/configuring/memory-limits
+ * @type bool $cpu_idle
+ * Determines whether CPU is only allocated during requests (true by default).
+ * However, if ResourceRequirements is set, the caller must explicitly
+ * set this field to true to preserve the default behavior.
+ * @type bool $startup_cpu_boost
+ * Determines whether CPU should be boosted on startup of a new container
+ * instance above the requested CPU threshold, this can help reduce cold-start
+ * latency.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Only `memory` and `cpu` keys in the map are supported.
+ * Notes:
+ * * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4
+ * CPU requires at least 2Gi of memory. For more information, go to
+ * https://cloud.google.com/run/docs/configuring/cpu.
+ * * For supported 'memory' values and syntax, go to
+ * https://cloud.google.com/run/docs/configuring/memory-limits
+ *
+ * Generated from protobuf field Notes:
+ * * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4
+ * CPU requires at least 2Gi of memory. For more information, go to
+ * https://cloud.google.com/run/docs/configuring/cpu.
+ * * For supported 'memory' values and syntax, go to
+ * https://cloud.google.com/run/docs/configuring/memory-limits
+ *
+ * Generated from protobuf field Note that this value might not be what was used
+ * as input. For example, if ALPHA was provided as input in the parent
+ * resource, but only BETA and GA-level features are were, this field will be
+ * BETA.
+ *
+ * Generated from protobuf field Note that this value might not be what was used
+ * as input. For example, if ALPHA was provided as input in the parent
+ * resource, but only BETA and GA-level features are were, this field will be
+ * BETA.
+ * @type string $service
+ * Output only. The name of the parent service.
+ * @type \Google\Cloud\Run\V2\RevisionScaling $scaling
+ * Scaling settings for this revision.
+ * @type \Google\Cloud\Run\V2\VpcAccess $vpc_access
+ * VPC Access configuration for this Revision. For more information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ * @type int $max_instance_request_concurrency
+ * Sets the maximum number of requests that each serving instance can receive.
+ * @type \Google\Protobuf\Duration $timeout
+ * Max allowed time for an instance to respond to a request.
+ * @type string $service_account
+ * Email address of the IAM service account associated with the revision of
+ * the service. The service account represents the identity of the running
+ * revision, and determines what permissions the revision has.
+ * @type array<\Google\Cloud\Run\V2\Container>|\Google\Protobuf\Internal\RepeatedField $containers
+ * Holds the single container that defines the unit of execution for this
+ * Revision.
+ * @type array<\Google\Cloud\Run\V2\Volume>|\Google\Protobuf\Internal\RepeatedField $volumes
+ * A list of Volumes to make available to containers.
+ * @type int $execution_environment
+ * The execution environment being used to host this Revision.
+ * @type string $encryption_key
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ * @type \Google\Cloud\Run\V2\ServiceMesh $service_mesh
+ * Enables service mesh connectivity.
+ * @type int $encryption_key_revocation_action
+ * The action to take if the encryption key is revoked.
+ * @type \Google\Protobuf\Duration $encryption_key_shutdown_duration
+ * If encryption_key_revocation_action is SHUTDOWN, the duration before
+ * shutting down all instances. The minimum increment is 1 hour.
+ * @type bool $reconciling
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Service.reconciling` for additional information
+ * on reconciliation process in Cloud Run.
+ * @type array<\Google\Cloud\Run\V2\Condition>|\Google\Protobuf\Internal\RepeatedField $conditions
+ * Output only. The Condition of this Revision, containing its readiness
+ * status, and detailed error information in case it did not reach a serving
+ * state.
+ * @type int|string $observed_generation
+ * Output only. The generation of this Revision currently serving traffic. See
+ * comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ * @type string $log_uri
+ * Output only. The Google Console URI to obtain logs for the Revision.
+ * @type bool $satisfies_pzs
+ * Output only. Reserved for future use.
+ * @type bool $session_affinity
+ * Enable session affinity.
+ * @type \Google\Cloud\Run\V2\RevisionScalingStatus $scaling_status
+ * Output only. The current effective scaling settings for the revision.
+ * @type \Google\Cloud\Run\V2\NodeSelector $node_selector
+ * The node selector for the revision.
+ * @type string $etag
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Revision::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The unique name of this Revision.
+ *
+ * Generated from protobuf field Note that this value might not be what was used
+ * as input. For example, if ALPHA was provided as input in the parent
+ * resource, but only BETA and GA-level features are were, this field will be
+ * BETA.
+ *
+ * Generated from protobuf field Note that this value might not be what was used
+ * as input. For example, if ALPHA was provided as input in the parent
+ * resource, but only BETA and GA-level features are were, this field will be
+ * BETA.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 RevisionTemplate.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system annotations in v1 now
+ * have a corresponding field in v2 RevisionTemplate.
+ * This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 RevisionTemplate.
+ * @type array|\Google\Protobuf\Internal\MapField $annotations
+ * Optional. Unstructured key value map that may be set by external tools to
+ * store and arbitrary metadata. They are not queryable and should be
+ * preserved when modifying objects.
+ * Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system annotations in v1 now
+ * have a corresponding field in v2 RevisionTemplate.
+ * This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ * @type \Google\Cloud\Run\V2\RevisionScaling $scaling
+ * Optional. Scaling settings for this Revision.
+ * @type \Google\Cloud\Run\V2\VpcAccess $vpc_access
+ * Optional. VPC Access configuration to use for this Revision. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ * @type \Google\Protobuf\Duration $timeout
+ * Optional. Max allowed time for an instance to respond to a request.
+ * @type string $service_account
+ * Optional. Email address of the IAM service account associated with the
+ * revision of the service. The service account represents the identity of the
+ * running revision, and determines what permissions the revision has. If not
+ * provided, the revision will use the project's default service account.
+ * @type array<\Google\Cloud\Run\V2\Container>|\Google\Protobuf\Internal\RepeatedField $containers
+ * Holds the single container that defines the unit of execution for this
+ * Revision.
+ * @type array<\Google\Cloud\Run\V2\Volume>|\Google\Protobuf\Internal\RepeatedField $volumes
+ * Optional. A list of Volumes to make available to containers.
+ * @type int $execution_environment
+ * Optional. The sandbox environment to host this Revision.
+ * @type string $encryption_key
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ * @type int $max_instance_request_concurrency
+ * Optional. Sets the maximum number of requests that each serving instance
+ * can receive. If not specified or 0, concurrency defaults to 80 when
+ * requested `CPU >= 1` and defaults to 1 when requested `CPU < 1`.
+ * @type \Google\Cloud\Run\V2\ServiceMesh $service_mesh
+ * Optional. Enables service mesh connectivity.
+ * @type int $encryption_key_revocation_action
+ * Optional. The action to take if the encryption key is revoked.
+ * @type \Google\Protobuf\Duration $encryption_key_shutdown_duration
+ * Optional. If encryption_key_revocation_action is SHUTDOWN, the duration
+ * before shutting down all instances. The minimum increment is 1 hour.
+ * @type bool $session_affinity
+ * Optional. Enable session affinity.
+ * @type bool $health_check_disabled
+ * Optional. Disables health checking containers during deployment.
+ * @type \Google\Cloud\Run\V2\NodeSelector $node_selector
+ * Optional. The node selector for the revision template.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\RevisionTemplate::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. The unique name for the revision. If this field is omitted, it
+ * will be automatically generated based on the Service name.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 RevisionTemplate.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 RevisionTemplate.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system annotations in v1 now
+ * have a corresponding field in v2 RevisionTemplate.
+ * This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system annotations in v1 now
+ * have a corresponding field in v2 RevisionTemplate.
+ * This field follows Kubernetes annotations' namespacing, limits, and
+ * rules.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 Service.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected in new resources. All system
+ * annotations in v1 now have a corresponding field in v2 Service.
+ * This field follows Kubernetes
+ * annotations' namespacing, limits, and rules.
+ *
+ * Generated from protobuf field
+ * For example, if ALPHA is provided as input, but only BETA and GA-level
+ * features are used, this field will be BETA on output.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 Service.
+ * @type array|\Google\Protobuf\Internal\MapField $annotations
+ * Optional. Unstructured key value map that may be set by external tools to
+ * store and arbitrary metadata. They are not queryable and should be
+ * preserved when modifying objects.
+ * Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected in new resources. All system
+ * annotations in v1 now have a corresponding field in v2 Service.
+ * This field follows Kubernetes
+ * annotations' namespacing, limits, and rules.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. The creation time.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. The last-modified time.
+ * @type \Google\Protobuf\Timestamp $delete_time
+ * Output only. The deletion time. It is only populated as a response to a
+ * Delete request.
+ * @type \Google\Protobuf\Timestamp $expire_time
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted.
+ * @type string $creator
+ * Output only. Email address of the authenticated creator.
+ * @type string $last_modifier
+ * Output only. Email address of the last authenticated modifier.
+ * @type string $client
+ * Arbitrary identifier for the API client.
+ * @type string $client_version
+ * Arbitrary version identifier for the API client.
+ * @type int $ingress
+ * Optional. Provides the ingress settings for this Service. On output,
+ * returns the currently observed ingress settings, or
+ * INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
+ * @type int $launch_stage
+ * Optional. The launch stage as defined by [Google Cloud Platform
+ * Launch Stages](https://cloud.google.com/terms/launch-stages).
+ * Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA
+ * is assumed.
+ * Set the launch stage to a preview stage on input to allow use of preview
+ * features in that stage. On read (or output), describes whether the resource
+ * uses preview features.
+ *
+ * For example, if ALPHA is provided as input, but only BETA and GA-level
+ * features are used, this field will be BETA on output.
+ * @type \Google\Cloud\Run\V2\BinaryAuthorization $binary_authorization
+ * Optional. Settings for the Binary Authorization feature.
+ * @type \Google\Cloud\Run\V2\RevisionTemplate $template
+ * Required. The template used to create revisions for this Service.
+ * @type array<\Google\Cloud\Run\V2\TrafficTarget>|\Google\Protobuf\Internal\RepeatedField $traffic
+ * Optional. Specifies how to distribute traffic over a collection of
+ * Revisions belonging to the Service. If traffic is empty or not provided,
+ * defaults to 100% traffic to the latest `Ready` Revision.
+ * @type \Google\Cloud\Run\V2\ServiceScaling $scaling
+ * Optional. Specifies service-level scaling settings
+ * @type bool $invoker_iam_disabled
+ * Optional. Disables IAM permission check for run.routes.invoke for callers
+ * of this service. This feature is available by invitation only. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
+ * @type bool $default_uri_disabled
+ * Optional. Disables public resolution of the default URI of this service.
+ * @type array Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 Service.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support labels with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected. All system labels in v1 now have a
+ * corresponding field in v2 Service.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected in new resources. All system
+ * annotations in v1 now have a corresponding field in v2 Service.
+ * This field follows Kubernetes
+ * annotations' namespacing, limits, and rules.
+ *
+ * Generated from protobuf field Cloud Run API v2 does not support annotations with `run.googleapis.com`,
+ * `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
+ * namespaces, and they will be rejected in new resources. All system
+ * annotations in v1 now have a corresponding field in v2 Service.
+ * This field follows Kubernetes
+ * annotations' namespacing, limits, and rules.
+ *
+ * Generated from protobuf field
+ * For example, if ALPHA is provided as input, but only BETA and GA-level
+ * features are used, this field will be BETA on output.
+ *
+ * Generated from protobuf field
+ * For example, if ALPHA is provided as input, but only BETA and GA-level
+ * features are used, this field will be BETA on output.
+ *
+ * Generated from protobuf field map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setAnnotations($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->annotations = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Specifies the maximum desired number of tasks the execution should run at
+ * given time. Must be <= task_count.
+ * When the job is run, if this field is 0 or unset, the maximum possible
+ * value will be used for that execution.
+ * The actual number of tasks running in steady state will be less than this
+ * number when there are fewer tasks waiting to be completed remaining,
+ * i.e. when the work left to do is less than max parallelism.
+ *
+ * Generated from protobuf field int32 parallelism = 3;
+ * @return int
+ */
+ public function getParallelism()
+ {
+ return $this->parallelism;
+ }
+
+ /**
+ * Specifies the maximum desired number of tasks the execution should run at
+ * given time. Must be <= task_count.
+ * When the job is run, if this field is 0 or unset, the maximum possible
+ * value will be used for that execution.
+ * The actual number of tasks running in steady state will be less than this
+ * number when there are fewer tasks waiting to be completed remaining,
+ * i.e. when the work left to do is less than max parallelism.
+ *
+ * Generated from protobuf field int32 parallelism = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setParallelism($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->parallelism = $var;
+
+ return $this;
+ }
+
+ /**
+ * Specifies the desired number of tasks the execution should run.
+ * Setting to 1 means that parallelism is limited to 1 and the success of
+ * that task signals the success of the execution. Defaults to 1.
+ *
+ * Generated from protobuf field int32 task_count = 4;
+ * @return int
+ */
+ public function getTaskCount()
+ {
+ return $this->task_count;
+ }
+
+ /**
+ * Specifies the desired number of tasks the execution should run.
+ * Setting to 1 means that parallelism is limited to 1 and the success of
+ * that task signals the success of the execution. Defaults to 1.
+ *
+ * Generated from protobuf field int32 task_count = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setTaskCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->task_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Describes the task(s) that will be created when executing an
+ * execution.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Run\V2\TaskTemplate|null
+ */
+ public function getTemplate()
+ {
+ return $this->template;
+ }
+
+ public function hasTemplate()
+ {
+ return isset($this->template);
+ }
+
+ public function clearTemplate()
+ {
+ unset($this->template);
+ }
+
+ /**
+ * Required. Describes the task(s) that will be created when executing an
+ * execution.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Run\V2\TaskTemplate $var
+ * @return $this
+ */
+ public function setTemplate($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\TaskTemplate::class);
+ $this->template = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GCSVolumeSource.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GCSVolumeSource.php
new file mode 100644
index 000000000000..659846b4e6bd
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GCSVolumeSource.php
@@ -0,0 +1,140 @@
+google.cloud.run.v2.GCSVolumeSource
+ */
+class GCSVolumeSource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Cloud Storage Bucket name.
+ *
+ * Generated from protobuf field string bucket = 1;
+ */
+ protected $bucket = '';
+ /**
+ * If true, the volume will be mounted as read only for all mounts.
+ *
+ * Generated from protobuf field bool read_only = 2;
+ */
+ protected $read_only = false;
+ /**
+ * A list of additional flags to pass to the gcsfuse CLI.
+ * Options should be specified without the leading "--".
+ *
+ * Generated from protobuf field repeated string mount_options = 3;
+ */
+ private $mount_options;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $bucket
+ * Cloud Storage Bucket name.
+ * @type bool $read_only
+ * If true, the volume will be mounted as read only for all mounts.
+ * @type arraystring bucket = 1;
+ * @return string
+ */
+ public function getBucket()
+ {
+ return $this->bucket;
+ }
+
+ /**
+ * Cloud Storage Bucket name.
+ *
+ * Generated from protobuf field string bucket = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setBucket($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->bucket = $var;
+
+ return $this;
+ }
+
+ /**
+ * If true, the volume will be mounted as read only for all mounts.
+ *
+ * Generated from protobuf field bool read_only = 2;
+ * @return bool
+ */
+ public function getReadOnly()
+ {
+ return $this->read_only;
+ }
+
+ /**
+ * If true, the volume will be mounted as read only for all mounts.
+ *
+ * Generated from protobuf field bool read_only = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setReadOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->read_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of additional flags to pass to the gcsfuse CLI.
+ * Options should be specified without the leading "--".
+ *
+ * Generated from protobuf field repeated string mount_options = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getMountOptions()
+ {
+ return $this->mount_options;
+ }
+
+ /**
+ * A list of additional flags to pass to the gcsfuse CLI.
+ * Options should be specified without the leading "--".
+ *
+ * Generated from protobuf field repeated string mount_options = 3;
+ * @param arrayint32 port = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $port = 0;
+ /**
+ * Optional. Service is the name of the service to place in the gRPC
+ * HealthCheckRequest (see
+ * https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this
+ * is not specified, the default behavior is defined by gRPC.
+ *
+ * Generated from protobuf field string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $service = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $port
+ * Optional. Port number of the gRPC service. Number must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ * @type string $service
+ * Optional. Service is the name of the service to place in the gRPC
+ * HealthCheckRequest (see
+ * https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this
+ * is not specified, the default behavior is defined by gRPC.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Port number of the gRPC service. Number must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ *
+ * Generated from protobuf field int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ /**
+ * Optional. Port number of the gRPC service. Number must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ *
+ * Generated from protobuf field int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPort($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->port = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Service is the name of the service to place in the gRPC
+ * HealthCheckRequest (see
+ * https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this
+ * is not specified, the default behavior is defined by gRPC.
+ *
+ * Generated from protobuf field string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->service;
+ }
+
+ /**
+ * Optional. Service is the name of the service to place in the gRPC
+ * HealthCheckRequest (see
+ * https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this
+ * is not specified, the default behavior is defined by gRPC.
+ *
+ * Generated from protobuf field string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setService($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetExecutionRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetExecutionRequest.php
new file mode 100644
index 000000000000..8ecf98e5ef55
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetExecutionRequest.php
@@ -0,0 +1,96 @@
+google.cloud.run.v2.GetExecutionRequest
+ */
+class GetExecutionRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The full name of the Execution.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The full name of the Execution.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number. Please see
+ * {@see ExecutionsClient::executionName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\GetExecutionRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The full name of the Execution.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Execution::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The full name of the Execution.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The full name of the Execution.
+ * Format:
+ * `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`,
+ * where `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetJobRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetJobRequest.php
new file mode 100644
index 000000000000..8d43efd711f4
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetJobRequest.php
@@ -0,0 +1,91 @@
+google.cloud.run.v2.GetJobRequest
+ */
+class GetJobRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number. Please see
+ * {@see JobsClient::jobName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\GetJobRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetRevisionRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetRevisionRequest.php
new file mode 100644
index 000000000000..23fa3012691d
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetRevisionRequest.php
@@ -0,0 +1,91 @@
+google.cloud.run.v2.GetRevisionRequest
+ */
+class GetRevisionRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The full name of the Revision.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The full name of the Revision.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ * Please see {@see RevisionsClient::revisionName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\GetRevisionRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The full name of the Revision.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Revision::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The full name of the Revision.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The full name of the Revision.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetServiceRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetServiceRequest.php
new file mode 100644
index 000000000000..4a5aeb399c01
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetServiceRequest.php
@@ -0,0 +1,91 @@
+google.cloud.run.v2.GetServiceRequest
+ */
+class GetServiceRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number. Please see
+ * {@see ServicesClient::serviceName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\GetServiceRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The full name of the Service.
+ * Format: projects/{project}/locations/{location}/services/{service}, where
+ * {project} can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetTaskRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetTaskRequest.php
new file mode 100644
index 000000000000..925a9bb98395
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetTaskRequest.php
@@ -0,0 +1,91 @@
+google.cloud.run.v2.GetTaskRequest
+ */
+class GetTaskRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The full name of the Task.
+ * Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The full name of the Task.
+ * Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
+ * Please see {@see TasksClient::taskName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\GetTaskRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The full name of the Task.
+ * Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Task::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The full name of the Task.
+ * Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The full name of the Task.
+ * Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/HTTPGetAction.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/HTTPGetAction.php
new file mode 100644
index 000000000000..371a24d2a139
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/HTTPGetAction.php
@@ -0,0 +1,147 @@
+google.cloud.run.v2.HTTPGetAction
+ */
+class HTTPGetAction extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Path to access on the HTTP server. Defaults to '/'.
+ *
+ * Generated from protobuf field string path = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $path = '';
+ /**
+ * Optional. Custom headers to set in the request. HTTP allows repeated
+ * headers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $http_headers;
+ /**
+ * Optional. Port number to access on the container. Must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ *
+ * Generated from protobuf field int32 port = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $port = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $path
+ * Optional. Path to access on the HTTP server. Defaults to '/'.
+ * @type array<\Google\Cloud\Run\V2\HTTPHeader>|\Google\Protobuf\Internal\RepeatedField $http_headers
+ * Optional. Custom headers to set in the request. HTTP allows repeated
+ * headers.
+ * @type int $port
+ * Optional. Port number to access on the container. Must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Path to access on the HTTP server. Defaults to '/'.
+ *
+ * Generated from protobuf field string path = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ /**
+ * Optional. Path to access on the HTTP server. Defaults to '/'.
+ *
+ * Generated from protobuf field string path = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setPath($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->path = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Custom headers to set in the request. HTTP allows repeated
+ * headers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getHttpHeaders()
+ {
+ return $this->http_headers;
+ }
+
+ /**
+ * Optional. Custom headers to set in the request. HTTP allows repeated
+ * headers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\Run\V2\HTTPHeader>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setHttpHeaders($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\HTTPHeader::class);
+ $this->http_headers = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Port number to access on the container. Must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ *
+ * Generated from protobuf field int32 port = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ /**
+ * Optional. Port number to access on the container. Must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ *
+ * Generated from protobuf field int32 port = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPort($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->port = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/HTTPHeader.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/HTTPHeader.php
new file mode 100644
index 000000000000..036332d24bb8
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/HTTPHeader.php
@@ -0,0 +1,101 @@
+google.cloud.run.v2.HTTPHeader
+ */
+class HTTPHeader extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The header field name
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ /**
+ * Optional. The header field value
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $value = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The header field name
+ * @type string $value
+ * Optional. The header field value
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The header field name
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The header field name
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The header field value
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Optional. The header field value
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->value = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/IngressTraffic.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/IngressTraffic.php
new file mode 100644
index 000000000000..c9e391f2e464
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/IngressTraffic.php
@@ -0,0 +1,75 @@
+google.cloud.run.v2.IngressTraffic
+ */
+class IngressTraffic
+{
+ /**
+ * Unspecified
+ *
+ * Generated from protobuf enum INGRESS_TRAFFIC_UNSPECIFIED = 0;
+ */
+ const INGRESS_TRAFFIC_UNSPECIFIED = 0;
+ /**
+ * All inbound traffic is allowed.
+ *
+ * Generated from protobuf enum INGRESS_TRAFFIC_ALL = 1;
+ */
+ const INGRESS_TRAFFIC_ALL = 1;
+ /**
+ * Only internal traffic is allowed.
+ *
+ * Generated from protobuf enum INGRESS_TRAFFIC_INTERNAL_ONLY = 2;
+ */
+ const INGRESS_TRAFFIC_INTERNAL_ONLY = 2;
+ /**
+ * Both internal and Google Cloud Load Balancer traffic is allowed.
+ *
+ * Generated from protobuf enum INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER = 3;
+ */
+ const INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER = 3;
+ /**
+ * No ingress traffic is allowed.
+ *
+ * Generated from protobuf enum INGRESS_TRAFFIC_NONE = 4;
+ */
+ const INGRESS_TRAFFIC_NONE = 4;
+
+ private static $valueToName = [
+ self::INGRESS_TRAFFIC_UNSPECIFIED => 'INGRESS_TRAFFIC_UNSPECIFIED',
+ self::INGRESS_TRAFFIC_ALL => 'INGRESS_TRAFFIC_ALL',
+ self::INGRESS_TRAFFIC_INTERNAL_ONLY => 'INGRESS_TRAFFIC_INTERNAL_ONLY',
+ self::INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER => 'INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER',
+ self::INGRESS_TRAFFIC_NONE => 'INGRESS_TRAFFIC_NONE',
+ ];
+
+ 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/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Job.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Job.php
new file mode 100644
index 000000000000..c38afcf3c49e
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Job.php
@@ -0,0 +1,1249 @@
+google.cloud.run.v2.Job
+ */
+class Job extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The fully qualified name of this Job.
+ * Format:
+ * projects/{project}/locations/{location}/jobs/{job}
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * Output only. Server assigned unique identifier for the Execution. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $uid = '';
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $generation = 0;
+ /**
+ * Unstructured key value map that can be used to organize and categorize
+ * objects.
+ * User-provided labels are shared with Google's billing system, so they can
+ * be used to filter, or break down billing charges by team, component,
+ * environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * map
+ */
+ private $labels;
+ /**
+ * Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ * map
+ */
+ private $annotations;
+ /**
+ * Output only. The creation time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Output only. The deletion time. It is only populated as a response to a
+ * Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $delete_time = null;
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $expire_time = null;
+ /**
+ * Output only. Email address of the authenticated creator.
+ *
+ * Generated from protobuf field string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $creator = '';
+ /**
+ * Output only. Email address of the last authenticated modifier.
+ *
+ * Generated from protobuf field string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $last_modifier = '';
+ /**
+ * Arbitrary identifier for the API client.
+ *
+ * Generated from protobuf field string client = 12;
+ */
+ protected $client = '';
+ /**
+ * Arbitrary version identifier for the API client.
+ *
+ * Generated from protobuf field string client_version = 13;
+ */
+ protected $client_version = '';
+ /**
+ * The launch stage as defined by [Google Cloud Platform
+ * Launch Stages](https://cloud.google.com/terms/launch-stages).
+ * Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA
+ * is assumed.
+ * Set the launch stage to a preview stage on input to allow use of preview
+ * features in that stage. On read (or output), describes whether the resource
+ * uses preview features.
+ * .google.api.LaunchStage launch_stage = 14;
+ */
+ protected $launch_stage = 0;
+ /**
+ * Settings for the Binary Authorization feature.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
+ */
+ protected $binary_authorization = null;
+ /**
+ * Required. The template used to create executions for this Job.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $template = null;
+ /**
+ * Output only. The generation of this Job. See comments in `reconciling` for
+ * additional information on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $observed_generation = 0;
+ /**
+ * Output only. The Condition of this Job, containing its readiness status,
+ * and detailed error information in case it did not reach the desired state.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $terminal_condition = null;
+ /**
+ * Output only. The Conditions of all other associated sub-resources. They
+ * contain additional diagnostics information in case the Job does not reach
+ * its desired state. See comments in `reconciling` for additional information
+ * on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $conditions;
+ /**
+ * Output only. Number of executions created for this job.
+ *
+ * Generated from protobuf field int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $execution_count = 0;
+ /**
+ * Output only. Name of the last created execution.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $latest_created_execution = null;
+ /**
+ * Output only. Returns true if the Job is currently being acted upon by the
+ * system to bring it into the desired state.
+ * When a new Job is created, or an existing one is updated, Cloud Run
+ * will asynchronously perform all necessary steps to bring the Job to the
+ * desired state. This process is called reconciliation.
+ * While reconciliation is in process, `observed_generation` and
+ * `latest_succeeded_execution`, will have transient values that might
+ * mismatch the intended state: Once reconciliation is over (and this field is
+ * false), there are two possible outcomes: reconciliation succeeded and the
+ * state matches the Job, or there was an error, and reconciliation failed.
+ * This state can be found in `terminal_condition.state`.
+ * If reconciliation succeeded, the following fields will match:
+ * `observed_generation` and `generation`, `latest_succeeded_execution` and
+ * `latest_created_execution`.
+ * If reconciliation failed, `observed_generation` and
+ * `latest_succeeded_execution` will have the state of the last succeeded
+ * execution or empty for newly created Job. Additional information on the
+ * failure can be found in `terminal_condition` and `conditions`.
+ *
+ * Generated from protobuf field bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $reconciling = false;
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $satisfies_pzs = false;
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $etag = '';
+ protected $create_execution;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * The fully qualified name of this Job.
+ * Format:
+ * projects/{project}/locations/{location}/jobs/{job}
+ * @type string $uid
+ * Output only. Server assigned unique identifier for the Execution. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ * @type int|string $generation
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Unstructured key value map that can be used to organize and categorize
+ * objects.
+ * User-provided labels are shared with Google's billing system, so they can
+ * be used to filter, or break down billing charges by team, component,
+ * environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * The fully qualified name of this Job.
+ * Format:
+ * projects/{project}/locations/{location}/jobs/{job}
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the Execution. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getUid()
+ {
+ return $this->uid;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the Execution. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setUid($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uid = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Unstructured key value map that can be used to organize and categorize
+ * objects.
+ * User-provided labels are shared with Google's billing system, so they can
+ * be used to filter, or break down billing charges by team, component,
+ * environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Unstructured key value map that can be used to organize and categorize
+ * objects.
+ * User-provided labels are shared with Google's billing system, so they can
+ * be used to filter, or break down billing charges by team, component,
+ * environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ * map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+
+ /**
+ * Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ * map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setAnnotations($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->annotations = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The creation time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. The creation time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The deletion time. It is only populated as a response to a
+ * Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getDeleteTime()
+ {
+ return $this->delete_time;
+ }
+
+ public function hasDeleteTime()
+ {
+ return isset($this->delete_time);
+ }
+
+ public function clearDeleteTime()
+ {
+ unset($this->delete_time);
+ }
+
+ /**
+ * Output only. The deletion time. It is only populated as a response to a
+ * Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setDeleteTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->delete_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getExpireTime()
+ {
+ return $this->expire_time;
+ }
+
+ public function hasExpireTime()
+ {
+ return isset($this->expire_time);
+ }
+
+ public function clearExpireTime()
+ {
+ unset($this->expire_time);
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setExpireTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->expire_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Email address of the authenticated creator.
+ *
+ * Generated from protobuf field string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getCreator()
+ {
+ return $this->creator;
+ }
+
+ /**
+ * Output only. Email address of the authenticated creator.
+ *
+ * Generated from protobuf field string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setCreator($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->creator = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Email address of the last authenticated modifier.
+ *
+ * Generated from protobuf field string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getLastModifier()
+ {
+ return $this->last_modifier;
+ }
+
+ /**
+ * Output only. Email address of the last authenticated modifier.
+ *
+ * Generated from protobuf field string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setLastModifier($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->last_modifier = $var;
+
+ return $this;
+ }
+
+ /**
+ * Arbitrary identifier for the API client.
+ *
+ * Generated from protobuf field string client = 12;
+ * @return string
+ */
+ public function getClient()
+ {
+ return $this->client;
+ }
+
+ /**
+ * Arbitrary identifier for the API client.
+ *
+ * Generated from protobuf field string client = 12;
+ * @param string $var
+ * @return $this
+ */
+ public function setClient($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->client = $var;
+
+ return $this;
+ }
+
+ /**
+ * Arbitrary version identifier for the API client.
+ *
+ * Generated from protobuf field string client_version = 13;
+ * @return string
+ */
+ public function getClientVersion()
+ {
+ return $this->client_version;
+ }
+
+ /**
+ * Arbitrary version identifier for the API client.
+ *
+ * Generated from protobuf field string client_version = 13;
+ * @param string $var
+ * @return $this
+ */
+ public function setClientVersion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->client_version = $var;
+
+ return $this;
+ }
+
+ /**
+ * The launch stage as defined by [Google Cloud Platform
+ * Launch Stages](https://cloud.google.com/terms/launch-stages).
+ * Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA
+ * is assumed.
+ * Set the launch stage to a preview stage on input to allow use of preview
+ * features in that stage. On read (or output), describes whether the resource
+ * uses preview features.
+ * .google.api.LaunchStage launch_stage = 14;
+ * @return int
+ */
+ public function getLaunchStage()
+ {
+ return $this->launch_stage;
+ }
+
+ /**
+ * The launch stage as defined by [Google Cloud Platform
+ * Launch Stages](https://cloud.google.com/terms/launch-stages).
+ * Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA
+ * is assumed.
+ * Set the launch stage to a preview stage on input to allow use of preview
+ * features in that stage. On read (or output), describes whether the resource
+ * uses preview features.
+ * .google.api.LaunchStage launch_stage = 14;
+ * @param int $var
+ * @return $this
+ */
+ public function setLaunchStage($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Api\LaunchStage::class);
+ $this->launch_stage = $var;
+
+ return $this;
+ }
+
+ /**
+ * Settings for the Binary Authorization feature.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
+ * @return \Google\Cloud\Run\V2\BinaryAuthorization|null
+ */
+ public function getBinaryAuthorization()
+ {
+ return $this->binary_authorization;
+ }
+
+ public function hasBinaryAuthorization()
+ {
+ return isset($this->binary_authorization);
+ }
+
+ public function clearBinaryAuthorization()
+ {
+ unset($this->binary_authorization);
+ }
+
+ /**
+ * Settings for the Binary Authorization feature.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
+ * @param \Google\Cloud\Run\V2\BinaryAuthorization $var
+ * @return $this
+ */
+ public function setBinaryAuthorization($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\BinaryAuthorization::class);
+ $this->binary_authorization = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The template used to create executions for this Job.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Run\V2\ExecutionTemplate|null
+ */
+ public function getTemplate()
+ {
+ return $this->template;
+ }
+
+ public function hasTemplate()
+ {
+ return isset($this->template);
+ }
+
+ public function clearTemplate()
+ {
+ unset($this->template);
+ }
+
+ /**
+ * Required. The template used to create executions for this Job.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Run\V2\ExecutionTemplate $var
+ * @return $this
+ */
+ public function setTemplate($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\ExecutionTemplate::class);
+ $this->template = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The generation of this Job. See comments in `reconciling` for
+ * additional information on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getObservedGeneration()
+ {
+ return $this->observed_generation;
+ }
+
+ /**
+ * Output only. The generation of this Job. See comments in `reconciling` for
+ * additional information on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setObservedGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->observed_generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Condition of this Job, containing its readiness status,
+ * and detailed error information in case it did not reach the desired state.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\Run\V2\Condition|null
+ */
+ public function getTerminalCondition()
+ {
+ return $this->terminal_condition;
+ }
+
+ public function hasTerminalCondition()
+ {
+ return isset($this->terminal_condition);
+ }
+
+ public function clearTerminalCondition()
+ {
+ unset($this->terminal_condition);
+ }
+
+ /**
+ * Output only. The Condition of this Job, containing its readiness status,
+ * and detailed error information in case it did not reach the desired state.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\Run\V2\Condition $var
+ * @return $this
+ */
+ public function setTerminalCondition($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\Condition::class);
+ $this->terminal_condition = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Conditions of all other associated sub-resources. They
+ * contain additional diagnostics information in case the Job does not reach
+ * its desired state. See comments in `reconciling` for additional information
+ * on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+
+ /**
+ * Output only. The Conditions of all other associated sub-resources. They
+ * contain additional diagnostics information in case the Job does not reach
+ * its desired state. See comments in `reconciling` for additional information
+ * on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\Run\V2\Condition>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setConditions($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Condition::class);
+ $this->conditions = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Number of executions created for this job.
+ *
+ * Generated from protobuf field int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getExecutionCount()
+ {
+ return $this->execution_count;
+ }
+
+ /**
+ * Output only. Number of executions created for this job.
+ *
+ * Generated from protobuf field int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setExecutionCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->execution_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Name of the last created execution.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\Run\V2\ExecutionReference|null
+ */
+ public function getLatestCreatedExecution()
+ {
+ return $this->latest_created_execution;
+ }
+
+ public function hasLatestCreatedExecution()
+ {
+ return isset($this->latest_created_execution);
+ }
+
+ public function clearLatestCreatedExecution()
+ {
+ unset($this->latest_created_execution);
+ }
+
+ /**
+ * Output only. Name of the last created execution.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\Run\V2\ExecutionReference $var
+ * @return $this
+ */
+ public function setLatestCreatedExecution($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\ExecutionReference::class);
+ $this->latest_created_execution = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Returns true if the Job is currently being acted upon by the
+ * system to bring it into the desired state.
+ * When a new Job is created, or an existing one is updated, Cloud Run
+ * will asynchronously perform all necessary steps to bring the Job to the
+ * desired state. This process is called reconciliation.
+ * While reconciliation is in process, `observed_generation` and
+ * `latest_succeeded_execution`, will have transient values that might
+ * mismatch the intended state: Once reconciliation is over (and this field is
+ * false), there are two possible outcomes: reconciliation succeeded and the
+ * state matches the Job, or there was an error, and reconciliation failed.
+ * This state can be found in `terminal_condition.state`.
+ * If reconciliation succeeded, the following fields will match:
+ * `observed_generation` and `generation`, `latest_succeeded_execution` and
+ * `latest_created_execution`.
+ * If reconciliation failed, `observed_generation` and
+ * `latest_succeeded_execution` will have the state of the last succeeded
+ * execution or empty for newly created Job. Additional information on the
+ * failure can be found in `terminal_condition` and `conditions`.
+ *
+ * Generated from protobuf field bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getReconciling()
+ {
+ return $this->reconciling;
+ }
+
+ /**
+ * Output only. Returns true if the Job is currently being acted upon by the
+ * system to bring it into the desired state.
+ * When a new Job is created, or an existing one is updated, Cloud Run
+ * will asynchronously perform all necessary steps to bring the Job to the
+ * desired state. This process is called reconciliation.
+ * While reconciliation is in process, `observed_generation` and
+ * `latest_succeeded_execution`, will have transient values that might
+ * mismatch the intended state: Once reconciliation is over (and this field is
+ * false), there are two possible outcomes: reconciliation succeeded and the
+ * state matches the Job, or there was an error, and reconciliation failed.
+ * This state can be found in `terminal_condition.state`.
+ * If reconciliation succeeded, the following fields will match:
+ * `observed_generation` and `generation`, `latest_succeeded_execution` and
+ * `latest_created_execution`.
+ * If reconciliation failed, `observed_generation` and
+ * `latest_succeeded_execution` will have the state of the last succeeded
+ * execution or empty for newly created Job. Additional information on the
+ * failure can be found in `terminal_condition` and `conditions`.
+ *
+ * Generated from protobuf field bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setReconciling($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->reconciling = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getSatisfiesPzs()
+ {
+ return $this->satisfies_pzs;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setSatisfiesPzs($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->satisfies_pzs = $var;
+
+ return $this;
+ }
+
+ /**
+ * A unique string used as a suffix creating a new execution. The Job will
+ * become ready when the execution is successfully started.
+ * The sum of job name and token length must be fewer than 63 characters.
+ *
+ * Generated from protobuf field string start_execution_token = 26;
+ * @return string
+ */
+ public function getStartExecutionToken()
+ {
+ return $this->readOneof(26);
+ }
+
+ public function hasStartExecutionToken()
+ {
+ return $this->hasOneof(26);
+ }
+
+ /**
+ * A unique string used as a suffix creating a new execution. The Job will
+ * become ready when the execution is successfully started.
+ * The sum of job name and token length must be fewer than 63 characters.
+ *
+ * Generated from protobuf field string start_execution_token = 26;
+ * @param string $var
+ * @return $this
+ */
+ public function setStartExecutionToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(26, $var);
+
+ return $this;
+ }
+
+ /**
+ * A unique string used as a suffix for creating a new execution. The Job
+ * will become ready when the execution is successfully completed.
+ * The sum of job name and token length must be fewer than 63 characters.
+ *
+ * Generated from protobuf field string run_execution_token = 27;
+ * @return string
+ */
+ public function getRunExecutionToken()
+ {
+ return $this->readOneof(27);
+ }
+
+ public function hasRunExecutionToken()
+ {
+ return $this->hasOneof(27);
+ }
+
+ /**
+ * A unique string used as a suffix for creating a new execution. The Job
+ * will become ready when the execution is successfully completed.
+ * The sum of job name and token length must be fewer than 63 characters.
+ *
+ * Generated from protobuf field string run_execution_token = 27;
+ * @param string $var
+ * @return $this
+ */
+ public function setRunExecutionToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(27, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getCreateExecution()
+ {
+ return $this->whichOneof("create_execution");
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListExecutionsRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListExecutionsRequest.php
new file mode 100644
index 000000000000..909879ad84ea
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListExecutionsRequest.php
@@ -0,0 +1,202 @@
+google.cloud.run.v2.ListExecutionsRequest
+ */
+class ListExecutionsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The Execution from which the Executions should be listed.
+ * To list all Executions across Jobs, use "-" instead of Job name.
+ * Format: `projects/{project}/locations/{location}/jobs/{job}`, where
+ * `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Maximum number of Executions to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ */
+ protected $page_size = 0;
+ /**
+ * A page token received from a previous call to ListExecutions.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ */
+ protected $page_token = '';
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ */
+ protected $show_deleted = false;
+
+ /**
+ * @param string $parent Required. The Execution from which the Executions should be listed.
+ * To list all Executions across Jobs, use "-" instead of Job name.
+ * Format: `projects/{project}/locations/{location}/jobs/{job}`, where
+ * `{project}` can be project id or number. Please see
+ * {@see ExecutionsClient::jobName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\ListExecutionsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The Execution from which the Executions should be listed.
+ * To list all Executions across Jobs, use "-" instead of Job name.
+ * Format: `projects/{project}/locations/{location}/jobs/{job}`, where
+ * `{project}` can be project id or number.
+ * @type int $page_size
+ * Maximum number of Executions to return in this call.
+ * @type string $page_token
+ * A page token received from a previous call to ListExecutions.
+ * All other parameters must match.
+ * @type bool $show_deleted
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Execution::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The Execution from which the Executions should be listed.
+ * To list all Executions across Jobs, use "-" instead of Job name.
+ * Format: `projects/{project}/locations/{location}/jobs/{job}`, where
+ * `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The Execution from which the Executions should be listed.
+ * To list all Executions across Jobs, use "-" instead of Job name.
+ * Format: `projects/{project}/locations/{location}/jobs/{job}`, where
+ * `{project}` can be project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Maximum number of Executions to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Maximum number of Executions to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A page token received from a previous call to ListExecutions.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A page token received from a previous call to ListExecutions.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @return bool
+ */
+ public function getShowDeleted()
+ {
+ return $this->show_deleted;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setShowDeleted($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->show_deleted = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListExecutionsResponse.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListExecutionsResponse.php
new file mode 100644
index 000000000000..66ffa08a98f2
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListExecutionsResponse.php
@@ -0,0 +1,105 @@
+google.cloud.run.v2.ListExecutionsResponse
+ */
+class ListExecutionsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resulting list of Executions.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Execution executions = 1;
+ */
+ private $executions;
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListExecutions request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Run\V2\Execution>|\Google\Protobuf\Internal\RepeatedField $executions
+ * The resulting list of Executions.
+ * @type string $next_page_token
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListExecutions request to continue.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Execution::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resulting list of Executions.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Execution executions = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExecutions()
+ {
+ return $this->executions;
+ }
+
+ /**
+ * The resulting list of Executions.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Execution executions = 1;
+ * @param array<\Google\Cloud\Run\V2\Execution>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExecutions($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Execution::class);
+ $this->executions = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListExecutions request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListExecutions request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListJobsRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListJobsRequest.php
new file mode 100644
index 000000000000..076ac55e2e82
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListJobsRequest.php
@@ -0,0 +1,197 @@
+google.cloud.run.v2.ListJobsRequest
+ */
+class ListJobsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The location and project to list resources on.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Maximum number of Jobs to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ */
+ protected $page_size = 0;
+ /**
+ * A page token received from a previous call to ListJobs.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ */
+ protected $page_token = '';
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ */
+ protected $show_deleted = false;
+
+ /**
+ * @param string $parent Required. The location and project to list resources on.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number. Please see
+ * {@see JobsClient::locationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\ListJobsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The location and project to list resources on.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number.
+ * @type int $page_size
+ * Maximum number of Jobs to return in this call.
+ * @type string $page_token
+ * A page token received from a previous call to ListJobs.
+ * All other parameters must match.
+ * @type bool $show_deleted
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The location and project to list resources on.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The location and project to list resources on.
+ * Format: projects/{project}/locations/{location}, where {project} can be
+ * project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Maximum number of Jobs to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Maximum number of Jobs to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A page token received from a previous call to ListJobs.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A page token received from a previous call to ListJobs.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @return bool
+ */
+ public function getShowDeleted()
+ {
+ return $this->show_deleted;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setShowDeleted($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->show_deleted = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListJobsResponse.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListJobsResponse.php
new file mode 100644
index 000000000000..1d0b4c4b6c6c
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListJobsResponse.php
@@ -0,0 +1,105 @@
+google.cloud.run.v2.ListJobsResponse
+ */
+class ListJobsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resulting list of Jobs.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Job jobs = 1;
+ */
+ private $jobs;
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListJobs request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Run\V2\Job>|\Google\Protobuf\Internal\RepeatedField $jobs
+ * The resulting list of Jobs.
+ * @type string $next_page_token
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListJobs request to continue.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resulting list of Jobs.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Job jobs = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getJobs()
+ {
+ return $this->jobs;
+ }
+
+ /**
+ * The resulting list of Jobs.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Job jobs = 1;
+ * @param array<\Google\Cloud\Run\V2\Job>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setJobs($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Job::class);
+ $this->jobs = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListJobs request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListJobs request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListRevisionsRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListRevisionsRequest.php
new file mode 100644
index 000000000000..01cde2b85c98
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListRevisionsRequest.php
@@ -0,0 +1,202 @@
+google.cloud.run.v2.ListRevisionsRequest
+ */
+class ListRevisionsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The Service from which the Revisions should be listed.
+ * To list all Revisions across Services, use "-" instead of Service name.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Maximum number of revisions to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ */
+ protected $page_size = 0;
+ /**
+ * A page token received from a previous call to ListRevisions.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ */
+ protected $page_token = '';
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ */
+ protected $show_deleted = false;
+
+ /**
+ * @param string $parent Required. The Service from which the Revisions should be listed.
+ * To list all Revisions across Services, use "-" instead of Service name.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}
+ * Please see {@see RevisionsClient::serviceName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\ListRevisionsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The Service from which the Revisions should be listed.
+ * To list all Revisions across Services, use "-" instead of Service name.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}
+ * @type int $page_size
+ * Maximum number of revisions to return in this call.
+ * @type string $page_token
+ * A page token received from a previous call to ListRevisions.
+ * All other parameters must match.
+ * @type bool $show_deleted
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Revision::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The Service from which the Revisions should be listed.
+ * To list all Revisions across Services, use "-" instead of Service name.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The Service from which the Revisions should be listed.
+ * To list all Revisions across Services, use "-" instead of Service name.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service}
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Maximum number of revisions to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Maximum number of revisions to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A page token received from a previous call to ListRevisions.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A page token received from a previous call to ListRevisions.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @return bool
+ */
+ public function getShowDeleted()
+ {
+ return $this->show_deleted;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setShowDeleted($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->show_deleted = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListRevisionsResponse.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListRevisionsResponse.php
new file mode 100644
index 000000000000..e4a2db90f4f3
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListRevisionsResponse.php
@@ -0,0 +1,105 @@
+google.cloud.run.v2.ListRevisionsResponse
+ */
+class ListRevisionsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resulting list of Revisions.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Revision revisions = 1;
+ */
+ private $revisions;
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListRevisions request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Run\V2\Revision>|\Google\Protobuf\Internal\RepeatedField $revisions
+ * The resulting list of Revisions.
+ * @type string $next_page_token
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListRevisions request to continue.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Revision::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resulting list of Revisions.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Revision revisions = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRevisions()
+ {
+ return $this->revisions;
+ }
+
+ /**
+ * The resulting list of Revisions.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Revision revisions = 1;
+ * @param array<\Google\Cloud\Run\V2\Revision>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setRevisions($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Revision::class);
+ $this->revisions = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListRevisions request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListRevisions request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListServicesRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListServicesRequest.php
new file mode 100644
index 000000000000..1cd78b619338
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListServicesRequest.php
@@ -0,0 +1,202 @@
+google.cloud.run.v2.ListServicesRequest
+ */
+class ListServicesRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The location and project to list resources on.
+ * Location must be a valid Google Cloud region, and cannot be the "-"
+ * wildcard. Format: projects/{project}/locations/{location}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Maximum number of Services to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ */
+ protected $page_size = 0;
+ /**
+ * A page token received from a previous call to ListServices.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ */
+ protected $page_token = '';
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ */
+ protected $show_deleted = false;
+
+ /**
+ * @param string $parent Required. The location and project to list resources on.
+ * Location must be a valid Google Cloud region, and cannot be the "-"
+ * wildcard. Format: projects/{project}/locations/{location}, where {project}
+ * can be project id or number. Please see
+ * {@see ServicesClient::locationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\ListServicesRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The location and project to list resources on.
+ * Location must be a valid Google Cloud region, and cannot be the "-"
+ * wildcard. Format: projects/{project}/locations/{location}, where {project}
+ * can be project id or number.
+ * @type int $page_size
+ * Maximum number of Services to return in this call.
+ * @type string $page_token
+ * A page token received from a previous call to ListServices.
+ * All other parameters must match.
+ * @type bool $show_deleted
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The location and project to list resources on.
+ * Location must be a valid Google Cloud region, and cannot be the "-"
+ * wildcard. Format: projects/{project}/locations/{location}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The location and project to list resources on.
+ * Location must be a valid Google Cloud region, and cannot be the "-"
+ * wildcard. Format: projects/{project}/locations/{location}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Maximum number of Services to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Maximum number of Services to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A page token received from a previous call to ListServices.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A page token received from a previous call to ListServices.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @return bool
+ */
+ public function getShowDeleted()
+ {
+ return $this->show_deleted;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setShowDeleted($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->show_deleted = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListServicesResponse.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListServicesResponse.php
new file mode 100644
index 000000000000..06cdb054df84
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListServicesResponse.php
@@ -0,0 +1,105 @@
+google.cloud.run.v2.ListServicesResponse
+ */
+class ListServicesResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resulting list of Services.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Service services = 1;
+ */
+ private $services;
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListServices request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Run\V2\Service>|\Google\Protobuf\Internal\RepeatedField $services
+ * The resulting list of Services.
+ * @type string $next_page_token
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListServices request to continue.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resulting list of Services.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Service services = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getServices()
+ {
+ return $this->services;
+ }
+
+ /**
+ * The resulting list of Services.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Service services = 1;
+ * @param array<\Google\Cloud\Run\V2\Service>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setServices($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Service::class);
+ $this->services = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListServices request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListServices request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListTasksRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListTasksRequest.php
new file mode 100644
index 000000000000..421799f38195
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListTasksRequest.php
@@ -0,0 +1,202 @@
+google.cloud.run.v2.ListTasksRequest
+ */
+class ListTasksRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The Execution from which the Tasks should be listed.
+ * To list all Tasks across Executions of a Job, use "-" instead of Execution
+ * name. To list all Tasks across Jobs, use "-" instead of Job name. Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Maximum number of Tasks to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ */
+ protected $page_size = 0;
+ /**
+ * A page token received from a previous call to ListTasks.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ */
+ protected $page_token = '';
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ */
+ protected $show_deleted = false;
+
+ /**
+ * @param string $parent Required. The Execution from which the Tasks should be listed.
+ * To list all Tasks across Executions of a Job, use "-" instead of Execution
+ * name. To list all Tasks across Jobs, use "-" instead of Job name. Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+ * Please see {@see TasksClient::executionName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\ListTasksRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The Execution from which the Tasks should be listed.
+ * To list all Tasks across Executions of a Job, use "-" instead of Execution
+ * name. To list all Tasks across Jobs, use "-" instead of Job name. Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+ * @type int $page_size
+ * Maximum number of Tasks to return in this call.
+ * @type string $page_token
+ * A page token received from a previous call to ListTasks.
+ * All other parameters must match.
+ * @type bool $show_deleted
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Task::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The Execution from which the Tasks should be listed.
+ * To list all Tasks across Executions of a Job, use "-" instead of Execution
+ * name. To list all Tasks across Jobs, use "-" instead of Job name. Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The Execution from which the Tasks should be listed.
+ * To list all Tasks across Executions of a Job, use "-" instead of Execution
+ * name. To list all Tasks across Jobs, use "-" instead of Job name. Format:
+ * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Maximum number of Tasks to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Maximum number of Tasks to return in this call.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A page token received from a previous call to ListTasks.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A page token received from a previous call to ListTasks.
+ * All other parameters must match.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @return bool
+ */
+ public function getShowDeleted()
+ {
+ return $this->show_deleted;
+ }
+
+ /**
+ * If true, returns deleted (but unexpired) resources along with active ones.
+ *
+ * Generated from protobuf field bool show_deleted = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setShowDeleted($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->show_deleted = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListTasksResponse.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListTasksResponse.php
new file mode 100644
index 000000000000..17804baa0f8d
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListTasksResponse.php
@@ -0,0 +1,105 @@
+google.cloud.run.v2.ListTasksResponse
+ */
+class ListTasksResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resulting list of Tasks.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Task tasks = 1;
+ */
+ private $tasks;
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListTasks request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Run\V2\Task>|\Google\Protobuf\Internal\RepeatedField $tasks
+ * The resulting list of Tasks.
+ * @type string $next_page_token
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListTasks request to continue.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Task::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resulting list of Tasks.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Task tasks = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getTasks()
+ {
+ return $this->tasks;
+ }
+
+ /**
+ * The resulting list of Tasks.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Task tasks = 1;
+ * @param array<\Google\Cloud\Run\V2\Task>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setTasks($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Task::class);
+ $this->tasks = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListTasks request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token indicating there are more items than page_size. Use it in the next
+ * ListTasks request to continue.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/NFSVolumeSource.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/NFSVolumeSource.php
new file mode 100644
index 000000000000..d77c34e73b2d
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/NFSVolumeSource.php
@@ -0,0 +1,135 @@
+google.cloud.run.v2.NFSVolumeSource
+ */
+class NFSVolumeSource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Hostname or IP address of the NFS server
+ *
+ * Generated from protobuf field string server = 1;
+ */
+ protected $server = '';
+ /**
+ * Path that is exported by the NFS server.
+ *
+ * Generated from protobuf field string path = 2;
+ */
+ protected $path = '';
+ /**
+ * If true, the volume will be mounted as read only for all mounts.
+ *
+ * Generated from protobuf field bool read_only = 3;
+ */
+ protected $read_only = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $server
+ * Hostname or IP address of the NFS server
+ * @type string $path
+ * Path that is exported by the NFS server.
+ * @type bool $read_only
+ * If true, the volume will be mounted as read only for all mounts.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Hostname or IP address of the NFS server
+ *
+ * Generated from protobuf field string server = 1;
+ * @return string
+ */
+ public function getServer()
+ {
+ return $this->server;
+ }
+
+ /**
+ * Hostname or IP address of the NFS server
+ *
+ * Generated from protobuf field string server = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setServer($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->server = $var;
+
+ return $this;
+ }
+
+ /**
+ * Path that is exported by the NFS server.
+ *
+ * Generated from protobuf field string path = 2;
+ * @return string
+ */
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ /**
+ * Path that is exported by the NFS server.
+ *
+ * Generated from protobuf field string path = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setPath($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->path = $var;
+
+ return $this;
+ }
+
+ /**
+ * If true, the volume will be mounted as read only for all mounts.
+ *
+ * Generated from protobuf field bool read_only = 3;
+ * @return bool
+ */
+ public function getReadOnly()
+ {
+ return $this->read_only;
+ }
+
+ /**
+ * If true, the volume will be mounted as read only for all mounts.
+ *
+ * Generated from protobuf field bool read_only = 3;
+ * @param bool $var
+ * @return $this
+ */
+ public function setReadOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->read_only = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/NodeSelector.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/NodeSelector.php
new file mode 100644
index 000000000000..54fd94337d57
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/NodeSelector.php
@@ -0,0 +1,67 @@
+google.cloud.run.v2.NodeSelector
+ */
+class NodeSelector extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. GPU accelerator type to attach to an instance.
+ *
+ * Generated from protobuf field string accelerator = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $accelerator = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $accelerator
+ * Required. GPU accelerator type to attach to an instance.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\VendorSettings::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. GPU accelerator type to attach to an instance.
+ *
+ * Generated from protobuf field string accelerator = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getAccelerator()
+ {
+ return $this->accelerator;
+ }
+
+ /**
+ * Required. GPU accelerator type to attach to an instance.
+ *
+ * Generated from protobuf field string accelerator = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setAccelerator($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->accelerator = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Probe.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Probe.php
new file mode 100644
index 000000000000..07da4f964c37
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Probe.php
@@ -0,0 +1,319 @@
+google.cloud.run.v2.Probe
+ */
+class Probe extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Number of seconds after the container has started before the
+ * probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum
+ * value for liveness probe is 3600. Maximum value for startup probe is 240.
+ *
+ * Generated from protobuf field int32 initial_delay_seconds = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $initial_delay_seconds = 0;
+ /**
+ * Optional. Number of seconds after which the probe times out.
+ * Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
+ * Must be smaller than period_seconds.
+ *
+ * Generated from protobuf field int32 timeout_seconds = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $timeout_seconds = 0;
+ /**
+ * Optional. How often (in seconds) to perform the probe.
+ * Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
+ * is 3600. Maximum value for startup probe is 240.
+ * Must be greater or equal than timeout_seconds.
+ *
+ * Generated from protobuf field int32 period_seconds = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $period_seconds = 0;
+ /**
+ * Optional. Minimum consecutive failures for the probe to be considered
+ * failed after having succeeded. Defaults to 3. Minimum value is 1.
+ *
+ * Generated from protobuf field int32 failure_threshold = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $failure_threshold = 0;
+ protected $probe_type;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $initial_delay_seconds
+ * Optional. Number of seconds after the container has started before the
+ * probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum
+ * value for liveness probe is 3600. Maximum value for startup probe is 240.
+ * @type int $timeout_seconds
+ * Optional. Number of seconds after which the probe times out.
+ * Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
+ * Must be smaller than period_seconds.
+ * @type int $period_seconds
+ * Optional. How often (in seconds) to perform the probe.
+ * Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
+ * is 3600. Maximum value for startup probe is 240.
+ * Must be greater or equal than timeout_seconds.
+ * @type int $failure_threshold
+ * Optional. Minimum consecutive failures for the probe to be considered
+ * failed after having succeeded. Defaults to 3. Minimum value is 1.
+ * @type \Google\Cloud\Run\V2\HTTPGetAction $http_get
+ * Optional. HTTPGet specifies the http request to perform.
+ * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+ * @type \Google\Cloud\Run\V2\TCPSocketAction $tcp_socket
+ * Optional. TCPSocket specifies an action involving a TCP port.
+ * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+ * @type \Google\Cloud\Run\V2\GRPCAction $grpc
+ * Optional. GRPC specifies an action involving a gRPC port.
+ * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Number of seconds after the container has started before the
+ * probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum
+ * value for liveness probe is 3600. Maximum value for startup probe is 240.
+ *
+ * Generated from protobuf field int32 initial_delay_seconds = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getInitialDelaySeconds()
+ {
+ return $this->initial_delay_seconds;
+ }
+
+ /**
+ * Optional. Number of seconds after the container has started before the
+ * probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum
+ * value for liveness probe is 3600. Maximum value for startup probe is 240.
+ *
+ * Generated from protobuf field int32 initial_delay_seconds = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setInitialDelaySeconds($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->initial_delay_seconds = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Number of seconds after which the probe times out.
+ * Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
+ * Must be smaller than period_seconds.
+ *
+ * Generated from protobuf field int32 timeout_seconds = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getTimeoutSeconds()
+ {
+ return $this->timeout_seconds;
+ }
+
+ /**
+ * Optional. Number of seconds after which the probe times out.
+ * Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
+ * Must be smaller than period_seconds.
+ *
+ * Generated from protobuf field int32 timeout_seconds = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setTimeoutSeconds($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->timeout_seconds = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. How often (in seconds) to perform the probe.
+ * Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
+ * is 3600. Maximum value for startup probe is 240.
+ * Must be greater or equal than timeout_seconds.
+ *
+ * Generated from protobuf field int32 period_seconds = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPeriodSeconds()
+ {
+ return $this->period_seconds;
+ }
+
+ /**
+ * Optional. How often (in seconds) to perform the probe.
+ * Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
+ * is 3600. Maximum value for startup probe is 240.
+ * Must be greater or equal than timeout_seconds.
+ *
+ * Generated from protobuf field int32 period_seconds = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPeriodSeconds($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->period_seconds = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Minimum consecutive failures for the probe to be considered
+ * failed after having succeeded. Defaults to 3. Minimum value is 1.
+ *
+ * Generated from protobuf field int32 failure_threshold = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getFailureThreshold()
+ {
+ return $this->failure_threshold;
+ }
+
+ /**
+ * Optional. Minimum consecutive failures for the probe to be considered
+ * failed after having succeeded. Defaults to 3. Minimum value is 1.
+ *
+ * Generated from protobuf field int32 failure_threshold = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setFailureThreshold($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->failure_threshold = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. HTTPGet specifies the http request to perform.
+ * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.HTTPGetAction http_get = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\HTTPGetAction|null
+ */
+ public function getHttpGet()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasHttpGet()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Optional. HTTPGet specifies the http request to perform.
+ * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.HTTPGetAction http_get = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\HTTPGetAction $var
+ * @return $this
+ */
+ public function setHttpGet($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\HTTPGetAction::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. TCPSocket specifies an action involving a TCP port.
+ * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TCPSocketAction tcp_socket = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\TCPSocketAction|null
+ */
+ public function getTcpSocket()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasTcpSocket()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * Optional. TCPSocket specifies an action involving a TCP port.
+ * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TCPSocketAction tcp_socket = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\TCPSocketAction $var
+ * @return $this
+ */
+ public function setTcpSocket($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\TCPSocketAction::class);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. GRPC specifies an action involving a gRPC port.
+ * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.GRPCAction grpc = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\GRPCAction|null
+ */
+ public function getGrpc()
+ {
+ return $this->readOneof(7);
+ }
+
+ public function hasGrpc()
+ {
+ return $this->hasOneof(7);
+ }
+
+ /**
+ * Optional. GRPC specifies an action involving a gRPC port.
+ * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.GRPCAction grpc = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\GRPCAction $var
+ * @return $this
+ */
+ public function setGrpc($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\GRPCAction::class);
+ $this->writeOneof(7, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getProbeType()
+ {
+ return $this->whichOneof("probe_type");
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ResourceRequirements.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ResourceRequirements.php
new file mode 100644
index 000000000000..9ba7760c5021
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ResourceRequirements.php
@@ -0,0 +1,175 @@
+google.cloud.run.v2.ResourceRequirements
+ */
+class ResourceRequirements extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Only `memory` and `cpu` keys in the map are supported.
+ * map
+ */
+ private $limits;
+ /**
+ * Determines whether CPU is only allocated during requests (true by default).
+ * However, if ResourceRequirements is set, the caller must explicitly
+ * set this field to true to preserve the default behavior.
+ *
+ * Generated from protobuf field bool cpu_idle = 2;
+ */
+ protected $cpu_idle = false;
+ /**
+ * Determines whether CPU should be boosted on startup of a new container
+ * instance above the requested CPU threshold, this can help reduce cold-start
+ * latency.
+ *
+ * Generated from protobuf field bool startup_cpu_boost = 3;
+ */
+ protected $startup_cpu_boost = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array|\Google\Protobuf\Internal\MapField $limits
+ * Only `memory` and `cpu` keys in the map are supported.
+ * map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLimits()
+ {
+ return $this->limits;
+ }
+
+ /**
+ * Only `memory` and `cpu` keys in the map are supported.
+ * map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLimits($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->limits = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Determines whether CPU is only allocated during requests (true by default).
+ * However, if ResourceRequirements is set, the caller must explicitly
+ * set this field to true to preserve the default behavior.
+ *
+ * Generated from protobuf field bool cpu_idle = 2;
+ * @return bool
+ */
+ public function getCpuIdle()
+ {
+ return $this->cpu_idle;
+ }
+
+ /**
+ * Determines whether CPU is only allocated during requests (true by default).
+ * However, if ResourceRequirements is set, the caller must explicitly
+ * set this field to true to preserve the default behavior.
+ *
+ * Generated from protobuf field bool cpu_idle = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setCpuIdle($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->cpu_idle = $var;
+
+ return $this;
+ }
+
+ /**
+ * Determines whether CPU should be boosted on startup of a new container
+ * instance above the requested CPU threshold, this can help reduce cold-start
+ * latency.
+ *
+ * Generated from protobuf field bool startup_cpu_boost = 3;
+ * @return bool
+ */
+ public function getStartupCpuBoost()
+ {
+ return $this->startup_cpu_boost;
+ }
+
+ /**
+ * Determines whether CPU should be boosted on startup of a new container
+ * instance above the requested CPU threshold, this can help reduce cold-start
+ * latency.
+ *
+ * Generated from protobuf field bool startup_cpu_boost = 3;
+ * @param bool $var
+ * @return $this
+ */
+ public function setStartupCpuBoost($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->startup_cpu_boost = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Revision.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Revision.php
new file mode 100644
index 000000000000..f3bdf65355ab
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Revision.php
@@ -0,0 +1,1373 @@
+google.cloud.run.v2.Revision
+ */
+class Revision extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The unique name of this Revision.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $name = '';
+ /**
+ * Output only. Server assigned unique identifier for the Revision. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $uid = '';
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $generation = 0;
+ /**
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ *
+ * Generated from protobuf field map
+ */
+ private $labels;
+ /**
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ *
+ * Generated from protobuf field map
+ */
+ private $annotations;
+ /**
+ * Output only. The creation time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $delete_time = null;
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $expire_time = null;
+ /**
+ * The least stable launch stage needed to create this resource, as defined by
+ * [Google Cloud Platform Launch
+ * Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
+ * `ALPHA`, `BETA`, and `GA`.
+ * .google.api.LaunchStage launch_stage = 10;
+ */
+ protected $launch_stage = 0;
+ /**
+ * Output only. The name of the parent service.
+ *
+ * Generated from protobuf field string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ */
+ protected $service = '';
+ /**
+ * Scaling settings for this revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionScaling scaling = 12;
+ */
+ protected $scaling = null;
+ /**
+ * VPC Access configuration for this Revision. For more information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 13;
+ */
+ protected $vpc_access = null;
+ /**
+ * Sets the maximum number of requests that each serving instance can receive.
+ *
+ * Generated from protobuf field int32 max_instance_request_concurrency = 34;
+ */
+ protected $max_instance_request_concurrency = 0;
+ /**
+ * Max allowed time for an instance to respond to a request.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 15;
+ */
+ protected $timeout = null;
+ /**
+ * Email address of the IAM service account associated with the revision of
+ * the service. The service account represents the identity of the running
+ * revision, and determines what permissions the revision has.
+ *
+ * Generated from protobuf field string service_account = 16;
+ */
+ protected $service_account = '';
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * Revision.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 17;
+ */
+ private $containers;
+ /**
+ * A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 18;
+ */
+ private $volumes;
+ /**
+ * The execution environment being used to host this Revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
+ */
+ protected $execution_environment = 0;
+ /**
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 21 [(.google.api.resource_reference) = {
+ */
+ protected $encryption_key = '';
+ /**
+ * Enables service mesh connectivity.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceMesh service_mesh = 22;
+ */
+ protected $service_mesh = null;
+ /**
+ * The action to take if the encryption key is revoked.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
+ */
+ protected $encryption_key_revocation_action = 0;
+ /**
+ * If encryption_key_revocation_action is SHUTDOWN, the duration before
+ * shutting down all instances. The minimum increment is 1 hour.
+ *
+ * Generated from protobuf field .google.protobuf.Duration encryption_key_shutdown_duration = 24;
+ */
+ protected $encryption_key_shutdown_duration = null;
+ /**
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Service.reconciling` for additional information
+ * on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $reconciling = false;
+ /**
+ * Output only. The Condition of this Revision, containing its readiness
+ * status, and detailed error information in case it did not reach a serving
+ * state.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $conditions;
+ /**
+ * Output only. The generation of this Revision currently serving traffic. See
+ * comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $observed_generation = 0;
+ /**
+ * Output only. The Google Console URI to obtain logs for the Revision.
+ *
+ * Generated from protobuf field string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $log_uri = '';
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $satisfies_pzs = false;
+ /**
+ * Enable session affinity.
+ *
+ * Generated from protobuf field bool session_affinity = 38;
+ */
+ protected $session_affinity = false;
+ /**
+ * Output only. The current effective scaling settings for the revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionScalingStatus scaling_status = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $scaling_status = null;
+ /**
+ * The node selector for the revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.NodeSelector node_selector = 40;
+ */
+ protected $node_selector = null;
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $etag = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. The unique name of this Revision.
+ * @type string $uid
+ * Output only. Server assigned unique identifier for the Revision. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ * @type int|string $generation
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * @type array|\Google\Protobuf\Internal\MapField $annotations
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. The creation time.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. The last-modified time.
+ * @type \Google\Protobuf\Timestamp $delete_time
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ * @type \Google\Protobuf\Timestamp $expire_time
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ * @type int $launch_stage
+ * The least stable launch stage needed to create this resource, as defined by
+ * [Google Cloud Platform Launch
+ * Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
+ * `ALPHA`, `BETA`, and `GA`.
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. The unique name of this Revision.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the Revision. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getUid()
+ {
+ return $this->uid;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the Revision. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setUid($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uid = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ *
+ * Generated from protobuf field map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ *
+ * Generated from protobuf field map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ *
+ * Generated from protobuf field map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+
+ /**
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ *
+ * Generated from protobuf field map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setAnnotations($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->annotations = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The creation time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. The creation time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getDeleteTime()
+ {
+ return $this->delete_time;
+ }
+
+ public function hasDeleteTime()
+ {
+ return isset($this->delete_time);
+ }
+
+ public function clearDeleteTime()
+ {
+ unset($this->delete_time);
+ }
+
+ /**
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setDeleteTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->delete_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getExpireTime()
+ {
+ return $this->expire_time;
+ }
+
+ public function hasExpireTime()
+ {
+ return isset($this->expire_time);
+ }
+
+ public function clearExpireTime()
+ {
+ unset($this->expire_time);
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setExpireTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->expire_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * The least stable launch stage needed to create this resource, as defined by
+ * [Google Cloud Platform Launch
+ * Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
+ * `ALPHA`, `BETA`, and `GA`.
+ * .google.api.LaunchStage launch_stage = 10;
+ * @return int
+ */
+ public function getLaunchStage()
+ {
+ return $this->launch_stage;
+ }
+
+ /**
+ * The least stable launch stage needed to create this resource, as defined by
+ * [Google Cloud Platform Launch
+ * Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
+ * `ALPHA`, `BETA`, and `GA`.
+ * .google.api.LaunchStage launch_stage = 10;
+ * @param int $var
+ * @return $this
+ */
+ public function setLaunchStage($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Api\LaunchStage::class);
+ $this->launch_stage = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The name of the parent service.
+ *
+ * Generated from protobuf field string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getService()
+ {
+ return $this->service;
+ }
+
+ /**
+ * Output only. The name of the parent service.
+ *
+ * Generated from protobuf field string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setService($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service = $var;
+
+ return $this;
+ }
+
+ /**
+ * Scaling settings for this revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionScaling scaling = 12;
+ * @return \Google\Cloud\Run\V2\RevisionScaling|null
+ */
+ public function getScaling()
+ {
+ return $this->scaling;
+ }
+
+ public function hasScaling()
+ {
+ return isset($this->scaling);
+ }
+
+ public function clearScaling()
+ {
+ unset($this->scaling);
+ }
+
+ /**
+ * Scaling settings for this revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionScaling scaling = 12;
+ * @param \Google\Cloud\Run\V2\RevisionScaling $var
+ * @return $this
+ */
+ public function setScaling($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\RevisionScaling::class);
+ $this->scaling = $var;
+
+ return $this;
+ }
+
+ /**
+ * VPC Access configuration for this Revision. For more information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 13;
+ * @return \Google\Cloud\Run\V2\VpcAccess|null
+ */
+ public function getVpcAccess()
+ {
+ return $this->vpc_access;
+ }
+
+ public function hasVpcAccess()
+ {
+ return isset($this->vpc_access);
+ }
+
+ public function clearVpcAccess()
+ {
+ unset($this->vpc_access);
+ }
+
+ /**
+ * VPC Access configuration for this Revision. For more information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 13;
+ * @param \Google\Cloud\Run\V2\VpcAccess $var
+ * @return $this
+ */
+ public function setVpcAccess($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\VpcAccess::class);
+ $this->vpc_access = $var;
+
+ return $this;
+ }
+
+ /**
+ * Sets the maximum number of requests that each serving instance can receive.
+ *
+ * Generated from protobuf field int32 max_instance_request_concurrency = 34;
+ * @return int
+ */
+ public function getMaxInstanceRequestConcurrency()
+ {
+ return $this->max_instance_request_concurrency;
+ }
+
+ /**
+ * Sets the maximum number of requests that each serving instance can receive.
+ *
+ * Generated from protobuf field int32 max_instance_request_concurrency = 34;
+ * @param int $var
+ * @return $this
+ */
+ public function setMaxInstanceRequestConcurrency($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->max_instance_request_concurrency = $var;
+
+ return $this;
+ }
+
+ /**
+ * Max allowed time for an instance to respond to a request.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 15;
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+
+ public function hasTimeout()
+ {
+ return isset($this->timeout);
+ }
+
+ public function clearTimeout()
+ {
+ unset($this->timeout);
+ }
+
+ /**
+ * Max allowed time for an instance to respond to a request.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 15;
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setTimeout($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->timeout = $var;
+
+ return $this;
+ }
+
+ /**
+ * Email address of the IAM service account associated with the revision of
+ * the service. The service account represents the identity of the running
+ * revision, and determines what permissions the revision has.
+ *
+ * Generated from protobuf field string service_account = 16;
+ * @return string
+ */
+ public function getServiceAccount()
+ {
+ return $this->service_account;
+ }
+
+ /**
+ * Email address of the IAM service account associated with the revision of
+ * the service. The service account represents the identity of the running
+ * revision, and determines what permissions the revision has.
+ *
+ * Generated from protobuf field string service_account = 16;
+ * @param string $var
+ * @return $this
+ */
+ public function setServiceAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service_account = $var;
+
+ return $this;
+ }
+
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * Revision.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 17;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getContainers()
+ {
+ return $this->containers;
+ }
+
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * Revision.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 17;
+ * @param array<\Google\Cloud\Run\V2\Container>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setContainers($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Container::class);
+ $this->containers = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 18;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getVolumes()
+ {
+ return $this->volumes;
+ }
+
+ /**
+ * A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 18;
+ * @param array<\Google\Cloud\Run\V2\Volume>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setVolumes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Volume::class);
+ $this->volumes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The execution environment being used to host this Revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
+ * @return int
+ */
+ public function getExecutionEnvironment()
+ {
+ return $this->execution_environment;
+ }
+
+ /**
+ * The execution environment being used to host this Revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
+ * @param int $var
+ * @return $this
+ */
+ public function setExecutionEnvironment($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\ExecutionEnvironment::class);
+ $this->execution_environment = $var;
+
+ return $this;
+ }
+
+ /**
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 21 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getEncryptionKey()
+ {
+ return $this->encryption_key;
+ }
+
+ /**
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 21 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setEncryptionKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->encryption_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Enables service mesh connectivity.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceMesh service_mesh = 22;
+ * @return \Google\Cloud\Run\V2\ServiceMesh|null
+ */
+ public function getServiceMesh()
+ {
+ return $this->service_mesh;
+ }
+
+ public function hasServiceMesh()
+ {
+ return isset($this->service_mesh);
+ }
+
+ public function clearServiceMesh()
+ {
+ unset($this->service_mesh);
+ }
+
+ /**
+ * Enables service mesh connectivity.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceMesh service_mesh = 22;
+ * @param \Google\Cloud\Run\V2\ServiceMesh $var
+ * @return $this
+ */
+ public function setServiceMesh($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\ServiceMesh::class);
+ $this->service_mesh = $var;
+
+ return $this;
+ }
+
+ /**
+ * The action to take if the encryption key is revoked.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
+ * @return int
+ */
+ public function getEncryptionKeyRevocationAction()
+ {
+ return $this->encryption_key_revocation_action;
+ }
+
+ /**
+ * The action to take if the encryption key is revoked.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
+ * @param int $var
+ * @return $this
+ */
+ public function setEncryptionKeyRevocationAction($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\EncryptionKeyRevocationAction::class);
+ $this->encryption_key_revocation_action = $var;
+
+ return $this;
+ }
+
+ /**
+ * If encryption_key_revocation_action is SHUTDOWN, the duration before
+ * shutting down all instances. The minimum increment is 1 hour.
+ *
+ * Generated from protobuf field .google.protobuf.Duration encryption_key_shutdown_duration = 24;
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getEncryptionKeyShutdownDuration()
+ {
+ return $this->encryption_key_shutdown_duration;
+ }
+
+ public function hasEncryptionKeyShutdownDuration()
+ {
+ return isset($this->encryption_key_shutdown_duration);
+ }
+
+ public function clearEncryptionKeyShutdownDuration()
+ {
+ unset($this->encryption_key_shutdown_duration);
+ }
+
+ /**
+ * If encryption_key_revocation_action is SHUTDOWN, the duration before
+ * shutting down all instances. The minimum increment is 1 hour.
+ *
+ * Generated from protobuf field .google.protobuf.Duration encryption_key_shutdown_duration = 24;
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setEncryptionKeyShutdownDuration($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->encryption_key_shutdown_duration = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Service.reconciling` for additional information
+ * on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getReconciling()
+ {
+ return $this->reconciling;
+ }
+
+ /**
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Service.reconciling` for additional information
+ * on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setReconciling($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->reconciling = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Condition of this Revision, containing its readiness
+ * status, and detailed error information in case it did not reach a serving
+ * state.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+
+ /**
+ * Output only. The Condition of this Revision, containing its readiness
+ * status, and detailed error information in case it did not reach a serving
+ * state.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\Run\V2\Condition>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setConditions($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Condition::class);
+ $this->conditions = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The generation of this Revision currently serving traffic. See
+ * comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getObservedGeneration()
+ {
+ return $this->observed_generation;
+ }
+
+ /**
+ * Output only. The generation of this Revision currently serving traffic. See
+ * comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setObservedGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->observed_generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Google Console URI to obtain logs for the Revision.
+ *
+ * Generated from protobuf field string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getLogUri()
+ {
+ return $this->log_uri;
+ }
+
+ /**
+ * Output only. The Google Console URI to obtain logs for the Revision.
+ *
+ * Generated from protobuf field string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setLogUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->log_uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getSatisfiesPzs()
+ {
+ return $this->satisfies_pzs;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setSatisfiesPzs($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->satisfies_pzs = $var;
+
+ return $this;
+ }
+
+ /**
+ * Enable session affinity.
+ *
+ * Generated from protobuf field bool session_affinity = 38;
+ * @return bool
+ */
+ public function getSessionAffinity()
+ {
+ return $this->session_affinity;
+ }
+
+ /**
+ * Enable session affinity.
+ *
+ * Generated from protobuf field bool session_affinity = 38;
+ * @param bool $var
+ * @return $this
+ */
+ public function setSessionAffinity($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->session_affinity = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The current effective scaling settings for the revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionScalingStatus scaling_status = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\Run\V2\RevisionScalingStatus|null
+ */
+ public function getScalingStatus()
+ {
+ return $this->scaling_status;
+ }
+
+ public function hasScalingStatus()
+ {
+ return isset($this->scaling_status);
+ }
+
+ public function clearScalingStatus()
+ {
+ unset($this->scaling_status);
+ }
+
+ /**
+ * Output only. The current effective scaling settings for the revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionScalingStatus scaling_status = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\Run\V2\RevisionScalingStatus $var
+ * @return $this
+ */
+ public function setScalingStatus($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\RevisionScalingStatus::class);
+ $this->scaling_status = $var;
+
+ return $this;
+ }
+
+ /**
+ * The node selector for the revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.NodeSelector node_selector = 40;
+ * @return \Google\Cloud\Run\V2\NodeSelector|null
+ */
+ public function getNodeSelector()
+ {
+ return $this->node_selector;
+ }
+
+ public function hasNodeSelector()
+ {
+ return isset($this->node_selector);
+ }
+
+ public function clearNodeSelector()
+ {
+ unset($this->node_selector);
+ }
+
+ /**
+ * The node selector for the revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.NodeSelector node_selector = 40;
+ * @param \Google\Cloud\Run\V2\NodeSelector $var
+ * @return $this
+ */
+ public function setNodeSelector($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\NodeSelector::class);
+ $this->node_selector = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionScaling.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionScaling.php
new file mode 100644
index 000000000000..5536c70fe0a4
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionScaling.php
@@ -0,0 +1,117 @@
+google.cloud.run.v2.RevisionScaling
+ */
+class RevisionScaling extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Minimum number of serving instances that this resource should
+ * have.
+ *
+ * Generated from protobuf field int32 min_instance_count = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $min_instance_count = 0;
+ /**
+ * Optional. Maximum number of serving instances that this resource should
+ * have. When unspecified, the field is set to the server default value of
+ * 100. For more information see
+ * https://cloud.google.com/run/docs/configuring/max-instances
+ *
+ * Generated from protobuf field int32 max_instance_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $max_instance_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $min_instance_count
+ * Optional. Minimum number of serving instances that this resource should
+ * have.
+ * @type int $max_instance_count
+ * Optional. Maximum number of serving instances that this resource should
+ * have. When unspecified, the field is set to the server default value of
+ * 100. For more information see
+ * https://cloud.google.com/run/docs/configuring/max-instances
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\VendorSettings::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Minimum number of serving instances that this resource should
+ * have.
+ *
+ * Generated from protobuf field int32 min_instance_count = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getMinInstanceCount()
+ {
+ return $this->min_instance_count;
+ }
+
+ /**
+ * Optional. Minimum number of serving instances that this resource should
+ * have.
+ *
+ * Generated from protobuf field int32 min_instance_count = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setMinInstanceCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->min_instance_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Maximum number of serving instances that this resource should
+ * have. When unspecified, the field is set to the server default value of
+ * 100. For more information see
+ * https://cloud.google.com/run/docs/configuring/max-instances
+ *
+ * Generated from protobuf field int32 max_instance_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getMaxInstanceCount()
+ {
+ return $this->max_instance_count;
+ }
+
+ /**
+ * Optional. Maximum number of serving instances that this resource should
+ * have. When unspecified, the field is set to the server default value of
+ * 100. For more information see
+ * https://cloud.google.com/run/docs/configuring/max-instances
+ *
+ * Generated from protobuf field int32 max_instance_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setMaxInstanceCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->max_instance_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionScalingStatus.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionScalingStatus.php
new file mode 100644
index 000000000000..fff365b91e71
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionScalingStatus.php
@@ -0,0 +1,67 @@
+google.cloud.run.v2.RevisionScalingStatus
+ */
+class RevisionScalingStatus extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The current number of min instances provisioned for this revision.
+ *
+ * Generated from protobuf field int32 desired_min_instance_count = 1;
+ */
+ protected $desired_min_instance_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $desired_min_instance_count
+ * The current number of min instances provisioned for this revision.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Status::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The current number of min instances provisioned for this revision.
+ *
+ * Generated from protobuf field int32 desired_min_instance_count = 1;
+ * @return int
+ */
+ public function getDesiredMinInstanceCount()
+ {
+ return $this->desired_min_instance_count;
+ }
+
+ /**
+ * The current number of min instances provisioned for this revision.
+ *
+ * Generated from protobuf field int32 desired_min_instance_count = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setDesiredMinInstanceCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->desired_min_instance_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionTemplate.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionTemplate.php
new file mode 100644
index 000000000000..36d1686c1e8b
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionTemplate.php
@@ -0,0 +1,822 @@
+google.cloud.run.v2.RevisionTemplate
+ */
+class RevisionTemplate extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The unique name for the revision. If this field is omitted, it
+ * will be automatically generated based on the Service name.
+ *
+ * Generated from protobuf field string revision = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ */
+ protected $revision = '';
+ /**
+ * Optional. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * map
+ */
+ private $labels;
+ /**
+ * Optional. Unstructured key value map that may be set by external tools to
+ * store and arbitrary metadata. They are not queryable and should be
+ * preserved when modifying objects.
+ * map
+ */
+ private $annotations;
+ /**
+ * Optional. Scaling settings for this Revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionScaling scaling = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $scaling = null;
+ /**
+ * Optional. VPC Access configuration to use for this Revision. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $vpc_access = null;
+ /**
+ * Optional. Max allowed time for an instance to respond to a request.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $timeout = null;
+ /**
+ * Optional. Email address of the IAM service account associated with the
+ * revision of the service. The service account represents the identity of the
+ * running revision, and determines what permissions the revision has. If not
+ * provided, the revision will use the project's default service account.
+ *
+ * Generated from protobuf field string service_account = 9 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $service_account = '';
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * Revision.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 10;
+ */
+ private $containers;
+ /**
+ * Optional. A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 11 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $volumes;
+ /**
+ * Optional. The sandbox environment to host this Revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $execution_environment = 0;
+ /**
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 14 [(.google.api.resource_reference) = {
+ */
+ protected $encryption_key = '';
+ /**
+ * Optional. Sets the maximum number of requests that each serving instance
+ * can receive. If not specified or 0, concurrency defaults to 80 when
+ * requested `CPU >= 1` and defaults to 1 when requested `CPU < 1`.
+ *
+ * Generated from protobuf field int32 max_instance_request_concurrency = 15 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $max_instance_request_concurrency = 0;
+ /**
+ * Optional. Enables service mesh connectivity.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceMesh service_mesh = 16 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $service_mesh = null;
+ /**
+ * Optional. The action to take if the encryption key is revoked.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 17 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $encryption_key_revocation_action = 0;
+ /**
+ * Optional. If encryption_key_revocation_action is SHUTDOWN, the duration
+ * before shutting down all instances. The minimum increment is 1 hour.
+ *
+ * Generated from protobuf field .google.protobuf.Duration encryption_key_shutdown_duration = 18 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $encryption_key_shutdown_duration = null;
+ /**
+ * Optional. Enable session affinity.
+ *
+ * Generated from protobuf field bool session_affinity = 19 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $session_affinity = false;
+ /**
+ * Optional. Disables health checking containers during deployment.
+ *
+ * Generated from protobuf field bool health_check_disabled = 20 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $health_check_disabled = false;
+ /**
+ * Optional. The node selector for the revision template.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.NodeSelector node_selector = 21 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $node_selector = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $revision
+ * Optional. The unique name for the revision. If this field is omitted, it
+ * will be automatically generated based on the Service name.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * string revision = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getRevision()
+ {
+ return $this->revision;
+ }
+
+ /**
+ * Optional. The unique name for the revision. If this field is omitted, it
+ * will be automatically generated based on the Service name.
+ *
+ * Generated from protobuf field string revision = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRevision($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->revision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Unstructured key value map that may be set by external tools to
+ * store and arbitrary metadata. They are not queryable and should be
+ * preserved when modifying objects.
+ * map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+
+ /**
+ * Optional. Unstructured key value map that may be set by external tools to
+ * store and arbitrary metadata. They are not queryable and should be
+ * preserved when modifying objects.
+ * map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setAnnotations($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->annotations = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Scaling settings for this Revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionScaling scaling = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\RevisionScaling|null
+ */
+ public function getScaling()
+ {
+ return $this->scaling;
+ }
+
+ public function hasScaling()
+ {
+ return isset($this->scaling);
+ }
+
+ public function clearScaling()
+ {
+ unset($this->scaling);
+ }
+
+ /**
+ * Optional. Scaling settings for this Revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionScaling scaling = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\RevisionScaling $var
+ * @return $this
+ */
+ public function setScaling($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\RevisionScaling::class);
+ $this->scaling = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. VPC Access configuration to use for this Revision. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\VpcAccess|null
+ */
+ public function getVpcAccess()
+ {
+ return $this->vpc_access;
+ }
+
+ public function hasVpcAccess()
+ {
+ return isset($this->vpc_access);
+ }
+
+ public function clearVpcAccess()
+ {
+ unset($this->vpc_access);
+ }
+
+ /**
+ * Optional. VPC Access configuration to use for this Revision. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\VpcAccess $var
+ * @return $this
+ */
+ public function setVpcAccess($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\VpcAccess::class);
+ $this->vpc_access = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Max allowed time for an instance to respond to a request.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+
+ public function hasTimeout()
+ {
+ return isset($this->timeout);
+ }
+
+ public function clearTimeout()
+ {
+ unset($this->timeout);
+ }
+
+ /**
+ * Optional. Max allowed time for an instance to respond to a request.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setTimeout($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->timeout = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Email address of the IAM service account associated with the
+ * revision of the service. The service account represents the identity of the
+ * running revision, and determines what permissions the revision has. If not
+ * provided, the revision will use the project's default service account.
+ *
+ * Generated from protobuf field string service_account = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getServiceAccount()
+ {
+ return $this->service_account;
+ }
+
+ /**
+ * Optional. Email address of the IAM service account associated with the
+ * revision of the service. The service account represents the identity of the
+ * running revision, and determines what permissions the revision has. If not
+ * provided, the revision will use the project's default service account.
+ *
+ * Generated from protobuf field string service_account = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setServiceAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service_account = $var;
+
+ return $this;
+ }
+
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * Revision.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 10;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getContainers()
+ {
+ return $this->containers;
+ }
+
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * Revision.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 10;
+ * @param array<\Google\Cloud\Run\V2\Container>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setContainers($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Container::class);
+ $this->containers = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getVolumes()
+ {
+ return $this->volumes;
+ }
+
+ /**
+ * Optional. A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\Run\V2\Volume>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setVolumes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Volume::class);
+ $this->volumes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The sandbox environment to host this Revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getExecutionEnvironment()
+ {
+ return $this->execution_environment;
+ }
+
+ /**
+ * Optional. The sandbox environment to host this Revision.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setExecutionEnvironment($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\ExecutionEnvironment::class);
+ $this->execution_environment = $var;
+
+ return $this;
+ }
+
+ /**
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 14 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getEncryptionKey()
+ {
+ return $this->encryption_key;
+ }
+
+ /**
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 14 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setEncryptionKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->encryption_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Sets the maximum number of requests that each serving instance
+ * can receive. If not specified or 0, concurrency defaults to 80 when
+ * requested `CPU >= 1` and defaults to 1 when requested `CPU < 1`.
+ *
+ * Generated from protobuf field int32 max_instance_request_concurrency = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getMaxInstanceRequestConcurrency()
+ {
+ return $this->max_instance_request_concurrency;
+ }
+
+ /**
+ * Optional. Sets the maximum number of requests that each serving instance
+ * can receive. If not specified or 0, concurrency defaults to 80 when
+ * requested `CPU >= 1` and defaults to 1 when requested `CPU < 1`.
+ *
+ * Generated from protobuf field int32 max_instance_request_concurrency = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setMaxInstanceRequestConcurrency($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->max_instance_request_concurrency = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Enables service mesh connectivity.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceMesh service_mesh = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\ServiceMesh|null
+ */
+ public function getServiceMesh()
+ {
+ return $this->service_mesh;
+ }
+
+ public function hasServiceMesh()
+ {
+ return isset($this->service_mesh);
+ }
+
+ public function clearServiceMesh()
+ {
+ unset($this->service_mesh);
+ }
+
+ /**
+ * Optional. Enables service mesh connectivity.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceMesh service_mesh = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\ServiceMesh $var
+ * @return $this
+ */
+ public function setServiceMesh($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\ServiceMesh::class);
+ $this->service_mesh = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The action to take if the encryption key is revoked.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 17 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getEncryptionKeyRevocationAction()
+ {
+ return $this->encryption_key_revocation_action;
+ }
+
+ /**
+ * Optional. The action to take if the encryption key is revoked.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 17 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setEncryptionKeyRevocationAction($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\EncryptionKeyRevocationAction::class);
+ $this->encryption_key_revocation_action = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If encryption_key_revocation_action is SHUTDOWN, the duration
+ * before shutting down all instances. The minimum increment is 1 hour.
+ *
+ * Generated from protobuf field .google.protobuf.Duration encryption_key_shutdown_duration = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getEncryptionKeyShutdownDuration()
+ {
+ return $this->encryption_key_shutdown_duration;
+ }
+
+ public function hasEncryptionKeyShutdownDuration()
+ {
+ return isset($this->encryption_key_shutdown_duration);
+ }
+
+ public function clearEncryptionKeyShutdownDuration()
+ {
+ unset($this->encryption_key_shutdown_duration);
+ }
+
+ /**
+ * Optional. If encryption_key_revocation_action is SHUTDOWN, the duration
+ * before shutting down all instances. The minimum increment is 1 hour.
+ *
+ * Generated from protobuf field .google.protobuf.Duration encryption_key_shutdown_duration = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setEncryptionKeyShutdownDuration($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->encryption_key_shutdown_duration = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Enable session affinity.
+ *
+ * Generated from protobuf field bool session_affinity = 19 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getSessionAffinity()
+ {
+ return $this->session_affinity;
+ }
+
+ /**
+ * Optional. Enable session affinity.
+ *
+ * Generated from protobuf field bool session_affinity = 19 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setSessionAffinity($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->session_affinity = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Disables health checking containers during deployment.
+ *
+ * Generated from protobuf field bool health_check_disabled = 20 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getHealthCheckDisabled()
+ {
+ return $this->health_check_disabled;
+ }
+
+ /**
+ * Optional. Disables health checking containers during deployment.
+ *
+ * Generated from protobuf field bool health_check_disabled = 20 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setHealthCheckDisabled($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->health_check_disabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The node selector for the revision template.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.NodeSelector node_selector = 21 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\NodeSelector|null
+ */
+ public function getNodeSelector()
+ {
+ return $this->node_selector;
+ }
+
+ public function hasNodeSelector()
+ {
+ return isset($this->node_selector);
+ }
+
+ public function clearNodeSelector()
+ {
+ unset($this->node_selector);
+ }
+
+ /**
+ * Optional. The node selector for the revision template.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.NodeSelector node_selector = 21 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\NodeSelector $var
+ * @return $this
+ */
+ public function setNodeSelector($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\NodeSelector::class);
+ $this->node_selector = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest.php
new file mode 100644
index 000000000000..bf51806e3bcb
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest.php
@@ -0,0 +1,215 @@
+google.cloud.run.v2.RunJobRequest
+ */
+class RunJobRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ */
+ protected $validate_only = false;
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ */
+ protected $etag = '';
+ /**
+ * Overrides specification for a given execution of a job. If provided,
+ * overrides will be applied to update the execution or task spec.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RunJobRequest.Overrides overrides = 4;
+ */
+ protected $overrides = null;
+
+ /**
+ * @param string $name Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number. Please see
+ * {@see JobsClient::jobName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Run\V2\RunJobRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ * @type bool $validate_only
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ * @type string $etag
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ * @type \Google\Cloud\Run\V2\RunJobRequest\Overrides $overrides
+ * Overrides specification for a given execution of a job. If provided,
+ * overrides will be applied to update the execution or task spec.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The full name of the Job.
+ * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+ * can be project id or number.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated without actually
+ * deleting any resources.
+ *
+ * Generated from protobuf field bool validate_only = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Overrides specification for a given execution of a job. If provided,
+ * overrides will be applied to update the execution or task spec.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RunJobRequest.Overrides overrides = 4;
+ * @return \Google\Cloud\Run\V2\RunJobRequest\Overrides|null
+ */
+ public function getOverrides()
+ {
+ return $this->overrides;
+ }
+
+ public function hasOverrides()
+ {
+ return isset($this->overrides);
+ }
+
+ public function clearOverrides()
+ {
+ unset($this->overrides);
+ }
+
+ /**
+ * Overrides specification for a given execution of a job. If provided,
+ * overrides will be applied to update the execution or task spec.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RunJobRequest.Overrides overrides = 4;
+ * @param \Google\Cloud\Run\V2\RunJobRequest\Overrides $var
+ * @return $this
+ */
+ public function setOverrides($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\RunJobRequest\Overrides::class);
+ $this->overrides = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest/Overrides.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest/Overrides.php
new file mode 100644
index 000000000000..60098e2ce07b
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest/Overrides.php
@@ -0,0 +1,160 @@
+google.cloud.run.v2.RunJobRequest.Overrides
+ */
+class Overrides extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Per container override specification.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
+ */
+ private $container_overrides;
+ /**
+ * Optional. The desired number of tasks the execution should run. Will
+ * replace existing task_count value.
+ *
+ * Generated from protobuf field int32 task_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $task_count = 0;
+ /**
+ * Duration in seconds the task may be active before the system will
+ * actively try to mark it failed and kill associated containers. Will
+ * replace existing timeout_seconds value.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 4;
+ */
+ protected $timeout = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Run\V2\RunJobRequest\Overrides\ContainerOverride>|\Google\Protobuf\Internal\RepeatedField $container_overrides
+ * Per container override specification.
+ * @type int $task_count
+ * Optional. The desired number of tasks the execution should run. Will
+ * replace existing task_count value.
+ * @type \Google\Protobuf\Duration $timeout
+ * Duration in seconds the task may be active before the system will
+ * actively try to mark it failed and kill associated containers. Will
+ * replace existing timeout_seconds value.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Per container override specification.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getContainerOverrides()
+ {
+ return $this->container_overrides;
+ }
+
+ /**
+ * Per container override specification.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
+ * @param array<\Google\Cloud\Run\V2\RunJobRequest\Overrides\ContainerOverride>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setContainerOverrides($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\RunJobRequest\Overrides\ContainerOverride::class);
+ $this->container_overrides = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The desired number of tasks the execution should run. Will
+ * replace existing task_count value.
+ *
+ * Generated from protobuf field int32 task_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getTaskCount()
+ {
+ return $this->task_count;
+ }
+
+ /**
+ * Optional. The desired number of tasks the execution should run. Will
+ * replace existing task_count value.
+ *
+ * Generated from protobuf field int32 task_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setTaskCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->task_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Duration in seconds the task may be active before the system will
+ * actively try to mark it failed and kill associated containers. Will
+ * replace existing timeout_seconds value.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 4;
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+
+ public function hasTimeout()
+ {
+ return isset($this->timeout);
+ }
+
+ public function clearTimeout()
+ {
+ unset($this->timeout);
+ }
+
+ /**
+ * Duration in seconds the task may be active before the system will
+ * actively try to mark it failed and kill associated containers. Will
+ * replace existing timeout_seconds value.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 4;
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setTimeout($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->timeout = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Overrides::class, \Google\Cloud\Run\V2\RunJobRequest_Overrides::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest/Overrides/ContainerOverride.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest/Overrides/ContainerOverride.php
new file mode 100644
index 000000000000..9d002dff8c09
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest/Overrides/ContainerOverride.php
@@ -0,0 +1,180 @@
+google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride
+ */
+class ContainerOverride extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The name of the container specified as a DNS_LABEL.
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * Optional. Arguments to the entrypoint. Will replace existing args for
+ * override.
+ *
+ * Generated from protobuf field repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $args;
+ /**
+ * List of environment variables to set in the container. Will be merged
+ * with existing env for override.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.EnvVar env = 3;
+ */
+ private $env;
+ /**
+ * Optional. True if the intention is to clear out existing args list.
+ *
+ * Generated from protobuf field bool clear_args = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $clear_args = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * The name of the container specified as a DNS_LABEL.
+ * @type arraystring name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * The name of the container specified as a DNS_LABEL.
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Arguments to the entrypoint. Will replace existing args for
+ * override.
+ *
+ * Generated from protobuf field repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getArgs()
+ {
+ return $this->args;
+ }
+
+ /**
+ * Optional. Arguments to the entrypoint. Will replace existing args for
+ * override.
+ *
+ * Generated from protobuf field repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arrayrepeated .google.cloud.run.v2.EnvVar env = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getEnv()
+ {
+ return $this->env;
+ }
+
+ /**
+ * List of environment variables to set in the container. Will be merged
+ * with existing env for override.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.EnvVar env = 3;
+ * @param array<\Google\Cloud\Run\V2\EnvVar>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setEnv($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\EnvVar::class);
+ $this->env = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. True if the intention is to clear out existing args list.
+ *
+ * Generated from protobuf field bool clear_args = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getClearArgs()
+ {
+ return $this->clear_args;
+ }
+
+ /**
+ * Optional. True if the intention is to clear out existing args list.
+ *
+ * Generated from protobuf field bool clear_args = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setClearArgs($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->clear_args = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ContainerOverride::class, \Google\Cloud\Run\V2\RunJobRequest_Overrides_ContainerOverride::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SecretKeySelector.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SecretKeySelector.php
new file mode 100644
index 000000000000..060822bb2454
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SecretKeySelector.php
@@ -0,0 +1,121 @@
+google.cloud.run.v2.SecretKeySelector
+ */
+class SecretKeySelector extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the secret in Cloud Secret Manager.
+ * Format: {secret_name} if the secret is in the same project.
+ * projects/{project}/secrets/{secret_name} if the secret is
+ * in a different project.
+ *
+ * Generated from protobuf field string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $secret = '';
+ /**
+ * The Cloud Secret Manager secret version.
+ * Can be 'latest' for the latest version, an integer for a specific version,
+ * or a version alias.
+ *
+ * Generated from protobuf field string version = 2 [(.google.api.resource_reference) = {
+ */
+ protected $version = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $secret
+ * Required. The name of the secret in Cloud Secret Manager.
+ * Format: {secret_name} if the secret is in the same project.
+ * projects/{project}/secrets/{secret_name} if the secret is
+ * in a different project.
+ * @type string $version
+ * The Cloud Secret Manager secret version.
+ * Can be 'latest' for the latest version, an integer for a specific version,
+ * or a version alias.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the secret in Cloud Secret Manager.
+ * Format: {secret_name} if the secret is in the same project.
+ * projects/{project}/secrets/{secret_name} if the secret is
+ * in a different project.
+ *
+ * Generated from protobuf field string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getSecret()
+ {
+ return $this->secret;
+ }
+
+ /**
+ * Required. The name of the secret in Cloud Secret Manager.
+ * Format: {secret_name} if the secret is in the same project.
+ * projects/{project}/secrets/{secret_name} if the secret is
+ * in a different project.
+ *
+ * Generated from protobuf field string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setSecret($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->secret = $var;
+
+ return $this;
+ }
+
+ /**
+ * The Cloud Secret Manager secret version.
+ * Can be 'latest' for the latest version, an integer for a specific version,
+ * or a version alias.
+ *
+ * Generated from protobuf field string version = 2 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * The Cloud Secret Manager secret version.
+ * Can be 'latest' for the latest version, an integer for a specific version,
+ * or a version alias.
+ *
+ * Generated from protobuf field string version = 2 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setVersion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->version = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SecretVolumeSource.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SecretVolumeSource.php
new file mode 100644
index 000000000000..1007b817c053
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SecretVolumeSource.php
@@ -0,0 +1,217 @@
+google.cloud.run.v2.SecretVolumeSource
+ */
+class SecretVolumeSource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the secret in Cloud Secret Manager.
+ * Format: {secret} if the secret is in the same project.
+ * projects/{project}/secrets/{secret} if the secret is
+ * in a different project.
+ *
+ * Generated from protobuf field string secret = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $secret = '';
+ /**
+ * If unspecified, the volume will expose a file whose name is the
+ * secret, relative to VolumeMount.mount_path.
+ * If specified, the key will be used as the version to fetch from Cloud
+ * Secret Manager and the path will be the name of the file exposed in the
+ * volume. When items are defined, they must specify a path and a version.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.VersionToPath items = 2;
+ */
+ private $items;
+ /**
+ * Integer representation of mode bits to use on created files by default.
+ * Must be a value between 0000 and 0777 (octal), defaulting to 0444.
+ * Directories within the path are not affected by this setting.
+ * Notes
+ * * Internally, a umask of 0222 will be applied to any non-zero value.
+ * * This is an integer representation of the mode bits. So, the octal
+ * integer value should look exactly as the chmod numeric notation with a
+ * leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
+ * or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
+ * 493 (base-10).
+ * * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and the result can be other mode bits set.
+ * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and as a result, other mode bits could be set.
+ *
+ * Generated from protobuf field int32 default_mode = 3;
+ */
+ protected $default_mode = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $secret
+ * Required. The name of the secret in Cloud Secret Manager.
+ * Format: {secret} if the secret is in the same project.
+ * projects/{project}/secrets/{secret} if the secret is
+ * in a different project.
+ * @type array<\Google\Cloud\Run\V2\VersionToPath>|\Google\Protobuf\Internal\RepeatedField $items
+ * If unspecified, the volume will expose a file whose name is the
+ * secret, relative to VolumeMount.mount_path.
+ * If specified, the key will be used as the version to fetch from Cloud
+ * Secret Manager and the path will be the name of the file exposed in the
+ * volume. When items are defined, they must specify a path and a version.
+ * @type int $default_mode
+ * Integer representation of mode bits to use on created files by default.
+ * Must be a value between 0000 and 0777 (octal), defaulting to 0444.
+ * Directories within the path are not affected by this setting.
+ * Notes
+ * * Internally, a umask of 0222 will be applied to any non-zero value.
+ * * This is an integer representation of the mode bits. So, the octal
+ * integer value should look exactly as the chmod numeric notation with a
+ * leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
+ * or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
+ * 493 (base-10).
+ * * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and the result can be other mode bits set.
+ * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and as a result, other mode bits could be set.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the secret in Cloud Secret Manager.
+ * Format: {secret} if the secret is in the same project.
+ * projects/{project}/secrets/{secret} if the secret is
+ * in a different project.
+ *
+ * Generated from protobuf field string secret = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getSecret()
+ {
+ return $this->secret;
+ }
+
+ /**
+ * Required. The name of the secret in Cloud Secret Manager.
+ * Format: {secret} if the secret is in the same project.
+ * projects/{project}/secrets/{secret} if the secret is
+ * in a different project.
+ *
+ * Generated from protobuf field string secret = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setSecret($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->secret = $var;
+
+ return $this;
+ }
+
+ /**
+ * If unspecified, the volume will expose a file whose name is the
+ * secret, relative to VolumeMount.mount_path.
+ * If specified, the key will be used as the version to fetch from Cloud
+ * Secret Manager and the path will be the name of the file exposed in the
+ * volume. When items are defined, they must specify a path and a version.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.VersionToPath items = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ /**
+ * If unspecified, the volume will expose a file whose name is the
+ * secret, relative to VolumeMount.mount_path.
+ * If specified, the key will be used as the version to fetch from Cloud
+ * Secret Manager and the path will be the name of the file exposed in the
+ * volume. When items are defined, they must specify a path and a version.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.VersionToPath items = 2;
+ * @param array<\Google\Cloud\Run\V2\VersionToPath>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setItems($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\VersionToPath::class);
+ $this->items = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Integer representation of mode bits to use on created files by default.
+ * Must be a value between 0000 and 0777 (octal), defaulting to 0444.
+ * Directories within the path are not affected by this setting.
+ * Notes
+ * * Internally, a umask of 0222 will be applied to any non-zero value.
+ * * This is an integer representation of the mode bits. So, the octal
+ * integer value should look exactly as the chmod numeric notation with a
+ * leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
+ * or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
+ * 493 (base-10).
+ * * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and the result can be other mode bits set.
+ * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and as a result, other mode bits could be set.
+ *
+ * Generated from protobuf field int32 default_mode = 3;
+ * @return int
+ */
+ public function getDefaultMode()
+ {
+ return $this->default_mode;
+ }
+
+ /**
+ * Integer representation of mode bits to use on created files by default.
+ * Must be a value between 0000 and 0777 (octal), defaulting to 0444.
+ * Directories within the path are not affected by this setting.
+ * Notes
+ * * Internally, a umask of 0222 will be applied to any non-zero value.
+ * * This is an integer representation of the mode bits. So, the octal
+ * integer value should look exactly as the chmod numeric notation with a
+ * leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
+ * or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
+ * 493 (base-10).
+ * * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and the result can be other mode bits set.
+ * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and as a result, other mode bits could be set.
+ *
+ * Generated from protobuf field int32 default_mode = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setDefaultMode($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->default_mode = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Service.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Service.php
new file mode 100644
index 000000000000..685077c47a29
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Service.php
@@ -0,0 +1,1609 @@
+google.cloud.run.v2.Service
+ */
+class Service extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The fully qualified name of this Service. In CreateServiceRequest, this
+ * field is ignored, and instead composed from CreateServiceRequest.parent and
+ * CreateServiceRequest.service_id.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service_id}
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * User-provided description of the Service. This field currently has a
+ * 512-character limit.
+ *
+ * Generated from protobuf field string description = 2;
+ */
+ protected $description = '';
+ /**
+ * Output only. Server assigned unique identifier for the trigger. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $uid = '';
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ * Please note that unlike v1, this is an int64 value. As with most Google
+ * APIs, its JSON representation will be a `string` instead of an `integer`.
+ *
+ * Generated from protobuf field int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $generation = 0;
+ /**
+ * Optional. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * map
+ */
+ private $labels;
+ /**
+ * Optional. Unstructured key value map that may be set by external tools to
+ * store and arbitrary metadata. They are not queryable and should be
+ * preserved when modifying objects.
+ * map
+ */
+ private $annotations;
+ /**
+ * Output only. The creation time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Output only. The deletion time. It is only populated as a response to a
+ * Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $delete_time = null;
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $expire_time = null;
+ /**
+ * Output only. Email address of the authenticated creator.
+ *
+ * Generated from protobuf field string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $creator = '';
+ /**
+ * Output only. Email address of the last authenticated modifier.
+ *
+ * Generated from protobuf field string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $last_modifier = '';
+ /**
+ * Arbitrary identifier for the API client.
+ *
+ * Generated from protobuf field string client = 13;
+ */
+ protected $client = '';
+ /**
+ * Arbitrary version identifier for the API client.
+ *
+ * Generated from protobuf field string client_version = 14;
+ */
+ protected $client_version = '';
+ /**
+ * Optional. Provides the ingress settings for this Service. On output,
+ * returns the currently observed ingress settings, or
+ * INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.IngressTraffic ingress = 15 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $ingress = 0;
+ /**
+ * Optional. The launch stage as defined by [Google Cloud Platform
+ * Launch Stages](https://cloud.google.com/terms/launch-stages).
+ * Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA
+ * is assumed.
+ * Set the launch stage to a preview stage on input to allow use of preview
+ * features in that stage. On read (or output), describes whether the resource
+ * uses preview features.
+ * .google.api.LaunchStage launch_stage = 16 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $launch_stage = 0;
+ /**
+ * Optional. Settings for the Binary Authorization feature.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $binary_authorization = null;
+ /**
+ * Required. The template used to create revisions for this Service.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $template = null;
+ /**
+ * Optional. Specifies how to distribute traffic over a collection of
+ * Revisions belonging to the Service. If traffic is empty or not provided,
+ * defaults to 100% traffic to the latest `Ready` Revision.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.TrafficTarget traffic = 19 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $traffic;
+ /**
+ * Optional. Specifies service-level scaling settings
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceScaling scaling = 20 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $scaling = null;
+ /**
+ * Optional. Disables IAM permission check for run.routes.invoke for callers
+ * of this service. This feature is available by invitation only. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
+ *
+ * Generated from protobuf field bool invoker_iam_disabled = 21 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $invoker_iam_disabled = false;
+ /**
+ * Optional. Disables public resolution of the default URI of this service.
+ *
+ * Generated from protobuf field bool default_uri_disabled = 22 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $default_uri_disabled = false;
+ /**
+ * Output only. All URLs serving traffic for this Service.
+ *
+ * Generated from protobuf field repeated string urls = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $urls;
+ /**
+ * One or more custom audiences that you want this service to support. Specify
+ * each custom audience as the full URL in a string. The custom audiences are
+ * encoded in the token and used to authenticate requests. For more
+ * information, see
+ * https://cloud.google.com/run/docs/configuring/custom-audiences.
+ *
+ * Generated from protobuf field repeated string custom_audiences = 37;
+ */
+ private $custom_audiences;
+ /**
+ * Output only. The generation of this Service currently serving traffic. See
+ * comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run. Please note that unlike v1, this is an int64 value.
+ * As with most Google APIs, its JSON representation will be a `string`
+ * instead of an `integer`.
+ *
+ * Generated from protobuf field int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $observed_generation = 0;
+ /**
+ * Output only. The Condition of this Service, containing its readiness
+ * status, and detailed error information in case it did not reach a serving
+ * state. See comments in `reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $terminal_condition = null;
+ /**
+ * Output only. The Conditions of all other associated sub-resources. They
+ * contain additional diagnostics information in case the Service does not
+ * reach its Serving state. See comments in `reconciling` for additional
+ * information on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $conditions;
+ /**
+ * Output only. Name of the latest revision that is serving traffic. See
+ * comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ *
+ * Generated from protobuf field string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ */
+ protected $latest_ready_revision = '';
+ /**
+ * Output only. Name of the last created revision. See comments in
+ * `reconciling` for additional information on reconciliation process in Cloud
+ * Run.
+ *
+ * Generated from protobuf field string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ */
+ protected $latest_created_revision = '';
+ /**
+ * Output only. Detailed status information for corresponding traffic targets.
+ * See comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $traffic_statuses;
+ /**
+ * Output only. The main URI in which this Service is serving traffic.
+ *
+ * Generated from protobuf field string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $uri = '';
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $satisfies_pzs = false;
+ /**
+ * Output only. Returns true if the Service is currently being acted upon by
+ * the system to bring it into the desired state.
+ * When a new Service is created, or an existing one is updated, Cloud Run
+ * will asynchronously perform all necessary steps to bring the Service to the
+ * desired serving state. This process is called reconciliation.
+ * While reconciliation is in process, `observed_generation`,
+ * `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient
+ * values that might mismatch the intended state: Once reconciliation is over
+ * (and this field is false), there are two possible outcomes: reconciliation
+ * succeeded and the serving state matches the Service, or there was an error,
+ * and reconciliation failed. This state can be found in
+ * `terminal_condition.state`.
+ * If reconciliation succeeded, the following fields will match: `traffic` and
+ * `traffic_statuses`, `observed_generation` and `generation`,
+ * `latest_ready_revision` and `latest_created_revision`.
+ * If reconciliation failed, `traffic_statuses`, `observed_generation`, and
+ * `latest_ready_revision` will have the state of the last serving revision,
+ * or empty for newly created Services. Additional information on the failure
+ * can be found in `terminal_condition` and `conditions`.
+ *
+ * Generated from protobuf field bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $reconciling = false;
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $etag = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * The fully qualified name of this Service. In CreateServiceRequest, this
+ * field is ignored, and instead composed from CreateServiceRequest.parent and
+ * CreateServiceRequest.service_id.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service_id}
+ * @type string $description
+ * User-provided description of the Service. This field currently has a
+ * 512-character limit.
+ * @type string $uid
+ * Output only. Server assigned unique identifier for the trigger. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ * @type int|string $generation
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ * Please note that unlike v1, this is an int64 value. As with most Google
+ * APIs, its JSON representation will be a `string` instead of an `integer`.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * The fully qualified name of this Service. In CreateServiceRequest, this
+ * field is ignored, and instead composed from CreateServiceRequest.parent and
+ * CreateServiceRequest.service_id.
+ * Format:
+ * projects/{project}/locations/{location}/services/{service_id}
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * User-provided description of the Service. This field currently has a
+ * 512-character limit.
+ *
+ * Generated from protobuf field string description = 2;
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * User-provided description of the Service. This field currently has a
+ * 512-character limit.
+ *
+ * Generated from protobuf field string description = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the trigger. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getUid()
+ {
+ return $this->uid;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the trigger. The value
+ * is a UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setUid($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uid = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ * Please note that unlike v1, this is an int64 value. As with most Google
+ * APIs, its JSON representation will be a `string` instead of an `integer`.
+ *
+ * Generated from protobuf field int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ * Please note that unlike v1, this is an int64 value. As with most Google
+ * APIs, its JSON representation will be a `string` instead of an `integer`.
+ *
+ * Generated from protobuf field int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels.
+ * map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Unstructured key value map that may be set by external tools to
+ * store and arbitrary metadata. They are not queryable and should be
+ * preserved when modifying objects.
+ * map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+
+ /**
+ * Optional. Unstructured key value map that may be set by external tools to
+ * store and arbitrary metadata. They are not queryable and should be
+ * preserved when modifying objects.
+ * map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setAnnotations($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->annotations = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The creation time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. The creation time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The deletion time. It is only populated as a response to a
+ * Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getDeleteTime()
+ {
+ return $this->delete_time;
+ }
+
+ public function hasDeleteTime()
+ {
+ return isset($this->delete_time);
+ }
+
+ public function clearDeleteTime()
+ {
+ unset($this->delete_time);
+ }
+
+ /**
+ * Output only. The deletion time. It is only populated as a response to a
+ * Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setDeleteTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->delete_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getExpireTime()
+ {
+ return $this->expire_time;
+ }
+
+ public function hasExpireTime()
+ {
+ return isset($this->expire_time);
+ }
+
+ public function clearExpireTime()
+ {
+ unset($this->expire_time);
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setExpireTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->expire_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Email address of the authenticated creator.
+ *
+ * Generated from protobuf field string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getCreator()
+ {
+ return $this->creator;
+ }
+
+ /**
+ * Output only. Email address of the authenticated creator.
+ *
+ * Generated from protobuf field string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setCreator($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->creator = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Email address of the last authenticated modifier.
+ *
+ * Generated from protobuf field string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getLastModifier()
+ {
+ return $this->last_modifier;
+ }
+
+ /**
+ * Output only. Email address of the last authenticated modifier.
+ *
+ * Generated from protobuf field string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setLastModifier($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->last_modifier = $var;
+
+ return $this;
+ }
+
+ /**
+ * Arbitrary identifier for the API client.
+ *
+ * Generated from protobuf field string client = 13;
+ * @return string
+ */
+ public function getClient()
+ {
+ return $this->client;
+ }
+
+ /**
+ * Arbitrary identifier for the API client.
+ *
+ * Generated from protobuf field string client = 13;
+ * @param string $var
+ * @return $this
+ */
+ public function setClient($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->client = $var;
+
+ return $this;
+ }
+
+ /**
+ * Arbitrary version identifier for the API client.
+ *
+ * Generated from protobuf field string client_version = 14;
+ * @return string
+ */
+ public function getClientVersion()
+ {
+ return $this->client_version;
+ }
+
+ /**
+ * Arbitrary version identifier for the API client.
+ *
+ * Generated from protobuf field string client_version = 14;
+ * @param string $var
+ * @return $this
+ */
+ public function setClientVersion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->client_version = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Provides the ingress settings for this Service. On output,
+ * returns the currently observed ingress settings, or
+ * INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.IngressTraffic ingress = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getIngress()
+ {
+ return $this->ingress;
+ }
+
+ /**
+ * Optional. Provides the ingress settings for this Service. On output,
+ * returns the currently observed ingress settings, or
+ * INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.IngressTraffic ingress = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setIngress($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\IngressTraffic::class);
+ $this->ingress = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The launch stage as defined by [Google Cloud Platform
+ * Launch Stages](https://cloud.google.com/terms/launch-stages).
+ * Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA
+ * is assumed.
+ * Set the launch stage to a preview stage on input to allow use of preview
+ * features in that stage. On read (or output), describes whether the resource
+ * uses preview features.
+ * .google.api.LaunchStage launch_stage = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getLaunchStage()
+ {
+ return $this->launch_stage;
+ }
+
+ /**
+ * Optional. The launch stage as defined by [Google Cloud Platform
+ * Launch Stages](https://cloud.google.com/terms/launch-stages).
+ * Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA
+ * is assumed.
+ * Set the launch stage to a preview stage on input to allow use of preview
+ * features in that stage. On read (or output), describes whether the resource
+ * uses preview features.
+ * .google.api.LaunchStage launch_stage = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setLaunchStage($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Api\LaunchStage::class);
+ $this->launch_stage = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Settings for the Binary Authorization feature.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\BinaryAuthorization|null
+ */
+ public function getBinaryAuthorization()
+ {
+ return $this->binary_authorization;
+ }
+
+ public function hasBinaryAuthorization()
+ {
+ return isset($this->binary_authorization);
+ }
+
+ public function clearBinaryAuthorization()
+ {
+ unset($this->binary_authorization);
+ }
+
+ /**
+ * Optional. Settings for the Binary Authorization feature.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\BinaryAuthorization $var
+ * @return $this
+ */
+ public function setBinaryAuthorization($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\BinaryAuthorization::class);
+ $this->binary_authorization = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The template used to create revisions for this Service.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Run\V2\RevisionTemplate|null
+ */
+ public function getTemplate()
+ {
+ return $this->template;
+ }
+
+ public function hasTemplate()
+ {
+ return isset($this->template);
+ }
+
+ public function clearTemplate()
+ {
+ unset($this->template);
+ }
+
+ /**
+ * Required. The template used to create revisions for this Service.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Run\V2\RevisionTemplate $var
+ * @return $this
+ */
+ public function setTemplate($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\RevisionTemplate::class);
+ $this->template = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies how to distribute traffic over a collection of
+ * Revisions belonging to the Service. If traffic is empty or not provided,
+ * defaults to 100% traffic to the latest `Ready` Revision.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.TrafficTarget traffic = 19 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getTraffic()
+ {
+ return $this->traffic;
+ }
+
+ /**
+ * Optional. Specifies how to distribute traffic over a collection of
+ * Revisions belonging to the Service. If traffic is empty or not provided,
+ * defaults to 100% traffic to the latest `Ready` Revision.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.TrafficTarget traffic = 19 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\Run\V2\TrafficTarget>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setTraffic($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\TrafficTarget::class);
+ $this->traffic = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies service-level scaling settings
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceScaling scaling = 20 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\ServiceScaling|null
+ */
+ public function getScaling()
+ {
+ return $this->scaling;
+ }
+
+ public function hasScaling()
+ {
+ return isset($this->scaling);
+ }
+
+ public function clearScaling()
+ {
+ unset($this->scaling);
+ }
+
+ /**
+ * Optional. Specifies service-level scaling settings
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceScaling scaling = 20 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\ServiceScaling $var
+ * @return $this
+ */
+ public function setScaling($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\ServiceScaling::class);
+ $this->scaling = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Disables IAM permission check for run.routes.invoke for callers
+ * of this service. This feature is available by invitation only. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
+ *
+ * Generated from protobuf field bool invoker_iam_disabled = 21 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getInvokerIamDisabled()
+ {
+ return $this->invoker_iam_disabled;
+ }
+
+ /**
+ * Optional. Disables IAM permission check for run.routes.invoke for callers
+ * of this service. This feature is available by invitation only. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
+ *
+ * Generated from protobuf field bool invoker_iam_disabled = 21 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setInvokerIamDisabled($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->invoker_iam_disabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Disables public resolution of the default URI of this service.
+ *
+ * Generated from protobuf field bool default_uri_disabled = 22 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getDefaultUriDisabled()
+ {
+ return $this->default_uri_disabled;
+ }
+
+ /**
+ * Optional. Disables public resolution of the default URI of this service.
+ *
+ * Generated from protobuf field bool default_uri_disabled = 22 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setDefaultUriDisabled($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->default_uri_disabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. All URLs serving traffic for this Service.
+ *
+ * Generated from protobuf field repeated string urls = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+
+ /**
+ * Output only. All URLs serving traffic for this Service.
+ *
+ * Generated from protobuf field repeated string urls = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param arrayrepeated string custom_audiences = 37;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getCustomAudiences()
+ {
+ return $this->custom_audiences;
+ }
+
+ /**
+ * One or more custom audiences that you want this service to support. Specify
+ * each custom audience as the full URL in a string. The custom audiences are
+ * encoded in the token and used to authenticate requests. For more
+ * information, see
+ * https://cloud.google.com/run/docs/configuring/custom-audiences.
+ *
+ * Generated from protobuf field repeated string custom_audiences = 37;
+ * @param arrayint64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getObservedGeneration()
+ {
+ return $this->observed_generation;
+ }
+
+ /**
+ * Output only. The generation of this Service currently serving traffic. See
+ * comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run. Please note that unlike v1, this is an int64 value.
+ * As with most Google APIs, its JSON representation will be a `string`
+ * instead of an `integer`.
+ *
+ * Generated from protobuf field int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setObservedGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->observed_generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Condition of this Service, containing its readiness
+ * status, and detailed error information in case it did not reach a serving
+ * state. See comments in `reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\Run\V2\Condition|null
+ */
+ public function getTerminalCondition()
+ {
+ return $this->terminal_condition;
+ }
+
+ public function hasTerminalCondition()
+ {
+ return isset($this->terminal_condition);
+ }
+
+ public function clearTerminalCondition()
+ {
+ unset($this->terminal_condition);
+ }
+
+ /**
+ * Output only. The Condition of this Service, containing its readiness
+ * status, and detailed error information in case it did not reach a serving
+ * state. See comments in `reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\Run\V2\Condition $var
+ * @return $this
+ */
+ public function setTerminalCondition($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\Condition::class);
+ $this->terminal_condition = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Conditions of all other associated sub-resources. They
+ * contain additional diagnostics information in case the Service does not
+ * reach its Serving state. See comments in `reconciling` for additional
+ * information on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+
+ /**
+ * Output only. The Conditions of all other associated sub-resources. They
+ * contain additional diagnostics information in case the Service does not
+ * reach its Serving state. See comments in `reconciling` for additional
+ * information on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\Run\V2\Condition>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setConditions($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Condition::class);
+ $this->conditions = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Name of the latest revision that is serving traffic. See
+ * comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ *
+ * Generated from protobuf field string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getLatestReadyRevision()
+ {
+ return $this->latest_ready_revision;
+ }
+
+ /**
+ * Output only. Name of the latest revision that is serving traffic. See
+ * comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ *
+ * Generated from protobuf field string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setLatestReadyRevision($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->latest_ready_revision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Name of the last created revision. See comments in
+ * `reconciling` for additional information on reconciliation process in Cloud
+ * Run.
+ *
+ * Generated from protobuf field string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getLatestCreatedRevision()
+ {
+ return $this->latest_created_revision;
+ }
+
+ /**
+ * Output only. Name of the last created revision. See comments in
+ * `reconciling` for additional information on reconciliation process in Cloud
+ * Run.
+ *
+ * Generated from protobuf field string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setLatestCreatedRevision($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->latest_created_revision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Detailed status information for corresponding traffic targets.
+ * See comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getTrafficStatuses()
+ {
+ return $this->traffic_statuses;
+ }
+
+ /**
+ * Output only. Detailed status information for corresponding traffic targets.
+ * See comments in `reconciling` for additional information on reconciliation
+ * process in Cloud Run.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\Run\V2\TrafficTargetStatus>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setTrafficStatuses($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\TrafficTargetStatus::class);
+ $this->traffic_statuses = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The main URI in which this Service is serving traffic.
+ *
+ * Generated from protobuf field string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * Output only. The main URI in which this Service is serving traffic.
+ *
+ * Generated from protobuf field string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getSatisfiesPzs()
+ {
+ return $this->satisfies_pzs;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setSatisfiesPzs($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->satisfies_pzs = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Returns true if the Service is currently being acted upon by
+ * the system to bring it into the desired state.
+ * When a new Service is created, or an existing one is updated, Cloud Run
+ * will asynchronously perform all necessary steps to bring the Service to the
+ * desired serving state. This process is called reconciliation.
+ * While reconciliation is in process, `observed_generation`,
+ * `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient
+ * values that might mismatch the intended state: Once reconciliation is over
+ * (and this field is false), there are two possible outcomes: reconciliation
+ * succeeded and the serving state matches the Service, or there was an error,
+ * and reconciliation failed. This state can be found in
+ * `terminal_condition.state`.
+ * If reconciliation succeeded, the following fields will match: `traffic` and
+ * `traffic_statuses`, `observed_generation` and `generation`,
+ * `latest_ready_revision` and `latest_created_revision`.
+ * If reconciliation failed, `traffic_statuses`, `observed_generation`, and
+ * `latest_ready_revision` will have the state of the last serving revision,
+ * or empty for newly created Services. Additional information on the failure
+ * can be found in `terminal_condition` and `conditions`.
+ *
+ * Generated from protobuf field bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getReconciling()
+ {
+ return $this->reconciling;
+ }
+
+ /**
+ * Output only. Returns true if the Service is currently being acted upon by
+ * the system to bring it into the desired state.
+ * When a new Service is created, or an existing one is updated, Cloud Run
+ * will asynchronously perform all necessary steps to bring the Service to the
+ * desired serving state. This process is called reconciliation.
+ * While reconciliation is in process, `observed_generation`,
+ * `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient
+ * values that might mismatch the intended state: Once reconciliation is over
+ * (and this field is false), there are two possible outcomes: reconciliation
+ * succeeded and the serving state matches the Service, or there was an error,
+ * and reconciliation failed. This state can be found in
+ * `terminal_condition.state`.
+ * If reconciliation succeeded, the following fields will match: `traffic` and
+ * `traffic_statuses`, `observed_generation` and `generation`,
+ * `latest_ready_revision` and `latest_created_revision`.
+ * If reconciliation failed, `traffic_statuses`, `observed_generation`, and
+ * `latest_ready_revision` will have the state of the last serving revision,
+ * or empty for newly created Services. Additional information on the failure
+ * can be found in `terminal_condition` and `conditions`.
+ *
+ * Generated from protobuf field bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setReconciling($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->reconciling = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ServiceMesh.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ServiceMesh.php
new file mode 100644
index 000000000000..19cd1b0263c1
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ServiceMesh.php
@@ -0,0 +1,76 @@
+google.cloud.run.v2.ServiceMesh
+ */
+class ServiceMesh extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The Mesh resource name. Format:
+ * `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can
+ * be project id or number.
+ *
+ * Generated from protobuf field string mesh = 1 [(.google.api.resource_reference) = {
+ */
+ protected $mesh = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $mesh
+ * The Mesh resource name. Format:
+ * `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can
+ * be project id or number.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\VendorSettings::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The Mesh resource name. Format:
+ * `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can
+ * be project id or number.
+ *
+ * Generated from protobuf field string mesh = 1 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getMesh()
+ {
+ return $this->mesh;
+ }
+
+ /**
+ * The Mesh resource name. Format:
+ * `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can
+ * be project id or number.
+ *
+ * Generated from protobuf field string mesh = 1 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setMesh($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->mesh = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ServiceScaling.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ServiceScaling.php
new file mode 100644
index 000000000000..eff3cf1badc1
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ServiceScaling.php
@@ -0,0 +1,110 @@
+google.cloud.run.v2.ServiceScaling
+ */
+class ServiceScaling extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. total min instances for the service. This number of instances is
+ * divided among all revisions with specified traffic based on the percent
+ * of traffic they are receiving.
+ *
+ * Generated from protobuf field int32 min_instance_count = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $min_instance_count = 0;
+ /**
+ * Optional. The scaling mode for the service.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceScaling.ScalingMode scaling_mode = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $scaling_mode = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $min_instance_count
+ * Optional. total min instances for the service. This number of instances is
+ * divided among all revisions with specified traffic based on the percent
+ * of traffic they are receiving.
+ * @type int $scaling_mode
+ * Optional. The scaling mode for the service.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\VendorSettings::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. total min instances for the service. This number of instances is
+ * divided among all revisions with specified traffic based on the percent
+ * of traffic they are receiving.
+ *
+ * Generated from protobuf field int32 min_instance_count = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getMinInstanceCount()
+ {
+ return $this->min_instance_count;
+ }
+
+ /**
+ * Optional. total min instances for the service. This number of instances is
+ * divided among all revisions with specified traffic based on the percent
+ * of traffic they are receiving.
+ *
+ * Generated from protobuf field int32 min_instance_count = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setMinInstanceCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->min_instance_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The scaling mode for the service.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceScaling.ScalingMode scaling_mode = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getScalingMode()
+ {
+ return $this->scaling_mode;
+ }
+
+ /**
+ * Optional. The scaling mode for the service.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ServiceScaling.ScalingMode scaling_mode = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setScalingMode($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\ServiceScaling\ScalingMode::class);
+ $this->scaling_mode = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ServiceScaling/ScalingMode.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ServiceScaling/ScalingMode.php
new file mode 100644
index 000000000000..58d181ecc828
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ServiceScaling/ScalingMode.php
@@ -0,0 +1,65 @@
+google.cloud.run.v2.ServiceScaling.ScalingMode
+ */
+class ScalingMode
+{
+ /**
+ * Unspecified.
+ *
+ * Generated from protobuf enum SCALING_MODE_UNSPECIFIED = 0;
+ */
+ const SCALING_MODE_UNSPECIFIED = 0;
+ /**
+ * Scale based on traffic between min and max instances.
+ *
+ * Generated from protobuf enum AUTOMATIC = 1;
+ */
+ const AUTOMATIC = 1;
+ /**
+ * Scale to exactly min instances and ignore max instances.
+ *
+ * Generated from protobuf enum MANUAL = 2;
+ */
+ const MANUAL = 2;
+
+ private static $valueToName = [
+ self::SCALING_MODE_UNSPECIFIED => 'SCALING_MODE_UNSPECIFIED',
+ self::AUTOMATIC => 'AUTOMATIC',
+ self::MANUAL => 'MANUAL',
+ ];
+
+ 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);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ScalingMode::class, \Google\Cloud\Run\V2\ServiceScaling_ScalingMode::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/StorageSource.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/StorageSource.php
new file mode 100644
index 000000000000..a577d719f1a5
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/StorageSource.php
@@ -0,0 +1,155 @@
+google.cloud.run.v2.StorageSource
+ */
+class StorageSource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Google Cloud Storage bucket containing the source (see
+ * [Bucket Name
+ * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ *
+ * Generated from protobuf field string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $bucket = '';
+ /**
+ * Required. Google Cloud Storage object containing the source.
+ * This object must be a gzipped archive file (`.tar.gz`) containing source to
+ * build.
+ *
+ * Generated from protobuf field string object = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $object = '';
+ /**
+ * Optional. Google Cloud Storage generation for the object. If the generation
+ * is omitted, the latest generation will be used.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $generation = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $bucket
+ * Required. Google Cloud Storage bucket containing the source (see
+ * [Bucket Name
+ * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ * @type string $object
+ * Required. Google Cloud Storage object containing the source.
+ * This object must be a gzipped archive file (`.tar.gz`) containing source to
+ * build.
+ * @type int|string $generation
+ * Optional. Google Cloud Storage generation for the object. If the generation
+ * is omitted, the latest generation will be used.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Build::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Google Cloud Storage bucket containing the source (see
+ * [Bucket Name
+ * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ *
+ * Generated from protobuf field string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getBucket()
+ {
+ return $this->bucket;
+ }
+
+ /**
+ * Required. Google Cloud Storage bucket containing the source (see
+ * [Bucket Name
+ * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
+ *
+ * Generated from protobuf field string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setBucket($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->bucket = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Google Cloud Storage object containing the source.
+ * This object must be a gzipped archive file (`.tar.gz`) containing source to
+ * build.
+ *
+ * Generated from protobuf field string object = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getObject()
+ {
+ return $this->object;
+ }
+
+ /**
+ * Required. Google Cloud Storage object containing the source.
+ * This object must be a gzipped archive file (`.tar.gz`) containing source to
+ * build.
+ *
+ * Generated from protobuf field string object = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setObject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->object = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Google Cloud Storage generation for the object. If the generation
+ * is omitted, the latest generation will be used.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int|string
+ */
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+
+ /**
+ * Optional. Google Cloud Storage generation for the object. If the generation
+ * is omitted, the latest generation will be used.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->generation = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SubmitBuildRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SubmitBuildRequest.php
new file mode 100644
index 000000000000..cb260e21eed3
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SubmitBuildRequest.php
@@ -0,0 +1,356 @@
+google.cloud.run.v2.SubmitBuildRequest
+ */
+class SubmitBuildRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The project and location to build in. Location must be a region,
+ * e.g., 'us-central1' or 'global' if the global builder is to be used.
+ * Format:
+ * `projects/{project}/locations/{location}`
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $parent = '';
+ /**
+ * Required. Artifact Registry URI to store the built image.
+ *
+ * Generated from protobuf field string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $image_uri = '';
+ /**
+ * Optional. The service account to use for the build. If not set, the default
+ * Cloud Build service account for the project will be used.
+ *
+ * Generated from protobuf field string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $service_account = '';
+ /**
+ * Optional. Name of the Cloud Build Custom Worker Pool that should be used to
+ * build the function. The format of this field is
+ * `projects/{project}/locations/{region}/workerPools/{workerPool}` where
+ * `{project}` and `{region}` are the project id and region respectively where
+ * the worker pool is defined and `{workerPool}` is the short name of the
+ * worker pool.
+ *
+ * Generated from protobuf field string worker_pool = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ */
+ protected $worker_pool = '';
+ /**
+ * Optional. Additional tags to annotate the build.
+ *
+ * Generated from protobuf field repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $tags;
+ protected $source;
+ protected $build_type;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The project and location to build in. Location must be a region,
+ * e.g., 'us-central1' or 'global' if the global builder is to be used.
+ * Format:
+ * `projects/{project}/locations/{location}`
+ * @type \Google\Cloud\Run\V2\StorageSource $storage_source
+ * Required. Source for the build.
+ * @type string $image_uri
+ * Required. Artifact Registry URI to store the built image.
+ * @type \Google\Cloud\Run\V2\SubmitBuildRequest\BuildpacksBuild $buildpack_build
+ * Build the source using Buildpacks.
+ * @type \Google\Cloud\Run\V2\SubmitBuildRequest\DockerBuild $docker_build
+ * Build the source using Docker. This means the source has a Dockerfile.
+ * @type string $service_account
+ * Optional. The service account to use for the build. If not set, the default
+ * Cloud Build service account for the project will be used.
+ * @type string $worker_pool
+ * Optional. Name of the Cloud Build Custom Worker Pool that should be used to
+ * build the function. The format of this field is
+ * `projects/{project}/locations/{region}/workerPools/{workerPool}` where
+ * `{project}` and `{region}` are the project id and region respectively where
+ * the worker pool is defined and `{workerPool}` is the short name of the
+ * worker pool.
+ * @type arraystring parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The project and location to build in. Location must be a region,
+ * e.g., 'us-central1' or 'global' if the global builder is to be used.
+ * Format:
+ * `projects/{project}/locations/{location}`
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Source for the build.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Run\V2\StorageSource|null
+ */
+ public function getStorageSource()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasStorageSource()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Required. Source for the build.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.StorageSource storage_source = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Run\V2\StorageSource $var
+ * @return $this
+ */
+ public function setStorageSource($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\StorageSource::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Required. Artifact Registry URI to store the built image.
+ *
+ * Generated from protobuf field string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getImageUri()
+ {
+ return $this->image_uri;
+ }
+
+ /**
+ * Required. Artifact Registry URI to store the built image.
+ *
+ * Generated from protobuf field string image_uri = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setImageUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->image_uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Build the source using Buildpacks.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;
+ * @return \Google\Cloud\Run\V2\SubmitBuildRequest\BuildpacksBuild|null
+ */
+ public function getBuildpackBuild()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasBuildpackBuild()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Build the source using Buildpacks.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild buildpack_build = 4;
+ * @param \Google\Cloud\Run\V2\SubmitBuildRequest\BuildpacksBuild $var
+ * @return $this
+ */
+ public function setBuildpackBuild($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\SubmitBuildRequest\BuildpacksBuild::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * Build the source using Docker. This means the source has a Dockerfile.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;
+ * @return \Google\Cloud\Run\V2\SubmitBuildRequest\DockerBuild|null
+ */
+ public function getDockerBuild()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasDockerBuild()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Build the source using Docker. This means the source has a Dockerfile.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.SubmitBuildRequest.DockerBuild docker_build = 5;
+ * @param \Google\Cloud\Run\V2\SubmitBuildRequest\DockerBuild $var
+ * @return $this
+ */
+ public function setDockerBuild($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\SubmitBuildRequest\DockerBuild::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. The service account to use for the build. If not set, the default
+ * Cloud Build service account for the project will be used.
+ *
+ * Generated from protobuf field string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getServiceAccount()
+ {
+ return $this->service_account;
+ }
+
+ /**
+ * Optional. The service account to use for the build. If not set, the default
+ * Cloud Build service account for the project will be used.
+ *
+ * Generated from protobuf field string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setServiceAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service_account = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Name of the Cloud Build Custom Worker Pool that should be used to
+ * build the function. The format of this field is
+ * `projects/{project}/locations/{region}/workerPools/{workerPool}` where
+ * `{project}` and `{region}` are the project id and region respectively where
+ * the worker pool is defined and `{workerPool}` is the short name of the
+ * worker pool.
+ *
+ * Generated from protobuf field string worker_pool = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getWorkerPool()
+ {
+ return $this->worker_pool;
+ }
+
+ /**
+ * Optional. Name of the Cloud Build Custom Worker Pool that should be used to
+ * build the function. The format of this field is
+ * `projects/{project}/locations/{region}/workerPools/{workerPool}` where
+ * `{project}` and `{region}` are the project id and region respectively where
+ * the worker pool is defined and `{workerPool}` is the short name of the
+ * worker pool.
+ *
+ * Generated from protobuf field string worker_pool = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setWorkerPool($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->worker_pool = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Additional tags to annotate the build.
+ *
+ * Generated from protobuf field repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ /**
+ * Optional. Additional tags to annotate the build.
+ *
+ * Generated from protobuf field repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arraystring runtime = 1 [deprecated = true];
+ * @deprecated
+ */
+ protected $runtime = '';
+ /**
+ * Optional. Name of the function target if the source is a function source.
+ * Required for function builds.
+ *
+ * Generated from protobuf field string function_target = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $function_target = '';
+ /**
+ * Optional. cache_image_uri is the GCR/AR URL where the cache image will be
+ * stored. cache_image_uri is optional and omitting it will disable caching.
+ * This URL must be stable across builds. It is used to derive a
+ * build-specific temporary URL by substituting the tag with the build ID.
+ * The build will clean up the temporary image on a best-effort basis.
+ *
+ * Generated from protobuf field string cache_image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $cache_image_uri = '';
+ /**
+ * Optional. The base image used to opt into automatic base image updates.
+ *
+ * Generated from protobuf field string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $base_image = '';
+ /**
+ * Optional. User-provided build-time environment variables.
+ *
+ * Generated from protobuf field map
+ */
+ private $environment_variables;
+ /**
+ * Optional. Whether or not the application container will be enrolled in
+ * automatic base image updates. When true, the application will be built on
+ * a scratch base image, so the base layers can be appended at run time.
+ *
+ * Generated from protobuf field bool enable_automatic_updates = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $enable_automatic_updates = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $runtime
+ * The runtime name, e.g. 'go113'. Leave blank for generic builds.
+ * @type string $function_target
+ * Optional. Name of the function target if the source is a function source.
+ * Required for function builds.
+ * @type string $cache_image_uri
+ * Optional. cache_image_uri is the GCR/AR URL where the cache image will be
+ * stored. cache_image_uri is optional and omitting it will disable caching.
+ * This URL must be stable across builds. It is used to derive a
+ * build-specific temporary URL by substituting the tag with the build ID.
+ * The build will clean up the temporary image on a best-effort basis.
+ * @type string $base_image
+ * Optional. The base image used to opt into automatic base image updates.
+ * @type array|\Google\Protobuf\Internal\MapField $environment_variables
+ * Optional. User-provided build-time environment variables.
+ * @type bool $enable_automatic_updates
+ * Optional. Whether or not the application container will be enrolled in
+ * automatic base image updates. When true, the application will be built on
+ * a scratch base image, so the base layers can be appended at run time.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Build::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The runtime name, e.g. 'go113'. Leave blank for generic builds.
+ *
+ * Generated from protobuf field string runtime = 1 [deprecated = true];
+ * @return string
+ * @deprecated
+ */
+ public function getRuntime()
+ {
+ @trigger_error('runtime is deprecated.', E_USER_DEPRECATED);
+ return $this->runtime;
+ }
+
+ /**
+ * The runtime name, e.g. 'go113'. Leave blank for generic builds.
+ *
+ * Generated from protobuf field string runtime = 1 [deprecated = true];
+ * @param string $var
+ * @return $this
+ * @deprecated
+ */
+ public function setRuntime($var)
+ {
+ @trigger_error('runtime is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkString($var, True);
+ $this->runtime = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Name of the function target if the source is a function source.
+ * Required for function builds.
+ *
+ * Generated from protobuf field string function_target = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getFunctionTarget()
+ {
+ return $this->function_target;
+ }
+
+ /**
+ * Optional. Name of the function target if the source is a function source.
+ * Required for function builds.
+ *
+ * Generated from protobuf field string function_target = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setFunctionTarget($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->function_target = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. cache_image_uri is the GCR/AR URL where the cache image will be
+ * stored. cache_image_uri is optional and omitting it will disable caching.
+ * This URL must be stable across builds. It is used to derive a
+ * build-specific temporary URL by substituting the tag with the build ID.
+ * The build will clean up the temporary image on a best-effort basis.
+ *
+ * Generated from protobuf field string cache_image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getCacheImageUri()
+ {
+ return $this->cache_image_uri;
+ }
+
+ /**
+ * Optional. cache_image_uri is the GCR/AR URL where the cache image will be
+ * stored. cache_image_uri is optional and omitting it will disable caching.
+ * This URL must be stable across builds. It is used to derive a
+ * build-specific temporary URL by substituting the tag with the build ID.
+ * The build will clean up the temporary image on a best-effort basis.
+ *
+ * Generated from protobuf field string cache_image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setCacheImageUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->cache_image_uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The base image used to opt into automatic base image updates.
+ *
+ * Generated from protobuf field string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getBaseImage()
+ {
+ return $this->base_image;
+ }
+
+ /**
+ * Optional. The base image used to opt into automatic base image updates.
+ *
+ * Generated from protobuf field string base_image = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setBaseImage($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->base_image = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. User-provided build-time environment variables.
+ *
+ * Generated from protobuf field map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getEnvironmentVariables()
+ {
+ return $this->environment_variables;
+ }
+
+ /**
+ * Optional. User-provided build-time environment variables.
+ *
+ * Generated from protobuf field map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setEnvironmentVariables($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->environment_variables = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Whether or not the application container will be enrolled in
+ * automatic base image updates. When true, the application will be built on
+ * a scratch base image, so the base layers can be appended at run time.
+ *
+ * Generated from protobuf field bool enable_automatic_updates = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getEnableAutomaticUpdates()
+ {
+ return $this->enable_automatic_updates;
+ }
+
+ /**
+ * Optional. Whether or not the application container will be enrolled in
+ * automatic base image updates. When true, the application will be built on
+ * a scratch base image, so the base layers can be appended at run time.
+ *
+ * Generated from protobuf field bool enable_automatic_updates = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setEnableAutomaticUpdates($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->enable_automatic_updates = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(BuildpacksBuild::class, \Google\Cloud\Run\V2\SubmitBuildRequest_BuildpacksBuild::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SubmitBuildRequest/DockerBuild.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SubmitBuildRequest/DockerBuild.php
new file mode 100644
index 000000000000..9089c3fd5f03
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SubmitBuildRequest/DockerBuild.php
@@ -0,0 +1,36 @@
+google.cloud.run.v2.SubmitBuildRequest.DockerBuild
+ */
+class DockerBuild extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Build::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(DockerBuild::class, \Google\Cloud\Run\V2\SubmitBuildRequest_DockerBuild::class);
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SubmitBuildResponse.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SubmitBuildResponse.php
new file mode 100644
index 000000000000..42440dbfebd4
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SubmitBuildResponse.php
@@ -0,0 +1,149 @@
+google.cloud.run.v2.SubmitBuildResponse
+ */
+class SubmitBuildResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Cloud Build operation to be polled via CloudBuild API.
+ *
+ * Generated from protobuf field .google.longrunning.Operation build_operation = 1;
+ */
+ protected $build_operation = null;
+ /**
+ * URI of the base builder image in Artifact Registry being used in the build.
+ * Used to opt into automatic base image updates.
+ *
+ * Generated from protobuf field string base_image_uri = 2;
+ */
+ protected $base_image_uri = '';
+ /**
+ * Warning message for the base image.
+ *
+ * Generated from protobuf field string base_image_warning = 3;
+ */
+ protected $base_image_warning = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\LongRunning\Operation $build_operation
+ * Cloud Build operation to be polled via CloudBuild API.
+ * @type string $base_image_uri
+ * URI of the base builder image in Artifact Registry being used in the build.
+ * Used to opt into automatic base image updates.
+ * @type string $base_image_warning
+ * Warning message for the base image.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Build::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Cloud Build operation to be polled via CloudBuild API.
+ *
+ * Generated from protobuf field .google.longrunning.Operation build_operation = 1;
+ * @return \Google\LongRunning\Operation|null
+ */
+ public function getBuildOperation()
+ {
+ return $this->build_operation;
+ }
+
+ public function hasBuildOperation()
+ {
+ return isset($this->build_operation);
+ }
+
+ public function clearBuildOperation()
+ {
+ unset($this->build_operation);
+ }
+
+ /**
+ * Cloud Build operation to be polled via CloudBuild API.
+ *
+ * Generated from protobuf field .google.longrunning.Operation build_operation = 1;
+ * @param \Google\LongRunning\Operation $var
+ * @return $this
+ */
+ public function setBuildOperation($var)
+ {
+ GPBUtil::checkMessage($var, \Google\LongRunning\Operation::class);
+ $this->build_operation = $var;
+
+ return $this;
+ }
+
+ /**
+ * URI of the base builder image in Artifact Registry being used in the build.
+ * Used to opt into automatic base image updates.
+ *
+ * Generated from protobuf field string base_image_uri = 2;
+ * @return string
+ */
+ public function getBaseImageUri()
+ {
+ return $this->base_image_uri;
+ }
+
+ /**
+ * URI of the base builder image in Artifact Registry being used in the build.
+ * Used to opt into automatic base image updates.
+ *
+ * Generated from protobuf field string base_image_uri = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setBaseImageUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->base_image_uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Warning message for the base image.
+ *
+ * Generated from protobuf field string base_image_warning = 3;
+ * @return string
+ */
+ public function getBaseImageWarning()
+ {
+ return $this->base_image_warning;
+ }
+
+ /**
+ * Warning message for the base image.
+ *
+ * Generated from protobuf field string base_image_warning = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setBaseImageWarning($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->base_image_warning = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TCPSocketAction.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TCPSocketAction.php
new file mode 100644
index 000000000000..52828310dc64
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TCPSocketAction.php
@@ -0,0 +1,75 @@
+google.cloud.run.v2.TCPSocketAction
+ */
+class TCPSocketAction extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Port number to access on the container. Must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ *
+ * Generated from protobuf field int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $port = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $port
+ * Optional. Port number to access on the container. Must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Port number to access on the container. Must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ *
+ * Generated from protobuf field int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ /**
+ * Optional. Port number to access on the container. Must be in the range 1 to
+ * 65535. If not specified, defaults to the exposed port of the container,
+ * which is the value of container.ports[0].containerPort.
+ *
+ * Generated from protobuf field int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPort($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->port = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Task.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Task.php
new file mode 100644
index 000000000000..6fe2768394c2
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Task.php
@@ -0,0 +1,1339 @@
+google.cloud.run.v2.Task
+ */
+class Task extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The unique name of this Task.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $name = '';
+ /**
+ * Output only. Server assigned unique identifier for the Task. The value is a
+ * UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $uid = '';
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $generation = 0;
+ /**
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels
+ *
+ * Generated from protobuf field map
+ */
+ private $labels;
+ /**
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ *
+ * Generated from protobuf field map
+ */
+ private $annotations;
+ /**
+ * Output only. Represents time when the task was created by the system.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. Represents time when the task was scheduled to run by the
+ * system. It is not guaranteed to be set in happens-before order across
+ * separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $scheduled_time = null;
+ /**
+ * Output only. Represents time when the task started to run.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $start_time = null;
+ /**
+ * Output only. Represents time when the Task was completed. It is not
+ * guaranteed to be set in happens-before order across separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $completion_time = null;
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $delete_time = null;
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $expire_time = null;
+ /**
+ * Output only. The name of the parent Job.
+ *
+ * Generated from protobuf field string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ */
+ protected $job = '';
+ /**
+ * Output only. The name of the parent Execution.
+ *
+ * Generated from protobuf field string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ */
+ protected $execution = '';
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * task.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 14;
+ */
+ private $containers;
+ /**
+ * A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 15;
+ */
+ private $volumes;
+ /**
+ * Number of retries allowed per Task, before marking this Task failed.
+ *
+ * Generated from protobuf field int32 max_retries = 16;
+ */
+ protected $max_retries = 0;
+ /**
+ * Max allowed time duration the Task may be active before the system will
+ * actively try to mark it failed and kill associated containers. This applies
+ * per attempt of a task, meaning each retry can run for the full timeout.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 17;
+ */
+ protected $timeout = null;
+ /**
+ * Email address of the IAM service account associated with the Task of a
+ * Job. The service account represents the identity of the
+ * running task, and determines what permissions the task has. If
+ * not provided, the task will use the project's default service account.
+ *
+ * Generated from protobuf field string service_account = 18;
+ */
+ protected $service_account = '';
+ /**
+ * The execution environment being used to host this Task.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
+ */
+ protected $execution_environment = 0;
+ /**
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Job.reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $reconciling = false;
+ /**
+ * Output only. The Condition of this Task, containing its readiness status,
+ * and detailed error information in case it did not reach the desired state.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $conditions;
+ /**
+ * Output only. The generation of this Task. See comments in `Job.reconciling`
+ * for additional information on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $observed_generation = 0;
+ /**
+ * Output only. Index of the Task, unique per execution, and beginning at 0.
+ *
+ * Generated from protobuf field int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $index = 0;
+ /**
+ * Output only. The number of times this Task was retried.
+ * Tasks are retried when they fail up to the maxRetries limit.
+ *
+ * Generated from protobuf field int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $retried = 0;
+ /**
+ * Output only. Result of the last attempt of this Task.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $last_attempt_result = null;
+ /**
+ * Output only. A reference to a customer managed encryption key (CMEK) to use
+ * to encrypt this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ */
+ protected $encryption_key = '';
+ /**
+ * Output only. VPC Access configuration to use for this Task. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $vpc_access = null;
+ /**
+ * Output only. URI where logs for this execution can be found in Cloud
+ * Console.
+ *
+ * Generated from protobuf field string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $log_uri = '';
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $satisfies_pzs = false;
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $etag = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. The unique name of this Task.
+ * @type string $uid
+ * Output only. Server assigned unique identifier for the Task. The value is a
+ * UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ * @type int|string $generation
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels
+ * @type array|\Google\Protobuf\Internal\MapField $annotations
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. Represents time when the task was created by the system.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ * @type \Google\Protobuf\Timestamp $scheduled_time
+ * Output only. Represents time when the task was scheduled to run by the
+ * system. It is not guaranteed to be set in happens-before order across
+ * separate operations.
+ * @type \Google\Protobuf\Timestamp $start_time
+ * Output only. Represents time when the task started to run.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ * @type \Google\Protobuf\Timestamp $completion_time
+ * Output only. Represents time when the Task was completed. It is not
+ * guaranteed to be set in happens-before order across separate operations.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. The last-modified time.
+ * @type \Google\Protobuf\Timestamp $delete_time
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ * @type \Google\Protobuf\Timestamp $expire_time
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ * @type string $job
+ * Output only. The name of the parent Job.
+ * @type string $execution
+ * Output only. The name of the parent Execution.
+ * @type array<\Google\Cloud\Run\V2\Container>|\Google\Protobuf\Internal\RepeatedField $containers
+ * Holds the single container that defines the unit of execution for this
+ * task.
+ * @type array<\Google\Cloud\Run\V2\Volume>|\Google\Protobuf\Internal\RepeatedField $volumes
+ * A list of Volumes to make available to containers.
+ * @type int $max_retries
+ * Number of retries allowed per Task, before marking this Task failed.
+ * @type \Google\Protobuf\Duration $timeout
+ * Max allowed time duration the Task may be active before the system will
+ * actively try to mark it failed and kill associated containers. This applies
+ * per attempt of a task, meaning each retry can run for the full timeout.
+ * @type string $service_account
+ * Email address of the IAM service account associated with the Task of a
+ * Job. The service account represents the identity of the
+ * running task, and determines what permissions the task has. If
+ * not provided, the task will use the project's default service account.
+ * @type int $execution_environment
+ * The execution environment being used to host this Task.
+ * @type bool $reconciling
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Job.reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ * @type array<\Google\Cloud\Run\V2\Condition>|\Google\Protobuf\Internal\RepeatedField $conditions
+ * Output only. The Condition of this Task, containing its readiness status,
+ * and detailed error information in case it did not reach the desired state.
+ * @type int|string $observed_generation
+ * Output only. The generation of this Task. See comments in `Job.reconciling`
+ * for additional information on reconciliation process in Cloud Run.
+ * @type int $index
+ * Output only. Index of the Task, unique per execution, and beginning at 0.
+ * @type int $retried
+ * Output only. The number of times this Task was retried.
+ * Tasks are retried when they fail up to the maxRetries limit.
+ * @type \Google\Cloud\Run\V2\TaskAttemptResult $last_attempt_result
+ * Output only. Result of the last attempt of this Task.
+ * @type string $encryption_key
+ * Output only. A reference to a customer managed encryption key (CMEK) to use
+ * to encrypt this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ * @type \Google\Cloud\Run\V2\VpcAccess $vpc_access
+ * Output only. VPC Access configuration to use for this Task. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ * @type string $log_uri
+ * Output only. URI where logs for this execution can be found in Cloud
+ * Console.
+ * @type bool $satisfies_pzs
+ * Output only. Reserved for future use.
+ * @type string $etag
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Task::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The unique name of this Task.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. The unique name of this Task.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the Task. The value is a
+ * UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getUid()
+ {
+ return $this->uid;
+ }
+
+ /**
+ * Output only. Server assigned unique identifier for the Task. The value is a
+ * UUID4 string and guaranteed to remain unchanged until the resource is
+ * deleted.
+ *
+ * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setUid($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uid = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+
+ /**
+ * Output only. A number that monotonically increases every time the user
+ * modifies the desired state.
+ *
+ * Generated from protobuf field int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels
+ *
+ * Generated from protobuf field map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Output only. Unstructured key value map that can be used to organize and
+ * categorize objects. User-provided labels are shared with Google's billing
+ * system, so they can be used to filter, or break down billing charges by
+ * team, component, environment, state, etc. For more information, visit
+ * https://cloud.google.com/resource-manager/docs/creating-managing-labels or
+ * https://cloud.google.com/run/docs/configuring/labels
+ *
+ * Generated from protobuf field map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ *
+ * Generated from protobuf field map
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+
+ /**
+ * Output only. Unstructured key value map that may
+ * be set by external tools to store and arbitrary metadata.
+ * They are not queryable and should be preserved
+ * when modifying objects.
+ *
+ * Generated from protobuf field map
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setAnnotations($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->annotations = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents time when the task was created by the system.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. Represents time when the task was created by the system.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents time when the task was scheduled to run by the
+ * system. It is not guaranteed to be set in happens-before order across
+ * separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getScheduledTime()
+ {
+ return $this->scheduled_time;
+ }
+
+ public function hasScheduledTime()
+ {
+ return isset($this->scheduled_time);
+ }
+
+ public function clearScheduledTime()
+ {
+ unset($this->scheduled_time);
+ }
+
+ /**
+ * Output only. Represents time when the task was scheduled to run by the
+ * system. It is not guaranteed to be set in happens-before order across
+ * separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setScheduledTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->scheduled_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents time when the task started to run.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getStartTime()
+ {
+ return $this->start_time;
+ }
+
+ public function hasStartTime()
+ {
+ return isset($this->start_time);
+ }
+
+ public function clearStartTime()
+ {
+ unset($this->start_time);
+ }
+
+ /**
+ * Output only. Represents time when the task started to run.
+ * It is not guaranteed to be set in happens-before order across separate
+ * operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setStartTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->start_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents time when the Task was completed. It is not
+ * guaranteed to be set in happens-before order across separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCompletionTime()
+ {
+ return $this->completion_time;
+ }
+
+ public function hasCompletionTime()
+ {
+ return isset($this->completion_time);
+ }
+
+ public function clearCompletionTime()
+ {
+ unset($this->completion_time);
+ }
+
+ /**
+ * Output only. Represents time when the Task was completed. It is not
+ * guaranteed to be set in happens-before order across separate operations.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCompletionTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->completion_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The last-modified time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getDeleteTime()
+ {
+ return $this->delete_time;
+ }
+
+ public function hasDeleteTime()
+ {
+ return isset($this->delete_time);
+ }
+
+ public function clearDeleteTime()
+ {
+ unset($this->delete_time);
+ }
+
+ /**
+ * Output only. For a deleted resource, the deletion time. It is only
+ * populated as a response to a Delete request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setDeleteTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->delete_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getExpireTime()
+ {
+ return $this->expire_time;
+ }
+
+ public function hasExpireTime()
+ {
+ return isset($this->expire_time);
+ }
+
+ public function clearExpireTime()
+ {
+ unset($this->expire_time);
+ }
+
+ /**
+ * Output only. For a deleted resource, the time after which it will be
+ * permamently deleted. It is only populated as a response to a Delete
+ * request.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setExpireTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->expire_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The name of the parent Job.
+ *
+ * Generated from protobuf field string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getJob()
+ {
+ return $this->job;
+ }
+
+ /**
+ * Output only. The name of the parent Job.
+ *
+ * Generated from protobuf field string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setJob($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->job = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The name of the parent Execution.
+ *
+ * Generated from protobuf field string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getExecution()
+ {
+ return $this->execution;
+ }
+
+ /**
+ * Output only. The name of the parent Execution.
+ *
+ * Generated from protobuf field string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setExecution($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->execution = $var;
+
+ return $this;
+ }
+
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * task.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 14;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getContainers()
+ {
+ return $this->containers;
+ }
+
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * task.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 14;
+ * @param array<\Google\Cloud\Run\V2\Container>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setContainers($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Container::class);
+ $this->containers = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 15;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getVolumes()
+ {
+ return $this->volumes;
+ }
+
+ /**
+ * A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 15;
+ * @param array<\Google\Cloud\Run\V2\Volume>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setVolumes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Volume::class);
+ $this->volumes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Number of retries allowed per Task, before marking this Task failed.
+ *
+ * Generated from protobuf field int32 max_retries = 16;
+ * @return int
+ */
+ public function getMaxRetries()
+ {
+ return $this->max_retries;
+ }
+
+ /**
+ * Number of retries allowed per Task, before marking this Task failed.
+ *
+ * Generated from protobuf field int32 max_retries = 16;
+ * @param int $var
+ * @return $this
+ */
+ public function setMaxRetries($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->max_retries = $var;
+
+ return $this;
+ }
+
+ /**
+ * Max allowed time duration the Task may be active before the system will
+ * actively try to mark it failed and kill associated containers. This applies
+ * per attempt of a task, meaning each retry can run for the full timeout.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 17;
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+
+ public function hasTimeout()
+ {
+ return isset($this->timeout);
+ }
+
+ public function clearTimeout()
+ {
+ unset($this->timeout);
+ }
+
+ /**
+ * Max allowed time duration the Task may be active before the system will
+ * actively try to mark it failed and kill associated containers. This applies
+ * per attempt of a task, meaning each retry can run for the full timeout.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 17;
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setTimeout($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->timeout = $var;
+
+ return $this;
+ }
+
+ /**
+ * Email address of the IAM service account associated with the Task of a
+ * Job. The service account represents the identity of the
+ * running task, and determines what permissions the task has. If
+ * not provided, the task will use the project's default service account.
+ *
+ * Generated from protobuf field string service_account = 18;
+ * @return string
+ */
+ public function getServiceAccount()
+ {
+ return $this->service_account;
+ }
+
+ /**
+ * Email address of the IAM service account associated with the Task of a
+ * Job. The service account represents the identity of the
+ * running task, and determines what permissions the task has. If
+ * not provided, the task will use the project's default service account.
+ *
+ * Generated from protobuf field string service_account = 18;
+ * @param string $var
+ * @return $this
+ */
+ public function setServiceAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service_account = $var;
+
+ return $this;
+ }
+
+ /**
+ * The execution environment being used to host this Task.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
+ * @return int
+ */
+ public function getExecutionEnvironment()
+ {
+ return $this->execution_environment;
+ }
+
+ /**
+ * The execution environment being used to host this Task.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
+ * @param int $var
+ * @return $this
+ */
+ public function setExecutionEnvironment($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\ExecutionEnvironment::class);
+ $this->execution_environment = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Job.reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getReconciling()
+ {
+ return $this->reconciling;
+ }
+
+ /**
+ * Output only. Indicates whether the resource's reconciliation is still in
+ * progress. See comments in `Job.reconciling` for additional information on
+ * reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setReconciling($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->reconciling = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Condition of this Task, containing its readiness status,
+ * and detailed error information in case it did not reach the desired state.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+
+ /**
+ * Output only. The Condition of this Task, containing its readiness status,
+ * and detailed error information in case it did not reach the desired state.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\Run\V2\Condition>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setConditions($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Condition::class);
+ $this->conditions = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The generation of this Task. See comments in `Job.reconciling`
+ * for additional information on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getObservedGeneration()
+ {
+ return $this->observed_generation;
+ }
+
+ /**
+ * Output only. The generation of this Task. See comments in `Job.reconciling`
+ * for additional information on reconciliation process in Cloud Run.
+ *
+ * Generated from protobuf field int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setObservedGeneration($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->observed_generation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Index of the Task, unique per execution, and beginning at 0.
+ *
+ * Generated from protobuf field int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getIndex()
+ {
+ return $this->index;
+ }
+
+ /**
+ * Output only. Index of the Task, unique per execution, and beginning at 0.
+ *
+ * Generated from protobuf field int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setIndex($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->index = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of times this Task was retried.
+ * Tasks are retried when they fail up to the maxRetries limit.
+ *
+ * Generated from protobuf field int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getRetried()
+ {
+ return $this->retried;
+ }
+
+ /**
+ * Output only. The number of times this Task was retried.
+ * Tasks are retried when they fail up to the maxRetries limit.
+ *
+ * Generated from protobuf field int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setRetried($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->retried = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Result of the last attempt of this Task.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\Run\V2\TaskAttemptResult|null
+ */
+ public function getLastAttemptResult()
+ {
+ return $this->last_attempt_result;
+ }
+
+ public function hasLastAttemptResult()
+ {
+ return isset($this->last_attempt_result);
+ }
+
+ public function clearLastAttemptResult()
+ {
+ unset($this->last_attempt_result);
+ }
+
+ /**
+ * Output only. Result of the last attempt of this Task.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\Run\V2\TaskAttemptResult $var
+ * @return $this
+ */
+ public function setLastAttemptResult($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\TaskAttemptResult::class);
+ $this->last_attempt_result = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A reference to a customer managed encryption key (CMEK) to use
+ * to encrypt this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getEncryptionKey()
+ {
+ return $this->encryption_key;
+ }
+
+ /**
+ * Output only. A reference to a customer managed encryption key (CMEK) to use
+ * to encrypt this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setEncryptionKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->encryption_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. VPC Access configuration to use for this Task. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\Run\V2\VpcAccess|null
+ */
+ public function getVpcAccess()
+ {
+ return $this->vpc_access;
+ }
+
+ public function hasVpcAccess()
+ {
+ return isset($this->vpc_access);
+ }
+
+ public function clearVpcAccess()
+ {
+ unset($this->vpc_access);
+ }
+
+ /**
+ * Output only. VPC Access configuration to use for this Task. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\Run\V2\VpcAccess $var
+ * @return $this
+ */
+ public function setVpcAccess($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\VpcAccess::class);
+ $this->vpc_access = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. URI where logs for this execution can be found in Cloud
+ * Console.
+ *
+ * Generated from protobuf field string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getLogUri()
+ {
+ return $this->log_uri;
+ }
+
+ /**
+ * Output only. URI where logs for this execution can be found in Cloud
+ * Console.
+ *
+ * Generated from protobuf field string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setLogUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->log_uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getSatisfiesPzs()
+ {
+ return $this->satisfies_pzs;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setSatisfiesPzs($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->satisfies_pzs = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Output only. A system-generated fingerprint for this version of the
+ * resource. May be used to detect modification conflict during updates.
+ *
+ * Generated from protobuf field string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TaskAttemptResult.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TaskAttemptResult.php
new file mode 100644
index 000000000000..26a5923b91a0
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TaskAttemptResult.php
@@ -0,0 +1,127 @@
+google.cloud.run.v2.TaskAttemptResult
+ */
+class TaskAttemptResult extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The status of this attempt.
+ * If the status code is OK, then the attempt succeeded.
+ *
+ * Generated from protobuf field .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $status = null;
+ /**
+ * Output only. The exit code of this attempt.
+ * This may be unset if the container was unable to exit cleanly with a code
+ * due to some other failure.
+ * See status field for possible failure details.
+ *
+ * Generated from protobuf field int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $exit_code = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Rpc\Status $status
+ * Output only. The status of this attempt.
+ * If the status code is OK, then the attempt succeeded.
+ * @type int $exit_code
+ * Output only. The exit code of this attempt.
+ * This may be unset if the container was unable to exit cleanly with a code
+ * due to some other failure.
+ * See status field for possible failure details.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Task::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The status of this attempt.
+ * If the status code is OK, then the attempt succeeded.
+ *
+ * Generated from protobuf field .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Rpc\Status|null
+ */
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function hasStatus()
+ {
+ return isset($this->status);
+ }
+
+ public function clearStatus()
+ {
+ unset($this->status);
+ }
+
+ /**
+ * Output only. The status of this attempt.
+ * If the status code is OK, then the attempt succeeded.
+ *
+ * Generated from protobuf field .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Rpc\Status $var
+ * @return $this
+ */
+ public function setStatus($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Rpc\Status::class);
+ $this->status = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The exit code of this attempt.
+ * This may be unset if the container was unable to exit cleanly with a code
+ * due to some other failure.
+ * See status field for possible failure details.
+ *
+ * Generated from protobuf field int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getExitCode()
+ {
+ return $this->exit_code;
+ }
+
+ /**
+ * Output only. The exit code of this attempt.
+ * This may be unset if the container was unable to exit cleanly with a code
+ * due to some other failure.
+ * See status field for possible failure details.
+ *
+ * Generated from protobuf field int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setExitCode($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->exit_code = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TaskTemplate.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TaskTemplate.php
new file mode 100644
index 000000000000..900f4f9ed2be
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TaskTemplate.php
@@ -0,0 +1,381 @@
+google.cloud.run.v2.TaskTemplate
+ */
+class TaskTemplate extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * task.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 1;
+ */
+ private $containers;
+ /**
+ * Optional. A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $volumes;
+ /**
+ * Optional. Max allowed time duration the Task may be active before the
+ * system will actively try to mark it failed and kill associated containers.
+ * This applies per attempt of a task, meaning each retry can run for the full
+ * timeout. Defaults to 600 seconds.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $timeout = null;
+ /**
+ * Optional. Email address of the IAM service account associated with the Task
+ * of a Job. The service account represents the identity of the running task,
+ * and determines what permissions the task has. If not provided, the task
+ * will use the project's default service account.
+ *
+ * Generated from protobuf field string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $service_account = '';
+ /**
+ * Optional. The execution environment being used to host this Task.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $execution_environment = 0;
+ /**
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 7 [(.google.api.resource_reference) = {
+ */
+ protected $encryption_key = '';
+ /**
+ * Optional. VPC Access configuration to use for this Task. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $vpc_access = null;
+ protected $retries;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Run\V2\Container>|\Google\Protobuf\Internal\RepeatedField $containers
+ * Holds the single container that defines the unit of execution for this
+ * task.
+ * @type array<\Google\Cloud\Run\V2\Volume>|\Google\Protobuf\Internal\RepeatedField $volumes
+ * Optional. A list of Volumes to make available to containers.
+ * @type int $max_retries
+ * Number of retries allowed per Task, before marking this Task failed.
+ * Defaults to 3.
+ * @type \Google\Protobuf\Duration $timeout
+ * Optional. Max allowed time duration the Task may be active before the
+ * system will actively try to mark it failed and kill associated containers.
+ * This applies per attempt of a task, meaning each retry can run for the full
+ * timeout. Defaults to 600 seconds.
+ * @type string $service_account
+ * Optional. Email address of the IAM service account associated with the Task
+ * of a Job. The service account represents the identity of the running task,
+ * and determines what permissions the task has. If not provided, the task
+ * will use the project's default service account.
+ * @type int $execution_environment
+ * Optional. The execution environment being used to host this Task.
+ * @type string $encryption_key
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ * @type \Google\Cloud\Run\V2\VpcAccess $vpc_access
+ * Optional. VPC Access configuration to use for this Task. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\TaskTemplate::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * task.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getContainers()
+ {
+ return $this->containers;
+ }
+
+ /**
+ * Holds the single container that defines the unit of execution for this
+ * task.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Container containers = 1;
+ * @param array<\Google\Cloud\Run\V2\Container>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setContainers($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Container::class);
+ $this->containers = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getVolumes()
+ {
+ return $this->volumes;
+ }
+
+ /**
+ * Optional. A list of Volumes to make available to containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\Run\V2\Volume>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setVolumes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Volume::class);
+ $this->volumes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Number of retries allowed per Task, before marking this Task failed.
+ * Defaults to 3.
+ *
+ * Generated from protobuf field int32 max_retries = 3;
+ * @return int
+ */
+ public function getMaxRetries()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasMaxRetries()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Number of retries allowed per Task, before marking this Task failed.
+ * Defaults to 3.
+ *
+ * Generated from protobuf field int32 max_retries = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setMaxRetries($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. Max allowed time duration the Task may be active before the
+ * system will actively try to mark it failed and kill associated containers.
+ * This applies per attempt of a task, meaning each retry can run for the full
+ * timeout. Defaults to 600 seconds.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+
+ public function hasTimeout()
+ {
+ return isset($this->timeout);
+ }
+
+ public function clearTimeout()
+ {
+ unset($this->timeout);
+ }
+
+ /**
+ * Optional. Max allowed time duration the Task may be active before the
+ * system will actively try to mark it failed and kill associated containers.
+ * This applies per attempt of a task, meaning each retry can run for the full
+ * timeout. Defaults to 600 seconds.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setTimeout($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->timeout = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Email address of the IAM service account associated with the Task
+ * of a Job. The service account represents the identity of the running task,
+ * and determines what permissions the task has. If not provided, the task
+ * will use the project's default service account.
+ *
+ * Generated from protobuf field string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getServiceAccount()
+ {
+ return $this->service_account;
+ }
+
+ /**
+ * Optional. Email address of the IAM service account associated with the Task
+ * of a Job. The service account represents the identity of the running task,
+ * and determines what permissions the task has. If not provided, the task
+ * will use the project's default service account.
+ *
+ * Generated from protobuf field string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setServiceAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service_account = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The execution environment being used to host this Task.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getExecutionEnvironment()
+ {
+ return $this->execution_environment;
+ }
+
+ /**
+ * Optional. The execution environment being used to host this Task.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setExecutionEnvironment($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\ExecutionEnvironment::class);
+ $this->execution_environment = $var;
+
+ return $this;
+ }
+
+ /**
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 7 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getEncryptionKey()
+ {
+ return $this->encryption_key;
+ }
+
+ /**
+ * A reference to a customer managed encryption key (CMEK) to use to encrypt
+ * this container image. For more information, go to
+ * https://cloud.google.com/run/docs/securing/using-cmek
+ *
+ * Generated from protobuf field string encryption_key = 7 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setEncryptionKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->encryption_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. VPC Access configuration to use for this Task. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Run\V2\VpcAccess|null
+ */
+ public function getVpcAccess()
+ {
+ return $this->vpc_access;
+ }
+
+ public function hasVpcAccess()
+ {
+ return isset($this->vpc_access);
+ }
+
+ public function clearVpcAccess()
+ {
+ unset($this->vpc_access);
+ }
+
+ /**
+ * Optional. VPC Access configuration to use for this Task. For more
+ * information, visit
+ * https://cloud.google.com/run/docs/configuring/connecting-vpc.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess vpc_access = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Run\V2\VpcAccess $var
+ * @return $this
+ */
+ public function setVpcAccess($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\VpcAccess::class);
+ $this->vpc_access = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getRetries()
+ {
+ return $this->whichOneof("retries");
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTarget.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTarget.php
new file mode 100644
index 000000000000..b4264dd3a661
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTarget.php
@@ -0,0 +1,182 @@
+google.cloud.run.v2.TrafficTarget
+ */
+class TrafficTarget extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The allocation type for this traffic target.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TrafficTargetAllocationType type = 1;
+ */
+ protected $type = 0;
+ /**
+ * Revision to which to send this portion of traffic, if traffic allocation is
+ * by revision.
+ *
+ * Generated from protobuf field string revision = 2 [(.google.api.resource_reference) = {
+ */
+ protected $revision = '';
+ /**
+ * Specifies percent of the traffic to this Revision.
+ * This defaults to zero if unspecified.
+ *
+ * Generated from protobuf field int32 percent = 3;
+ */
+ protected $percent = 0;
+ /**
+ * Indicates a string to be part of the URI to exclusively reference this
+ * target.
+ *
+ * Generated from protobuf field string tag = 4;
+ */
+ protected $tag = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $type
+ * The allocation type for this traffic target.
+ * @type string $revision
+ * Revision to which to send this portion of traffic, if traffic allocation is
+ * by revision.
+ * @type int $percent
+ * Specifies percent of the traffic to this Revision.
+ * This defaults to zero if unspecified.
+ * @type string $tag
+ * Indicates a string to be part of the URI to exclusively reference this
+ * target.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\TrafficTarget::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The allocation type for this traffic target.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TrafficTargetAllocationType type = 1;
+ * @return int
+ */
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ /**
+ * The allocation type for this traffic target.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TrafficTargetAllocationType type = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\TrafficTargetAllocationType::class);
+ $this->type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Revision to which to send this portion of traffic, if traffic allocation is
+ * by revision.
+ *
+ * Generated from protobuf field string revision = 2 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getRevision()
+ {
+ return $this->revision;
+ }
+
+ /**
+ * Revision to which to send this portion of traffic, if traffic allocation is
+ * by revision.
+ *
+ * Generated from protobuf field string revision = 2 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRevision($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->revision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Specifies percent of the traffic to this Revision.
+ * This defaults to zero if unspecified.
+ *
+ * Generated from protobuf field int32 percent = 3;
+ * @return int
+ */
+ public function getPercent()
+ {
+ return $this->percent;
+ }
+
+ /**
+ * Specifies percent of the traffic to this Revision.
+ * This defaults to zero if unspecified.
+ *
+ * Generated from protobuf field int32 percent = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setPercent($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->percent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates a string to be part of the URI to exclusively reference this
+ * target.
+ *
+ * Generated from protobuf field string tag = 4;
+ * @return string
+ */
+ public function getTag()
+ {
+ return $this->tag;
+ }
+
+ /**
+ * Indicates a string to be part of the URI to exclusively reference this
+ * target.
+ *
+ * Generated from protobuf field string tag = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setTag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->tag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTargetAllocationType.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTargetAllocationType.php
new file mode 100644
index 000000000000..f8b35045a421
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTargetAllocationType.php
@@ -0,0 +1,61 @@
+google.cloud.run.v2.TrafficTargetAllocationType
+ */
+class TrafficTargetAllocationType
+{
+ /**
+ * Unspecified instance allocation type.
+ *
+ * Generated from protobuf enum TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED = 0;
+ */
+ const TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED = 0;
+ /**
+ * Allocates instances to the Service's latest ready Revision.
+ *
+ * Generated from protobuf enum TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST = 1;
+ */
+ const TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST = 1;
+ /**
+ * Allocates instances to a Revision by name.
+ *
+ * Generated from protobuf enum TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION = 2;
+ */
+ const TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION = 2;
+
+ private static $valueToName = [
+ self::TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED => 'TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED',
+ self::TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST => 'TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST',
+ self::TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION => 'TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION',
+ ];
+
+ 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/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTargetStatus.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTargetStatus.php
new file mode 100644
index 000000000000..b03251c15e89
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTargetStatus.php
@@ -0,0 +1,203 @@
+google.cloud.run.v2.TrafficTargetStatus
+ */
+class TrafficTargetStatus extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The allocation type for this traffic target.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TrafficTargetAllocationType type = 1;
+ */
+ protected $type = 0;
+ /**
+ * Revision to which this traffic is sent.
+ *
+ * Generated from protobuf field string revision = 2 [(.google.api.resource_reference) = {
+ */
+ protected $revision = '';
+ /**
+ * Specifies percent of the traffic to this Revision.
+ *
+ * Generated from protobuf field int32 percent = 3;
+ */
+ protected $percent = 0;
+ /**
+ * Indicates the string used in the URI to exclusively reference this target.
+ *
+ * Generated from protobuf field string tag = 4;
+ */
+ protected $tag = '';
+ /**
+ * Displays the target URI.
+ *
+ * Generated from protobuf field string uri = 5;
+ */
+ protected $uri = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $type
+ * The allocation type for this traffic target.
+ * @type string $revision
+ * Revision to which this traffic is sent.
+ * @type int $percent
+ * Specifies percent of the traffic to this Revision.
+ * @type string $tag
+ * Indicates the string used in the URI to exclusively reference this target.
+ * @type string $uri
+ * Displays the target URI.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\TrafficTarget::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The allocation type for this traffic target.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TrafficTargetAllocationType type = 1;
+ * @return int
+ */
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ /**
+ * The allocation type for this traffic target.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.TrafficTargetAllocationType type = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\TrafficTargetAllocationType::class);
+ $this->type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Revision to which this traffic is sent.
+ *
+ * Generated from protobuf field string revision = 2 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getRevision()
+ {
+ return $this->revision;
+ }
+
+ /**
+ * Revision to which this traffic is sent.
+ *
+ * Generated from protobuf field string revision = 2 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRevision($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->revision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Specifies percent of the traffic to this Revision.
+ *
+ * Generated from protobuf field int32 percent = 3;
+ * @return int
+ */
+ public function getPercent()
+ {
+ return $this->percent;
+ }
+
+ /**
+ * Specifies percent of the traffic to this Revision.
+ *
+ * Generated from protobuf field int32 percent = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setPercent($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->percent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates the string used in the URI to exclusively reference this target.
+ *
+ * Generated from protobuf field string tag = 4;
+ * @return string
+ */
+ public function getTag()
+ {
+ return $this->tag;
+ }
+
+ /**
+ * Indicates the string used in the URI to exclusively reference this target.
+ *
+ * Generated from protobuf field string tag = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setTag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->tag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Displays the target URI.
+ *
+ * Generated from protobuf field string uri = 5;
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * Displays the target URI.
+ *
+ * Generated from protobuf field string uri = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/UpdateJobRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/UpdateJobRequest.php
new file mode 100644
index 000000000000..69d8b8afba13
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/UpdateJobRequest.php
@@ -0,0 +1,170 @@
+google.cloud.run.v2.UpdateJobRequest
+ */
+class UpdateJobRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The Job to be updated.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $job = null;
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or updating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 3;
+ */
+ protected $validate_only = false;
+ /**
+ * Optional. If set to true, and if the Job does not exist, it will create a
+ * new one. Caller must have both create and update permissions for this call
+ * if this is set to true.
+ *
+ * Generated from protobuf field bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $allow_missing = false;
+
+ /**
+ * @param \Google\Cloud\Run\V2\Job $job Required. The Job to be updated.
+ *
+ * @return \Google\Cloud\Run\V2\UpdateJobRequest
+ *
+ * @experimental
+ */
+ public static function build(\Google\Cloud\Run\V2\Job $job): self
+ {
+ return (new self())
+ ->setJob($job);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Run\V2\Job $job
+ * Required. The Job to be updated.
+ * @type bool $validate_only
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or updating any resources.
+ * @type bool $allow_missing
+ * Optional. If set to true, and if the Job does not exist, it will create a
+ * new one. Caller must have both create and update permissions for this call
+ * if this is set to true.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Job::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The Job to be updated.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Run\V2\Job|null
+ */
+ public function getJob()
+ {
+ return $this->job;
+ }
+
+ public function hasJob()
+ {
+ return isset($this->job);
+ }
+
+ public function clearJob()
+ {
+ unset($this->job);
+ }
+
+ /**
+ * Required. The Job to be updated.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Run\V2\Job $var
+ * @return $this
+ */
+ public function setJob($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\Job::class);
+ $this->job = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or updating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 3;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or updating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 3;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If set to true, and if the Job does not exist, it will create a
+ * new one. Caller must have both create and update permissions for this call
+ * if this is set to true.
+ *
+ * Generated from protobuf field bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getAllowMissing()
+ {
+ return $this->allow_missing;
+ }
+
+ /**
+ * Optional. If set to true, and if the Job does not exist, it will create a
+ * new one. Caller must have both create and update permissions for this call
+ * if this is set to true.
+ *
+ * Generated from protobuf field bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setAllowMissing($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->allow_missing = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/UpdateServiceRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/UpdateServiceRequest.php
new file mode 100644
index 000000000000..0aa1548695fa
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/UpdateServiceRequest.php
@@ -0,0 +1,229 @@
+google.cloud.run.v2.UpdateServiceRequest
+ */
+class UpdateServiceRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The list of fields to be updated.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $update_mask = null;
+ /**
+ * Required. The Service to be updated.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $service = null;
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or updating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 3;
+ */
+ protected $validate_only = false;
+ /**
+ * Optional. If set to true, and if the Service does not exist, it will create
+ * a new one. The caller must have 'run.services.create' permissions if this
+ * is set to true and the Service does not exist.
+ *
+ * Generated from protobuf field bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $allow_missing = false;
+
+ /**
+ * @param \Google\Cloud\Run\V2\Service $service Required. The Service to be updated.
+ *
+ * @return \Google\Cloud\Run\V2\UpdateServiceRequest
+ *
+ * @experimental
+ */
+ public static function build(\Google\Cloud\Run\V2\Service $service): self
+ {
+ return (new self())
+ ->setService($service);
+ }
+
+ /**
+ * @param \Google\Cloud\Run\V2\Service $service Required. The Service to be updated.
+ * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to be updated.
+ *
+ * @return \Google\Cloud\Run\V2\UpdateServiceRequest
+ *
+ * @experimental
+ */
+ public static function buildFromServiceUpdateMask(\Google\Cloud\Run\V2\Service $service, \Google\Protobuf\FieldMask $updateMask): self
+ {
+ return (new self())
+ ->setService($service)
+ ->setUpdateMask($updateMask);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\FieldMask $update_mask
+ * Optional. The list of fields to be updated.
+ * @type \Google\Cloud\Run\V2\Service $service
+ * Required. The Service to be updated.
+ * @type bool $validate_only
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or updating any resources.
+ * @type bool $allow_missing
+ * Optional. If set to true, and if the Service does not exist, it will create
+ * a new one. The caller must have 'run.services.create' permissions if this
+ * is set to true and the Service does not exist.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. The list of fields to be updated.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\FieldMask|null
+ */
+ public function getUpdateMask()
+ {
+ return $this->update_mask;
+ }
+
+ public function hasUpdateMask()
+ {
+ return isset($this->update_mask);
+ }
+
+ public function clearUpdateMask()
+ {
+ unset($this->update_mask);
+ }
+
+ /**
+ * Optional. The list of fields to be updated.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\FieldMask $var
+ * @return $this
+ */
+ public function setUpdateMask($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
+ $this->update_mask = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The Service to be updated.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Run\V2\Service|null
+ */
+ public function getService()
+ {
+ return $this->service;
+ }
+
+ public function hasService()
+ {
+ return isset($this->service);
+ }
+
+ public function clearService()
+ {
+ unset($this->service);
+ }
+
+ /**
+ * Required. The Service to be updated.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Run\V2\Service $var
+ * @return $this
+ */
+ public function setService($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\Service::class);
+ $this->service = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or updating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 3;
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Indicates that the request should be validated and default values
+ * populated, without persisting the request or updating any resources.
+ *
+ * Generated from protobuf field bool validate_only = 3;
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If set to true, and if the Service does not exist, it will create
+ * a new one. The caller must have 'run.services.create' permissions if this
+ * is set to true and the Service does not exist.
+ *
+ * Generated from protobuf field bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getAllowMissing()
+ {
+ return $this->allow_missing;
+ }
+
+ /**
+ * Optional. If set to true, and if the Service does not exist, it will create
+ * a new one. The caller must have 'run.services.create' permissions if this
+ * is set to true and the Service does not exist.
+ *
+ * Generated from protobuf field bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setAllowMissing($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->allow_missing = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VersionToPath.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VersionToPath.php
new file mode 100644
index 000000000000..0bb46774d607
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VersionToPath.php
@@ -0,0 +1,188 @@
+google.cloud.run.v2.VersionToPath
+ */
+class VersionToPath extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The relative path of the secret in the container.
+ *
+ * Generated from protobuf field string path = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $path = '';
+ /**
+ * The Cloud Secret Manager secret version.
+ * Can be 'latest' for the latest value, or an integer or a secret alias for a
+ * specific version.
+ *
+ * Generated from protobuf field string version = 2;
+ */
+ protected $version = '';
+ /**
+ * Integer octal mode bits to use on this file, must be a value between
+ * 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
+ * used.
+ * Notes
+ * * Internally, a umask of 0222 will be applied to any non-zero value.
+ * * This is an integer representation of the mode bits. So, the octal
+ * integer value should look exactly as the chmod numeric notation with a
+ * leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
+ * or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
+ * 493 (base-10).
+ * * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and the result can be other mode bits set.
+ *
+ * Generated from protobuf field int32 mode = 3;
+ */
+ protected $mode = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $path
+ * Required. The relative path of the secret in the container.
+ * @type string $version
+ * The Cloud Secret Manager secret version.
+ * Can be 'latest' for the latest value, or an integer or a secret alias for a
+ * specific version.
+ * @type int $mode
+ * Integer octal mode bits to use on this file, must be a value between
+ * 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
+ * used.
+ * Notes
+ * * Internally, a umask of 0222 will be applied to any non-zero value.
+ * * This is an integer representation of the mode bits. So, the octal
+ * integer value should look exactly as the chmod numeric notation with a
+ * leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
+ * or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
+ * 493 (base-10).
+ * * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and the result can be other mode bits set.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The relative path of the secret in the container.
+ *
+ * Generated from protobuf field string path = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ /**
+ * Required. The relative path of the secret in the container.
+ *
+ * Generated from protobuf field string path = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setPath($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->path = $var;
+
+ return $this;
+ }
+
+ /**
+ * The Cloud Secret Manager secret version.
+ * Can be 'latest' for the latest value, or an integer or a secret alias for a
+ * specific version.
+ *
+ * Generated from protobuf field string version = 2;
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * The Cloud Secret Manager secret version.
+ * Can be 'latest' for the latest value, or an integer or a secret alias for a
+ * specific version.
+ *
+ * Generated from protobuf field string version = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setVersion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->version = $var;
+
+ return $this;
+ }
+
+ /**
+ * Integer octal mode bits to use on this file, must be a value between
+ * 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
+ * used.
+ * Notes
+ * * Internally, a umask of 0222 will be applied to any non-zero value.
+ * * This is an integer representation of the mode bits. So, the octal
+ * integer value should look exactly as the chmod numeric notation with a
+ * leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
+ * or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
+ * 493 (base-10).
+ * * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and the result can be other mode bits set.
+ *
+ * Generated from protobuf field int32 mode = 3;
+ * @return int
+ */
+ public function getMode()
+ {
+ return $this->mode;
+ }
+
+ /**
+ * Integer octal mode bits to use on this file, must be a value between
+ * 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
+ * used.
+ * Notes
+ * * Internally, a umask of 0222 will be applied to any non-zero value.
+ * * This is an integer representation of the mode bits. So, the octal
+ * integer value should look exactly as the chmod numeric notation with a
+ * leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
+ * or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
+ * 493 (base-10).
+ * * This might be in conflict with other options that affect the
+ * file mode, like fsGroup, and the result can be other mode bits set.
+ *
+ * Generated from protobuf field int32 mode = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setMode($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->mode = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Volume.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Volume.php
new file mode 100644
index 000000000000..0614cda4f015
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Volume.php
@@ -0,0 +1,247 @@
+google.cloud.run.v2.Volume
+ */
+class Volume extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Volume's name.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ protected $volume_type;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Volume's name.
+ * @type \Google\Cloud\Run\V2\SecretVolumeSource $secret
+ * Secret represents a secret that should populate this volume.
+ * @type \Google\Cloud\Run\V2\CloudSqlInstance $cloud_sql_instance
+ * For Cloud SQL volumes, contains the specific instances that should be
+ * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
+ * more information on how to connect Cloud SQL and Cloud Run.
+ * @type \Google\Cloud\Run\V2\EmptyDirVolumeSource $empty_dir
+ * Ephemeral storage used as a shared volume.
+ * @type \Google\Cloud\Run\V2\NFSVolumeSource $nfs
+ * For NFS Voumes, contains the path to the nfs Volume
+ * @type \Google\Cloud\Run\V2\GCSVolumeSource $gcs
+ * Persistent storage backed by a Google Cloud Storage bucket.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Volume's name.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Volume's name.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Secret represents a secret that should populate this volume.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.SecretVolumeSource secret = 2;
+ * @return \Google\Cloud\Run\V2\SecretVolumeSource|null
+ */
+ public function getSecret()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasSecret()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Secret represents a secret that should populate this volume.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.SecretVolumeSource secret = 2;
+ * @param \Google\Cloud\Run\V2\SecretVolumeSource $var
+ * @return $this
+ */
+ public function setSecret($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\SecretVolumeSource::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * For Cloud SQL volumes, contains the specific instances that should be
+ * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
+ * more information on how to connect Cloud SQL and Cloud Run.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3;
+ * @return \Google\Cloud\Run\V2\CloudSqlInstance|null
+ */
+ public function getCloudSqlInstance()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasCloudSqlInstance()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * For Cloud SQL volumes, contains the specific instances that should be
+ * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
+ * more information on how to connect Cloud SQL and Cloud Run.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3;
+ * @param \Google\Cloud\Run\V2\CloudSqlInstance $var
+ * @return $this
+ */
+ public function setCloudSqlInstance($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\CloudSqlInstance::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Ephemeral storage used as a shared volume.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;
+ * @return \Google\Cloud\Run\V2\EmptyDirVolumeSource|null
+ */
+ public function getEmptyDir()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasEmptyDir()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Ephemeral storage used as a shared volume.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;
+ * @param \Google\Cloud\Run\V2\EmptyDirVolumeSource $var
+ * @return $this
+ */
+ public function setEmptyDir($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\EmptyDirVolumeSource::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * For NFS Voumes, contains the path to the nfs Volume
+ *
+ * Generated from protobuf field .google.cloud.run.v2.NFSVolumeSource nfs = 5;
+ * @return \Google\Cloud\Run\V2\NFSVolumeSource|null
+ */
+ public function getNfs()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasNfs()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * For NFS Voumes, contains the path to the nfs Volume
+ *
+ * Generated from protobuf field .google.cloud.run.v2.NFSVolumeSource nfs = 5;
+ * @param \Google\Cloud\Run\V2\NFSVolumeSource $var
+ * @return $this
+ */
+ public function setNfs($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\NFSVolumeSource::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * Persistent storage backed by a Google Cloud Storage bucket.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.GCSVolumeSource gcs = 6;
+ * @return \Google\Cloud\Run\V2\GCSVolumeSource|null
+ */
+ public function getGcs()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasGcs()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * Persistent storage backed by a Google Cloud Storage bucket.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.GCSVolumeSource gcs = 6;
+ * @param \Google\Cloud\Run\V2\GCSVolumeSource $var
+ * @return $this
+ */
+ public function setGcs($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Run\V2\GCSVolumeSource::class);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getVolumeType()
+ {
+ return $this->whichOneof("volume_type");
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VolumeMount.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VolumeMount.php
new file mode 100644
index 000000000000..979b27f20847
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VolumeMount.php
@@ -0,0 +1,117 @@
+google.cloud.run.v2.VolumeMount
+ */
+class VolumeMount extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. This must match the Name of a Volume.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ /**
+ * Required. Path within the container at which the volume should be mounted.
+ * Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
+ * otherwise be `/cloudsql`. All instances defined in the Volume will be
+ * available as `/cloudsql/[instance]`. For more information on Cloud SQL
+ * volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
+ *
+ * Generated from protobuf field string mount_path = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $mount_path = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. This must match the Name of a Volume.
+ * @type string $mount_path
+ * Required. Path within the container at which the volume should be mounted.
+ * Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
+ * otherwise be `/cloudsql`. All instances defined in the Volume will be
+ * available as `/cloudsql/[instance]`. For more information on Cloud SQL
+ * volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\K8SMin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. This must match the Name of a Volume.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. This must match the Name of a Volume.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Path within the container at which the volume should be mounted.
+ * Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
+ * otherwise be `/cloudsql`. All instances defined in the Volume will be
+ * available as `/cloudsql/[instance]`. For more information on Cloud SQL
+ * volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
+ *
+ * Generated from protobuf field string mount_path = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getMountPath()
+ {
+ return $this->mount_path;
+ }
+
+ /**
+ * Required. Path within the container at which the volume should be mounted.
+ * Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
+ * otherwise be `/cloudsql`. All instances defined in the Volume will be
+ * available as `/cloudsql/[instance]`. For more information on Cloud SQL
+ * volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
+ *
+ * Generated from protobuf field string mount_path = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setMountPath($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->mount_path = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VpcAccess.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VpcAccess.php
new file mode 100644
index 000000000000..2edc5d9e89bc
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VpcAccess.php
@@ -0,0 +1,160 @@
+google.cloud.run.v2.VpcAccess
+ */
+class VpcAccess extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * VPC Access connector name.
+ * Format: `projects/{project}/locations/{location}/connectors/{connector}`,
+ * where `{project}` can be project id or number.
+ * For more information on sending traffic to a VPC network via a connector,
+ * visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
+ *
+ * Generated from protobuf field string connector = 1 [(.google.api.resource_reference) = {
+ */
+ protected $connector = '';
+ /**
+ * Optional. Traffic VPC egress settings. If not provided, it defaults to
+ * PRIVATE_RANGES_ONLY.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $egress = 0;
+ /**
+ * Optional. Direct VPC egress settings. Currently only single network
+ * interface is supported.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $network_interfaces;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $connector
+ * VPC Access connector name.
+ * Format: `projects/{project}/locations/{location}/connectors/{connector}`,
+ * where `{project}` can be project id or number.
+ * For more information on sending traffic to a VPC network via a connector,
+ * visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
+ * @type int $egress
+ * Optional. Traffic VPC egress settings. If not provided, it defaults to
+ * PRIVATE_RANGES_ONLY.
+ * @type array<\Google\Cloud\Run\V2\VpcAccess\NetworkInterface>|\Google\Protobuf\Internal\RepeatedField $network_interfaces
+ * Optional. Direct VPC egress settings. Currently only single network
+ * interface is supported.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Run\V2\VendorSettings::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * VPC Access connector name.
+ * Format: `projects/{project}/locations/{location}/connectors/{connector}`,
+ * where `{project}` can be project id or number.
+ * For more information on sending traffic to a VPC network via a connector,
+ * visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
+ *
+ * Generated from protobuf field string connector = 1 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getConnector()
+ {
+ return $this->connector;
+ }
+
+ /**
+ * VPC Access connector name.
+ * Format: `projects/{project}/locations/{location}/connectors/{connector}`,
+ * where `{project}` can be project id or number.
+ * For more information on sending traffic to a VPC network via a connector,
+ * visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
+ *
+ * Generated from protobuf field string connector = 1 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setConnector($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->connector = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Traffic VPC egress settings. If not provided, it defaults to
+ * PRIVATE_RANGES_ONLY.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getEgress()
+ {
+ return $this->egress;
+ }
+
+ /**
+ * Optional. Traffic VPC egress settings. If not provided, it defaults to
+ * PRIVATE_RANGES_ONLY.
+ *
+ * Generated from protobuf field .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setEgress($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\VpcAccess\VpcEgress::class);
+ $this->egress = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Direct VPC egress settings. Currently only single network
+ * interface is supported.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getNetworkInterfaces()
+ {
+ return $this->network_interfaces;
+ }
+
+ /**
+ * Optional. Direct VPC egress settings. Currently only single network
+ * interface is supported.
+ *
+ * Generated from protobuf field repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\Run\V2\VpcAccess\NetworkInterface>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setNetworkInterfaces($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\VpcAccess\NetworkInterface::class);
+ $this->network_interfaces = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VpcAccess/NetworkInterface.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VpcAccess/NetworkInterface.php
new file mode 100644
index 000000000000..41428271a60d
--- /dev/null
+++ b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VpcAccess/NetworkInterface.php
@@ -0,0 +1,170 @@
+google.cloud.run.v2.VpcAccess.NetworkInterface
+ */
+class NetworkInterface extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The VPC network that the Cloud Run resource will be able to
+ * send traffic to. At least one of network or subnetwork must be specified.
+ * If both network and subnetwork are specified, the given VPC subnetwork
+ * must belong to the given VPC network. If network is not specified, it
+ * will be looked up from the subnetwork.
+ *
+ * Generated from protobuf field string network = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $network = '';
+ /**
+ * Optional. The VPC subnetwork that the Cloud Run resource will get IPs
+ * from. At least one of network or subnetwork must be specified. If both
+ * network and subnetwork are specified, the given VPC subnetwork must
+ * belong to the given VPC network. If subnetwork is not specified, the
+ * subnetwork with the same name with the network will be used.
+ *
+ * Generated from protobuf field string subnetwork = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $subnetwork = '';
+ /**
+ * Optional. Network tags applied to this Cloud Run resource.
+ *
+ * Generated from protobuf field repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $tags;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $network
+ * Optional. The VPC network that the Cloud Run resource will be able to
+ * send traffic to. At least one of network or subnetwork must be specified.
+ * If both network and subnetwork are specified, the given VPC subnetwork
+ * must belong to the given VPC network. If network is not specified, it
+ * will be looked up from the subnetwork.
+ * @type string $subnetwork
+ * Optional. The VPC subnetwork that the Cloud Run resource will get IPs
+ * from. At least one of network or subnetwork must be specified. If both
+ * network and subnetwork are specified, the given VPC subnetwork must
+ * belong to the given VPC network. If subnetwork is not specified, the
+ * subnetwork with the same name with the network will be used.
+ * @type arraystring network = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+
+ /**
+ * Optional. The VPC network that the Cloud Run resource will be able to
+ * send traffic to. At least one of network or subnetwork must be specified.
+ * If both network and subnetwork are specified, the given VPC subnetwork
+ * must belong to the given VPC network. If network is not specified, it
+ * will be looked up from the subnetwork.
+ *
+ * Generated from protobuf field string network = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setNetwork($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->network = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The VPC subnetwork that the Cloud Run resource will get IPs
+ * from. At least one of network or subnetwork must be specified. If both
+ * network and subnetwork are specified, the given VPC subnetwork must
+ * belong to the given VPC network. If subnetwork is not specified, the
+ * subnetwork with the same name with the network will be used.
+ *
+ * Generated from protobuf field string subnetwork = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getSubnetwork()
+ {
+ return $this->subnetwork;
+ }
+
+ /**
+ * Optional. The VPC subnetwork that the Cloud Run resource will get IPs
+ * from. At least one of network or subnetwork must be specified. If both
+ * network and subnetwork are specified, the given VPC subnetwork must
+ * belong to the given VPC network. If subnetwork is not specified, the
+ * subnetwork with the same name with the network will be used.
+ *
+ * Generated from protobuf field string subnetwork = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setSubnetwork($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->subnetwork = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Network tags applied to this Cloud Run resource.
+ *
+ * Generated from protobuf field repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ /**
+ * Optional. Network tags applied to this Cloud Run resource.
+ *
+ * Generated from protobuf field repeated string tags = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arrayVPC_EGRESS_UNSPECIFIED = 0;
+ */
+ const VPC_EGRESS_UNSPECIFIED = 0;
+ /**
+ * All outbound traffic is routed through the VPC connector.
+ *
+ * Generated from protobuf enum ALL_TRAFFIC = 1;
+ */
+ const ALL_TRAFFIC = 1;
+ /**
+ * Only private IP ranges are routed through the VPC connector.
+ *
+ * Generated from protobuf enum PRIVATE_RANGES_ONLY = 2;
+ */
+ const PRIVATE_RANGES_ONLY = 2;
+
+ private static $valueToName = [
+ self::VPC_EGRESS_UNSPECIFIED => 'VPC_EGRESS_UNSPECIFIED',
+ self::ALL_TRAFFIC => 'ALL_TRAFFIC',
+ self::PRIVATE_RANGES_ONLY => 'PRIVATE_RANGES_ONLY',
+ ];
+
+ 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);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(VpcEgress::class, \Google\Cloud\Run\V2\VpcAccess_VpcEgress::class);
+
diff --git a/owl-bot-staging/Run/v2/samples/V2/BuildsClient/submit_build.php b/owl-bot-staging/Run/v2/samples/V2/BuildsClient/submit_build.php
new file mode 100644
index 000000000000..efba13142139
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/BuildsClient/submit_build.php
@@ -0,0 +1,94 @@
+setBucket($storageSourceBucket)
+ ->setObject($storageSourceObject);
+ $request = (new SubmitBuildRequest())
+ ->setParent($parent)
+ ->setStorageSource($storageSource)
+ ->setImageUri($imageUri);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var SubmitBuildResponse $response */
+ $response = $buildsClient->submitBuild($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $parent = '[PARENT]';
+ $storageSourceBucket = '[BUCKET]';
+ $storageSourceObject = '[OBJECT]';
+ $imageUri = '[IMAGE_URI]';
+
+ submit_build_sample($parent, $storageSourceBucket, $storageSourceObject, $imageUri);
+}
+// [END run_v2_generated_Builds_SubmitBuild_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/cancel_execution.php b/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/cancel_execution.php
new file mode 100644
index 000000000000..64c82c0f8776
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/cancel_execution.php
@@ -0,0 +1,86 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $executionsClient->cancelExecution($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Execution $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = ExecutionsClient::executionName('[PROJECT]', '[LOCATION]', '[JOB]', '[EXECUTION]');
+
+ cancel_execution_sample($formattedName);
+}
+// [END run_v2_generated_Executions_CancelExecution_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/delete_execution.php b/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/delete_execution.php
new file mode 100644
index 000000000000..1e5eeab289dd
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/delete_execution.php
@@ -0,0 +1,86 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $executionsClient->deleteExecution($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Execution $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = ExecutionsClient::executionName('[PROJECT]', '[LOCATION]', '[JOB]', '[EXECUTION]');
+
+ delete_execution_sample($formattedName);
+}
+// [END run_v2_generated_Executions_DeleteExecution_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/get_execution.php b/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/get_execution.php
new file mode 100644
index 000000000000..1151abf84be0
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/get_execution.php
@@ -0,0 +1,74 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Execution $response */
+ $response = $executionsClient->getExecution($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = ExecutionsClient::executionName('[PROJECT]', '[LOCATION]', '[JOB]', '[EXECUTION]');
+
+ get_execution_sample($formattedName);
+}
+// [END run_v2_generated_Executions_GetExecution_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/list_executions.php b/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/list_executions.php
new file mode 100644
index 000000000000..9e3230df26c5
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/list_executions.php
@@ -0,0 +1,80 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $executionsClient->listExecutions($request);
+
+ /** @var Execution $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = ExecutionsClient::jobName('[PROJECT]', '[LOCATION]', '[JOB]');
+
+ list_executions_sample($formattedParent);
+}
+// [END run_v2_generated_Executions_ListExecutions_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/JobsClient/create_job.php b/owl-bot-staging/Run/v2/samples/V2/JobsClient/create_job.php
new file mode 100644
index 000000000000..40327f792c08
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/JobsClient/create_job.php
@@ -0,0 +1,97 @@
+setTemplate($jobTemplateTemplate);
+ $job = (new Job())
+ ->setTemplate($jobTemplate);
+ $request = (new CreateJobRequest())
+ ->setParent($formattedParent)
+ ->setJob($job)
+ ->setJobId($jobId);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $jobsClient->createJob($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Job $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = JobsClient::locationName('[PROJECT]', '[LOCATION]');
+ $jobId = '[JOB_ID]';
+
+ create_job_sample($formattedParent, $jobId);
+}
+// [END run_v2_generated_Jobs_CreateJob_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/JobsClient/delete_job.php b/owl-bot-staging/Run/v2/samples/V2/JobsClient/delete_job.php
new file mode 100644
index 000000000000..c62edc4aa313
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/JobsClient/delete_job.php
@@ -0,0 +1,85 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $jobsClient->deleteJob($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Job $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = JobsClient::jobName('[PROJECT]', '[LOCATION]', '[JOB]');
+
+ delete_job_sample($formattedName);
+}
+// [END run_v2_generated_Jobs_DeleteJob_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/JobsClient/get_iam_policy.php b/owl-bot-staging/Run/v2/samples/V2/JobsClient/get_iam_policy.php
new file mode 100644
index 000000000000..ec63bee9b4e0
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/JobsClient/get_iam_policy.php
@@ -0,0 +1,72 @@
+setResource($resource);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Policy $response */
+ $response = $jobsClient->getIamPolicy($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $resource = '[RESOURCE]';
+
+ get_iam_policy_sample($resource);
+}
+// [END run_v2_generated_Jobs_GetIamPolicy_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/JobsClient/get_job.php b/owl-bot-staging/Run/v2/samples/V2/JobsClient/get_job.php
new file mode 100644
index 000000000000..e7913654919b
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/JobsClient/get_job.php
@@ -0,0 +1,73 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Job $response */
+ $response = $jobsClient->getJob($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = JobsClient::jobName('[PROJECT]', '[LOCATION]', '[JOB]');
+
+ get_job_sample($formattedName);
+}
+// [END run_v2_generated_Jobs_GetJob_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/JobsClient/list_jobs.php b/owl-bot-staging/Run/v2/samples/V2/JobsClient/list_jobs.php
new file mode 100644
index 000000000000..5098a79046c9
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/JobsClient/list_jobs.php
@@ -0,0 +1,78 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $jobsClient->listJobs($request);
+
+ /** @var Job $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = JobsClient::locationName('[PROJECT]', '[LOCATION]');
+
+ list_jobs_sample($formattedParent);
+}
+// [END run_v2_generated_Jobs_ListJobs_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/JobsClient/run_job.php b/owl-bot-staging/Run/v2/samples/V2/JobsClient/run_job.php
new file mode 100644
index 000000000000..839082beaab7
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/JobsClient/run_job.php
@@ -0,0 +1,85 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $jobsClient->runJob($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Execution $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = JobsClient::jobName('[PROJECT]', '[LOCATION]', '[JOB]');
+
+ run_job_sample($formattedName);
+}
+// [END run_v2_generated_Jobs_RunJob_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/JobsClient/set_iam_policy.php b/owl-bot-staging/Run/v2/samples/V2/JobsClient/set_iam_policy.php
new file mode 100644
index 000000000000..cd9a9bfc4f4b
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/JobsClient/set_iam_policy.php
@@ -0,0 +1,74 @@
+setResource($resource)
+ ->setPolicy($policy);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Policy $response */
+ $response = $jobsClient->setIamPolicy($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $resource = '[RESOURCE]';
+
+ set_iam_policy_sample($resource);
+}
+// [END run_v2_generated_Jobs_SetIamPolicy_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/JobsClient/test_iam_permissions.php b/owl-bot-staging/Run/v2/samples/V2/JobsClient/test_iam_permissions.php
new file mode 100644
index 000000000000..49060c33d083
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/JobsClient/test_iam_permissions.php
@@ -0,0 +1,80 @@
+setResource($resource)
+ ->setPermissions($permissions);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var TestIamPermissionsResponse $response */
+ $response = $jobsClient->testIamPermissions($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $resource = '[RESOURCE]';
+ $permissionsElement = '[PERMISSIONS]';
+
+ test_iam_permissions_sample($resource, $permissionsElement);
+}
+// [END run_v2_generated_Jobs_TestIamPermissions_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/JobsClient/update_job.php b/owl-bot-staging/Run/v2/samples/V2/JobsClient/update_job.php
new file mode 100644
index 000000000000..2851843e2e32
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/JobsClient/update_job.php
@@ -0,0 +1,77 @@
+setTemplate($jobTemplateTemplate);
+ $job = (new Job())
+ ->setTemplate($jobTemplate);
+ $request = (new UpdateJobRequest())
+ ->setJob($job);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $jobsClient->updateJob($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Job $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+// [END run_v2_generated_Jobs_UpdateJob_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/delete_revision.php b/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/delete_revision.php
new file mode 100644
index 000000000000..396f1693cfbc
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/delete_revision.php
@@ -0,0 +1,90 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $revisionsClient->deleteRevision($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Revision $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = RevisionsClient::revisionName(
+ '[PROJECT]',
+ '[LOCATION]',
+ '[SERVICE]',
+ '[REVISION]'
+ );
+
+ delete_revision_sample($formattedName);
+}
+// [END run_v2_generated_Revisions_DeleteRevision_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/get_revision.php b/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/get_revision.php
new file mode 100644
index 000000000000..02c8bdec4bac
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/get_revision.php
@@ -0,0 +1,78 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Revision $response */
+ $response = $revisionsClient->getRevision($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = RevisionsClient::revisionName(
+ '[PROJECT]',
+ '[LOCATION]',
+ '[SERVICE]',
+ '[REVISION]'
+ );
+
+ get_revision_sample($formattedName);
+}
+// [END run_v2_generated_Revisions_GetRevision_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/list_revisions.php b/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/list_revisions.php
new file mode 100644
index 000000000000..3326bafd47df
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/list_revisions.php
@@ -0,0 +1,80 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $revisionsClient->listRevisions($request);
+
+ /** @var Revision $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = RevisionsClient::serviceName('[PROJECT]', '[LOCATION]', '[SERVICE]');
+
+ list_revisions_sample($formattedParent);
+}
+// [END run_v2_generated_Revisions_ListRevisions_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/create_service.php b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/create_service.php
new file mode 100644
index 000000000000..4fc72ae86ea3
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/create_service.php
@@ -0,0 +1,95 @@
+setTemplate($serviceTemplate);
+ $request = (new CreateServiceRequest())
+ ->setParent($formattedParent)
+ ->setService($service)
+ ->setServiceId($serviceId);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $servicesClient->createService($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Service $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = ServicesClient::locationName('[PROJECT]', '[LOCATION]');
+ $serviceId = '[SERVICE_ID]';
+
+ create_service_sample($formattedParent, $serviceId);
+}
+// [END run_v2_generated_Services_CreateService_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/delete_service.php b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/delete_service.php
new file mode 100644
index 000000000000..483cd74a5861
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/delete_service.php
@@ -0,0 +1,87 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $servicesClient->deleteService($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Service $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = ServicesClient::serviceName('[PROJECT]', '[LOCATION]', '[SERVICE]');
+
+ delete_service_sample($formattedName);
+}
+// [END run_v2_generated_Services_DeleteService_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/get_iam_policy.php b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/get_iam_policy.php
new file mode 100644
index 000000000000..b7b0f1d416be
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/get_iam_policy.php
@@ -0,0 +1,72 @@
+setResource($resource);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Policy $response */
+ $response = $servicesClient->getIamPolicy($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $resource = '[RESOURCE]';
+
+ get_iam_policy_sample($resource);
+}
+// [END run_v2_generated_Services_GetIamPolicy_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/get_service.php b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/get_service.php
new file mode 100644
index 000000000000..c76820b3ff85
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/get_service.php
@@ -0,0 +1,73 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Service $response */
+ $response = $servicesClient->getService($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = ServicesClient::serviceName('[PROJECT]', '[LOCATION]', '[SERVICE]');
+
+ get_service_sample($formattedName);
+}
+// [END run_v2_generated_Services_GetService_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/list_services.php b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/list_services.php
new file mode 100644
index 000000000000..2d88c7f1c0a5
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/list_services.php
@@ -0,0 +1,79 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $servicesClient->listServices($request);
+
+ /** @var Service $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = ServicesClient::locationName('[PROJECT]', '[LOCATION]');
+
+ list_services_sample($formattedParent);
+}
+// [END run_v2_generated_Services_ListServices_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/set_iam_policy.php b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/set_iam_policy.php
new file mode 100644
index 000000000000..90386eccb59e
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/set_iam_policy.php
@@ -0,0 +1,74 @@
+setResource($resource)
+ ->setPolicy($policy);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Policy $response */
+ $response = $servicesClient->setIamPolicy($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $resource = '[RESOURCE]';
+
+ set_iam_policy_sample($resource);
+}
+// [END run_v2_generated_Services_SetIamPolicy_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/test_iam_permissions.php b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/test_iam_permissions.php
new file mode 100644
index 000000000000..5b5144e3f93b
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/test_iam_permissions.php
@@ -0,0 +1,80 @@
+setResource($resource)
+ ->setPermissions($permissions);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var TestIamPermissionsResponse $response */
+ $response = $servicesClient->testIamPermissions($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $resource = '[RESOURCE]';
+ $permissionsElement = '[PERMISSIONS]';
+
+ test_iam_permissions_sample($resource, $permissionsElement);
+}
+// [END run_v2_generated_Services_TestIamPermissions_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/update_service.php b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/update_service.php
new file mode 100644
index 000000000000..ca153e68ad39
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/ServicesClient/update_service.php
@@ -0,0 +1,74 @@
+setTemplate($serviceTemplate);
+ $request = (new UpdateServiceRequest())
+ ->setService($service);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $servicesClient->updateService($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Service $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+// [END run_v2_generated_Services_UpdateService_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/TasksClient/get_task.php b/owl-bot-staging/Run/v2/samples/V2/TasksClient/get_task.php
new file mode 100644
index 000000000000..bb37335118ee
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/TasksClient/get_task.php
@@ -0,0 +1,73 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Task $response */
+ $response = $tasksClient->getTask($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = TasksClient::taskName('[PROJECT]', '[LOCATION]', '[JOB]', '[EXECUTION]', '[TASK]');
+
+ get_task_sample($formattedName);
+}
+// [END run_v2_generated_Tasks_GetTask_sync]
diff --git a/owl-bot-staging/Run/v2/samples/V2/TasksClient/list_tasks.php b/owl-bot-staging/Run/v2/samples/V2/TasksClient/list_tasks.php
new file mode 100644
index 000000000000..1b4ebdbc40d4
--- /dev/null
+++ b/owl-bot-staging/Run/v2/samples/V2/TasksClient/list_tasks.php
@@ -0,0 +1,79 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $tasksClient->listTasks($request);
+
+ /** @var Task $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = TasksClient::executionName('[PROJECT]', '[LOCATION]', '[JOB]', '[EXECUTION]');
+
+ list_tasks_sample($formattedParent);
+}
+// [END run_v2_generated_Tasks_ListTasks_sync]
diff --git a/owl-bot-staging/Run/v2/src/V2/Client/BuildsClient.php b/owl-bot-staging/Run/v2/src/V2/Client/BuildsClient.php
new file mode 100644
index 000000000000..27fed011a81d
--- /dev/null
+++ b/owl-bot-staging/Run/v2/src/V2/Client/BuildsClient.php
@@ -0,0 +1,239 @@
+ submitBuildAsync(SubmitBuildRequest $request, array $optionalArgs = [])
+ */
+final class BuildsClient
+{
+ use GapicClientTrait;
+ use ResourceHelperTrait;
+
+ /** The name of the service. */
+ private const SERVICE_NAME = 'google.cloud.run.v2.Builds';
+
+ /**
+ * The default address of the service.
+ *
+ * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead.
+ */
+ private const SERVICE_ADDRESS = 'run.googleapis.com';
+
+ /** The address template of the service. */
+ private const SERVICE_ADDRESS_TEMPLATE = 'run.UNIVERSE_DOMAIN';
+
+ /** The default port of the service. */
+ private const DEFAULT_SERVICE_PORT = 443;
+
+ /** The name of the code generator, to be included in the agent header. */
+ private const CODEGEN_NAME = 'gapic';
+
+ /** The default scopes required by the service. */
+ public static $serviceScopes = [
+ 'https://www.googleapis.com/auth/cloud-platform',
+ ];
+
+ private static function getClientDefaults()
+ {
+ return [
+ 'serviceName' => self::SERVICE_NAME,
+ 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
+ 'clientConfig' => __DIR__ . '/../resources/builds_client_config.json',
+ 'descriptorsConfigPath' => __DIR__ . '/../resources/builds_descriptor_config.php',
+ 'gcpApiConfigPath' => __DIR__ . '/../resources/builds_grpc_config.json',
+ 'credentialsConfig' => [
+ 'defaultScopes' => self::$serviceScopes,
+ ],
+ 'transportConfig' => [
+ 'rest' => [
+ 'restClientConfigPath' => __DIR__ . '/../resources/builds_rest_client_config.php',
+ ],
+ ],
+ ];
+ }
+
+ /**
+ * Formats a string containing the fully-qualified path to represent a worker_pool
+ * resource.
+ *
+ * @param string $project
+ * @param string $location
+ * @param string $workerPool
+ *
+ * @return string The formatted worker_pool resource.
+ */
+ public static function workerPoolName(string $project, string $location, string $workerPool): string
+ {
+ return self::getPathTemplate('workerPool')->render([
+ 'project' => $project,
+ 'location' => $location,
+ 'worker_pool' => $workerPool,
+ ]);
+ }
+
+ /**
+ * Parses a formatted name string and returns an associative array of the components in the name.
+ * The following name formats are supported:
+ * Template: Pattern
+ * - workerPool: projects/{project}/locations/{location}/workerPools/{worker_pool}
+ *
+ * The optional $template argument can be supplied to specify a particular pattern,
+ * and must match one of the templates listed above. If no $template argument is
+ * provided, or if the $template argument does not match one of the templates
+ * listed, then parseName will check each of the supported templates, and return
+ * the first match.
+ *
+ * @param string $formattedName The formatted name string
+ * @param string $template Optional name of template to match
+ *
+ * @return array An associative array from name component IDs to component values.
+ *
+ * @throws ValidationException If $formattedName could not be matched.
+ */
+ public static function parseName(string $formattedName, string $template = null): array
+ {
+ return self::parseFormattedName($formattedName, $template);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $options {
+ * Optional. Options for configuring the service API wrapper.
+ *
+ * @type string $apiEndpoint
+ * The address of the API remote host. May optionally include the port, formatted
+ * as "