google-cloud-run-v2 0.30.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -6
  3. data/lib/google/cloud/run/v2/build_pb.rb +1 -1
  4. data/lib/google/cloud/run/v2/builds/client.rb +2 -2
  5. data/lib/google/cloud/run/v2/builds/credentials.rb +2 -1
  6. data/lib/google/cloud/run/v2/builds/rest/client.rb +2 -2
  7. data/lib/google/cloud/run/v2/condition_pb.rb +2 -1
  8. data/lib/google/cloud/run/v2/execution_pb.rb +1 -1
  9. data/lib/google/cloud/run/v2/execution_template_pb.rb +1 -1
  10. data/lib/google/cloud/run/v2/executions/credentials.rb +3 -1
  11. data/lib/google/cloud/run/v2/instance_pb.rb +7 -1
  12. data/lib/google/cloud/run/v2/instance_services_pb.rb +14 -2
  13. data/lib/google/cloud/run/v2/instances/client.rb +424 -12
  14. data/lib/google/cloud/run/v2/instances/credentials.rb +3 -1
  15. data/lib/google/cloud/run/v2/instances/rest/client.rb +393 -12
  16. data/lib/google/cloud/run/v2/instances/rest/service_stub.rb +247 -0
  17. data/lib/google/cloud/run/v2/job_pb.rb +1 -1
  18. data/lib/google/cloud/run/v2/jobs/client.rb +2 -1
  19. data/lib/google/cloud/run/v2/jobs/credentials.rb +3 -1
  20. data/lib/google/cloud/run/v2/jobs/rest/client.rb +2 -1
  21. data/lib/google/cloud/run/v2/k8s.min_pb.rb +3 -1
  22. data/lib/google/cloud/run/v2/rest.rb +1 -0
  23. data/lib/google/cloud/run/v2/revision_pb.rb +2 -1
  24. data/lib/google/cloud/run/v2/revision_template_pb.rb +2 -1
  25. data/lib/google/cloud/run/v2/revisions/credentials.rb +3 -1
  26. data/lib/google/cloud/run/v2/sandbox_pb.rb +25 -0
  27. data/lib/google/cloud/run/v2/service_pb.rb +1 -1
  28. data/lib/google/cloud/run/v2/services/client.rb +12 -2
  29. data/lib/google/cloud/run/v2/services/credentials.rb +3 -1
  30. data/lib/google/cloud/run/v2/services/rest/client.rb +12 -2
  31. data/lib/google/cloud/run/v2/source_upload/client.rb +505 -0
  32. data/lib/google/cloud/run/v2/source_upload/credentials.rb +48 -0
  33. data/lib/google/cloud/run/v2/source_upload/paths.rb +69 -0
  34. data/lib/google/cloud/run/v2/source_upload/rest/client.rb +452 -0
  35. data/lib/google/cloud/run/v2/source_upload/rest/service_stub.rb +143 -0
  36. data/lib/google/cloud/run/v2/source_upload/rest.rb +53 -0
  37. data/lib/google/cloud/run/v2/source_upload.rb +56 -0
  38. data/lib/google/cloud/run/v2/source_upload_pb.rb +29 -0
  39. data/lib/google/cloud/run/v2/source_upload_services_pb.rb +52 -0
  40. data/lib/google/cloud/run/v2/task_pb.rb +2 -1
  41. data/lib/google/cloud/run/v2/task_template_pb.rb +2 -1
  42. data/lib/google/cloud/run/v2/tasks/credentials.rb +3 -1
  43. data/lib/google/cloud/run/v2/vendor_settings_pb.rb +6 -1
  44. data/lib/google/cloud/run/v2/version.rb +1 -1
  45. data/lib/google/cloud/run/v2/worker_pool_pb.rb +1 -1
  46. data/lib/google/cloud/run/v2/worker_pool_revision_template_pb.rb +2 -1
  47. data/lib/google/cloud/run/v2/worker_pools/client.rb +2 -1
  48. data/lib/google/cloud/run/v2/worker_pools/credentials.rb +3 -1
  49. data/lib/google/cloud/run/v2/worker_pools/rest/client.rb +2 -1
  50. data/lib/google/cloud/run/v2.rb +1 -0
  51. data/proto_docs/google/cloud/run/v2/build.rb +2 -2
  52. data/proto_docs/google/cloud/run/v2/condition.rb +29 -3
  53. data/proto_docs/google/cloud/run/v2/execution.rb +7 -1
  54. data/proto_docs/google/cloud/run/v2/execution_template.rb +10 -0
  55. data/proto_docs/google/cloud/run/v2/instance.rb +74 -32
  56. data/proto_docs/google/cloud/run/v2/job.rb +9 -1
  57. data/proto_docs/google/cloud/run/v2/k8s.min.rb +78 -16
  58. data/proto_docs/google/cloud/run/v2/revision.rb +17 -2
  59. data/proto_docs/google/cloud/run/v2/revision_template.rb +16 -1
  60. data/proto_docs/google/cloud/run/v2/sandbox.rb +67 -0
  61. data/proto_docs/google/cloud/run/v2/service.rb +18 -1
  62. data/proto_docs/google/cloud/run/v2/source_upload.rb +48 -0
  63. data/proto_docs/google/cloud/run/v2/task.rb +6 -0
  64. data/proto_docs/google/cloud/run/v2/task_template.rb +6 -0
  65. data/proto_docs/google/cloud/run/v2/vendor_settings.rb +80 -2
  66. data/proto_docs/google/cloud/run/v2/worker_pool.rb +2 -1
  67. data/proto_docs/google/cloud/run/v2/worker_pool_revision_template.rb +9 -0
  68. metadata +13 -1
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/run/v2/version"
24
+
25
+ require "google/cloud/run/v2/source_upload/credentials"
26
+ require "google/cloud/run/v2/source_upload/paths"
27
+ require "google/cloud/run/v2/source_upload/client"
28
+ require "google/cloud/run/v2/source_upload/rest"
29
+
30
+ module Google
31
+ module Cloud
32
+ module Run
33
+ module V2
34
+ ##
35
+ # The Cloud Run Source Upload API allows you to upload source code to deploy
36
+ # Cloud Run resources.
37
+ #
38
+ # @example Load this service and instantiate a gRPC client
39
+ #
40
+ # require "google/cloud/run/v2/source_upload"
41
+ # client = ::Google::Cloud::Run::V2::SourceUpload::Client.new
42
+ #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/cloud/run/v2/source_upload/rest"
46
+ # client = ::Google::Cloud::Run::V2::SourceUpload::Rest::Client.new
47
+ #
48
+ module SourceUpload
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+
55
+ helper_path = ::File.join __dir__, "source_upload", "helpers.rb"
56
+ require "google/cloud/run/v2/source_upload/helpers" if ::File.file? helper_path
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/run/v2/source_upload.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/api/routing_pb'
12
+ require 'google/cloud/run/v2/k8s.min_pb'
13
+
14
+
15
+ descriptor_data = "\n\'google/cloud/run/v2/source_upload.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a!google/cloud/run/v2/k8s.min.proto\"\x8f\x01\n\x13UploadSourceRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x32\n\x07service\x18\x02 \x01(\tB\x1f\xfa\x41\x1c\n\x1arun.googleapis.com/ServiceH\x00\x42\x08\n\x06target\"h\n\x14UploadSourceResponse\x12P\n\x14\x63loud_storage_source\x18\x03 \x01(\x0b\x32\x32.google.cloud.run.v2.SourceCode.CloudStorageSource2\xd9\x02\n\x0cSourceUpload\x12\xdc\x01\n\x0cUploadSource\x12(.google.cloud.run.v2.UploadSourceRequest\x1a).google.cloud.run.v2.UploadSourceResponse\"w\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\"0/v2/{parent=projects/*/locations/*}:uploadSource:\x01*\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x1aj\xca\x41\x12run.googleapis.com\xd2\x41Rhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/runBY\n\x17\x63om.google.cloud.run.v2B\x11SourceUploadProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
16
+
17
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
+ pool.add_serialized_file(descriptor_data)
19
+
20
+ module Google
21
+ module Cloud
22
+ module Run
23
+ module V2
24
+ UploadSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.UploadSourceRequest").msgclass
25
+ UploadSourceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.UploadSourceResponse").msgclass
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,52 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/run/v2/source_upload.proto for package 'google.cloud.run.v2'
3
+ # Original file comments:
4
+ # Copyright 2026 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/run/v2/source_upload_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Run
25
+ module V2
26
+ module SourceUpload
27
+ # The Cloud Run Source Upload API allows you to upload source code to deploy
28
+ # Cloud Run resources.
29
+ class Service
30
+
31
+ include ::GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.cloud.run.v2.SourceUpload'
36
+
37
+ # Uploads a source archive to a Google Cloud Storage bucket through Cloud
38
+ # Run. The uploaded source object should be used for Cloud Run resource
39
+ # deployments. User is responsible for managing the lifecycle of the uploaded
40
+ # object.
41
+ # If uploading through the Cloud Run API to Cloud Storage is not desired, you
42
+ # can use the IAM Deny Policy to deny the `run.locations.uploadSource`
43
+ # permission for all principals.
44
+ rpc :UploadSource, ::Google::Cloud::Run::V2::UploadSourceRequest, ::Google::Cloud::Run::V2::UploadSourceResponse
45
+ end
46
+
47
+ Stub = Service.rpc_stub_class
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
@@ -10,13 +10,14 @@ require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
11
  require 'google/cloud/run/v2/condition_pb'
12
12
  require 'google/cloud/run/v2/k8s.min_pb'
13
+ require 'google/cloud/run/v2/sandbox_pb'
13
14
  require 'google/cloud/run/v2/vendor_settings_pb'
14
15
  require 'google/protobuf/duration_pb'
15
16
  require 'google/protobuf/timestamp_pb'
16
17
  require 'google/rpc/status_pb'
17
18
 
18
19
 
19
- descriptor_data = "\n\x1egoogle/cloud/run/v2/task.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/run/v2/condition.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"@\n\x0eGetTaskRequest\x12.\n\x04name\x18\x01 \x01(\tB \xe2\x41\x01\x02\xfa\x41\x19\n\x17run.googleapis.com/Task\"\x81\x01\n\x10ListTasksRequest\x12\x30\n\x06parent\x18\x01 \x01(\tB \xe2\x41\x01\x02\xfa\x41\x19\x12\x17run.googleapis.com/Task\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"V\n\x11ListTasksResponse\x12(\n\x05tasks\x18\x01 \x03(\x0b\x32\x19.google.cloud.run.v2.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe6\r\n\x04Task\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x11\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\ngeneration\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12;\n\x06labels\x18\x04 \x03(\x0b\x32%.google.cloud.run.v2.Task.LabelsEntryB\x04\xe2\x41\x01\x03\x12\x45\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32*.google.cloud.run.v2.Task.AnnotationsEntryB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x38\n\x0escheduled_time\x18\" \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x34\n\nstart_time\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x39\n\x0f\x63ompletion_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12,\n\x03job\x18\x0c \x01(\tB\x1f\xe2\x41\x01\x03\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x38\n\texecution\x18\r \x01(\tB%\xe2\x41\x01\x03\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x32\n\ncontainers\x18\x0e \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12,\n\x07volumes\x18\x0f \x03(\x0b\x32\x1b.google.cloud.run.v2.Volume\x12\x13\n\x0bmax_retries\x18\x10 \x01(\x05\x12*\n\x07timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x17\n\x0fservice_account\x18\x12 \x01(\t\x12H\n\x15\x65xecution_environment\x18\x14 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironment\x12\x19\n\x0breconciling\x18\x15 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18\x16 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12!\n\x13observed_generation\x18\x17 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x13\n\x05index\x18\x18 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x15\n\x07retried\x18\x19 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12I\n\x13last_attempt_result\x18\x1a \x01(\x0b\x32&.google.cloud.run.v2.TaskAttemptResultB\x04\xe2\x41\x01\x03\x12\x42\n\x0e\x65ncryption_key\x18\x1c \x01(\tB*\xe2\x41\x01\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x38\n\nvpc_access\x18\x1d \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x03\x12\x15\n\x07log_uri\x18 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18! \x01(\x08\x42\x04\xe2\x41\x01\x03\x12>\n\rnode_selector\x18$ \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x03\x12\x31\n\x1dgpu_zonal_redundancy_disabled\x18% \x01(\x08\x42\x05\xe2\x41\x02\x01\x03H\x00\x88\x01\x01\x12\x12\n\x04\x65tag\x18\x63 \x01(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:w\xea\x41t\n\x17run.googleapis.com/Task\x12Vprojects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}R\x01\x01\x42 \n\x1e_gpu_zonal_redundancy_disabled\"q\n\x11TaskAttemptResult\x12(\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.StatusB\x04\xe2\x41\x01\x03\x12\x17\n\texit_code\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0bterm_signal\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x03\x32\x96\x03\n\x05Tasks\x12\x97\x01\n\x07GetTask\x12#.google.cloud.run.v2.GetTaskRequest\x1a\x19.google.cloud.run.v2.Task\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v2/{name=projects/*/locations/*/jobs/*/executions/*/tasks/*}\x12\xaa\x01\n\tListTasks\x12%.google.cloud.run.v2.ListTasksRequest\x1a&.google.cloud.run.v2.ListTasksResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v2/{parent=projects/*/locations/*/jobs/*/executions/*}/tasks\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBQ\n\x17\x63om.google.cloud.run.v2B\tTaskProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
20
+ descriptor_data = "\n\x1egoogle/cloud/run/v2/task.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/run/v2/condition.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a!google/cloud/run/v2/sandbox.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"@\n\x0eGetTaskRequest\x12.\n\x04name\x18\x01 \x01(\tB \xe2\x41\x01\x02\xfa\x41\x19\n\x17run.googleapis.com/Task\"\x81\x01\n\x10ListTasksRequest\x12\x30\n\x06parent\x18\x01 \x01(\tB \xe2\x41\x01\x02\xfa\x41\x19\x12\x17run.googleapis.com/Task\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"V\n\x11ListTasksResponse\x12(\n\x05tasks\x18\x01 \x03(\x0b\x32\x19.google.cloud.run.v2.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x0e\n\x04Task\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x11\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\ngeneration\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12;\n\x06labels\x18\x04 \x03(\x0b\x32%.google.cloud.run.v2.Task.LabelsEntryB\x04\xe2\x41\x01\x03\x12\x45\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32*.google.cloud.run.v2.Task.AnnotationsEntryB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x38\n\x0escheduled_time\x18\" \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x34\n\nstart_time\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x39\n\x0f\x63ompletion_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12,\n\x03job\x18\x0c \x01(\tB\x1f\xe2\x41\x01\x03\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x38\n\texecution\x18\r \x01(\tB%\xe2\x41\x01\x03\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x32\n\ncontainers\x18\x0e \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12<\n\tsandboxes\x18( \x01(\x0b\x32).google.cloud.run.v2.SandboxConfiguration\x12,\n\x07volumes\x18\x0f \x03(\x0b\x32\x1b.google.cloud.run.v2.Volume\x12\x13\n\x0bmax_retries\x18\x10 \x01(\x05\x12*\n\x07timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x17\n\x0fservice_account\x18\x12 \x01(\t\x12H\n\x15\x65xecution_environment\x18\x14 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironment\x12\x19\n\x0breconciling\x18\x15 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18\x16 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12!\n\x13observed_generation\x18\x17 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x13\n\x05index\x18\x18 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x15\n\x07retried\x18\x19 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12I\n\x13last_attempt_result\x18\x1a \x01(\x0b\x32&.google.cloud.run.v2.TaskAttemptResultB\x04\xe2\x41\x01\x03\x12\x42\n\x0e\x65ncryption_key\x18\x1c \x01(\tB*\xe2\x41\x01\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x38\n\nvpc_access\x18\x1d \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x03\x12\x15\n\x07log_uri\x18 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18! \x01(\x08\x42\x04\xe2\x41\x01\x03\x12>\n\rnode_selector\x18$ \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x03\x12\x31\n\x1dgpu_zonal_redundancy_disabled\x18% \x01(\x08\x42\x05\xe2\x41\x02\x01\x03H\x00\x88\x01\x01\x12S\n\x18workload_identity_config\x18& \x01(\x0b\x32+.google.cloud.run.v2.WorkloadIdentityConfigB\x04\xe2\x41\x01\x01\x12\x12\n\x04\x65tag\x18\x63 \x01(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:w\xea\x41t\n\x17run.googleapis.com/Task\x12Vprojects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}R\x01\x01\x42 \n\x1e_gpu_zonal_redundancy_disabled\"q\n\x11TaskAttemptResult\x12(\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.StatusB\x04\xe2\x41\x01\x03\x12\x17\n\texit_code\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0bterm_signal\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x03\x32\xe8\x03\n\x05Tasks\x12\x97\x01\n\x07GetTask\x12#.google.cloud.run.v2.GetTaskRequest\x1a\x19.google.cloud.run.v2.Task\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v2/{name=projects/*/locations/*/jobs/*/executions/*/tasks/*}\x12\xaa\x01\n\tListTasks\x12%.google.cloud.run.v2.ListTasksRequest\x1a&.google.cloud.run.v2.ListTasksResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v2/{parent=projects/*/locations/*/jobs/*/executions/*}/tasks\x1a\x97\x01\xca\x41\x12run.googleapis.com\xd2\x41\x7fhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/run,https://www.googleapis.com/auth/run.readonlyBQ\n\x17\x63om.google.cloud.run.v2B\tTaskProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
20
21
 
21
22
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
22
23
  pool.add_serialized_file(descriptor_data)
@@ -7,11 +7,12 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
  require 'google/cloud/run/v2/k8s.min_pb'
10
+ require 'google/cloud/run/v2/sandbox_pb'
10
11
  require 'google/cloud/run/v2/vendor_settings_pb'
11
12
  require 'google/protobuf/duration_pb'
12
13
 
13
14
 
14
- descriptor_data = "\n\'google/cloud/run/v2/task_template.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\"\xc7\x04\n\x0cTaskTemplate\x12\x32\n\ncontainers\x18\x01 \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12\x32\n\x07volumes\x18\x02 \x03(\x0b\x32\x1b.google.cloud.run.v2.VolumeB\x04\xe2\x41\x01\x01\x12\x15\n\x0bmax_retries\x18\x03 \x01(\x05H\x00\x12\x30\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fservice_account\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12N\n\x15\x65xecution_environment\x18\x06 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironmentB\x04\xe2\x41\x01\x01\x12>\n\x0e\x65ncryption_key\x18\x07 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x38\n\nvpc_access\x18\x08 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x01\x12>\n\rnode_selector\x18\x0b \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x01\x12\x30\n\x1dgpu_zonal_redundancy_disabled\x18\x0c \x01(\x08\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x42\t\n\x07retriesB \n\x1e_gpu_zonal_redundancy_disabledBY\n\x17\x63om.google.cloud.run.v2B\x11TaskTemplateProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
15
+ descriptor_data = "\n\'google/cloud/run/v2/task_template.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a!google/cloud/run/v2/sandbox.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe0\x05\n\x0cTaskTemplate\x12\x32\n\ncontainers\x18\x01 \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12\x42\n\tsandboxes\x18\x0f \x01(\x0b\x32).google.cloud.run.v2.SandboxConfigurationB\x04\xe2\x41\x01\x01\x12\x32\n\x07volumes\x18\x02 \x03(\x0b\x32\x1b.google.cloud.run.v2.VolumeB\x04\xe2\x41\x01\x01\x12\x15\n\x0bmax_retries\x18\x03 \x01(\x05H\x00\x12\x30\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fservice_account\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12N\n\x15\x65xecution_environment\x18\x06 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironmentB\x04\xe2\x41\x01\x01\x12>\n\x0e\x65ncryption_key\x18\x07 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x38\n\nvpc_access\x18\x08 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x01\x12>\n\rnode_selector\x18\x0b \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x01\x12\x30\n\x1dgpu_zonal_redundancy_disabled\x18\x0c \x01(\x08\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12S\n\x18workload_identity_config\x18\r \x01(\x0b\x32+.google.cloud.run.v2.WorkloadIdentityConfigB\x04\xe2\x41\x01\x01\x42\t\n\x07retriesB \n\x1e_gpu_zonal_redundancy_disabledBY\n\x17\x63om.google.cloud.run.v2B\x11TaskTemplateProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
15
16
 
16
17
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
18
  pool.add_serialized_file(descriptor_data)
@@ -26,7 +26,9 @@ module Google
26
26
  # Credentials for the Tasks API.
27
27
  class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
- "https://www.googleapis.com/auth/cloud-platform"
29
+ "https://www.googleapis.com/auth/cloud-platform",
30
+ "https://www.googleapis.com/auth/run",
31
+ "https://www.googleapis.com/auth/run.readonly"
30
32
  ]
31
33
  self.env_vars = [
32
34
  "GOOGLE_CLOUD_CREDENTIALS",
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n)google/cloud/run/v2/vendor_settings.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x86\x03\n\tVpcAccess\x12:\n\tconnector\x18\x01 \x01(\tB\'\xfa\x41$\n\"vpcaccess.googleapis.com/Connector\x12>\n\x06\x65gress\x18\x02 \x01(\x0e\x32(.google.cloud.run.v2.VpcAccess.VpcEgressB\x04\xe2\x41\x01\x01\x12Q\n\x12network_interfaces\x18\x03 \x03(\x0b\x32/.google.cloud.run.v2.VpcAccess.NetworkInterfaceB\x04\xe2\x41\x01\x01\x1aW\n\x10NetworkInterface\x12\x15\n\x07network\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nsubnetwork\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04tags\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\"Q\n\tVpcEgress\x12\x1a\n\x16VPC_EGRESS_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x01\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x02\"\xb3\x01\n\x13\x42inaryAuthorization\x12\x1b\n\x0buse_default\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x12\x44\n\x06policy\x18\x03 \x01(\tB2\xe2\x41\x01\x01\xfa\x41+\n)binaryauthorization.googleapis.com/PolicyH\x00\x12&\n\x18\x62reakglass_justification\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x42\x11\n\x0f\x62inauthz_method\"U\n\x0fRevisionScaling\x12 \n\x12min_instance_count\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12 \n\x12max_instance_count\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\"E\n\x0bServiceMesh\x12\x36\n\x04mesh\x18\x01 \x01(\tB(\xfa\x41%\n#networkservices.googleapis.com/Mesh\"\xad\x02\n\x0eServiceScaling\x12 \n\x12min_instance_count\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12K\n\x0cscaling_mode\x18\x03 \x01(\x0e\x32/.google.cloud.run.v2.ServiceScaling.ScalingModeB\x04\xe2\x41\x01\x01\x12 \n\x12max_instance_count\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12(\n\x15manual_instance_count\x18\x06 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\"F\n\x0bScalingMode\x12\x1c\n\x18SCALING_MODE_UNSPECIFIED\x10\x00\x12\r\n\tAUTOMATIC\x10\x01\x12\n\n\x06MANUAL\x10\x02\x42\x18\n\x16_manual_instance_count\"W\n\x11WorkerPoolScaling\x12(\n\x15manual_instance_count\x18\x06 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x42\x18\n\x16_manual_instance_count\")\n\x0cNodeSelector\x12\x19\n\x0b\x61\x63\x63\x65lerator\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\xde\x03\n\x0b\x42uildConfig\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x03\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\x0fsource_location\x18\x02 \x01(\t\x12\x1d\n\x0f\x66unction_target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\timage_uri\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nbase_image\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12&\n\x18\x65nable_automatic_updates\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12G\n\x0bworker_pool\x18\x07 \x01(\tB2\xe2\x41\x01\x01\xfa\x41+\n)cloudbuild.googleapis.com/BuildWorkerPool\x12_\n\x15\x65nvironment_variables\x18\x08 \x03(\x0b\x32:.google.cloud.run.v2.BuildConfig.EnvironmentVariablesEntryB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fservice_account\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*\xb3\x01\n\x0eIngressTraffic\x12\x1f\n\x1bINGRESS_TRAFFIC_UNSPECIFIED\x10\x00\x12\x17\n\x13INGRESS_TRAFFIC_ALL\x10\x01\x12!\n\x1dINGRESS_TRAFFIC_INTERNAL_ONLY\x10\x02\x12*\n&INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER\x10\x03\x12\x18\n\x14INGRESS_TRAFFIC_NONE\x10\x04*}\n\x14\x45xecutionEnvironment\x12%\n!EXECUTION_ENVIRONMENT_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x45XECUTION_ENVIRONMENT_GEN1\x10\x01\x12\x1e\n\x1a\x45XECUTION_ENVIRONMENT_GEN2\x10\x02*p\n\x1d\x45ncryptionKeyRevocationAction\x12\x30\n,ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPREVENT_NEW\x10\x01\x12\x0c\n\x08SHUTDOWN\x10\x02\x42\xfc\x02\n\x17\x63om.google.cloud.run.v2B\x13VendorSettingsProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpb\xea\x41\x63\n)binaryauthorization.googleapis.com/Policy\x12\x19projects/{project}/policy\x12\x1blocations/{location}/policy\xea\x41\\\n#networkservices.googleapis.com/Mesh\x12\x35projects/{project}/locations/{location}/meshes/{mesh}\xea\x41Y\n\x1f\x63loudbuild.googleapis.com/Build\x12\x36projects/{project}/locations/{location}/builds/{build}b\x06proto3"
11
+ descriptor_data = "\n)google/cloud/run/v2/vendor_settings.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x86\x03\n\tVpcAccess\x12:\n\tconnector\x18\x01 \x01(\tB\'\xfa\x41$\n\"vpcaccess.googleapis.com/Connector\x12>\n\x06\x65gress\x18\x02 \x01(\x0e\x32(.google.cloud.run.v2.VpcAccess.VpcEgressB\x04\xe2\x41\x01\x01\x12Q\n\x12network_interfaces\x18\x03 \x03(\x0b\x32/.google.cloud.run.v2.VpcAccess.NetworkInterfaceB\x04\xe2\x41\x01\x01\x1aW\n\x10NetworkInterface\x12\x15\n\x07network\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nsubnetwork\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04tags\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\"Q\n\tVpcEgress\x12\x1a\n\x16VPC_EGRESS_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x01\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x02\"\xb3\x01\n\x13\x42inaryAuthorization\x12\x1b\n\x0buse_default\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x12\x44\n\x06policy\x18\x03 \x01(\tB2\xe2\x41\x01\x01\xfa\x41+\n)binaryauthorization.googleapis.com/PolicyH\x00\x12&\n\x18\x62reakglass_justification\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x42\x11\n\x0f\x62inauthz_method\"\xd5\x01\n\x0fRevisionScaling\x12 \n\x12min_instance_count\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12 \n\x12max_instance_count\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\"\n\x0f\x63pu_utilization\x18\x04 \x01(\x02\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12*\n\x17\x63oncurrency_utilization\x18\x05 \x01(\x02\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x42\x12\n\x10_cpu_utilizationB\x1a\n\x18_concurrency_utilization\"E\n\x0bServiceMesh\x12\x36\n\x04mesh\x18\x01 \x01(\tB(\xfa\x41%\n#networkservices.googleapis.com/Mesh\"u\n\x11\x41mbientNetworking\x12\x1a\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x38\n\rambient_scope\x18\x02 \x01(\x0e\x32!.google.cloud.run.v2.AmbientScopeB\n\n\x08_enabled\"\xad\x02\n\x0eServiceScaling\x12 \n\x12min_instance_count\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12K\n\x0cscaling_mode\x18\x03 \x01(\x0e\x32/.google.cloud.run.v2.ServiceScaling.ScalingModeB\x04\xe2\x41\x01\x01\x12 \n\x12max_instance_count\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12(\n\x15manual_instance_count\x18\x06 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\"F\n\x0bScalingMode\x12\x1c\n\x18SCALING_MODE_UNSPECIFIED\x10\x00\x12\r\n\tAUTOMATIC\x10\x01\x12\n\n\x06MANUAL\x10\x02\x42\x18\n\x16_manual_instance_count\"W\n\x11WorkerPoolScaling\x12(\n\x15manual_instance_count\x18\x06 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x42\x18\n\x16_manual_instance_count\")\n\x0cNodeSelector\x12\x19\n\x0b\x61\x63\x63\x65lerator\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\xde\x03\n\x0b\x42uildConfig\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x03\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\x0fsource_location\x18\x02 \x01(\t\x12\x1d\n\x0f\x66unction_target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\timage_uri\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nbase_image\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12&\n\x18\x65nable_automatic_updates\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12G\n\x0bworker_pool\x18\x07 \x01(\tB2\xe2\x41\x01\x01\xfa\x41+\n)cloudbuild.googleapis.com/BuildWorkerPool\x12_\n\x15\x65nvironment_variables\x18\x08 \x03(\x0b\x32:.google.cloud.run.v2.BuildConfig.EnvironmentVariablesEntryB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fservice_account\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc2\x01\n\x16WorkloadIdentityConfig\x12\x16\n\x08identity\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12>\n\ridentity_type\x18\x02 \x01(\x0e\x32!.google.cloud.run.v2.IdentityTypeB\x04\xe2\x41\x01\x01\x12/\n\x1cidentity_certificate_enabled\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x42\x1f\n\x1d_identity_certificate_enabled*c\n\x0c\x41mbientScope\x12\x1d\n\x19\x41MBIENT_SCOPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x41MBIENT_SCOPE_REGIONAL\x10\x01\x12\x18\n\x14\x41MBIENT_SCOPE_GLOBAL\x10\x02*\xb3\x01\n\x0eIngressTraffic\x12\x1f\n\x1bINGRESS_TRAFFIC_UNSPECIFIED\x10\x00\x12\x17\n\x13INGRESS_TRAFFIC_ALL\x10\x01\x12!\n\x1dINGRESS_TRAFFIC_INTERNAL_ONLY\x10\x02\x12*\n&INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER\x10\x03\x12\x18\n\x14INGRESS_TRAFFIC_NONE\x10\x04*}\n\x14\x45xecutionEnvironment\x12%\n!EXECUTION_ENVIRONMENT_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x45XECUTION_ENVIRONMENT_GEN1\x10\x01\x12\x1e\n\x1a\x45XECUTION_ENVIRONMENT_GEN2\x10\x02*p\n\x1d\x45ncryptionKeyRevocationAction\x12\x30\n,ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPREVENT_NEW\x10\x01\x12\x0c\n\x08SHUTDOWN\x10\x02*r\n\x0cIdentityType\x12\x1d\n\x19IDENTITY_TYPE_UNSPECIFIED\x10\x00\x12!\n\x1dIDENTITY_TYPE_SERVICE_ACCOUNT\x10\x01\x12 \n\x1cIDENTITY_TYPE_AGENT_IDENTITY\x10\x03*l\n\x0e\x46unctionalType\x12\x1f\n\x1b\x46UNCTIONAL_TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x46UNCTIONAL_TYPE_AGENT\x10\x01\x12\x1e\n\x1a\x46UNCTIONAL_TYPE_MCP_SERVER\x10\x02\x42\xfc\x02\n\x17\x63om.google.cloud.run.v2B\x13VendorSettingsProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpb\xea\x41\x63\n)binaryauthorization.googleapis.com/Policy\x12\x19projects/{project}/policy\x12\x1blocations/{location}/policy\xea\x41\\\n#networkservices.googleapis.com/Mesh\x12\x35projects/{project}/locations/{location}/meshes/{mesh}\xea\x41Y\n\x1f\x63loudbuild.googleapis.com/Build\x12\x36projects/{project}/locations/{location}/builds/{build}b\x06proto3"
12
12
 
13
13
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -23,14 +23,19 @@ module Google
23
23
  BinaryAuthorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.BinaryAuthorization").msgclass
24
24
  RevisionScaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.RevisionScaling").msgclass
25
25
  ServiceMesh = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ServiceMesh").msgclass
26
+ AmbientNetworking = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.AmbientNetworking").msgclass
26
27
  ServiceScaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ServiceScaling").msgclass
27
28
  ServiceScaling::ScalingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ServiceScaling.ScalingMode").enummodule
28
29
  WorkerPoolScaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.WorkerPoolScaling").msgclass
29
30
  NodeSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.NodeSelector").msgclass
30
31
  BuildConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.BuildConfig").msgclass
32
+ WorkloadIdentityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.WorkloadIdentityConfig").msgclass
33
+ AmbientScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.AmbientScope").enummodule
31
34
  IngressTraffic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.IngressTraffic").enummodule
32
35
  ExecutionEnvironment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ExecutionEnvironment").enummodule
33
36
  EncryptionKeyRevocationAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.EncryptionKeyRevocationAction").enummodule
37
+ IdentityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.IdentityType").enummodule
38
+ FunctionalType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.FunctionalType").enummodule
34
39
  end
35
40
  end
36
41
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Run
23
23
  module V2
24
- VERSION = "0.30.0"
24
+ VERSION = "0.32.0"
25
25
  end
26
26
  end
27
27
  end
@@ -21,7 +21,7 @@ require 'google/protobuf/field_mask_pb'
21
21
  require 'google/protobuf/timestamp_pb'
22
22
 
23
23
 
24
- descriptor_data = "\n%google/cloud/run/v2/worker_pool.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a#google/cloud/run/v2/condition.proto\x1a(google/cloud/run/v2/instance_split.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x37google/cloud/run/v2/worker_pool_revision_template.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc8\x01\n\x17\x43reateWorkerPoolRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1drun.googleapis.com/WorkerPool\x12:\n\x0bworker_pool\x18\x02 \x01(\x0b\x32\x1f.google.cloud.run.v2.WorkerPoolB\x04\xe2\x41\x01\x02\x12\x1c\n\x0eworker_pool_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rvalidate_only\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xe8\x01\n\x17UpdateWorkerPoolRequest\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12:\n\x0bworker_pool\x18\x01 \x01(\x0b\x32\x1f.google.cloud.run.v2.WorkerPoolB\x04\xe2\x41\x01\x02\x12\x1b\n\rvalidate_only\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1b\n\rallow_missing\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12 \n\x12\x66orce_new_revision\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x8d\x01\n\x16ListWorkerPoolsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1drun.googleapis.com/WorkerPool\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"i\n\x17ListWorkerPoolsResponse\x12\x35\n\x0cworker_pools\x18\x01 \x03(\x0b\x32\x1f.google.cloud.run.v2.WorkerPool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x14GetWorkerPoolRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1drun.googleapis.com/WorkerPool\"z\n\x17\x44\x65leteWorkerPoolRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1drun.googleapis.com/WorkerPool\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\xe7\x0c\n\nWorkerPool\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\x03uid\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\ngeneration\x18\x04 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x41\n\x06labels\x18\x05 \x03(\x0b\x32+.google.cloud.run.v2.WorkerPool.LabelsEntryB\x04\xe2\x41\x01\x01\x12K\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32\x30.google.cloud.run.v2.WorkerPool.AnnotationsEntryB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x15\n\x07\x63reator\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rlast_modifier\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x12\x0e\n\x06\x63lient\x18\r \x01(\t\x12\x16\n\x0e\x63lient_version\x18\x0e \x01(\t\x12\x33\n\x0claunch_stage\x18\x10 \x01(\x0e\x32\x17.google.api.LaunchStageB\x04\xe2\x41\x01\x01\x12L\n\x14\x62inary_authorization\x18\x11 \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorizationB\x04\xe2\x41\x01\x01\x12G\n\x08template\x18\x12 \x01(\x0b\x32/.google.cloud.run.v2.WorkerPoolRevisionTemplateB\x04\xe2\x41\x01\x02\x12\x41\n\x0finstance_splits\x18\x1a \x03(\x0b\x32\".google.cloud.run.v2.InstanceSplitB\x04\xe2\x41\x01\x01\x12=\n\x07scaling\x18\x14 \x01(\x0b\x32&.google.cloud.run.v2.WorkerPoolScalingB\x04\xe2\x41\x01\x01\x12!\n\x13observed_generation\x18\x1e \x01(\x03\x42\x04\xe2\x41\x01\x03\x12@\n\x12terminal_condition\x18\x1f \x01(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12\x43\n\x15latest_ready_revision\x18! \x01(\tB$\xe2\x41\x01\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x45\n\x17latest_created_revision\x18\" \x01(\tB$\xe2\x41\x01\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12O\n\x17instance_split_statuses\x18\x1b \x03(\x0b\x32(.google.cloud.run.v2.InstanceSplitStatusB\x04\xe2\x41\x01\x03\x12&\n\x18threat_detection_enabled\x18\x1c \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x1c\n\x10\x63ustom_audiences\x18% \x03(\tB\x02\x18\x01\x12\x1b\n\rsatisfies_pzs\x18& \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0breconciling\x18\x62 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x12\n\x04\x65tag\x18\x63 \x01(\tB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x81\x01\xea\x41~\n\x1drun.googleapis.com/WorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}*\x0bworkerPools2\nworkerPoolR\x01\x01\x32\xbe\x0e\n\x0bWorkerPools\x12\x98\x02\n\x10\x43reateWorkerPool\x12,.google.cloud.run.v2.CreateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41\x18\n\nWorkerPool\x12\nWorkerPool\xda\x41!parent,worker_pool,worker_pool_id\x82\xd3\xe4\x93\x02>\"//v2/{parent=projects/*/locations/*}/workerPools:\x0bworker_pool\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xcf\x01\n\rGetWorkerPool\x12).google.cloud.run.v2.GetWorkerPoolRequest\x1a\x1f.google.cloud.run.v2.WorkerPool\"r\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v2/{name=projects/*/locations/*/workerPools/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xe1\x01\n\x0fListWorkerPools\x12+.google.cloud.run.v2.ListWorkerPoolsRequest\x1a,.google.cloud.run.v2.ListWorkerPoolsResponse\"s\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v2/{parent=projects/*/locations/*}/workerPools\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xb5\x02\n\x10UpdateWorkerPool\x12,.google.cloud.run.v2.UpdateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xd3\x01\xca\x41\x18\n\nWorkerPool\x12\nWorkerPool\xda\x41\x0bworker_pool\xda\x41\x17worker_pool,update_mask\x82\xd3\xe4\x93\x02J2;/v2/{worker_pool.name=projects/*/locations/*/workerPools/*}:\x0bworker_pool\x8a\xd3\xe4\x93\x02:\x12\x38\n\x10worker_pool.name\x12$projects/*/locations/{location=*}/**\x12\xef\x01\n\x10\x44\x65leteWorkerPool\x12,.google.cloud.run.v2.DeleteWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x18\n\nWorkerPool\x12\nWorkerPool\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v2/{name=projects/*/locations/*/workerPools/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\x93\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"H\x82\xd3\xe4\x93\x02\x42\x12@/v2/{resource=projects/*/locations/*/workerPools/*}:getIamPolicy\x12\x96\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"K\x82\xd3\xe4\x93\x02\x45\"@/v2/{resource=projects/*/locations/*/workerPools/*}:setIamPolicy:\x01*\x12\xbc\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"Q\x82\xd3\xe4\x93\x02K\"F/v2/{resource=projects/*/locations/*/workerPools/*}:testIamPermissions:\x01*\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBW\n\x17\x63om.google.cloud.run.v2B\x0fWorkerPoolProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
24
+ descriptor_data = "\n%google/cloud/run/v2/worker_pool.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a#google/cloud/run/v2/condition.proto\x1a(google/cloud/run/v2/instance_split.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x37google/cloud/run/v2/worker_pool_revision_template.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc8\x01\n\x17\x43reateWorkerPoolRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1drun.googleapis.com/WorkerPool\x12:\n\x0bworker_pool\x18\x02 \x01(\x0b\x32\x1f.google.cloud.run.v2.WorkerPoolB\x04\xe2\x41\x01\x02\x12\x1c\n\x0eworker_pool_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rvalidate_only\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xe8\x01\n\x17UpdateWorkerPoolRequest\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12:\n\x0bworker_pool\x18\x01 \x01(\x0b\x32\x1f.google.cloud.run.v2.WorkerPoolB\x04\xe2\x41\x01\x02\x12\x1b\n\rvalidate_only\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1b\n\rallow_missing\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12 \n\x12\x66orce_new_revision\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x8d\x01\n\x16ListWorkerPoolsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\x12\x1drun.googleapis.com/WorkerPool\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"i\n\x17ListWorkerPoolsResponse\x12\x35\n\x0cworker_pools\x18\x01 \x03(\x0b\x32\x1f.google.cloud.run.v2.WorkerPool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x14GetWorkerPoolRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1drun.googleapis.com/WorkerPool\"z\n\x17\x44\x65leteWorkerPoolRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1drun.googleapis.com/WorkerPool\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\xe7\x0c\n\nWorkerPool\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\x03uid\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\ngeneration\x18\x04 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x41\n\x06labels\x18\x05 \x03(\x0b\x32+.google.cloud.run.v2.WorkerPool.LabelsEntryB\x04\xe2\x41\x01\x01\x12K\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32\x30.google.cloud.run.v2.WorkerPool.AnnotationsEntryB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x15\n\x07\x63reator\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rlast_modifier\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x12\x0e\n\x06\x63lient\x18\r \x01(\t\x12\x16\n\x0e\x63lient_version\x18\x0e \x01(\t\x12\x33\n\x0claunch_stage\x18\x10 \x01(\x0e\x32\x17.google.api.LaunchStageB\x04\xe2\x41\x01\x01\x12L\n\x14\x62inary_authorization\x18\x11 \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorizationB\x04\xe2\x41\x01\x01\x12G\n\x08template\x18\x12 \x01(\x0b\x32/.google.cloud.run.v2.WorkerPoolRevisionTemplateB\x04\xe2\x41\x01\x02\x12\x41\n\x0finstance_splits\x18\x1a \x03(\x0b\x32\".google.cloud.run.v2.InstanceSplitB\x04\xe2\x41\x01\x01\x12=\n\x07scaling\x18\x14 \x01(\x0b\x32&.google.cloud.run.v2.WorkerPoolScalingB\x04\xe2\x41\x01\x01\x12!\n\x13observed_generation\x18\x1e \x01(\x03\x42\x04\xe2\x41\x01\x03\x12@\n\x12terminal_condition\x18\x1f \x01(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12\x43\n\x15latest_ready_revision\x18! \x01(\tB$\xe2\x41\x01\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x45\n\x17latest_created_revision\x18\" \x01(\tB$\xe2\x41\x01\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12O\n\x17instance_split_statuses\x18\x1b \x03(\x0b\x32(.google.cloud.run.v2.InstanceSplitStatusB\x04\xe2\x41\x01\x03\x12&\n\x18threat_detection_enabled\x18\x1c \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x1c\n\x10\x63ustom_audiences\x18% \x03(\tB\x02\x18\x01\x12\x1b\n\rsatisfies_pzs\x18& \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0breconciling\x18\x62 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x12\n\x04\x65tag\x18\x63 \x01(\tB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x81\x01\xea\x41~\n\x1drun.googleapis.com/WorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}*\x0bworkerPools2\nworkerPoolR\x01\x01\x32\x90\x0f\n\x0bWorkerPools\x12\x98\x02\n\x10\x43reateWorkerPool\x12,.google.cloud.run.v2.CreateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41\x18\n\nWorkerPool\x12\nWorkerPool\xda\x41!parent,worker_pool,worker_pool_id\x82\xd3\xe4\x93\x02>\"//v2/{parent=projects/*/locations/*}/workerPools:\x0bworker_pool\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xcf\x01\n\rGetWorkerPool\x12).google.cloud.run.v2.GetWorkerPoolRequest\x1a\x1f.google.cloud.run.v2.WorkerPool\"r\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v2/{name=projects/*/locations/*/workerPools/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xe1\x01\n\x0fListWorkerPools\x12+.google.cloud.run.v2.ListWorkerPoolsRequest\x1a,.google.cloud.run.v2.ListWorkerPoolsResponse\"s\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v2/{parent=projects/*/locations/*}/workerPools\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xb5\x02\n\x10UpdateWorkerPool\x12,.google.cloud.run.v2.UpdateWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\xd3\x01\xca\x41\x18\n\nWorkerPool\x12\nWorkerPool\xda\x41\x0bworker_pool\xda\x41\x17worker_pool,update_mask\x82\xd3\xe4\x93\x02J2;/v2/{worker_pool.name=projects/*/locations/*/workerPools/*}:\x0bworker_pool\x8a\xd3\xe4\x93\x02:\x12\x38\n\x10worker_pool.name\x12$projects/*/locations/{location=*}/**\x12\xef\x01\n\x10\x44\x65leteWorkerPool\x12,.google.cloud.run.v2.DeleteWorkerPoolRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x18\n\nWorkerPool\x12\nWorkerPool\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v2/{name=projects/*/locations/*/workerPools/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\x93\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"H\x82\xd3\xe4\x93\x02\x42\x12@/v2/{resource=projects/*/locations/*/workerPools/*}:getIamPolicy\x12\x96\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"K\x82\xd3\xe4\x93\x02\x45\"@/v2/{resource=projects/*/locations/*/workerPools/*}:setIamPolicy:\x01*\x12\xbc\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"Q\x82\xd3\xe4\x93\x02K\"F/v2/{resource=projects/*/locations/*/workerPools/*}:testIamPermissions:\x01*\x1a\x97\x01\xca\x41\x12run.googleapis.com\xd2\x41\x7fhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/run,https://www.googleapis.com/auth/run.readonlyBW\n\x17\x63om.google.cloud.run.v2B\x0fWorkerPoolProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
25
25
 
26
26
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
27
27
  pool.add_serialized_file(descriptor_data)
@@ -7,11 +7,12 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
  require 'google/cloud/run/v2/k8s.min_pb'
10
+ require 'google/cloud/run/v2/sandbox_pb'
10
11
  require 'google/cloud/run/v2/vendor_settings_pb'
11
12
  require 'google/protobuf/duration_pb'
12
13
 
13
14
 
14
- descriptor_data = "\n7google/cloud/run/v2/worker_pool_revision_template.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe9\x07\n\x1aWorkerPoolRevisionTemplate\x12\x36\n\x08revision\x18\x01 \x01(\tB$\xe2\x41\x01\x01\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12Q\n\x06labels\x18\x02 \x03(\x0b\x32;.google.cloud.run.v2.WorkerPoolRevisionTemplate.LabelsEntryB\x04\xe2\x41\x01\x01\x12[\n\x0b\x61nnotations\x18\x03 \x03(\x0b\x32@.google.cloud.run.v2.WorkerPoolRevisionTemplate.AnnotationsEntryB\x04\xe2\x41\x01\x01\x12\x38\n\nvpc_access\x18\x04 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fservice_account\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x32\n\ncontainers\x18\x06 \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12\x32\n\x07volumes\x18\x07 \x03(\x0b\x32\x1b.google.cloud.run.v2.VolumeB\x04\xe2\x41\x01\x01\x12>\n\x0e\x65ncryption_key\x18\x08 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12<\n\x0cservice_mesh\x18\t \x01(\x0b\x32 .google.cloud.run.v2.ServiceMeshB\x04\xe2\x41\x01\x01\x12\x62\n encryption_key_revocation_action\x18\n \x01(\x0e\x32\x32.google.cloud.run.v2.EncryptionKeyRevocationActionB\x04\xe2\x41\x01\x01\x12I\n encryption_key_shutdown_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12>\n\rnode_selector\x18\r \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x01\x12\x30\n\x1dgpu_zonal_redundancy_disabled\x18\x10 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42 \n\x1e_gpu_zonal_redundancy_disabledBg\n\x17\x63om.google.cloud.run.v2B\x1fWorkerPoolRevisionTemplateProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
15
+ descriptor_data = "\n7google/cloud/run/v2/worker_pool_revision_template.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a!google/cloud/run/v2/sandbox.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe1\x08\n\x1aWorkerPoolRevisionTemplate\x12\x36\n\x08revision\x18\x01 \x01(\tB$\xe2\x41\x01\x01\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12Q\n\x06labels\x18\x02 \x03(\x0b\x32;.google.cloud.run.v2.WorkerPoolRevisionTemplate.LabelsEntryB\x04\xe2\x41\x01\x01\x12[\n\x0b\x61nnotations\x18\x03 \x03(\x0b\x32@.google.cloud.run.v2.WorkerPoolRevisionTemplate.AnnotationsEntryB\x04\xe2\x41\x01\x01\x12\x38\n\nvpc_access\x18\x04 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fservice_account\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x32\n\ncontainers\x18\x06 \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12\x42\n\tsandboxes\x18\x13 \x01(\x0b\x32).google.cloud.run.v2.SandboxConfigurationB\x04\xe2\x41\x01\x01\x12\x32\n\x07volumes\x18\x07 \x03(\x0b\x32\x1b.google.cloud.run.v2.VolumeB\x04\xe2\x41\x01\x01\x12>\n\x0e\x65ncryption_key\x18\x08 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12<\n\x0cservice_mesh\x18\t \x01(\x0b\x32 .google.cloud.run.v2.ServiceMeshB\x04\xe2\x41\x01\x01\x12\x62\n encryption_key_revocation_action\x18\n \x01(\x0e\x32\x32.google.cloud.run.v2.EncryptionKeyRevocationActionB\x04\xe2\x41\x01\x01\x12I\n encryption_key_shutdown_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12>\n\rnode_selector\x18\r \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x01\x12\x30\n\x1dgpu_zonal_redundancy_disabled\x18\x10 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x14\n\x06\x63lient\x18\x11 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0e\x63lient_version\x18\x12 \x01(\tB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42 \n\x1e_gpu_zonal_redundancy_disabledBg\n\x17\x63om.google.cloud.run.v2B\x1fWorkerPoolRevisionTemplateProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
15
16
 
16
17
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
18
  pool.add_serialized_file(descriptor_data)
@@ -239,10 +239,11 @@ module Google
239
239
  # @param worker_pool [::Google::Cloud::Run::V2::WorkerPool, ::Hash]
240
240
  # Required. The WorkerPool instance to create.
241
241
  # @param worker_pool_id [::String]
242
- # Required. The unique identifier for the WorkerPool. It must begin with
242
+ # Optional. The unique identifier for the WorkerPool. It must begin with
243
243
  # letter, and cannot end with hyphen; must contain fewer than 50 characters.
244
244
  # The name of the worker pool becomes
245
245
  # `{parent}/workerPools/{worker_pool_id}`.
246
+ # If not provided, the server will generate a unique `worker_pool_id`.
246
247
  # @param validate_only [::Boolean]
247
248
  # Optional. Indicates that the request should be validated and default values
248
249
  # populated, without persisting the request or creating any resources.
@@ -26,7 +26,9 @@ module Google
26
26
  # Credentials for the WorkerPools API.
27
27
  class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
- "https://www.googleapis.com/auth/cloud-platform"
29
+ "https://www.googleapis.com/auth/cloud-platform",
30
+ "https://www.googleapis.com/auth/run",
31
+ "https://www.googleapis.com/auth/run.readonly"
30
32
  ]
31
33
  self.env_vars = [
32
34
  "GOOGLE_CLOUD_CREDENTIALS",
@@ -232,10 +232,11 @@ module Google
232
232
  # @param worker_pool [::Google::Cloud::Run::V2::WorkerPool, ::Hash]
233
233
  # Required. The WorkerPool instance to create.
234
234
  # @param worker_pool_id [::String]
235
- # Required. The unique identifier for the WorkerPool. It must begin with
235
+ # Optional. The unique identifier for the WorkerPool. It must begin with
236
236
  # letter, and cannot end with hyphen; must contain fewer than 50 characters.
237
237
  # The name of the worker pool becomes
238
238
  # `{parent}/workerPools/{worker_pool_id}`.
239
+ # If not provided, the server will generate a unique `worker_pool_id`.
239
240
  # @param validate_only [::Boolean]
240
241
  # Optional. Indicates that the request should be validated and default values
241
242
  # populated, without persisting the request or creating any resources.
@@ -22,6 +22,7 @@ require "google/cloud/run/v2/instances"
22
22
  require "google/cloud/run/v2/jobs"
23
23
  require "google/cloud/run/v2/revisions"
24
24
  require "google/cloud/run/v2/services"
25
+ require "google/cloud/run/v2/source_upload"
25
26
  require "google/cloud/run/v2/tasks"
26
27
  require "google/cloud/run/v2/worker_pools"
27
28
  require "google/cloud/run/v2/version"
@@ -50,8 +50,8 @@ module Google
50
50
  # Cloud Build service account for the project will be used.
51
51
  # @!attribute [rw] worker_pool
52
52
  # @return [::String]
53
- # Optional. Name of the Cloud Build Custom Worker Pool that should be used to
54
- # build the function. The format of this field is
53
+ # Optional. Name of the Cloud Build private pool that should be used to build
54
+ # the function. The format of this field is
55
55
  # `projects/{project}/locations/{region}/workerPools/{workerPool}` where
56
56
  # `{project}` and `{region}` are the project id and region respectively where
57
57
  # the worker pool is defined and `{workerPool}` is the short name of the
@@ -45,17 +45,22 @@ module Google
45
45
  # @return [::Google::Cloud::Run::V2::Condition::CommonReason]
46
46
  # Output only. A common (service-level) reason for this condition.
47
47
  #
48
- # Note: The following fields are mutually exclusive: `reason`, `revision_reason`, `execution_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
48
+ # Note: The following fields are mutually exclusive: `reason`, `revision_reason`, `execution_reason`, `instance_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
49
49
  # @!attribute [r] revision_reason
50
50
  # @return [::Google::Cloud::Run::V2::Condition::RevisionReason]
51
51
  # Output only. A reason for the revision condition.
52
52
  #
53
- # Note: The following fields are mutually exclusive: `revision_reason`, `reason`, `execution_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
+ # Note: The following fields are mutually exclusive: `revision_reason`, `reason`, `execution_reason`, `instance_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
54
54
  # @!attribute [r] execution_reason
55
55
  # @return [::Google::Cloud::Run::V2::Condition::ExecutionReason]
56
56
  # Output only. A reason for the execution condition.
57
57
  #
58
- # Note: The following fields are mutually exclusive: `execution_reason`, `reason`, `revision_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
58
+ # Note: The following fields are mutually exclusive: `execution_reason`, `reason`, `revision_reason`, `instance_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
+ # @!attribute [r] instance_reason
60
+ # @return [::Google::Cloud::Run::V2::Condition::InstanceReason]
61
+ # Output only. A reason for the instance condition.
62
+ #
63
+ # Note: The following fields are mutually exclusive: `instance_reason`, `reason`, `revision_reason`, `execution_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
64
  class Condition
60
65
  include ::Google::Protobuf::MessageExts
61
66
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -216,6 +221,27 @@ module Google
216
221
 
217
222
  # A delayed execution is waiting for a start time.
218
223
  DELAYED_START_PENDING = 6
224
+
225
+ # A delayed execution exceeded the maximum runtime duration.
226
+ DELAYED_EXECUTION_EXCEEDING_DURATION_LIMIT = 7
227
+ end
228
+
229
+ # Reasons specific to Instance resource.
230
+ module InstanceReason
231
+ # Default value.
232
+ INSTANCE_REASON_UNSPECIFIED = 0
233
+
234
+ # Instance deleted.
235
+ INSTANCE_DELETED = 1
236
+
237
+ # Instance stopped.
238
+ INSTANCE_STOPPED = 2
239
+
240
+ # Instance stopping.
241
+ INSTANCE_STOPPING = 3
242
+
243
+ # Instance exited with a non-zero exit code.
244
+ INSTANCE_NON_ZERO_EXIT_CODE = 4
219
245
  end
220
246
  end
221
247
  end
@@ -175,7 +175,7 @@ module Google
175
175
  #
176
176
  # Note that this value might not be what was used
177
177
  # as input. For example, if ALPHA was provided as input in the parent
178
- # resource, but only BETA and GA-level features are were, this field will be
178
+ # resource, but only BETA and GA-level features are used, this field will be
179
179
  # BETA.
180
180
  # @!attribute [r] job
181
181
  # @return [::String]
@@ -232,6 +232,12 @@ module Google
232
232
  # @!attribute [r] satisfies_pzs
233
233
  # @return [::Boolean]
234
234
  # Output only. Reserved for future use.
235
+ # @!attribute [r] client
236
+ # @return [::String]
237
+ # Output only. Arbitrary identifier for the API client.
238
+ # @!attribute [r] client_version
239
+ # @return [::String]
240
+ # Output only. Arbitrary version identifier for the API client.
235
241
  # @!attribute [r] etag
236
242
  # @return [::String]
237
243
  # Output only. A system-generated fingerprint for this version of the
@@ -67,6 +67,16 @@ module Google
67
67
  # @return [::Google::Cloud::Run::V2::TaskTemplate]
68
68
  # Required. Describes the task(s) that will be created when executing an
69
69
  # execution.
70
+ # @!attribute [rw] delay_execution
71
+ # @return [::Boolean]
72
+ # Optional. If true, the system will start the execution within the next 12
73
+ # hours depending on available capacity.
74
+ # @!attribute [rw] client
75
+ # @return [::String]
76
+ # Optional. Arbitrary identifier for the API client.
77
+ # @!attribute [rw] client_version
78
+ # @return [::String]
79
+ # Optional. Arbitrary version identifier for the API client.
70
80
  class ExecutionTemplate
71
81
  include ::Google::Protobuf::MessageExts
72
82
  extend ::Google::Protobuf::MessageExts::ClassMethods