google-cloud-run-v2 0.31.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 (67) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/run/v2/build_pb.rb +1 -1
  3. data/lib/google/cloud/run/v2/builds/client.rb +2 -2
  4. data/lib/google/cloud/run/v2/builds/credentials.rb +2 -1
  5. data/lib/google/cloud/run/v2/builds/rest/client.rb +2 -2
  6. data/lib/google/cloud/run/v2/condition_pb.rb +2 -1
  7. data/lib/google/cloud/run/v2/execution_pb.rb +1 -1
  8. data/lib/google/cloud/run/v2/execution_template_pb.rb +1 -1
  9. data/lib/google/cloud/run/v2/executions/credentials.rb +3 -1
  10. data/lib/google/cloud/run/v2/instance_pb.rb +7 -1
  11. data/lib/google/cloud/run/v2/instance_services_pb.rb +14 -2
  12. data/lib/google/cloud/run/v2/instances/client.rb +424 -12
  13. data/lib/google/cloud/run/v2/instances/credentials.rb +3 -1
  14. data/lib/google/cloud/run/v2/instances/rest/client.rb +393 -12
  15. data/lib/google/cloud/run/v2/instances/rest/service_stub.rb +247 -0
  16. data/lib/google/cloud/run/v2/job_pb.rb +1 -1
  17. data/lib/google/cloud/run/v2/jobs/client.rb +2 -1
  18. data/lib/google/cloud/run/v2/jobs/credentials.rb +3 -1
  19. data/lib/google/cloud/run/v2/jobs/rest/client.rb +2 -1
  20. data/lib/google/cloud/run/v2/k8s.min_pb.rb +3 -1
  21. data/lib/google/cloud/run/v2/rest.rb +1 -0
  22. data/lib/google/cloud/run/v2/revision_pb.rb +2 -1
  23. data/lib/google/cloud/run/v2/revision_template_pb.rb +2 -1
  24. data/lib/google/cloud/run/v2/revisions/credentials.rb +3 -1
  25. data/lib/google/cloud/run/v2/sandbox_pb.rb +25 -0
  26. data/lib/google/cloud/run/v2/service_pb.rb +1 -1
  27. data/lib/google/cloud/run/v2/services/client.rb +12 -2
  28. data/lib/google/cloud/run/v2/services/credentials.rb +3 -1
  29. data/lib/google/cloud/run/v2/services/rest/client.rb +12 -2
  30. data/lib/google/cloud/run/v2/source_upload/client.rb +505 -0
  31. data/lib/google/cloud/run/v2/source_upload/credentials.rb +48 -0
  32. data/lib/google/cloud/run/v2/source_upload/paths.rb +69 -0
  33. data/lib/google/cloud/run/v2/source_upload/rest/client.rb +452 -0
  34. data/lib/google/cloud/run/v2/source_upload/rest/service_stub.rb +143 -0
  35. data/lib/google/cloud/run/v2/source_upload/rest.rb +53 -0
  36. data/lib/google/cloud/run/v2/source_upload.rb +56 -0
  37. data/lib/google/cloud/run/v2/source_upload_pb.rb +29 -0
  38. data/lib/google/cloud/run/v2/source_upload_services_pb.rb +52 -0
  39. data/lib/google/cloud/run/v2/task_pb.rb +2 -1
  40. data/lib/google/cloud/run/v2/task_template_pb.rb +2 -1
  41. data/lib/google/cloud/run/v2/tasks/credentials.rb +3 -1
  42. data/lib/google/cloud/run/v2/vendor_settings_pb.rb +6 -1
  43. data/lib/google/cloud/run/v2/version.rb +1 -1
  44. data/lib/google/cloud/run/v2/worker_pool_pb.rb +1 -1
  45. data/lib/google/cloud/run/v2/worker_pool_revision_template_pb.rb +2 -1
  46. data/lib/google/cloud/run/v2/worker_pools/client.rb +2 -1
  47. data/lib/google/cloud/run/v2/worker_pools/credentials.rb +3 -1
  48. data/lib/google/cloud/run/v2/worker_pools/rest/client.rb +2 -1
  49. data/lib/google/cloud/run/v2.rb +1 -0
  50. data/proto_docs/google/cloud/run/v2/build.rb +2 -2
  51. data/proto_docs/google/cloud/run/v2/condition.rb +29 -3
  52. data/proto_docs/google/cloud/run/v2/execution.rb +7 -1
  53. data/proto_docs/google/cloud/run/v2/execution_template.rb +10 -0
  54. data/proto_docs/google/cloud/run/v2/instance.rb +74 -32
  55. data/proto_docs/google/cloud/run/v2/job.rb +9 -1
  56. data/proto_docs/google/cloud/run/v2/k8s.min.rb +78 -16
  57. data/proto_docs/google/cloud/run/v2/revision.rb +17 -2
  58. data/proto_docs/google/cloud/run/v2/revision_template.rb +16 -1
  59. data/proto_docs/google/cloud/run/v2/sandbox.rb +67 -0
  60. data/proto_docs/google/cloud/run/v2/service.rb +18 -1
  61. data/proto_docs/google/cloud/run/v2/source_upload.rb +48 -0
  62. data/proto_docs/google/cloud/run/v2/task.rb +6 -0
  63. data/proto_docs/google/cloud/run/v2/task_template.rb +6 -0
  64. data/proto_docs/google/cloud/run/v2/vendor_settings.rb +80 -2
  65. data/proto_docs/google/cloud/run/v2/worker_pool.rb +2 -1
  66. data/proto_docs/google/cloud/run/v2/worker_pool_revision_template.rb +9 -0
  67. metadata +13 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: caedfb4c83df1931843381a25fa0fc8b5a392327537e14cfa079dafb678e4315
4
- data.tar.gz: 1d9eaf17a7f5ea712afda86ccee454c6ef5a6ed88120a38a398cd309dfacf957
3
+ metadata.gz: 623fc9eb47a70483143570507dd3186aae1b784a347b7e2f7e5aca4c086c3b3d
4
+ data.tar.gz: f5ed3bda1bdf3fd0a9b7b79d8d8d5755f3eecf5f29d96d6b78f77c815e23552c
5
5
  SHA512:
6
- metadata.gz: c8f14bcc411d1d123663dd7ac8788e212cdb0c32170e1794356bbd120308aca02ed2f990ff538c363541df05aecc2fb2b7aeabb04309661073695071075b4133
7
- data.tar.gz: 9e2a8fd8dfec818618f2e5493fdb7596aa9da13eb507f4b4614187bd80927710345ec3081cd5ea97e740888cb8f1cf52e7d618389c4c6443eaac4d8cfe744016
6
+ metadata.gz: bcdda7b5885851275dc332d064a03babaaaf087ec8ed2ed3a425abd74dcb1a5b50bffe14efdf625b38d5d1af0eb6b7d7f4d2a199f46185878a94705906024c4d
7
+ data.tar.gz: 2ed4c1bbafe1652d6876ae264d9a11886520efb2770383587ada510cd59039941cdc9166f45fcca2b93114ca3d2fd5a37cc6ee316fd4841aa5f3aca1655904bb
@@ -12,7 +12,7 @@ require 'google/api/resource_pb'
12
12
  require 'google/longrunning/operations_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n\x1fgoogle/cloud/run/v2/build.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#google/longrunning/operations.proto\"\xb3\x07\n\x12SubmitBuildRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x42\n\x0estorage_source\x18\x02 \x01(\x0b\x32\".google.cloud.run.v2.StorageSourceB\x04\xe2\x41\x01\x02H\x00\x12\x17\n\timage_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12R\n\x0f\x62uildpack_build\x18\x04 \x01(\x0b\x32\x37.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuildH\x01\x12K\n\x0c\x64ocker_build\x18\x05 \x01(\x0b\x32\x33.google.cloud.run.v2.SubmitBuildRequest.DockerBuildH\x01\x12\x1d\n\x0fservice_account\x18\x06 \x01(\tB\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\x12\n\x04tags\x18\x08 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cmachine_type\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x34\n\rrelease_track\x18\n \x01(\x0e\x32\x17.google.api.LaunchStageB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x63lient\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x1a\r\n\x0b\x44ockerBuild\x1a\xfd\x02\n\x0f\x42uildpacksBuild\x12\x13\n\x07runtime\x18\x01 \x01(\tB\x02\x18\x01\x12\x1d\n\x0f\x66unction_target\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1d\n\x0f\x63\x61\x63he_image_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nbase_image\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12v\n\x15\x65nvironment_variables\x18\x05 \x03(\x0b\x32Q.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild.EnvironmentVariablesEntryB\x04\xe2\x41\x01\x01\x12&\n\x18\x65nable_automatic_updates\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12 \n\x12project_descriptor\x18\x07 \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\x42\x08\n\x06sourceB\x0c\n\nbuild_type\"\x81\x01\n\x13SubmitBuildResponse\x12\x36\n\x0f\x62uild_operation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.Operation\x12\x16\n\x0e\x62\x61se_image_uri\x18\x02 \x01(\t\x12\x1a\n\x12\x62\x61se_image_warning\x18\x03 \x01(\t\"U\n\rStorageSource\x12\x14\n\x06\x62ucket\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06object\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x18\n\ngeneration\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x01\x32\xf1\x01\n\x06\x42uilds\x12\x9e\x01\n\x0bSubmitBuild\x12\'.google.cloud.run.v2.SubmitBuildRequest\x1a(.google.cloud.run.v2.SubmitBuildResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v2/{parent=projects/*/locations/*}/builds:submit:\x01*\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc3\x01\n\x17\x63om.google.cloud.run.v2B\nBuildProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpb\xea\x41n\n)cloudbuild.googleapis.com/BuildWorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}b\x06proto3"
15
+ descriptor_data = "\n\x1fgoogle/cloud/run/v2/build.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#google/longrunning/operations.proto\"\xb3\x07\n\x12SubmitBuildRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x42\n\x0estorage_source\x18\x02 \x01(\x0b\x32\".google.cloud.run.v2.StorageSourceB\x04\xe2\x41\x01\x02H\x00\x12\x17\n\timage_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12R\n\x0f\x62uildpack_build\x18\x04 \x01(\x0b\x32\x37.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuildH\x01\x12K\n\x0c\x64ocker_build\x18\x05 \x01(\x0b\x32\x33.google.cloud.run.v2.SubmitBuildRequest.DockerBuildH\x01\x12\x1d\n\x0fservice_account\x18\x06 \x01(\tB\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\x12\n\x04tags\x18\x08 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cmachine_type\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x34\n\rrelease_track\x18\n \x01(\x0e\x32\x17.google.api.LaunchStageB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x63lient\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x1a\r\n\x0b\x44ockerBuild\x1a\xfd\x02\n\x0f\x42uildpacksBuild\x12\x13\n\x07runtime\x18\x01 \x01(\tB\x02\x18\x01\x12\x1d\n\x0f\x66unction_target\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1d\n\x0f\x63\x61\x63he_image_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nbase_image\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12v\n\x15\x65nvironment_variables\x18\x05 \x03(\x0b\x32Q.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild.EnvironmentVariablesEntryB\x04\xe2\x41\x01\x01\x12&\n\x18\x65nable_automatic_updates\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12 \n\x12project_descriptor\x18\x07 \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\x42\x08\n\x06sourceB\x0c\n\nbuild_type\"\x81\x01\n\x13SubmitBuildResponse\x12\x36\n\x0f\x62uild_operation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.Operation\x12\x16\n\x0e\x62\x61se_image_uri\x18\x02 \x01(\t\x12\x1a\n\x12\x62\x61se_image_warning\x18\x03 \x01(\t\"U\n\rStorageSource\x12\x14\n\x06\x62ucket\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06object\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x18\n\ngeneration\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x01\x32\x95\x02\n\x06\x42uilds\x12\x9e\x01\n\x0bSubmitBuild\x12\'.google.cloud.run.v2.SubmitBuildRequest\x1a(.google.cloud.run.v2.SubmitBuildResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v2/{parent=projects/*/locations/*}/builds:submit:\x01*\x1aj\xca\x41\x12run.googleapis.com\xd2\x41Rhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/runB\xc3\x01\n\x17\x63om.google.cloud.run.v2B\nBuildProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpb\xea\x41n\n)cloudbuild.googleapis.com/BuildWorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}b\x06proto3"
16
16
 
17
17
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
18
  pool.add_serialized_file(descriptor_data)
@@ -238,8 +238,8 @@ module Google
238
238
  # Optional. The service account to use for the build. If not set, the default
239
239
  # Cloud Build service account for the project will be used.
240
240
  # @param worker_pool [::String]
241
- # Optional. Name of the Cloud Build Custom Worker Pool that should be used to
242
- # build the function. The format of this field is
241
+ # Optional. Name of the Cloud Build private pool that should be used to build
242
+ # the function. The format of this field is
243
243
  # `projects/{project}/locations/{region}/workerPools/{workerPool}` where
244
244
  # `{project}` and `{region}` are the project id and region respectively where
245
245
  # the worker pool is defined and `{workerPool}` is the short name of the
@@ -26,7 +26,8 @@ module Google
26
26
  # Credentials for the Builds 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"
30
31
  ]
31
32
  self.env_vars = [
32
33
  "GOOGLE_CLOUD_CREDENTIALS",
@@ -231,8 +231,8 @@ module Google
231
231
  # Optional. The service account to use for the build. If not set, the default
232
232
  # Cloud Build service account for the project will be used.
233
233
  # @param worker_pool [::String]
234
- # Optional. Name of the Cloud Build Custom Worker Pool that should be used to
235
- # build the function. The format of this field is
234
+ # Optional. Name of the Cloud Build private pool that should be used to build
235
+ # the function. The format of this field is
236
236
  # `projects/{project}/locations/{region}/workerPools/{workerPool}` where
237
237
  # `{project}` and `{region}` are the project id and region respectively where
238
238
  # the worker pool is defined and `{workerPool}` is the short name of the
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n#google/cloud/run/v2/condition.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe5\x0c\n\tCondition\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x33\n\x05state\x18\x02 \x01(\x0e\x32$.google.cloud.run.v2.Condition.State\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x38\n\x14last_transition_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x08severity\x18\x05 \x01(\x0e\x32\'.google.cloud.run.v2.Condition.Severity\x12\x43\n\x06reason\x18\x06 \x01(\x0e\x32+.google.cloud.run.v2.Condition.CommonReasonB\x04\xe2\x41\x01\x03H\x00\x12N\n\x0frevision_reason\x18\t \x01(\x0e\x32-.google.cloud.run.v2.Condition.RevisionReasonB\x04\xe2\x41\x01\x03H\x00\x12P\n\x10\x65xecution_reason\x18\x0b \x01(\x0e\x32..google.cloud.run.v2.Condition.ExecutionReasonB\x04\xe2\x41\x01\x03H\x00\"\x7f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43ONDITION_PENDING\x10\x01\x12\x19\n\x15\x43ONDITION_RECONCILING\x10\x02\x12\x14\n\x10\x43ONDITION_FAILED\x10\x03\x12\x17\n\x13\x43ONDITION_SUCCEEDED\x10\x04\"F\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\x08\n\x04INFO\x10\x03\"\xcd\x03\n\x0c\x43ommonReason\x12\x1b\n\x17\x43OMMON_REASON_UNDEFINED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0fREVISION_FAILED\x10\x03\x12\x1e\n\x1aPROGRESS_DEADLINE_EXCEEDED\x10\x04\x12\x15\n\x11\x43ONTAINER_MISSING\x10\x06\x12\x1f\n\x1b\x43ONTAINER_PERMISSION_DENIED\x10\x07\x12 \n\x1c\x43ONTAINER_IMAGE_UNAUTHORIZED\x10\x08\x12.\n*CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\x10\t\x12$\n ENCRYPTION_KEY_PERMISSION_DENIED\x10\n\x12\x1f\n\x1b\x45NCRYPTION_KEY_CHECK_FAILED\x10\x0b\x12\x1f\n\x1bSECRETS_ACCESS_CHECK_FAILED\x10\x0c\x12\x19\n\x15WAITING_FOR_OPERATION\x10\r\x12\x13\n\x0fIMMEDIATE_RETRY\x10\x0e\x12\x13\n\x0fPOSTPONED_RETRY\x10\x0f\x12\x0c\n\x08INTERNAL\x10\x10\x12\x19\n\x15VPC_NETWORK_NOT_FOUND\x10\x11\"\xca\x02\n\x0eRevisionReason\x12\x1d\n\x19REVISION_REASON_UNDEFINED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RESERVE\x10\x02\x12\x0b\n\x07RETIRED\x10\x03\x12\x0c\n\x08RETIRING\x10\x04\x12\x0e\n\nRECREATING\x10\x05\x12 \n\x1cHEALTH_CHECK_CONTAINER_ERROR\x10\x06\x12$\n CUSTOMIZED_PATH_RESPONSE_PENDING\x10\x07\x12!\n\x1dMIN_INSTANCES_NOT_PROVISIONED\x10\x08\x12!\n\x1d\x41\x43TIVE_REVISION_LIMIT_REACHED\x10\t\x12\x11\n\rNO_DEPLOYMENT\x10\n\x12\x18\n\x14HEALTH_CHECK_SKIPPED\x10\x0b\x12\x19\n\x15MIN_INSTANCES_WARMING\x10\x0c\"\xb6\x01\n\x0f\x45xecutionReason\x12\x1e\n\x1a\x45XECUTION_REASON_UNDEFINED\x10\x00\x12$\n JOB_STATUS_SERVICE_POLLING_ERROR\x10\x01\x12\x16\n\x12NON_ZERO_EXIT_CODE\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\x0e\n\nCANCELLING\x10\x04\x12\x0b\n\x07\x44\x45LETED\x10\x05\x12\x19\n\x15\x44\x45LAYED_START_PENDING\x10\x06\x42\t\n\x07reasonsBV\n\x17\x63om.google.cloud.run.v2B\x0e\x43onditionProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
11
+ descriptor_data = "\n#google/cloud/run/v2/condition.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x0e\n\tCondition\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x33\n\x05state\x18\x02 \x01(\x0e\x32$.google.cloud.run.v2.Condition.State\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x38\n\x14last_transition_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x08severity\x18\x05 \x01(\x0e\x32\'.google.cloud.run.v2.Condition.Severity\x12\x43\n\x06reason\x18\x06 \x01(\x0e\x32+.google.cloud.run.v2.Condition.CommonReasonB\x04\xe2\x41\x01\x03H\x00\x12N\n\x0frevision_reason\x18\t \x01(\x0e\x32-.google.cloud.run.v2.Condition.RevisionReasonB\x04\xe2\x41\x01\x03H\x00\x12P\n\x10\x65xecution_reason\x18\x0b \x01(\x0e\x32..google.cloud.run.v2.Condition.ExecutionReasonB\x04\xe2\x41\x01\x03H\x00\x12N\n\x0finstance_reason\x18\x0c \x01(\x0e\x32-.google.cloud.run.v2.Condition.InstanceReasonB\x04\xe2\x41\x01\x03H\x00\"\x7f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43ONDITION_PENDING\x10\x01\x12\x19\n\x15\x43ONDITION_RECONCILING\x10\x02\x12\x14\n\x10\x43ONDITION_FAILED\x10\x03\x12\x17\n\x13\x43ONDITION_SUCCEEDED\x10\x04\"F\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\x08\n\x04INFO\x10\x03\"\xcd\x03\n\x0c\x43ommonReason\x12\x1b\n\x17\x43OMMON_REASON_UNDEFINED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0fREVISION_FAILED\x10\x03\x12\x1e\n\x1aPROGRESS_DEADLINE_EXCEEDED\x10\x04\x12\x15\n\x11\x43ONTAINER_MISSING\x10\x06\x12\x1f\n\x1b\x43ONTAINER_PERMISSION_DENIED\x10\x07\x12 \n\x1c\x43ONTAINER_IMAGE_UNAUTHORIZED\x10\x08\x12.\n*CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED\x10\t\x12$\n ENCRYPTION_KEY_PERMISSION_DENIED\x10\n\x12\x1f\n\x1b\x45NCRYPTION_KEY_CHECK_FAILED\x10\x0b\x12\x1f\n\x1bSECRETS_ACCESS_CHECK_FAILED\x10\x0c\x12\x19\n\x15WAITING_FOR_OPERATION\x10\r\x12\x13\n\x0fIMMEDIATE_RETRY\x10\x0e\x12\x13\n\x0fPOSTPONED_RETRY\x10\x0f\x12\x0c\n\x08INTERNAL\x10\x10\x12\x19\n\x15VPC_NETWORK_NOT_FOUND\x10\x11\"\xca\x02\n\x0eRevisionReason\x12\x1d\n\x19REVISION_REASON_UNDEFINED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RESERVE\x10\x02\x12\x0b\n\x07RETIRED\x10\x03\x12\x0c\n\x08RETIRING\x10\x04\x12\x0e\n\nRECREATING\x10\x05\x12 \n\x1cHEALTH_CHECK_CONTAINER_ERROR\x10\x06\x12$\n CUSTOMIZED_PATH_RESPONSE_PENDING\x10\x07\x12!\n\x1dMIN_INSTANCES_NOT_PROVISIONED\x10\x08\x12!\n\x1d\x41\x43TIVE_REVISION_LIMIT_REACHED\x10\t\x12\x11\n\rNO_DEPLOYMENT\x10\n\x12\x18\n\x14HEALTH_CHECK_SKIPPED\x10\x0b\x12\x19\n\x15MIN_INSTANCES_WARMING\x10\x0c\"\xe6\x01\n\x0f\x45xecutionReason\x12\x1e\n\x1a\x45XECUTION_REASON_UNDEFINED\x10\x00\x12$\n JOB_STATUS_SERVICE_POLLING_ERROR\x10\x01\x12\x16\n\x12NON_ZERO_EXIT_CODE\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\x0e\n\nCANCELLING\x10\x04\x12\x0b\n\x07\x44\x45LETED\x10\x05\x12\x19\n\x15\x44\x45LAYED_START_PENDING\x10\x06\x12.\n*DELAYED_EXECUTION_EXCEEDING_DURATION_LIMIT\x10\x07\"\x95\x01\n\x0eInstanceReason\x12\x1f\n\x1bINSTANCE_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10INSTANCE_DELETED\x10\x01\x12\x14\n\x10INSTANCE_STOPPED\x10\x02\x12\x15\n\x11INSTANCE_STOPPING\x10\x03\x12\x1f\n\x1bINSTANCE_NON_ZERO_EXIT_CODE\x10\x04\x42\t\n\x07reasonsBV\n\x17\x63om.google.cloud.run.v2B\x0e\x43onditionProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
12
12
 
13
13
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -23,6 +23,7 @@ module Google
23
23
  Condition::CommonReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Condition.CommonReason").enummodule
24
24
  Condition::RevisionReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Condition.RevisionReason").enummodule
25
25
  Condition::ExecutionReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Condition.ExecutionReason").enummodule
26
+ Condition::InstanceReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Condition.InstanceReason").enummodule
26
27
  end
27
28
  end
28
29
  end
@@ -15,7 +15,7 @@ require 'google/longrunning/operations_pb'
15
15
  require 'google/protobuf/timestamp_pb'
16
16
 
17
17
 
18
- descriptor_data = "\n#google/cloud/run/v2/execution.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#google/cloud/run/v2/condition.proto\x1a\'google/cloud/run/v2/task_template.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"J\n\x13GetExecutionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\"\x8b\x01\n\x15ListExecutionsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\x12\x1crun.googleapis.com/Execution\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\"e\n\x16ListExecutionsResponse\x12\x32\n\nexecutions\x18\x01 \x03(\x0b\x32\x1e.google.cloud.run.v2.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"r\n\x16\x44\x65leteExecutionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"r\n\x16\x43\x61ncelExecutionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\xb3\n\n\tExecution\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\x15\n\x07\x63reator\x18 \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.Execution.LabelsEntryB\x04\xe2\x41\x01\x03\x12J\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32/.google.cloud.run.v2.Execution.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\x34\n\nstart_time\x18\x16 \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\x0claunch_stage\x18\x0b \x01(\x0e\x32\x17.google.api.LaunchStage\x12,\n\x03job\x18\x0c \x01(\tB\x1f\xe2\x41\x01\x03\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x19\n\x0bparallelism\x18\r \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x18\n\ntask_count\x18\x0e \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x39\n\x08template\x18\x0f \x01(\x0b\x32!.google.cloud.run.v2.TaskTemplateB\x04\xe2\x41\x01\x03\x12\x19\n\x0breconciling\x18\x10 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18\x11 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12!\n\x13observed_generation\x18\x12 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x1b\n\rrunning_count\x18\x13 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1d\n\x0fsucceeded_count\x18\x14 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x66\x61iled_count\x18\x15 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1d\n\x0f\x63\x61ncelled_count\x18\x18 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1b\n\rretried_count\x18\x19 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x15\n\x07log_uri\x18\x1a \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18\x1b \x01(\x08\x42\x04\xe2\x41\x01\x03\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:o\xea\x41l\n\x1crun.googleapis.com/Execution\x12Iprojects/{project}/locations/{location}/jobs/{job}/executions/{execution}R\x01\x01\x32\xb1\x06\n\nExecutions\x12\x9e\x01\n\x0cGetExecution\x12(.google.cloud.run.v2.GetExecutionRequest\x1a\x1e.google.cloud.run.v2.Execution\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{name=projects/*/locations/*/jobs/*/executions/*}\x12\xb1\x01\n\x0eListExecutions\x12*.google.cloud.run.v2.ListExecutionsRequest\x1a+.google.cloud.run.v2.ListExecutionsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{parent=projects/*/locations/*/jobs/*}/executions\x12\xbc\x01\n\x0f\x44\x65leteExecution\x12+.google.cloud.run.v2.DeleteExecutionRequest\x1a\x1d.google.longrunning.Operation\"]\xca\x41\x16\n\tExecution\x12\tExecution\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v2/{name=projects/*/locations/*/jobs/*/executions/*}\x12\xc6\x01\n\x0f\x43\x61ncelExecution\x12+.google.cloud.run.v2.CancelExecutionRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41\x16\n\tExecution\x12\tExecution\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v2/{name=projects/*/locations/*/jobs/*/executions/*}:cancel:\x01*\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBV\n\x17\x63om.google.cloud.run.v2B\x0e\x45xecutionProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
18
+ descriptor_data = "\n#google/cloud/run/v2/execution.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#google/cloud/run/v2/condition.proto\x1a\'google/cloud/run/v2/task_template.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"J\n\x13GetExecutionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\"\x8b\x01\n\x15ListExecutionsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\x12\x1crun.googleapis.com/Execution\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\"e\n\x16ListExecutionsResponse\x12\x32\n\nexecutions\x18\x01 \x03(\x0b\x32\x1e.google.cloud.run.v2.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"r\n\x16\x44\x65leteExecutionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"r\n\x16\x43\x61ncelExecutionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\xe7\n\n\tExecution\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\x15\n\x07\x63reator\x18 \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.Execution.LabelsEntryB\x04\xe2\x41\x01\x03\x12J\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32/.google.cloud.run.v2.Execution.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\x34\n\nstart_time\x18\x16 \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\x0claunch_stage\x18\x0b \x01(\x0e\x32\x17.google.api.LaunchStage\x12,\n\x03job\x18\x0c \x01(\tB\x1f\xe2\x41\x01\x03\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x19\n\x0bparallelism\x18\r \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x18\n\ntask_count\x18\x0e \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x39\n\x08template\x18\x0f \x01(\x0b\x32!.google.cloud.run.v2.TaskTemplateB\x04\xe2\x41\x01\x03\x12\x19\n\x0breconciling\x18\x10 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18\x11 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12!\n\x13observed_generation\x18\x12 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x1b\n\rrunning_count\x18\x13 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1d\n\x0fsucceeded_count\x18\x14 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x66\x61iled_count\x18\x15 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1d\n\x0f\x63\x61ncelled_count\x18\x18 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1b\n\rretried_count\x18\x19 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x15\n\x07log_uri\x18\x1a \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18\x1b \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x14\n\x06\x63lient\x18! \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0e\x63lient_version\x18\" \x01(\tB\x04\xe2\x41\x01\x03\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:o\xea\x41l\n\x1crun.googleapis.com/Execution\x12Iprojects/{project}/locations/{location}/jobs/{job}/executions/{execution}R\x01\x01\x32\x83\x07\n\nExecutions\x12\x9e\x01\n\x0cGetExecution\x12(.google.cloud.run.v2.GetExecutionRequest\x1a\x1e.google.cloud.run.v2.Execution\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{name=projects/*/locations/*/jobs/*/executions/*}\x12\xb1\x01\n\x0eListExecutions\x12*.google.cloud.run.v2.ListExecutionsRequest\x1a+.google.cloud.run.v2.ListExecutionsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{parent=projects/*/locations/*/jobs/*}/executions\x12\xbc\x01\n\x0f\x44\x65leteExecution\x12+.google.cloud.run.v2.DeleteExecutionRequest\x1a\x1d.google.longrunning.Operation\"]\xca\x41\x16\n\tExecution\x12\tExecution\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v2/{name=projects/*/locations/*/jobs/*/executions/*}\x12\xc6\x01\n\x0f\x43\x61ncelExecution\x12+.google.cloud.run.v2.CancelExecutionRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41\x16\n\tExecution\x12\tExecution\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v2/{name=projects/*/locations/*/jobs/*/executions/*}:cancel:\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.readonlyBV\n\x17\x63om.google.cloud.run.v2B\x0e\x45xecutionProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
19
19
 
20
20
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
21
21
  pool.add_serialized_file(descriptor_data)
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/cloud/run/v2/task_template_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n,google/cloud/run/v2/execution_template.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\'google/cloud/run/v2/task_template.proto\"\xf2\x02\n\x11\x45xecutionTemplate\x12\x42\n\x06labels\x18\x01 \x03(\x0b\x32\x32.google.cloud.run.v2.ExecutionTemplate.LabelsEntry\x12L\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32\x37.google.cloud.run.v2.ExecutionTemplate.AnnotationsEntry\x12\x19\n\x0bparallelism\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x12\n\ntask_count\x18\x04 \x01(\x05\x12\x39\n\x08template\x18\x05 \x01(\x0b\x32!.google.cloud.run.v2.TaskTemplateB\x04\xe2\x41\x01\x02\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\x17\x63om.google.cloud.run.v2B\x16\x45xecutionTemplateProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
11
+ descriptor_data = "\n,google/cloud/run/v2/execution_template.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\'google/cloud/run/v2/task_template.proto\"\xde\x03\n\x11\x45xecutionTemplate\x12\x42\n\x06labels\x18\x01 \x03(\x0b\x32\x32.google.cloud.run.v2.ExecutionTemplate.LabelsEntry\x12L\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32\x37.google.cloud.run.v2.ExecutionTemplate.AnnotationsEntry\x12\x19\n\x0bparallelism\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x12\n\ntask_count\x18\x04 \x01(\x05\x12\x39\n\x08template\x18\x05 \x01(\x0b\x32!.google.cloud.run.v2.TaskTemplateB\x04\xe2\x41\x01\x02\x12\"\n\x0f\x64\x65lay_execution\x18\x08 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x14\n\x06\x63lient\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0e\x63lient_version\x18\n \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\x12\n\x10_delay_executionB^\n\x17\x63om.google.cloud.run.v2B\x16\x45xecutionTemplateProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
12
12
 
13
13
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -26,7 +26,9 @@ module Google
26
26
  # Credentials for the Executions 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",
@@ -13,13 +13,17 @@ require 'google/api/routing_pb'
13
13
  require 'google/cloud/run/v2/condition_pb'
14
14
  require 'google/cloud/run/v2/container_status_pb'
15
15
  require 'google/cloud/run/v2/k8s.min_pb'
16
+ require 'google/cloud/run/v2/sandbox_pb'
16
17
  require 'google/cloud/run/v2/vendor_settings_pb'
18
+ require 'google/iam/v1/iam_policy_pb'
19
+ require 'google/iam/v1/policy_pb'
17
20
  require 'google/longrunning/operations_pb'
18
21
  require 'google/protobuf/duration_pb'
22
+ require 'google/protobuf/field_mask_pb'
19
23
  require 'google/protobuf/timestamp_pb'
20
24
 
21
25
 
22
- descriptor_data = "\n\"google/cloud/run/v2/instance.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/container_status.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x15\x43reateInstanceRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1brun.googleapis.com/Instance\x12\x35\n\x08instance\x18\x02 \x01(\x0b\x32\x1d.google.cloud.run.v2.InstanceB\x04\xe2\x41\x01\x02\x12\x19\n\x0binstance_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\"H\n\x12GetInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Instance\"|\n\x15\x44\x65leteInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Instance\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04\x65tag\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x9b\x01\n\x14ListInstancesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1brun.googleapis.com/Instance\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cshow_deleted\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"b\n\x15ListInstancesResponse\x12\x30\n\tinstances\x18\x01 \x03(\x0b\x32\x1d.google.cloud.run.v2.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"z\n\x13StopInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Instance\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04\x65tag\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"{\n\x14StartInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Instance\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04\x65tag\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\xec\x0e\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\x03uid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\ngeneration\x18\x05 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x39\n\x06labels\x18\x06 \x03(\x0b\x32).google.cloud.run.v2.Instance.LabelsEntry\x12\x43\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32..google.cloud.run.v2.Instance.AnnotationsEntry\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x15\n\x07\x63reator\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rlast_modifier\x18\r \x01(\tB\x04\xe2\x41\x01\x03\x12\x0e\n\x06\x63lient\x18\x0e \x01(\t\x12\x16\n\x0e\x63lient_version\x18\x0f \x01(\t\x12-\n\x0claunch_stage\x18\x10 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x46\n\x14\x62inary_authorization\x18\x11 \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorization\x12\x38\n\nvpc_access\x18\x12 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x01\x12\x17\n\x0fservice_account\x18\x13 \x01(\t\x12\x38\n\ncontainers\x18\x14 \x03(\x0b\x32\x1e.google.cloud.run.v2.ContainerB\x04\xe2\x41\x01\x02\x12,\n\x07volumes\x18\x15 \x03(\x0b\x32\x1b.google.cloud.run.v2.Volume\x12>\n\x0e\x65ncryption_key\x18\x16 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\\\n encryption_key_revocation_action\x18\x18 \x01(\x0e\x32\x32.google.cloud.run.v2.EncryptionKeyRevocationAction\x12\x43\n encryption_key_shutdown_duration\x18\x19 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\rnode_selector\x18\x1a \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x01\x12\x30\n\x1dgpu_zonal_redundancy_disabled\x18\x1b \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12:\n\x07ingress\x18\x1c \x01(\x0e\x32#.google.cloud.run.v2.IngressTrafficB\x04\xe2\x41\x01\x01\x12\"\n\x14invoker_iam_disabled\x18\x1d \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x19\n\x0biap_enabled\x18\x1e \x01(\x08\x42\x04\xe2\x41\x01\x01\x12!\n\x13observed_generation\x18( \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x15\n\x07log_uri\x18) \x01(\tB\x04\xe2\x41\x01\x03\x12@\n\x12terminal_condition\x18* \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\x46\n\x12\x63ontainer_statuses\x18, \x03(\x0b\x32$.google.cloud.run.v2.ContainerStatusB\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18. \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x12\n\x04urls\x18- \x03(\tB\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:s\xea\x41p\n\x1brun.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}*\tinstances2\x08instanceB \n\x1e_gpu_zonal_redundancy_disabled2\xce\n\n\tInstances\x12\xf9\x01\n\x0e\x43reateInstance\x12*.google.cloud.run.v2.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41\x14\n\x08Instance\x12\x08Instance\xda\x41\x0fparent,instance\x82\xd3\xe4\x93\x02\x39\"-/v2/{parent=projects/*/locations/*}/instances:\x08instance\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xe5\x01\n\x0e\x44\x65leteInstance\x12*.google.cloud.run.v2.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x14\n\x08Instance\x12\x08Instance\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v2/{name=projects/*/locations/*/instances/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xc7\x01\n\x0bGetInstance\x12\'.google.cloud.run.v2.GetInstanceRequest\x1a\x1d.google.cloud.run.v2.Instance\"p\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v2/{name=projects/*/locations/*/instances/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xd9\x01\n\rListInstances\x12).google.cloud.run.v2.ListInstancesRequest\x1a*.google.cloud.run.v2.ListInstancesResponse\"q\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v2/{parent=projects/*/locations/*}/instances\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xb4\x01\n\x0cStopInstance\x12(.google.cloud.run.v2.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"[\xca\x41\x14\n\x08Instance\x12\x08Instance\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v2/{name=projects/*/locations/*/instances/*}:stop:\x01*\x12\xb7\x01\n\rStartInstance\x12).google.cloud.run.v2.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"\\\xca\x41\x14\n\x08Instance\x12\x08Instance\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/locations/*/instances/*}:start:\x01*\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBF\n\x17\x63om.google.cloud.run.v2P\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
26
+ descriptor_data = "\n\"google/cloud/run/v2/instance.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/container_status.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/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x15\x43reateInstanceRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1brun.googleapis.com/Instance\x12\x35\n\x08instance\x18\x02 \x01(\x0b\x32\x1d.google.cloud.run.v2.InstanceB\x04\xe2\x41\x01\x02\x12\x19\n\x0binstance_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\"\xbf\x01\n\x15UpdateInstanceRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12\x35\n\x08instance\x18\x02 \x01(\x0b\x32\x1d.google.cloud.run.v2.InstanceB\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\"H\n\x12GetInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Instance\"|\n\x15\x44\x65leteInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Instance\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04\x65tag\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x9b\x01\n\x14ListInstancesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1brun.googleapis.com/Instance\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cshow_deleted\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"b\n\x15ListInstancesResponse\x12\x30\n\tinstances\x18\x01 \x03(\x0b\x32\x1d.google.cloud.run.v2.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"z\n\x13StopInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Instance\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04\x65tag\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"{\n\x14StartInstanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Instance\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04\x65tag\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\xa7\x11\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\x03uid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\ngeneration\x18\x05 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x39\n\x06labels\x18\x06 \x03(\x0b\x32).google.cloud.run.v2.Instance.LabelsEntry\x12\x43\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32..google.cloud.run.v2.Instance.AnnotationsEntry\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x15\n\x07\x63reator\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rlast_modifier\x18\r \x01(\tB\x04\xe2\x41\x01\x03\x12\x0e\n\x06\x63lient\x18\x0e \x01(\t\x12\x16\n\x0e\x63lient_version\x18\x0f \x01(\t\x12-\n\x0claunch_stage\x18\x10 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x46\n\x14\x62inary_authorization\x18\x11 \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorization\x12\x38\n\nvpc_access\x18\x12 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x01\x12\x17\n\x0fservice_account\x18\x13 \x01(\t\x12\x38\n\ncontainers\x18\x14 \x03(\x0b\x32\x1e.google.cloud.run.v2.ContainerB\x04\xe2\x41\x01\x02\x12\x42\n\tsandboxes\x18\" \x01(\x0b\x32).google.cloud.run.v2.SandboxConfigurationB\x04\xe2\x41\x01\x01\x12,\n\x07volumes\x18\x15 \x03(\x0b\x32\x1b.google.cloud.run.v2.Volume\x12>\n\x0e\x65ncryption_key\x18\x16 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\\\n encryption_key_revocation_action\x18\x18 \x01(\x0e\x32\x32.google.cloud.run.v2.EncryptionKeyRevocationAction\x12\x43\n encryption_key_shutdown_duration\x18\x19 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\rnode_selector\x18\x1a \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x01\x12\x30\n\x1dgpu_zonal_redundancy_disabled\x18\x1b \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12:\n\x07ingress\x18\x1c \x01(\x0e\x32#.google.cloud.run.v2.IngressTrafficB\x04\xe2\x41\x01\x01\x12\"\n\x14invoker_iam_disabled\x18\x1d \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\"\n\x14\x64\x65\x66\x61ult_uri_disabled\x18! \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x19\n\x0biap_enabled\x18\x1e \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1e\n\x0bssh_enabled\x18 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12I\n\x0erestart_policy\x18# \x01(\x0e\x32+.google.cloud.run.v2.Instance.RestartPolicyB\x04\xe2\x41\x01\x01\x12!\n\x13observed_generation\x18( \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x15\n\x07log_uri\x18) \x01(\tB\x04\xe2\x41\x01\x03\x12@\n\x12terminal_condition\x18* \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\x46\n\x12\x63ontainer_statuses\x18, \x03(\x0b\x32$.google.cloud.run.v2.ContainerStatusB\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18. \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x12\n\x04urls\x18- \x03(\tB\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\"V\n\rRestartPolicy\x12\x1e\n\x1aRESTART_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x12\x0e\n\nON_FAILURE\x10\x02\x12\t\n\x05NEVER\x10\x03:s\xea\x41p\n\x1brun.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}*\tinstances2\x08instanceB \n\x1e_gpu_zonal_redundancy_disabledB\x0e\n\x0c_ssh_enabled2\x9c\x11\n\tInstances\x12\xf9\x01\n\x0e\x43reateInstance\x12*.google.cloud.run.v2.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41\x14\n\x08Instance\x12\x08Instance\xda\x41\x0fparent,instance\x82\xd3\xe4\x93\x02\x39\"-/v2/{parent=projects/*/locations/*}/instances:\x08instance\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\x91\x02\n\x0eUpdateInstance\x12*.google.cloud.run.v2.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xb3\x01\xca\x41\x14\n\x08Instance\x12\x08Instance\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v2/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x8a\xd3\xe4\x93\x02\x37\x12\x35\n\rinstance.name\x12$projects/*/locations/{location=*}/**\x12\xe5\x01\n\x0e\x44\x65leteInstance\x12*.google.cloud.run.v2.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x14\n\x08Instance\x12\x08Instance\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v2/{name=projects/*/locations/*/instances/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xc7\x01\n\x0bGetInstance\x12\'.google.cloud.run.v2.GetInstanceRequest\x1a\x1d.google.cloud.run.v2.Instance\"p\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v2/{name=projects/*/locations/*/instances/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xd9\x01\n\rListInstances\x12).google.cloud.run.v2.ListInstancesRequest\x1a*.google.cloud.run.v2.ListInstancesResponse\"q\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v2/{parent=projects/*/locations/*}/instances\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xb4\x01\n\x0cStopInstance\x12(.google.cloud.run.v2.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"[\xca\x41\x14\n\x08Instance\x12\x08Instance\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v2/{name=projects/*/locations/*/instances/*}:stop:\x01*\x12\xb7\x01\n\rStartInstance\x12).google.cloud.run.v2.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"\\\xca\x41\x14\n\x08Instance\x12\x08Instance\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/locations/*/instances/*}:start:\x01*\x12\x91\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"F\x82\xd3\xe4\x93\x02@\x12>/v2/{resource=projects/*/locations/*/instances/*}:getIamPolicy\x12\x94\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"I\x82\xd3\xe4\x93\x02\x43\">/v2/{resource=projects/*/locations/*/instances/*}:setIamPolicy:\x01*\x12\xba\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"O\x82\xd3\xe4\x93\x02I\"D/v2/{resource=projects/*/locations/*/instances/*}: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.readonlyBF\n\x17\x63om.google.cloud.run.v2P\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
23
27
 
24
28
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
25
29
  pool.add_serialized_file(descriptor_data)
@@ -29,6 +33,7 @@ module Google
29
33
  module Run
30
34
  module V2
31
35
  CreateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.CreateInstanceRequest").msgclass
36
+ UpdateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.UpdateInstanceRequest").msgclass
32
37
  GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.GetInstanceRequest").msgclass
33
38
  DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.DeleteInstanceRequest").msgclass
34
39
  ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ListInstancesRequest").msgclass
@@ -36,6 +41,7 @@ module Google
36
41
  StopInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.StopInstanceRequest").msgclass
37
42
  StartInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.StartInstanceRequest").msgclass
38
43
  Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Instance").msgclass
44
+ Instance::RestartPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Instance.RestartPolicy").enummodule
39
45
  end
40
46
  end
41
47
  end
@@ -35,9 +35,11 @@ module Google
35
35
 
36
36
  # Creates an Instance.
37
37
  rpc :CreateInstance, ::Google::Cloud::Run::V2::CreateInstanceRequest, ::Google::Longrunning::Operation
38
- # Deletes a Instance
38
+ # Updates an Instance.
39
+ rpc :UpdateInstance, ::Google::Cloud::Run::V2::UpdateInstanceRequest, ::Google::Longrunning::Operation
40
+ # Deletes an Instance
39
41
  rpc :DeleteInstance, ::Google::Cloud::Run::V2::DeleteInstanceRequest, ::Google::Longrunning::Operation
40
- # Gets a Instance
42
+ # Gets an Instance
41
43
  rpc :GetInstance, ::Google::Cloud::Run::V2::GetInstanceRequest, ::Google::Cloud::Run::V2::Instance
42
44
  # Lists Instances. Results are sorted by creation time, descending.
43
45
  rpc :ListInstances, ::Google::Cloud::Run::V2::ListInstancesRequest, ::Google::Cloud::Run::V2::ListInstancesResponse
@@ -45,6 +47,16 @@ module Google
45
47
  rpc :StopInstance, ::Google::Cloud::Run::V2::StopInstanceRequest, ::Google::Longrunning::Operation
46
48
  # Starts an Instance.
47
49
  rpc :StartInstance, ::Google::Cloud::Run::V2::StartInstanceRequest, ::Google::Longrunning::Operation
50
+ # Gets the IAM Access Control policy currently in effect for the given
51
+ # Instance. This result does not include any inherited policies.
52
+ rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
53
+ # Sets the IAM Access control policy for the specified Instance. Overwrites
54
+ # any existing policy.
55
+ rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
56
+ # Returns permissions that a caller has on the specified Instance.
57
+ #
58
+ # There are no permissions required for making this API call.
59
+ rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
48
60
  end
49
61
 
50
62
  Stub = Service.rpc_stub_class