string name = 1 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -31,8 +31,8 @@ class EnvVar extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Required. Name of the environment variable. Must be a C_IDENTIFIER, and
- * must not exceed 32768 characters.
+ * Required. Name of the environment variable. Must not exceed 32768
+ * characters.
* @type string $value
* Variable references $(VAR_NAME) are expanded
* using the previous defined environment variables in the container and
@@ -52,8 +52,8 @@ public function __construct($data = NULL) {
}
/**
- * Required. Name of the environment variable. Must be a C_IDENTIFIER, and
- * must not exceed 32768 characters.
+ * 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
@@ -64,8 +64,8 @@ public function getName()
}
/**
- * Required. Name of the environment variable. Must be a C_IDENTIFIER, and
- * must not exceed 32768 characters.
+ * 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
diff --git a/Run/src/V2/RunJobRequest/Overrides.php b/Run/src/V2/RunJobRequest/Overrides.php
index 3c42db8f205f..d7421acd6b03 100644
--- a/Run/src/V2/RunJobRequest/Overrides.php
+++ b/Run/src/V2/RunJobRequest/Overrides.php
@@ -9,7 +9,7 @@
use Google\Protobuf\Internal\GPBUtil;
/**
- * RunJob Overrides that contains Execution fields to be overridden on the go.
+ * RunJob Overrides that contains Execution fields to be overridden.
*
* Generated from protobuf message google.cloud.run.v2.RunJobRequest.Overrides
*/
diff --git a/Run/src/V2/RunJobRequest/Overrides/ContainerOverride.php b/Run/src/V2/RunJobRequest/Overrides/ContainerOverride.php
index 5ef5a980c8ba..772df9b0478a 100644
--- a/Run/src/V2/RunJobRequest/Overrides/ContainerOverride.php
+++ b/Run/src/V2/RunJobRequest/Overrides/ContainerOverride.php
@@ -9,7 +9,7 @@
use Google\Protobuf\Internal\GPBUtil;
/**
- * Per container override specification.
+ * Per-container override specification.
*
* Generated from protobuf message google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride
*/
diff --git a/Run/src/V2/Service.php b/Run/src/V2/Service.php
index d94a628da7b1..f511530b32f9 100644
--- a/Run/src/V2/Service.php
+++ b/Run/src/V2/Service.php
@@ -249,14 +249,6 @@ class Service extends \Google\Protobuf\Internal\Message
* Generated from protobuf field bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private $satisfies_pzs = false;
- /**
- * Optional. Override the traffic tag threshold limit. Garbage collection will
- * start cleaning up non-serving tagged traffic targets based on creation
- * item. The default value is 2000.
- *
- * Generated from protobuf field int64 traffic_tags_cleanup_threshold = 39 [(.google.api.field_behavior) = OPTIONAL];
- */
- private $traffic_tags_cleanup_threshold = 0;
/**
* Output only. Returns true if the Service is currently being acted upon by
* the system to bring it into the desired state.
@@ -413,10 +405,6 @@ class Service extends \Google\Protobuf\Internal\Message
* https://cloud.google.com/run/docs/configuring/custom-audiences.
* @type bool $satisfies_pzs
* Output only. Reserved for future use.
- * @type int|string $traffic_tags_cleanup_threshold
- * Optional. Override the traffic tag threshold limit. Garbage collection will
- * start cleaning up non-serving tagged traffic targets based on creation
- * item. The default value is 2000.
* @type bool $reconciling
* Output only. Returns true if the Service is currently being acted upon by
* the system to bring it into the desired state.
@@ -1369,36 +1357,6 @@ public function setSatisfiesPzs($var)
return $this;
}
- /**
- * Optional. Override the traffic tag threshold limit. Garbage collection will
- * start cleaning up non-serving tagged traffic targets based on creation
- * item. The default value is 2000.
- *
- * Generated from protobuf field int64 traffic_tags_cleanup_threshold = 39 [(.google.api.field_behavior) = OPTIONAL];
- * @return int|string
- */
- public function getTrafficTagsCleanupThreshold()
- {
- return $this->traffic_tags_cleanup_threshold;
- }
-
- /**
- * Optional. Override the traffic tag threshold limit. Garbage collection will
- * start cleaning up non-serving tagged traffic targets based on creation
- * item. The default value is 2000.
- *
- * Generated from protobuf field int64 traffic_tags_cleanup_threshold = 39 [(.google.api.field_behavior) = OPTIONAL];
- * @param int|string $var
- * @return $this
- */
- public function setTrafficTagsCleanupThreshold($var)
- {
- GPBUtil::checkInt64($var);
- $this->traffic_tags_cleanup_threshold = $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.
diff --git a/Run/tests/Unit/V2/Client/ServicesClientTest.php b/Run/tests/Unit/V2/Client/ServicesClientTest.php
index bf047eb9ab5a..bd98ec1b1385 100644
--- a/Run/tests/Unit/V2/Client/ServicesClientTest.php
+++ b/Run/tests/Unit/V2/Client/ServicesClientTest.php
@@ -109,7 +109,6 @@ public function createServiceTest()
$latestCreatedRevision = 'latestCreatedRevision452370698';
$uri = 'uri116076';
$satisfiesPzs = false;
- $trafficTagsCleanupThreshold = 795495828;
$reconciling = false;
$etag = 'etag3123477';
$expectedResponse = new Service();
@@ -126,7 +125,6 @@ public function createServiceTest()
$expectedResponse->setLatestCreatedRevision($latestCreatedRevision);
$expectedResponse->setUri($uri);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $expectedResponse->setTrafficTagsCleanupThreshold($trafficTagsCleanupThreshold);
$expectedResponse->setReconciling($reconciling);
$expectedResponse->setEtag($etag);
$anyResponse = new Any();
@@ -278,7 +276,6 @@ public function deleteServiceTest()
$latestCreatedRevision = 'latestCreatedRevision452370698';
$uri = 'uri116076';
$satisfiesPzs = false;
- $trafficTagsCleanupThreshold = 795495828;
$reconciling = false;
$etag2 = 'etag2-1293302904';
$expectedResponse = new Service();
@@ -295,7 +292,6 @@ public function deleteServiceTest()
$expectedResponse->setLatestCreatedRevision($latestCreatedRevision);
$expectedResponse->setUri($uri);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $expectedResponse->setTrafficTagsCleanupThreshold($trafficTagsCleanupThreshold);
$expectedResponse->setReconciling($reconciling);
$expectedResponse->setEtag($etag2);
$anyResponse = new Any();
@@ -485,7 +481,6 @@ public function getServiceTest()
$latestCreatedRevision = 'latestCreatedRevision452370698';
$uri = 'uri116076';
$satisfiesPzs = false;
- $trafficTagsCleanupThreshold = 795495828;
$reconciling = false;
$etag = 'etag3123477';
$expectedResponse = new Service();
@@ -502,7 +497,6 @@ public function getServiceTest()
$expectedResponse->setLatestCreatedRevision($latestCreatedRevision);
$expectedResponse->setUri($uri);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $expectedResponse->setTrafficTagsCleanupThreshold($trafficTagsCleanupThreshold);
$expectedResponse->setReconciling($reconciling);
$expectedResponse->setEtag($etag);
$transport->addResponse($expectedResponse);
@@ -803,7 +797,6 @@ public function updateServiceTest()
$latestCreatedRevision = 'latestCreatedRevision452370698';
$uri = 'uri116076';
$satisfiesPzs = false;
- $trafficTagsCleanupThreshold = 795495828;
$reconciling = false;
$etag = 'etag3123477';
$expectedResponse = new Service();
@@ -820,7 +813,6 @@ public function updateServiceTest()
$expectedResponse->setLatestCreatedRevision($latestCreatedRevision);
$expectedResponse->setUri($uri);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $expectedResponse->setTrafficTagsCleanupThreshold($trafficTagsCleanupThreshold);
$expectedResponse->setReconciling($reconciling);
$expectedResponse->setEtag($etag);
$anyResponse = new Any();
@@ -960,7 +952,6 @@ public function createServiceAsyncTest()
$latestCreatedRevision = 'latestCreatedRevision452370698';
$uri = 'uri116076';
$satisfiesPzs = false;
- $trafficTagsCleanupThreshold = 795495828;
$reconciling = false;
$etag = 'etag3123477';
$expectedResponse = new Service();
@@ -977,7 +968,6 @@ public function createServiceAsyncTest()
$expectedResponse->setLatestCreatedRevision($latestCreatedRevision);
$expectedResponse->setUri($uri);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $expectedResponse->setTrafficTagsCleanupThreshold($trafficTagsCleanupThreshold);
$expectedResponse->setReconciling($reconciling);
$expectedResponse->setEtag($etag);
$anyResponse = new Any();
diff --git a/Run/tests/Unit/V2/ServicesClientTest.php b/Run/tests/Unit/V2/ServicesClientTest.php
index 804d9da7403e..f5d0032a4be2 100644
--- a/Run/tests/Unit/V2/ServicesClientTest.php
+++ b/Run/tests/Unit/V2/ServicesClientTest.php
@@ -101,7 +101,6 @@ public function createServiceTest()
$latestCreatedRevision = 'latestCreatedRevision452370698';
$uri = 'uri116076';
$satisfiesPzs = false;
- $trafficTagsCleanupThreshold = 795495828;
$reconciling = false;
$etag = 'etag3123477';
$expectedResponse = new Service();
@@ -118,7 +117,6 @@ public function createServiceTest()
$expectedResponse->setLatestCreatedRevision($latestCreatedRevision);
$expectedResponse->setUri($uri);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $expectedResponse->setTrafficTagsCleanupThreshold($trafficTagsCleanupThreshold);
$expectedResponse->setReconciling($reconciling);
$expectedResponse->setEtag($etag);
$anyResponse = new Any();
@@ -262,7 +260,6 @@ public function deleteServiceTest()
$latestCreatedRevision = 'latestCreatedRevision452370698';
$uri = 'uri116076';
$satisfiesPzs = false;
- $trafficTagsCleanupThreshold = 795495828;
$reconciling = false;
$etag2 = 'etag2-1293302904';
$expectedResponse = new Service();
@@ -279,7 +276,6 @@ public function deleteServiceTest()
$expectedResponse->setLatestCreatedRevision($latestCreatedRevision);
$expectedResponse->setUri($uri);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $expectedResponse->setTrafficTagsCleanupThreshold($trafficTagsCleanupThreshold);
$expectedResponse->setReconciling($reconciling);
$expectedResponse->setEtag($etag2);
$anyResponse = new Any();
@@ -461,7 +457,6 @@ public function getServiceTest()
$latestCreatedRevision = 'latestCreatedRevision452370698';
$uri = 'uri116076';
$satisfiesPzs = false;
- $trafficTagsCleanupThreshold = 795495828;
$reconciling = false;
$etag = 'etag3123477';
$expectedResponse = new Service();
@@ -478,7 +473,6 @@ public function getServiceTest()
$expectedResponse->setLatestCreatedRevision($latestCreatedRevision);
$expectedResponse->setUri($uri);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $expectedResponse->setTrafficTagsCleanupThreshold($trafficTagsCleanupThreshold);
$expectedResponse->setReconciling($reconciling);
$expectedResponse->setEtag($etag);
$transport->addResponse($expectedResponse);
@@ -759,7 +753,6 @@ public function updateServiceTest()
$latestCreatedRevision = 'latestCreatedRevision452370698';
$uri = 'uri116076';
$satisfiesPzs = false;
- $trafficTagsCleanupThreshold = 795495828;
$reconciling = false;
$etag = 'etag3123477';
$expectedResponse = new Service();
@@ -776,7 +769,6 @@ public function updateServiceTest()
$expectedResponse->setLatestCreatedRevision($latestCreatedRevision);
$expectedResponse->setUri($uri);
$expectedResponse->setSatisfiesPzs($satisfiesPzs);
- $expectedResponse->setTrafficTagsCleanupThreshold($trafficTagsCleanupThreshold);
$expectedResponse->setReconciling($reconciling);
$expectedResponse->setEtag($etag);
$anyResponse = new Any();
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Condition.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Condition.php
deleted file mode 100644
index 8548cc8c97a9..000000000000
Binary files a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Condition.php and /dev/null differ
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Execution.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Execution.php
deleted file mode 100644
index 5190127b873e..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Execution.php
+++ /dev/null
@@ -1,109 +0,0 @@
-internalAddGeneratedFile(
- '
-
-#google/cloud/run/v2/execution.protogoogle.cloud.run.v2google/api/client.protogoogle/api/field_behavior.protogoogle/api/launch_stage.protogoogle/api/resource.proto#google/cloud/run/v2/condition.proto\'google/cloud/run/v2/task_template.proto#google/longrunning/operations.protogoogle/protobuf/timestamp.proto"I
-GetExecutionRequest2
-name ( B$AA
-run.googleapis.com/Execution"
-ListExecutionsRequest4
-parent ( B$AArun.googleapis.com/Execution
- page_size (
-
-page_token (
-show_deleted ("e
-ListExecutionsResponse2
-
-executions (2.google.cloud.run.v2.Execution
-next_page_token ( "q
-DeleteExecutionRequest2
-name ( B$AA
-run.googleapis.com/Execution
-
validate_only (
-etag ( "q
-CancelExecutionRequest2
-name ( B$AA
-run.googleapis.com/Execution
-
validate_only (
-etag ( "
-
- Execution
-name ( BA
-uid ( BA
-
-generation (BA?
-labels (2*.google.cloud.run.v2.Execution.LabelsEntryBAI
-annotations (2/.google.cloud.run.v2.Execution.AnnotationsEntryBA4
-create_time (2.google.protobuf.TimestampBA3
-
-start_time (2.google.protobuf.TimestampBA8
-completion_time (2.google.protobuf.TimestampBA4
-update_time (2.google.protobuf.TimestampBA4
-delete_time (2.google.protobuf.TimestampBA4
-expire_time
- (2.google.protobuf.TimestampBA-
-launch_stage (2.google.api.LaunchStage+
-job ( BAA
-run.googleapis.com/Job
-parallelism
(BA
-
-task_count (BA8
-template (2!.google.cloud.run.v2.TaskTemplateBA
-reconciling (BA7
-
-conditions (2.google.cloud.run.v2.ConditionBA
-observed_generation (BA
-
running_count (BA
-succeeded_count (BA
-failed_count (BA
-cancelled_count (BA
-
retried_count (BA
-log_uri ( BA
-
satisfies_pzs (BA
-etagc ( BA-
-LabelsEntry
-key (
-value ( :82
-AnnotationsEntry
-key (
-value ( :8:oAl
-run.googleapis.com/ExecutionIprojects/{project}/locations/{location}/jobs/{job}/executions/{execution}R2
-
-Executions
-GetExecution(.google.cloud.run.v2.GetExecutionRequest.google.cloud.run.v2.Execution"D75/v2/{name=projects/*/locations/*/jobs/*/executions/*}Aname
-ListExecutions*.google.cloud.run.v2.ListExecutionsRequest+.google.cloud.run.v2.ListExecutionsResponse"F75/v2/{parent=projects/*/locations/*/jobs/*}/executionsAparent
-DeleteExecution+.google.cloud.run.v2.DeleteExecutionRequest.google.longrunning.Operation"]7*5/v2/{name=projects/*/locations/*/jobs/*/executions/*}AnameA
- Execution Execution
-CancelExecution+.google.cloud.run.v2.CancelExecutionRequest.google.longrunning.Operation"gA"internalAddGeneratedFile(
- '
-
-,google/cloud/run/v2/execution_template.protogoogle.cloud.run.v2\'google/cloud/run/v2/task_template.proto"
-ExecutionTemplateB
-labels (22.google.cloud.run.v2.ExecutionTemplate.LabelsEntryL
-annotations (27.google.cloud.run.v2.ExecutionTemplate.AnnotationsEntry
-parallelism (
-
-task_count (8
-template (2!.google.cloud.run.v2.TaskTemplateBA-
-LabelsEntry
-key (
-value ( :82
-AnnotationsEntry
-key (
-value ( :8B^
-com.google.cloud.run.v2BExecutionTemplateProtoPZ)cloud.google.com/go/run/apiv2/runpb;runpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Job.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Job.php
deleted file mode 100644
index 2045ae454627..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Job.php
+++ /dev/null
@@ -1,149 +0,0 @@
-internalAddGeneratedFile(
- '
-&
-google/cloud/run/v2/job.protogoogle.cloud.run.v2google/api/client.protogoogle/api/field_behavior.protogoogle/api/launch_stage.protogoogle/api/resource.protogoogle/api/routing.proto#google/cloud/run/v2/condition.proto#google/cloud/run/v2/execution.proto,google/cloud/run/v2/execution_template.proto!google/cloud/run/v2/k8s.min.proto)google/cloud/run/v2/vendor_settings.protogoogle/iam/v1/iam_policy.protogoogle/iam/v1/policy.proto#google/longrunning/operations.protogoogle/protobuf/duration.protogoogle/protobuf/timestamp.proto"
-CreateJobRequest.
-parent ( BAArun.googleapis.com/Job*
-job (2.google.cloud.run.v2.JobBA
-job_id ( BA
-
validate_only ("=
-
GetJobRequest,
-name ( BAA
-run.googleapis.com/Job"l
-UpdateJobRequest*
-job (2.google.cloud.run.v2.JobBA
-
validate_only (
-
allow_missing ("~
-ListJobsRequest.
-parent ( BAArun.googleapis.com/Job
- page_size (
-
-page_token (
-show_deleted ("S
-ListJobsResponse&
-jobs (2.google.cloud.run.v2.Job
-next_page_token ( "e
-DeleteJobRequest,
-name ( BAA
-run.googleapis.com/Job
-
validate_only (
-etag ( "
-
RunJobRequest,
-name ( BAA
-run.googleapis.com/Job
-
validate_only (
-etag ( ?
- overrides (2,.google.cloud.run.v2.RunJobRequest.Overrides
- Overrides[
-container_overrides (2>.google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride
-
-task_count (BA*
-timeout (2.google.protobuf.Durationw
-ContainerOverride
-name (
-args ( BA(
-env (2.google.cloud.run.v2.EnvVar
-
-clear_args (BA"
-Job
-name (
-uid ( BA
-
-generation (BA4
-labels (2$.google.cloud.run.v2.Job.LabelsEntry>
-annotations (2).google.cloud.run.v2.Job.AnnotationsEntry4
-create_time (2.google.protobuf.TimestampBA4
-update_time (2.google.protobuf.TimestampBA4
-delete_time (2.google.protobuf.TimestampBA4
-expire_time (2.google.protobuf.TimestampBA
-creator
- ( BA
-
last_modifier ( BA
-client (
-client_version
( -
-launch_stage (2.google.api.LaunchStageF
-binary_authorization (2(.google.cloud.run.v2.BinaryAuthorization=
-template (2&.google.cloud.run.v2.ExecutionTemplateBA
-observed_generation (BA?
-terminal_condition (2.google.cloud.run.v2.ConditionBA7
-
-conditions (2.google.cloud.run.v2.ConditionBA
-execution_count (BAN
-latest_created_execution (2\'.google.cloud.run.v2.ExecutionReferenceBA
-reconciling (BA
-
satisfies_pzs (BA
-etagc ( BA-
-LabelsEntry
-key (
-value ( :82
-AnnotationsEntry
-key (
-value ( :8:RAO
-run.googleapis.com/Job2projects/{project}/locations/{location}/jobs/{job}R"
-ExecutionReference/
-name ( B!A
-run.googleapis.com/Execution/
-create_time (2.google.protobuf.Timestamp3
-completion_time (2.google.protobuf.Timestamp2
-Jobs
- CreateJob%.google.cloud.run.v2.CreateJobRequest.google.longrunning.Operation"/"(/v2/{parent=projects/*/locations/*}/jobs:job-+
-parent!projects/*/locations/{location=*}Aparent,job,job_idA
-
-JobJob
-GetJob".google.cloud.run.v2.GetJobRequest.google.cloud.run.v2.Job"k*(/v2/{name=projects/*/locations/*/jobs/*}.,
-name$projects/*/locations/{location=*}/**Aname
-ListJobs$.google.cloud.run.v2.ListJobsRequest%.google.cloud.run.v2.ListJobsResponse"l*(/v2/{parent=projects/*/locations/*}/jobs-+
-parent!projects/*/locations/{location=*}Aparent
- UpdateJob%.google.cloud.run.v2.UpdateJobRequest.google.longrunning.Operation"32,/v2/{job.name=projects/*/locations/*/jobs/*}:job20
-job.name$projects/*/locations/{location=*}/**AjobA
-
-JobJob
- DeleteJob%.google.cloud.run.v2.DeleteJobRequest.google.longrunning.Operation"x**(/v2/{name=projects/*/locations/*/jobs/*}.,
-name$projects/*/locations/{location=*}/**AnameA
-
-JobJob
-RunJob".google.cloud.run.v2.RunJobRequest.google.longrunning.Operation"1",/v2/{name=projects/*/locations/*/jobs/*}:run:*.,
-name$projects/*/locations/{location=*}/**AnameA
- Execution Execution
-GetIamPolicy".google.iam.v1.GetIamPolicyRequest.google.iam.v1.Policy"A;9/v2/{resource=projects/*/locations/*/jobs/*}:getIamPolicy
-SetIamPolicy".google.iam.v1.SetIamPolicyRequest.google.iam.v1.Policy"D>"9/v2/{resource=projects/*/locations/*/jobs/*}:setIamPolicy:*
-TestIamPermissions(.google.iam.v1.TestIamPermissionsRequest).google.iam.v1.TestIamPermissionsResponse"JD"?/v2/{resource=projects/*/locations/*/jobs/*}:testIamPermissions:*FArun.googleapis.comA.https://www.googleapis.com/auth/cloud-platformBP
-com.google.cloud.run.v2BJobProtoPZ)cloud.google.com/go/run/apiv2/runpb;runpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/K8SMin.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/K8SMin.php
deleted file mode 100644
index 940f457e92cd..000000000000
Binary files a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/K8SMin.php and /dev/null differ
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Revision.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Revision.php
deleted file mode 100644
index da606f86efdc..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Revision.php
+++ /dev/null
@@ -1,108 +0,0 @@
-internalAddGeneratedFile(
- '
-
-"google/cloud/run/v2/revision.protogoogle.cloud.run.v2google/api/client.protogoogle/api/field_behavior.protogoogle/api/launch_stage.protogoogle/api/resource.protogoogle/api/routing.proto#google/cloud/run/v2/condition.proto!google/cloud/run/v2/k8s.min.proto)google/cloud/run/v2/vendor_settings.proto#google/longrunning/operations.protogoogle/protobuf/duration.protogoogle/protobuf/timestamp.proto"G
-GetRevisionRequest1
-name ( B#AA
-run.googleapis.com/Revision"
-ListRevisionsRequest3
-parent ( B#AArun.googleapis.com/Revision
- page_size (
-
-page_token (
-show_deleted ("b
-ListRevisionsResponse0
- revisions (2.google.cloud.run.v2.Revision
-next_page_token ( "o
-DeleteRevisionRequest1
-name ( B#AA
-run.googleapis.com/Revision
-
validate_only (
-etag ( "
-Revision
-name ( BA
-uid ( BA
-
-generation (BA>
-labels (2).google.cloud.run.v2.Revision.LabelsEntryBAH
-annotations (2..google.cloud.run.v2.Revision.AnnotationsEntryBA4
-create_time (2.google.protobuf.TimestampBA4
-update_time (2.google.protobuf.TimestampBA4
-delete_time (2.google.protobuf.TimestampBA4
-expire_time (2.google.protobuf.TimestampBA-
-launch_stage
- (2.google.api.LaunchStage3
-service ( B"AA
-run.googleapis.com/Service5
-scaling (2$.google.cloud.run.v2.RevisionScaling2
-
-vpc_access
(2.google.cloud.run.v2.VpcAccess(
- max_instance_request_concurrency" (*
-timeout (2.google.protobuf.Duration
-service_account ( 2
-
-containers (2.google.cloud.run.v2.Container,
-volumes (2.google.cloud.run.v2.VolumeH
-execution_environment (2).google.cloud.run.v2.ExecutionEnvironment>
-encryption_key ( B&A#
-!cloudkms.googleapis.com/CryptoKey\\
- encryption_key_revocation_action (22.google.cloud.run.v2.EncryptionKeyRevocationActionC
- encryption_key_shutdown_duration (2.google.protobuf.Duration
-reconciling (BA7
-
-conditions (2.google.cloud.run.v2.ConditionBA
-observed_generation (BA
-log_uri! ( BA
-
satisfies_pzs% (BA
-session_affinity& (
-etagc ( BA-
-LabelsEntry
-key (
-value ( :82
-AnnotationsEntry
-key (
-value ( :8:tAq
-run.googleapis.com/RevisionOprojects/{project}/locations/{location}/services/{service}/revisions/{revision}R2
- Revisions
-GetRevision\'.google.cloud.run.v2.GetRevisionRequest.google.cloud.run.v2.Revision"{:8/v2/{name=projects/*/locations/*/services/*/revisions/*}.,
-name$projects/*/locations/{location=*}/**Aname
-
ListRevisions).google.cloud.run.v2.ListRevisionsRequest*.google.cloud.run.v2.ListRevisionsResponse":8/v2/{parent=projects/*/locations/*/services/*}/revisions0.
-parent$projects/*/locations/{location=*}/**Aparent
-DeleteRevision*.google.cloud.run.v2.DeleteRevisionRequest.google.longrunning.Operation":*8/v2/{name=projects/*/locations/*/services/*/revisions/*}.,
-name$projects/*/locations/{location=*}/**AnameA
-RevisionRevisionFArun.googleapis.comA.https://www.googleapis.com/auth/cloud-platformBU
-com.google.cloud.run.v2B
RevisionProtoPZ)cloud.google.com/go/run/apiv2/runpb;runpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/RevisionTemplate.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/RevisionTemplate.php
deleted file mode 100644
index e01c3c97a272..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/RevisionTemplate.php
+++ /dev/null
@@ -1,56 +0,0 @@
-internalAddGeneratedFile(
- '
-
-+google/cloud/run/v2/revision_template.protogoogle.cloud.run.v2!google/cloud/run/v2/k8s.min.proto)google/cloud/run/v2/vendor_settings.protogoogle/protobuf/duration.proto"
-RevisionTemplate2
-revision ( B A
-run.googleapis.com/RevisionA
-labels (21.google.cloud.run.v2.RevisionTemplate.LabelsEntryK
-annotations (26.google.cloud.run.v2.RevisionTemplate.AnnotationsEntry5
-scaling (2$.google.cloud.run.v2.RevisionScaling2
-
-vpc_access (2.google.cloud.run.v2.VpcAccess*
-timeout (2.google.protobuf.Duration
-service_account ( 2
-
-containers
- (2.google.cloud.run.v2.Container,
-volumes (2.google.cloud.run.v2.VolumeH
-execution_environment
(2).google.cloud.run.v2.ExecutionEnvironment>
-encryption_key ( B&A#
-!cloudkms.googleapis.com/CryptoKey(
- max_instance_request_concurrency (
-session_affinity (-
-LabelsEntry
-key (
-value ( :82
-AnnotationsEntry
-key (
-value ( :8B]
-com.google.cloud.run.v2BRevisionTemplateProtoPZ)cloud.google.com/go/run/apiv2/runpb;runpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Service.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Service.php
deleted file mode 100644
index de5854752e32..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Service.php
+++ /dev/null
@@ -1,129 +0,0 @@
-internalAddGeneratedFile(
- '
-#
-!google/cloud/run/v2/service.protogoogle.cloud.run.v2google/api/client.protogoogle/api/field_behavior.protogoogle/api/launch_stage.protogoogle/api/resource.protogoogle/api/routing.proto#google/cloud/run/v2/condition.proto+google/cloud/run/v2/revision_template.proto(google/cloud/run/v2/traffic_target.proto)google/cloud/run/v2/vendor_settings.protogoogle/iam/v1/iam_policy.protogoogle/iam/v1/policy.proto#google/longrunning/operations.protogoogle/protobuf/timestamp.proto"
-CreateServiceRequest2
-parent ( B"AArun.googleapis.com/Service2
-service (2.google.cloud.run.v2.ServiceBA
-
-service_id ( BA
-
validate_only ("x
-UpdateServiceRequest2
-service (2.google.cloud.run.v2.ServiceBA
-
validate_only (
-
allow_missing ("
-ListServicesRequest2
-parent ( B"AArun.googleapis.com/Service
- page_size (
-
-page_token (
-show_deleted ("_
-ListServicesResponse.
-services (2.google.cloud.run.v2.Service
-next_page_token ( "E
-GetServiceRequest0
-name ( B"AA
-run.googleapis.com/Service"m
-DeleteServiceRequest0
-name ( B"AA
-run.googleapis.com/Service
-
validate_only (
-etag ( "
-Service
-name (
-description (
-uid ( BA
-
-generation (BA8
-labels (2(.google.cloud.run.v2.Service.LabelsEntryB
-annotations (2-.google.cloud.run.v2.Service.AnnotationsEntry4
-create_time (2.google.protobuf.TimestampBA4
-update_time (2.google.protobuf.TimestampBA4
-delete_time (2.google.protobuf.TimestampBA4
-expire_time
- (2.google.protobuf.TimestampBA
-creator ( BA
-
last_modifier ( BA
-client
(
-client_version ( 4
-ingress (2#.google.cloud.run.v2.IngressTraffic-
-launch_stage (2.google.api.LaunchStageF
-binary_authorization (2(.google.cloud.run.v2.BinaryAuthorization<
-template (2%.google.cloud.run.v2.RevisionTemplateBA3
-traffic (2".google.cloud.run.v2.TrafficTarget
-observed_generation (BA?
-terminal_condition (2.google.cloud.run.v2.ConditionBA7
-
-conditions (2.google.cloud.run.v2.ConditionBAB
-latest_ready_revision! ( B#AA
-run.googleapis.com/RevisionD
-latest_created_revision" ( B#AA
-run.googleapis.com/RevisionG
-traffic_statuses# (2(.google.cloud.run.v2.TrafficTargetStatusBA
-uri$ ( BA
-custom_audiences% (
-
satisfies_pzs& (BA
-reconcilingb (BA
-etagc ( BA-
-LabelsEntry
-key (
-value ( :82
-AnnotationsEntry
-key (
-value ( :8:^A[
-run.googleapis.com/Service:projects/{project}/locations/{location}/services/{service}R2
-Services
-
CreateService).google.cloud.run.v2.CreateServiceRequest.google.longrunning.Operation"7",/v2/{parent=projects/*/locations/*}/services:service-+
-parent!projects/*/locations/{location=*}Aparent,service,service_idA
-ServiceService
-
-GetService&.google.cloud.run.v2.GetServiceRequest.google.cloud.run.v2.Service"o.,/v2/{name=projects/*/locations/*/services/*}.,
-name$projects/*/locations/{location=*}/**Aname
-ListServices(.google.cloud.run.v2.ListServicesRequest).google.cloud.run.v2.ListServicesResponse"p.,/v2/{parent=projects/*/locations/*}/services-+
-parent!projects/*/locations/{location=*}Aparent
-
UpdateService).google.cloud.run.v2.UpdateServiceRequest.google.longrunning.Operation"?24/v2/{service.name=projects/*/locations/*/services/*}:service64
-service.name$projects/*/locations/{location=*}/**AserviceA
-ServiceService
-
DeleteService).google.cloud.run.v2.DeleteServiceRequest.google.longrunning.Operation".*,/v2/{name=projects/*/locations/*/services/*}.,
-name$projects/*/locations/{location=*}/**AnameA
-ServiceService
-GetIamPolicy".google.iam.v1.GetIamPolicyRequest.google.iam.v1.Policy"E?=/v2/{resource=projects/*/locations/*/services/*}:getIamPolicy
-SetIamPolicy".google.iam.v1.SetIamPolicyRequest.google.iam.v1.Policy"HB"=/v2/{resource=projects/*/locations/*/services/*}:setIamPolicy:*
-TestIamPermissions(.google.iam.v1.TestIamPermissionsRequest).google.iam.v1.TestIamPermissionsResponse"NH"C/v2/{resource=projects/*/locations/*/services/*}:testIamPermissions:*FArun.googleapis.comA.https://www.googleapis.com/auth/cloud-platformBT
-com.google.cloud.run.v2BServiceProtoPZ)cloud.google.com/go/run/apiv2/runpb;runpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Task.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Task.php
deleted file mode 100644
index 409da14ace22..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/Task.php
+++ /dev/null
@@ -1,103 +0,0 @@
-internalAddGeneratedFile(
- '
-
-google/cloud/run/v2/task.protogoogle.cloud.run.v2google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto#google/cloud/run/v2/condition.proto!google/cloud/run/v2/k8s.min.proto)google/cloud/run/v2/vendor_settings.protogoogle/protobuf/duration.protogoogle/protobuf/timestamp.protogoogle/rpc/status.proto"?
-GetTaskRequest-
-name ( BAA
-run.googleapis.com/Task"
-ListTasksRequest/
-parent ( BAArun.googleapis.com/Task
- page_size (
-
-page_token (
-show_deleted ("V
-ListTasksResponse(
-tasks (2.google.cloud.run.v2.Task
-next_page_token ( "
-Task
-name ( BA
-uid ( BA
-
-generation (BA:
-labels (2%.google.cloud.run.v2.Task.LabelsEntryBAD
-annotations (2*.google.cloud.run.v2.Task.AnnotationsEntryBA4
-create_time (2.google.protobuf.TimestampBA7
-scheduled_time" (2.google.protobuf.TimestampBA3
-
-start_time (2.google.protobuf.TimestampBA8
-completion_time (2.google.protobuf.TimestampBA4
-update_time (2.google.protobuf.TimestampBA4
-delete_time (2.google.protobuf.TimestampBA4
-expire_time
- (2.google.protobuf.TimestampBA+
-job ( BAA
-run.googleapis.com/Job7
- execution
( B$AA
-run.googleapis.com/Execution2
-
-containers (2.google.cloud.run.v2.Container,
-volumes (2.google.cloud.run.v2.Volume
-max_retries (*
-timeout (2.google.protobuf.Duration
-service_account ( H
-execution_environment (2).google.cloud.run.v2.ExecutionEnvironment
-reconciling (BA7
-
-conditions (2.google.cloud.run.v2.ConditionBA
-observed_generation (BA
-index (BA
-retried (BAH
-last_attempt_result (2&.google.cloud.run.v2.TaskAttemptResultBAA
-encryption_key ( B)AA#
-!cloudkms.googleapis.com/CryptoKey7
-
-vpc_access (2.google.cloud.run.v2.VpcAccessBA
-log_uri ( BA
-
satisfies_pzs! (BA
-etagc ( BA-
-LabelsEntry
-key (
-value ( :82
-AnnotationsEntry
-key (
-value ( :8:wAt
-run.googleapis.com/TaskVprojects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}R"T
-TaskAttemptResult\'
-status (2.google.rpc.StatusBA
- exit_code (BA2
-Tasks
-GetTask#.google.cloud.run.v2.GetTaskRequest.google.cloud.run.v2.Task"L?=/v2/{name=projects/*/locations/*/jobs/*/executions/*/tasks/*}Aname
- ListTasks%.google.cloud.run.v2.ListTasksRequest&.google.cloud.run.v2.ListTasksResponse"N?=/v2/{parent=projects/*/locations/*/jobs/*/executions/*}/tasksAparentFArun.googleapis.comA.https://www.googleapis.com/auth/cloud-platformBQ
-com.google.cloud.run.v2B TaskProtoPZ)cloud.google.com/go/run/apiv2/runpb;runpbbproto3'
- , true);
-
- static::$is_initialized = true;
- }
-}
-
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/TaskTemplate.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/TaskTemplate.php
deleted file mode 100644
index cd35997c9cee..000000000000
Binary files a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/TaskTemplate.php and /dev/null differ
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/TrafficTarget.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/TrafficTarget.php
deleted file mode 100644
index a83b79304d2d..000000000000
Binary files a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/TrafficTarget.php and /dev/null differ
diff --git a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/VendorSettings.php b/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/VendorSettings.php
deleted file mode 100644
index 5c78f2dea9fe..000000000000
Binary files a/owl-bot-staging/Run/v2/proto/src/GPBMetadata/Google/Cloud/Run/V2/VendorSettings.php and /dev/null differ
diff --git a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/BinaryAuthorization.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/BinaryAuthorization.php
deleted file mode 100644
index 498720af47ce..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/BinaryAuthorization.php
+++ /dev/null
@@ -1,124 +0,0 @@
-google.cloud.run.v2.BinaryAuthorization
- */
-class BinaryAuthorization extends \Google\Protobuf\Internal\Message
-{
- /**
- * 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;
- */
- protected $breakglass_justification = '';
- protected $binauthz_method;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type bool $use_default
- * If True, indicates to use the default project's binary authorization
- * policy. If False, binary authorization will be disabled.
- * @type string $breakglass_justification
- * 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);
- }
-
- /**
- * 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;
- * @return bool
- */
- public function getUseDefault()
- {
- return $this->readOneof(1);
- }
-
- public function hasUseDefault()
- {
- return $this->hasOneof(1);
- }
-
- /**
- * 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;
- * @param bool $var
- * @return $this
- */
- public function setUseDefault($var)
- {
- GPBUtil::checkBool($var);
- $this->writeOneof(1, $var);
-
- return $this;
- }
-
- /**
- * 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;
- * @return string
- */
- public function getBreakglassJustification()
- {
- return $this->breakglass_justification;
- }
-
- /**
- * 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;
- * @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
deleted file mode 100644
index 771e535b0e3a..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CancelExecutionRequest.php
+++ /dev/null
@@ -1,172 +0,0 @@
-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
deleted file mode 100644
index 93ca08a9f462..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CloudSqlInstance.php
+++ /dev/null
@@ -1,86 +0,0 @@
-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
- * A common (service-level) reason for this condition.
- * @type int $revision_reason
- * A reason for the revision condition.
- * @type int $execution_reason
- * 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;
- }
-
- /**
- * A common (service-level) reason for this condition.
- *
- * Generated from protobuf field .google.cloud.run.v2.Condition.CommonReason reason = 6;
- * @return int
- */
- public function getReason()
- {
- return $this->readOneof(6);
- }
-
- public function hasReason()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * A common (service-level) reason for this condition.
- *
- * Generated from protobuf field .google.cloud.run.v2.Condition.CommonReason reason = 6;
- * @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;
- }
-
- /**
- * A reason for the revision condition.
- *
- * Generated from protobuf field .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9;
- * @return int
- */
- public function getRevisionReason()
- {
- return $this->readOneof(9);
- }
-
- public function hasRevisionReason()
- {
- return $this->hasOneof(9);
- }
-
- /**
- * A reason for the revision condition.
- *
- * Generated from protobuf field .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9;
- * @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;
- }
-
- /**
- * A reason for the execution condition.
- *
- * Generated from protobuf field .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11;
- * @return int
- */
- public function getExecutionReason()
- {
- return $this->readOneof(11);
- }
-
- public function hasExecutionReason()
- {
- return $this->hasOneof(11);
- }
-
- /**
- * A reason for the execution condition.
- *
- * Generated from protobuf field .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11;
- * @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
deleted file mode 100644
index b7883e34e0a2..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/CommonReason.php
+++ /dev/null
@@ -1,148 +0,0 @@
-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
deleted file mode 100644
index 11956647ed44..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/ExecutionReason.php
+++ /dev/null
@@ -1,86 +0,0 @@
-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
deleted file mode 100644
index 267653375813..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/RevisionReason.php
+++ /dev/null
@@ -1,141 +0,0 @@
-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
deleted file mode 100644
index eb2c0967fd4b..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/Severity.php
+++ /dev/null
@@ -1,71 +0,0 @@
-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
deleted file mode 100644
index 3ca42a0f1e32..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Condition/State.php
+++ /dev/null
@@ -1,78 +0,0 @@
-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
deleted file mode 100644
index 1dc5d80d18b9..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Container.php
+++ /dev/null
@@ -1,531 +0,0 @@
-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
deleted file mode 100644
index f201e0ba2b8c..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CreateJobRequest.php
+++ /dev/null
@@ -1,216 +0,0 @@
-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
deleted file mode 100644
index 7a5677b8d359..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/CreateServiceRequest.php
+++ /dev/null
@@ -1,221 +0,0 @@
-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
deleted file mode 100644
index ea7d31e245fe..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteExecutionRequest.php
+++ /dev/null
@@ -1,172 +0,0 @@
-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
deleted file mode 100644
index 0c4f53d97680..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteJobRequest.php
+++ /dev/null
@@ -1,167 +0,0 @@
-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
deleted file mode 100644
index 0b7bb2e76937..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteRevisionRequest.php
+++ /dev/null
@@ -1,169 +0,0 @@
-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
deleted file mode 100644
index 16182d4a1603..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/DeleteServiceRequest.php
+++ /dev/null
@@ -1,167 +0,0 @@
-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
deleted file mode 100644
index be49c7f974ba..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EmptyDirVolumeSource.php
+++ /dev/null
@@ -1,143 +0,0 @@
-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
deleted file mode 100644
index f226a6c0cdda..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EmptyDirVolumeSource/Medium.php
+++ /dev/null
@@ -1,58 +0,0 @@
-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
deleted file mode 100644
index 0b07b810a082..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EncryptionKeyRevocationAction.php
+++ /dev/null
@@ -1,61 +0,0 @@
-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
deleted file mode 100644
index 68821da16bfa..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EnvVar.php
+++ /dev/null
@@ -1,167 +0,0 @@
-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
- * Variable references $(VAR_NAME) are expanded
- * using the previous defined environment variables in the container and
- * any route environment variables. If a variable cannot be resolved,
- * the reference in the input string will be unchanged. The $(VAR_NAME)
- * syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
- * references will never be expanded, regardless of whether the variable
- * exists or not.
- * Defaults to "", and the maximum length is 32768 bytes.
- * @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;
- }
-
- /**
- * Variable references $(VAR_NAME) are expanded
- * using the previous defined environment variables in the container and
- * any route environment variables. If a variable cannot be resolved,
- * the reference in the input string will be unchanged. The $(VAR_NAME)
- * syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
- * references will never be expanded, regardless of whether the variable
- * exists or not.
- * Defaults to "", and the maximum length is 32768 bytes.
- *
- * Generated from protobuf field string value = 2;
- * @return string
- */
- public function getValue()
- {
- return $this->readOneof(2);
- }
-
- public function hasValue()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Variable references $(VAR_NAME) are expanded
- * using the previous defined environment variables in the container and
- * any route environment variables. If a variable cannot be resolved,
- * the reference in the input string will be unchanged. The $(VAR_NAME)
- * syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
- * references will never be expanded, regardless of whether the variable
- * exists or not.
- * Defaults to "", and the maximum length is 32768 bytes.
- *
- * 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
deleted file mode 100644
index 99ffb8e651c0..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/EnvVarSource.php
+++ /dev/null
@@ -1,77 +0,0 @@
-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
deleted file mode 100644
index b72c09e5f964..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Execution.php
+++ /dev/null
@@ -1,1183 +0,0 @@
-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
deleted file mode 100644
index da77efe77d8f..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionEnvironment.php
+++ /dev/null
@@ -1,61 +0,0 @@
-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
deleted file mode 100644
index 9f24bfccf464..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionReference.php
+++ /dev/null
@@ -1,156 +0,0 @@
-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;
-
- /**
- * 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.
- * }
- */
- 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;
- }
-
-}
-
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
deleted file mode 100644
index 18ee4a6bffb3..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ExecutionTemplate.php
+++ /dev/null
@@ -1,322 +0,0 @@
-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 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/GRPCAction.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GRPCAction.php
deleted file mode 100644
index ded612ce62c9..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GRPCAction.php
+++ /dev/null
@@ -1,117 +0,0 @@
-google.cloud.run.v2.GRPCAction
- */
-class GRPCAction extends \Google\Protobuf\Internal\Message
-{
- /**
- * 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;
- */
- protected $port = 0;
- /**
- * 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;
- */
- protected $service = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $port
- * 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
- * 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);
- }
-
- /**
- * 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;
- * @return int
- */
- public function getPort()
- {
- return $this->port;
- }
-
- /**
- * 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;
- * @param int $var
- * @return $this
- */
- public function setPort($var)
- {
- GPBUtil::checkInt32($var);
- $this->port = $var;
-
- return $this;
- }
-
- /**
- * 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;
- * @return string
- */
- public function getService()
- {
- return $this->service;
- }
-
- /**
- * 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;
- * @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
deleted file mode 100644
index 8ecf98e5ef55..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetExecutionRequest.php
+++ /dev/null
@@ -1,96 +0,0 @@
-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
deleted file mode 100644
index 8d43efd711f4..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetJobRequest.php
+++ /dev/null
@@ -1,91 +0,0 @@
-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
deleted file mode 100644
index 23fa3012691d..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetRevisionRequest.php
+++ /dev/null
@@ -1,91 +0,0 @@
-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
deleted file mode 100644
index 4a5aeb399c01..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetServiceRequest.php
+++ /dev/null
@@ -1,91 +0,0 @@
-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
deleted file mode 100644
index 925a9bb98395..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/GetTaskRequest.php
+++ /dev/null
@@ -1,91 +0,0 @@
-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
deleted file mode 100644
index 4882d0e40246..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/HTTPGetAction.php
+++ /dev/null
@@ -1,143 +0,0 @@
-google.cloud.run.v2.HTTPGetAction
- */
-class HTTPGetAction extends \Google\Protobuf\Internal\Message
-{
- /**
- * Path to access on the HTTP server. Defaults to '/'.
- *
- * Generated from protobuf field string path = 1;
- */
- protected $path = '';
- /**
- * Custom headers to set in the request. HTTP allows repeated headers.
- *
- * Generated from protobuf field repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
- */
- private $http_headers;
- /**
- * 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;
- */
- protected $port = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $path
- * Path to access on the HTTP server. Defaults to '/'.
- * @type array<\Google\Cloud\Run\V2\HTTPHeader>|\Google\Protobuf\Internal\RepeatedField $http_headers
- * Custom headers to set in the request. HTTP allows repeated headers.
- * @type int $port
- * 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);
- }
-
- /**
- * Path to access on the HTTP server. Defaults to '/'.
- *
- * Generated from protobuf field string path = 1;
- * @return string
- */
- public function getPath()
- {
- return $this->path;
- }
-
- /**
- * Path to access on the HTTP server. Defaults to '/'.
- *
- * Generated from protobuf field string path = 1;
- * @param string $var
- * @return $this
- */
- public function setPath($var)
- {
- GPBUtil::checkString($var, True);
- $this->path = $var;
-
- return $this;
- }
-
- /**
- * Custom headers to set in the request. HTTP allows repeated headers.
- *
- * Generated from protobuf field repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getHttpHeaders()
- {
- return $this->http_headers;
- }
-
- /**
- * Custom headers to set in the request. HTTP allows repeated headers.
- *
- * Generated from protobuf field repeated .google.cloud.run.v2.HTTPHeader http_headers = 4;
- * @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;
- }
-
- /**
- * 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;
- * @return int
- */
- public function getPort()
- {
- return $this->port;
- }
-
- /**
- * 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;
- * @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
deleted file mode 100644
index e01d0a887329..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/HTTPHeader.php
+++ /dev/null
@@ -1,101 +0,0 @@
-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 = '';
- /**
- * The header field value
- *
- * Generated from protobuf field string value = 2;
- */
- protected $value = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The header field name
- * @type string $value
- * 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;
- }
-
- /**
- * The header field value
- *
- * Generated from protobuf field string value = 2;
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The header field value
- *
- * Generated from protobuf field string value = 2;
- * @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
deleted file mode 100644
index 4bcff9e224cb..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/IngressTraffic.php
+++ /dev/null
@@ -1,68 +0,0 @@
-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;
-
- 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',
- ];
-
- 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
deleted file mode 100644
index ddc1a046cb49..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Job.php
+++ /dev/null
@@ -1,1158 +0,0 @@
-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.
- *
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 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 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 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.
- *
- * 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.
- *
- * 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 .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 = '';
-
- /**
- * 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.
- *
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. - * @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 $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 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.
- *
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 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 Job.
- *
- * 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 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 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 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 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.
- *
- * 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.
- *
- * 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.
- *
- * 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 .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.
- *
- * 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 .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;
- }
-
- /**
- * 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/ListExecutionsRequest.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListExecutionsRequest.php
deleted file mode 100644
index 909879ad84ea..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListExecutionsRequest.php
+++ /dev/null
@@ -1,202 +0,0 @@
-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
deleted file mode 100644
index 66ffa08a98f2..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListExecutionsResponse.php
+++ /dev/null
@@ -1,105 +0,0 @@
-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
deleted file mode 100644
index 076ac55e2e82..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListJobsRequest.php
+++ /dev/null
@@ -1,197 +0,0 @@
-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
deleted file mode 100644
index 1d0b4c4b6c6c..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListJobsResponse.php
+++ /dev/null
@@ -1,105 +0,0 @@
-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
deleted file mode 100644
index 01cde2b85c98..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListRevisionsRequest.php
+++ /dev/null
@@ -1,202 +0,0 @@
-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
deleted file mode 100644
index e4a2db90f4f3..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListRevisionsResponse.php
+++ /dev/null
@@ -1,105 +0,0 @@
-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
deleted file mode 100644
index 1cd78b619338..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListServicesRequest.php
+++ /dev/null
@@ -1,202 +0,0 @@
-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
deleted file mode 100644
index 06cdb054df84..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListServicesResponse.php
+++ /dev/null
@@ -1,105 +0,0 @@
-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
deleted file mode 100644
index 421799f38195..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListTasksRequest.php
+++ /dev/null
@@ -1,202 +0,0 @@
-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
deleted file mode 100644
index 17804baa0f8d..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ListTasksResponse.php
+++ /dev/null
@@ -1,105 +0,0 @@
-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/Probe.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Probe.php
deleted file mode 100644
index ca921a33189a..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Probe.php
+++ /dev/null
@@ -1,323 +0,0 @@
-google.cloud.run.v2.Probe
- */
-class Probe extends \Google\Protobuf\Internal\Message
-{
- /**
- * 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;
- */
- protected $initial_delay_seconds = 0;
- /**
- * 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;
- */
- protected $timeout_seconds = 0;
- /**
- * 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;
- */
- protected $period_seconds = 0;
- /**
- * 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;
- */
- protected $failure_threshold = 0;
- protected $probe_type;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $initial_delay_seconds
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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);
- }
-
- /**
- * 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;
- * @return int
- */
- public function getInitialDelaySeconds()
- {
- return $this->initial_delay_seconds;
- }
-
- /**
- * 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;
- * @param int $var
- * @return $this
- */
- public function setInitialDelaySeconds($var)
- {
- GPBUtil::checkInt32($var);
- $this->initial_delay_seconds = $var;
-
- return $this;
- }
-
- /**
- * 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;
- * @return int
- */
- public function getTimeoutSeconds()
- {
- return $this->timeout_seconds;
- }
-
- /**
- * 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;
- * @param int $var
- * @return $this
- */
- public function setTimeoutSeconds($var)
- {
- GPBUtil::checkInt32($var);
- $this->timeout_seconds = $var;
-
- return $this;
- }
-
- /**
- * 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;
- * @return int
- */
- public function getPeriodSeconds()
- {
- return $this->period_seconds;
- }
-
- /**
- * 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;
- * @param int $var
- * @return $this
- */
- public function setPeriodSeconds($var)
- {
- GPBUtil::checkInt32($var);
- $this->period_seconds = $var;
-
- return $this;
- }
-
- /**
- * 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;
- * @return int
- */
- public function getFailureThreshold()
- {
- return $this->failure_threshold;
- }
-
- /**
- * 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;
- * @param int $var
- * @return $this
- */
- public function setFailureThreshold($var)
- {
- GPBUtil::checkInt32($var);
- $this->failure_threshold = $var;
-
- return $this;
- }
-
- /**
- * 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;
- * @return \Google\Cloud\Run\V2\HTTPGetAction|null
- */
- public function getHttpGet()
- {
- return $this->readOneof(5);
- }
-
- public function hasHttpGet()
- {
- return $this->hasOneof(5);
- }
-
- /**
- * 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;
- * @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;
- }
-
- /**
- * 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;
- * @return \Google\Cloud\Run\V2\TCPSocketAction|null
- */
- public function getTcpSocket()
- {
- return $this->readOneof(6);
- }
-
- public function hasTcpSocket()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * 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;
- * @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;
- }
-
- /**
- * 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;
- * @return \Google\Cloud\Run\V2\GRPCAction|null
- */
- public function getGrpc()
- {
- return $this->readOneof(7);
- }
-
- public function hasGrpc()
- {
- return $this->hasOneof(7);
- }
-
- /**
- * 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;
- * @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
deleted file mode 100644
index afaab6bacefe..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/ResourceRequirements.php
+++ /dev/null
@@ -1,167 +0,0 @@
-google.cloud.run.v2.ResourceRequirements
- */
-class ResourceRequirements extends \Google\Protobuf\Internal\Message
-{
- /**
- * Only ´memory´ and 'cpu' 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 map
- */
- private $limits;
- /**
- * Determines whether CPU should be throttled or not outside of requests.
- *
- * 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' 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 - * @type bool $cpu_idle - * Determines whether CPU should be throttled or not outside of requests. - * @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' 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 map
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getLimits()
- {
- return $this->limits;
- }
-
- /**
- * Only ´memory´ and 'cpu' 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 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 should be throttled or not outside of requests.
- *
- * Generated from protobuf field bool cpu_idle = 2;
- * @return bool
- */
- public function getCpuIdle()
- {
- return $this->cpu_idle;
- }
-
- /**
- * Determines whether CPU should be throttled or not outside of requests.
- *
- * 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
deleted file mode 100644
index 7842826bdcf5..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Revision.php
+++ /dev/null
@@ -1,1241 +0,0 @@
-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`.
- *
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 = 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 = '';
- /**
- * 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. 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`.
- *
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 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 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 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`.
- *
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 = 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`.
- *
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 = 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;
- }
-
- /**
- * 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. 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
deleted file mode 100644
index 7281a6d77eb2..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionScaling.php
+++ /dev/null
@@ -1,101 +0,0 @@
-google.cloud.run.v2.RevisionScaling
- */
-class RevisionScaling extends \Google\Protobuf\Internal\Message
-{
- /**
- * Minimum number of serving instances that this resource should have.
- *
- * Generated from protobuf field int32 min_instance_count = 1;
- */
- protected $min_instance_count = 0;
- /**
- * Maximum number of serving instances that this resource should have.
- *
- * Generated from protobuf field int32 max_instance_count = 2;
- */
- protected $max_instance_count = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $min_instance_count
- * Minimum number of serving instances that this resource should have.
- * @type int $max_instance_count
- * Maximum number of serving instances that this resource should have.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Run\V2\VendorSettings::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Minimum number of serving instances that this resource should have.
- *
- * Generated from protobuf field int32 min_instance_count = 1;
- * @return int
- */
- public function getMinInstanceCount()
- {
- return $this->min_instance_count;
- }
-
- /**
- * Minimum number of serving instances that this resource should have.
- *
- * Generated from protobuf field int32 min_instance_count = 1;
- * @param int $var
- * @return $this
- */
- public function setMinInstanceCount($var)
- {
- GPBUtil::checkInt32($var);
- $this->min_instance_count = $var;
-
- return $this;
- }
-
- /**
- * Maximum number of serving instances that this resource should have.
- *
- * Generated from protobuf field int32 max_instance_count = 2;
- * @return int
- */
- public function getMaxInstanceCount()
- {
- return $this->max_instance_count;
- }
-
- /**
- * Maximum number of serving instances that this resource should have.
- *
- * Generated from protobuf field int32 max_instance_count = 2;
- * @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/RevisionTemplate.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionTemplate.php
deleted file mode 100644
index 19be6637a887..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RevisionTemplate.php
+++ /dev/null
@@ -1,610 +0,0 @@
-google.cloud.run.v2.RevisionTemplate
- */
-class RevisionTemplate extends \Google\Protobuf\Internal\Message
-{
- /**
- * 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.resource_reference) = {
- */
- protected $revision = '';
- /**
- * 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 RevisionTemplate.
- *
- * 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 RevisionTemplate. - *
This field follows Kubernetes annotations' namespacing, limits, and
- * rules.
- *
- * Generated from protobuf field map
- */
- private $annotations;
- /**
- * Scaling settings for this Revision.
- *
- * Generated from protobuf field .google.cloud.run.v2.RevisionScaling scaling = 4;
- */
- protected $scaling = null;
- /**
- * 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;
- */
- protected $vpc_access = null;
- /**
- * Max allowed time for an instance to respond to a request.
- *
- * Generated from protobuf field .google.protobuf.Duration timeout = 8;
- */
- 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. If not
- * provided, the revision will use the project's default service account.
- *
- * Generated from protobuf field string service_account = 9;
- */
- 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;
- /**
- * A list of Volumes to make available to containers.
- *
- * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 11;
- */
- private $volumes;
- /**
- * The sandbox environment to host this Revision.
- *
- * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13;
- */
- 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 = '';
- /**
- * Sets the maximum number of requests that each serving instance can receive.
- *
- * Generated from protobuf field int32 max_instance_request_concurrency = 15;
- */
- protected $max_instance_request_concurrency = 0;
- /**
- * Enable session affinity.
- *
- * Generated from protobuf field bool session_affinity = 19;
- */
- protected $session_affinity = false;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $revision
- * 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
- * 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 RevisionTemplate. - * @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 RevisionTemplate. - *
This field follows Kubernetes annotations' namespacing, limits, and
- * rules.
- * @type \Google\Cloud\Run\V2\RevisionScaling $scaling
- * Scaling settings for this Revision.
- * @type \Google\Cloud\Run\V2\VpcAccess $vpc_access
- * 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
- * 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. 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
- * A list of Volumes to make available to containers.
- * @type int $execution_environment
- * 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
- * Sets the maximum number of requests that each serving instance can receive.
- * @type bool $session_affinity
- * Enable session affinity.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Run\V2\RevisionTemplate::initOnce();
- parent::__construct($data);
- }
-
- /**
- * 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.resource_reference) = {
- * @return string
- */
- public function getRevision()
- {
- return $this->revision;
- }
-
- /**
- * 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.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setRevision($var)
- {
- GPBUtil::checkString($var, True);
- $this->revision = $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.
- *
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 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 RevisionTemplate.
- *
- * 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 RevisionTemplate. - *
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 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
- * 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.
- * @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
- * 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
- * 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\RevisionTemplate $template
- * Required. The template used to create revisions for this Service.
- * @type array<\Google\Cloud\Run\V2\TrafficTarget>|\Google\Protobuf\Internal\RepeatedField $traffic
- * 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 int|string $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`.
- * @type \Google\Cloud\Run\V2\Condition $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.
- * @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 Service does not
- * reach its Serving state. See comments in `reconciling` for additional
- * information on reconciliation process in Cloud Run.
- * @type string $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.
- * @type string $latest_created_revision
- * Output only. Name of the last created revision. See comments in
- * `reconciling` for additional information on reconciliation process in Cloud
- * Run.
- * @type array<\Google\Cloud\Run\V2\TrafficTargetStatus>|\Google\Protobuf\Internal\RepeatedField $traffic_statuses
- * Output only. Detailed status information for corresponding traffic targets.
- * See comments in `reconciling` for additional information on reconciliation
- * process in Cloud Run.
- * @type string $uri
- * Output only. The main URI in which this Service is serving traffic.
- * @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;
- }
-
- /**
- * Scaling settings for this Revision.
- *
- * Generated from protobuf field .google.cloud.run.v2.RevisionScaling scaling = 4;
- * @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 = 4;
- * @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 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;
- * @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 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;
- * @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;
- }
-
- /**
- * Max allowed time for an instance to respond to a request.
- *
- * Generated from protobuf field .google.protobuf.Duration timeout = 8;
- * @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 = 8;
- * @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. If not
- * provided, the revision will use the project's default service account.
- *
- * Generated from protobuf field string service_account = 9;
- * @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. If not
- * provided, the revision will use the project's default service account.
- *
- * Generated from protobuf field string service_account = 9;
- * @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;
- }
-
- /**
- * A list of Volumes to make available to containers.
- *
- * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 11;
- * @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 = 11;
- * @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 sandbox environment to host this Revision.
- *
- * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13;
- * @return int
- */
- public function getExecutionEnvironment()
- {
- return $this->execution_environment;
- }
-
- /**
- * The sandbox environment to host this Revision.
- *
- * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13;
- * @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;
- }
-
- /**
- * Sets the maximum number of requests that each serving instance can receive.
- *
- * Generated from protobuf field int32 max_instance_request_concurrency = 15;
- * @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 = 15;
- * @param int $var
- * @return $this
- */
- public function setMaxInstanceRequestConcurrency($var)
- {
- GPBUtil::checkInt32($var);
- $this->max_instance_request_concurrency = $var;
-
- return $this;
- }
-
- /**
- * Enable session affinity.
- *
- * Generated from protobuf field bool session_affinity = 19;
- * @return bool
- */
- public function getSessionAffinity()
- {
- return $this->session_affinity;
- }
-
- /**
- * Enable session affinity.
- *
- * Generated from protobuf field bool session_affinity = 19;
- * @param bool $var
- * @return $this
- */
- public function setSessionAffinity($var)
- {
- GPBUtil::checkBool($var);
- $this->session_affinity = $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
deleted file mode 100644
index bf51806e3bcb..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest.php
+++ /dev/null
@@ -1,215 +0,0 @@
-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
deleted file mode 100644
index 60098e2ce07b..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest/Overrides.php
+++ /dev/null
@@ -1,160 +0,0 @@
-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
deleted file mode 100644
index 9d002dff8c09..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/RunJobRequest/Overrides/ContainerOverride.php
+++ /dev/null
@@ -1,180 +0,0 @@
-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
deleted file mode 100644
index 060822bb2454..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SecretKeySelector.php
+++ /dev/null
@@ -1,121 +0,0 @@
-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
deleted file mode 100644
index 9ee40f9e029b..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/SecretVolumeSource.php
+++ /dev/null
@@ -1,221 +0,0 @@
-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 777 (a=rwx), set to 0777 (octal) or
- * 511 (base-10). 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 777 (a=rwx), set to 0777 (octal) or
- * 511 (base-10). 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 777 (a=rwx), set to 0777 (octal) or
- * 511 (base-10). 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 777 (a=rwx), set to 0777 (octal) or
- * 511 (base-10). 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
deleted file mode 100644
index 557f400f7f21..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Service.php
+++ /dev/null
@@ -1,1451 +0,0 @@
-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;
- /**
- * 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 = 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.
- *
- * 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 = '';
- /**
- * 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;
- */
- protected $ingress = 0;
- /**
- * 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;
- */
- protected $launch_stage = 0;
- /**
- * Settings for the Binary Authorization feature.
- *
- * Generated from protobuf field .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
- */
- 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;
- /**
- * 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;
- */
- private $traffic;
- /**
- * 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 = '';
- /**
- * 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. 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
- * 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;
- }
-
- /**
- * 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 = 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.
- *
- * 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.
- *
- * 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;
- }
-
- /**
- * 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;
- * @return int
- */
- public function getIngress()
- {
- return $this->ingress;
- }
-
- /**
- * 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;
- * @param int $var
- * @return $this
- */
- public function setIngress($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\IngressTraffic::class);
- $this->ingress = $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 = 16;
- * @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 = 16;
- * @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 = 17;
- * @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 = 17;
- * @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;
- }
-
- /**
- * 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;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getTraffic()
- {
- return $this->traffic;
- }
-
- /**
- * 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;
- * @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;
- }
-
- /**
- * 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];
- * @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;
- }
-
- /**
- * 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;
- * @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 arraybool 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/TCPSocketAction.php b/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TCPSocketAction.php
deleted file mode 100644
index 3b347233e649..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TCPSocketAction.php
+++ /dev/null
@@ -1,75 +0,0 @@
-google.cloud.run.v2.TCPSocketAction
- */
-class TCPSocketAction extends \Google\Protobuf\Internal\Message
-{
- /**
- * 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;
- */
- protected $port = 0;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $port
- * 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);
- }
-
- /**
- * 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;
- * @return int
- */
- public function getPort()
- {
- return $this->port;
- }
-
- /**
- * 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;
- * @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
deleted file mode 100644
index 6fe2768394c2..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Task.php
+++ /dev/null
@@ -1,1339 +0,0 @@
-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
deleted file mode 100644
index 26a5923b91a0..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TaskAttemptResult.php
+++ /dev/null
@@ -1,127 +0,0 @@
-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
deleted file mode 100644
index 0fe94d73a5c9..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TaskTemplate.php
+++ /dev/null
@@ -1,377 +0,0 @@
-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;
- /**
- * A list of Volumes to make available to containers.
- *
- * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 2;
- */
- private $volumes;
- /**
- * 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;
- */
- 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 = 5;
- */
- protected $service_account = '';
- /**
- * The execution environment being used to host this Task.
- *
- * Generated from protobuf field .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6;
- */
- 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 = '';
- /**
- * 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;
- */
- 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
- * 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
- * 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
- * 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 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
- * 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;
- }
-
- /**
- * A list of Volumes to make available to containers.
- *
- * Generated from protobuf field repeated .google.cloud.run.v2.Volume volumes = 2;
- * @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 = 2;
- * @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;
- }
-
- /**
- * 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;
- * @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.
- * Defaults to 600 seconds.
- *
- * 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;
- }
-
- /**
- * 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;
- * @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 = 5;
- * @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 = 6;
- * @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 = 6;
- * @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;
- }
-
- /**
- * 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;
- * @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 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;
- * @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
deleted file mode 100644
index b4264dd3a661..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTarget.php
+++ /dev/null
@@ -1,182 +0,0 @@
-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
deleted file mode 100644
index f8b35045a421..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTargetAllocationType.php
+++ /dev/null
@@ -1,61 +0,0 @@
-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
deleted file mode 100644
index b03251c15e89..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/TrafficTargetStatus.php
+++ /dev/null
@@ -1,203 +0,0 @@
-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
deleted file mode 100644
index c64cc556b577..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/UpdateJobRequest.php
+++ /dev/null
@@ -1,170 +0,0 @@
-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;
- /**
- * 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;
- */
- 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
- * 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;
- }
-
- /**
- * 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;
- * @return bool
- */
- public function getAllowMissing()
- {
- return $this->allow_missing;
- }
-
- /**
- * 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;
- * @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
deleted file mode 100644
index 2982f8686b09..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/UpdateServiceRequest.php
+++ /dev/null
@@ -1,170 +0,0 @@
-google.cloud.run.v2.UpdateServiceRequest
- */
-class UpdateServiceRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * 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;
- /**
- * 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;
- */
- 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);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @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
- * 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);
- }
-
- /**
- * 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;
- }
-
- /**
- * 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;
- * @return bool
- */
- public function getAllowMissing()
- {
- return $this->allow_missing;
- }
-
- /**
- * 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;
- * @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
deleted file mode 100644
index 0b16674ef3ea..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VersionToPath.php
+++ /dev/null
@@ -1,192 +0,0 @@
-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 777 (a=rwx), set to 0777 (octal) or
- * 511 (base-10). 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 777 (a=rwx), set to 0777 (octal) or
- * 511 (base-10). 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 777 (a=rwx), set to 0777 (octal) or
- * 511 (base-10). 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 777 (a=rwx), set to 0777 (octal) or
- * 511 (base-10). 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
deleted file mode 100644
index 495121ce14be..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/Volume.php
+++ /dev/null
@@ -1,181 +0,0 @@
-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.
- * }
- */
- 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;
- }
-
- /**
- * @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
deleted file mode 100644
index 979b27f20847..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VolumeMount.php
+++ /dev/null
@@ -1,117 +0,0 @@
-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
deleted file mode 100644
index 1277f070dec8..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VpcAccess.php
+++ /dev/null
@@ -1,160 +0,0 @@
-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 = '';
- /**
- * 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;
- */
- protected $egress = 0;
- /**
- * 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;
- */
- 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
- * 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
- * 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;
- }
-
- /**
- * 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;
- * @return int
- */
- public function getEgress()
- {
- return $this->egress;
- }
-
- /**
- * 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;
- * @param int $var
- * @return $this
- */
- public function setEgress($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Run\V2\VpcAccess\VpcEgress::class);
- $this->egress = $var;
-
- return $this;
- }
-
- /**
- * 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;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getNetworkInterfaces()
- {
- return $this->network_interfaces;
- }
-
- /**
- * 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;
- * @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
deleted file mode 100644
index 7cb3099d49a6..000000000000
--- a/owl-bot-staging/Run/v2/proto/src/Google/Cloud/Run/V2/VpcAccess/NetworkInterface.php
+++ /dev/null
@@ -1,170 +0,0 @@
-google.cloud.run.v2.VpcAccess.NetworkInterface
- */
-class NetworkInterface extends \Google\Protobuf\Internal\Message
-{
- /**
- * 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;
- */
- protected $network = '';
- /**
- * 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;
- */
- protected $subnetwork = '';
- /**
- * Network tags applied to this Cloud Run resource.
- *
- * Generated from protobuf field repeated string tags = 3;
- */
- private $tags;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $network
- * 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
- * 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;
- * @return string
- */
- public function getNetwork()
- {
- return $this->network;
- }
-
- /**
- * 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;
- * @param string $var
- * @return $this
- */
- public function setNetwork($var)
- {
- GPBUtil::checkString($var, True);
- $this->network = $var;
-
- return $this;
- }
-
- /**
- * 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;
- * @return string
- */
- public function getSubnetwork()
- {
- return $this->subnetwork;
- }
-
- /**
- * 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;
- * @param string $var
- * @return $this
- */
- public function setSubnetwork($var)
- {
- GPBUtil::checkString($var, True);
- $this->subnetwork = $var;
-
- return $this;
- }
-
- /**
- * Network tags applied to this Cloud Run resource.
- *
- * Generated from protobuf field repeated string tags = 3;
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getTags()
- {
- return $this->tags;
- }
-
- /**
- * Network tags applied to this Cloud Run resource.
- *
- * Generated from protobuf field repeated string tags = 3;
- * @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/ExecutionsClient/cancel_execution.php b/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/cancel_execution.php
deleted file mode 100644
index 61b9c1a2bcf0..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/cancel_execution.php
+++ /dev/null
@@ -1,86 +0,0 @@
-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
deleted file mode 100644
index b7d56f3f42e3..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/delete_execution.php
+++ /dev/null
@@ -1,86 +0,0 @@
-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
deleted file mode 100644
index 1b52474abe00..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/get_execution.php
+++ /dev/null
@@ -1,74 +0,0 @@
-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
deleted file mode 100644
index 0095869eaa9f..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ExecutionsClient/list_executions.php
+++ /dev/null
@@ -1,79 +0,0 @@
-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
deleted file mode 100644
index 75b4d85970f0..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/JobsClient/create_job.php
+++ /dev/null
@@ -1,97 +0,0 @@
-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
deleted file mode 100644
index 8ee0e47aac5d..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/JobsClient/delete_job.php
+++ /dev/null
@@ -1,85 +0,0 @@
-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
deleted file mode 100644
index 0a97629b2fef..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/JobsClient/get_iam_policy.php
+++ /dev/null
@@ -1,72 +0,0 @@
-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
deleted file mode 100644
index 71b690bb6b52..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/JobsClient/get_job.php
+++ /dev/null
@@ -1,73 +0,0 @@
-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
deleted file mode 100644
index dcd28c779774..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/JobsClient/list_jobs.php
+++ /dev/null
@@ -1,78 +0,0 @@
-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
deleted file mode 100644
index e5e093eb8f0c..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/JobsClient/run_job.php
+++ /dev/null
@@ -1,85 +0,0 @@
-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
deleted file mode 100644
index fe3a048818a6..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/JobsClient/set_iam_policy.php
+++ /dev/null
@@ -1,74 +0,0 @@
-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
deleted file mode 100644
index d9e56fd4485e..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/JobsClient/test_iam_permissions.php
+++ /dev/null
@@ -1,80 +0,0 @@
-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
deleted file mode 100644
index f7d982356bb1..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/JobsClient/update_job.php
+++ /dev/null
@@ -1,77 +0,0 @@
-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
deleted file mode 100644
index 0c2253289a08..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/delete_revision.php
+++ /dev/null
@@ -1,90 +0,0 @@
-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
deleted file mode 100644
index a73c26bb72db..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/get_revision.php
+++ /dev/null
@@ -1,78 +0,0 @@
-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
deleted file mode 100644
index c11453cd45b4..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/RevisionsClient/list_revisions.php
+++ /dev/null
@@ -1,79 +0,0 @@
-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
deleted file mode 100644
index 4efa89a6a82d..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/create_service.php
+++ /dev/null
@@ -1,95 +0,0 @@
-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
deleted file mode 100644
index 3ade3bab316f..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/delete_service.php
+++ /dev/null
@@ -1,87 +0,0 @@
-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
deleted file mode 100644
index fa330d7d73fc..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/get_iam_policy.php
+++ /dev/null
@@ -1,72 +0,0 @@
-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
deleted file mode 100644
index 2ba90577df7d..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/get_service.php
+++ /dev/null
@@ -1,73 +0,0 @@
-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
deleted file mode 100644
index 111c32b12435..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/list_services.php
+++ /dev/null
@@ -1,79 +0,0 @@
-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
deleted file mode 100644
index c2350c114053..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/set_iam_policy.php
+++ /dev/null
@@ -1,74 +0,0 @@
-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
deleted file mode 100644
index c2f20ae4ab4b..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/test_iam_permissions.php
+++ /dev/null
@@ -1,80 +0,0 @@
-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
deleted file mode 100644
index 7000db49c0b8..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/ServicesClient/update_service.php
+++ /dev/null
@@ -1,74 +0,0 @@
-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
deleted file mode 100644
index 40f0ffacf516..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/TasksClient/get_task.php
+++ /dev/null
@@ -1,73 +0,0 @@
-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
deleted file mode 100644
index fafaa1291954..000000000000
--- a/owl-bot-staging/Run/v2/samples/V2/TasksClient/list_tasks.php
+++ /dev/null
@@ -1,79 +0,0 @@
-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/BaseClient/ExecutionsBaseClient.php b/owl-bot-staging/Run/v2/src/V2/Client/BaseClient/ExecutionsBaseClient.php
deleted file mode 100644
index 6efa9f930102..000000000000
--- a/owl-bot-staging/Run/v2/src/V2/Client/BaseClient/ExecutionsBaseClient.php
+++ /dev/null
@@ -1,381 +0,0 @@
- self::SERVICE_NAME,
- 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT,
- 'clientConfig' => __DIR__ . '/../../resources/executions_client_config.json',
- 'descriptorsConfigPath' => __DIR__ . '/../../resources/executions_descriptor_config.php',
- 'gcpApiConfigPath' => __DIR__ . '/../../resources/executions_grpc_config.json',
- 'credentialsConfig' => [
- 'defaultScopes' => self::$serviceScopes,
- ],
- 'transportConfig' => [
- 'rest' => [
- 'restClientConfigPath' => __DIR__ . '/../../resources/executions_rest_client_config.php',
- ],
- ],
- ];
- }
-
- /**
- * Return an OperationsClient object with the same endpoint as $this.
- *
- * @return OperationsClient
- */
- public function getOperationsClient()
- {
- return $this->operationsClient;
- }
-
- /**
- * Resume an existing long running operation that was previously started by a long
- * running API method. If $methodName is not provided, or does not match a long
- * running API method, then the operation can still be resumed, but the
- * OperationResponse object will not deserialize the final response.
- *
- * @param string $operationName The name of the long running operation
- * @param string $methodName The name of the method used to start the operation
- *
- * @return OperationResponse
- */
- public function resumeOperation($operationName, $methodName = null)
- {
- $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : [];
- $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options);
- $operation->reload();
- return $operation;
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a execution
- * resource.
- *
- * @param string $project
- * @param string $location
- * @param string $job
- * @param string $execution
- *
- * @return string The formatted execution resource.
- */
- public static function executionName(string $project, string $location, string $job, string $execution): string
- {
- return self::getPathTemplate('execution')->render([
- 'project' => $project,
- 'location' => $location,
- 'job' => $job,
- 'execution' => $execution,
- ]);
- }
-
- /**
- * Formats a string containing the fully-qualified path to represent a job
- * resource.
- *
- * @param string $project
- * @param string $location
- * @param string $job
- *
- * @return string The formatted job resource.
- */
- public static function jobName(string $project, string $location, string $job): string
- {
- return self::getPathTemplate('job')->render([
- 'project' => $project,
- 'location' => $location,
- 'job' => $job,
- ]);
- }
-
- /**
- * Parses a formatted name string and returns an associative array of the components in the name.
- * The following name formats are supported:
- * Template: Pattern
- * - execution: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
- * - job: projects/{project}/locations/{location}/jobs/{job}
- *
- * 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 "