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
@@ -113,6 +113,46 @@ module Google
113
113
  end
114
114
  end
115
115
 
116
+ ##
117
+ # Baseline implementation for the update_instance REST call
118
+ #
119
+ # @param request_pb [::Google::Cloud::Run::V2::UpdateInstanceRequest]
120
+ # A request object representing the call parameters. Required.
121
+ # @param options [::Gapic::CallOptions]
122
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
123
+ #
124
+ # @yield [result, operation] Access the result along with the TransportOperation object
125
+ # @yieldparam result [::Google::Longrunning::Operation]
126
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
127
+ #
128
+ # @return [::Google::Longrunning::Operation]
129
+ # A result object deserialized from the server's reply
130
+ def update_instance request_pb, options = nil
131
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
132
+
133
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_instance_request request_pb
134
+ query_string_params = if query_string_params.any?
135
+ query_string_params.to_h { |p| p.split "=", 2 }
136
+ else
137
+ {}
138
+ end
139
+
140
+ response = @client_stub.make_http_request(
141
+ verb,
142
+ uri: uri,
143
+ body: body || "",
144
+ params: query_string_params,
145
+ method_name: "update_instance",
146
+ options: options
147
+ )
148
+ operation = ::Gapic::Rest::TransportOperation.new response
149
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
150
+ catch :response do
151
+ yield result, operation if block_given?
152
+ result
153
+ end
154
+ end
155
+
116
156
  ##
117
157
  # Baseline implementation for the delete_instance REST call
118
158
  #
@@ -313,6 +353,126 @@ module Google
313
353
  end
314
354
  end
315
355
 
356
+ ##
357
+ # Baseline implementation for the get_iam_policy REST call
358
+ #
359
+ # @param request_pb [::Google::Iam::V1::GetIamPolicyRequest]
360
+ # A request object representing the call parameters. Required.
361
+ # @param options [::Gapic::CallOptions]
362
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
363
+ #
364
+ # @yield [result, operation] Access the result along with the TransportOperation object
365
+ # @yieldparam result [::Google::Iam::V1::Policy]
366
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
367
+ #
368
+ # @return [::Google::Iam::V1::Policy]
369
+ # A result object deserialized from the server's reply
370
+ def get_iam_policy request_pb, options = nil
371
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
372
+
373
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
374
+ query_string_params = if query_string_params.any?
375
+ query_string_params.to_h { |p| p.split "=", 2 }
376
+ else
377
+ {}
378
+ end
379
+
380
+ response = @client_stub.make_http_request(
381
+ verb,
382
+ uri: uri,
383
+ body: body || "",
384
+ params: query_string_params,
385
+ method_name: "get_iam_policy",
386
+ options: options
387
+ )
388
+ operation = ::Gapic::Rest::TransportOperation.new response
389
+ result = ::Google::Iam::V1::Policy.decode_json response.body, ignore_unknown_fields: true
390
+ catch :response do
391
+ yield result, operation if block_given?
392
+ result
393
+ end
394
+ end
395
+
396
+ ##
397
+ # Baseline implementation for the set_iam_policy REST call
398
+ #
399
+ # @param request_pb [::Google::Iam::V1::SetIamPolicyRequest]
400
+ # A request object representing the call parameters. Required.
401
+ # @param options [::Gapic::CallOptions]
402
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
403
+ #
404
+ # @yield [result, operation] Access the result along with the TransportOperation object
405
+ # @yieldparam result [::Google::Iam::V1::Policy]
406
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
407
+ #
408
+ # @return [::Google::Iam::V1::Policy]
409
+ # A result object deserialized from the server's reply
410
+ def set_iam_policy request_pb, options = nil
411
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
412
+
413
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_iam_policy_request request_pb
414
+ query_string_params = if query_string_params.any?
415
+ query_string_params.to_h { |p| p.split "=", 2 }
416
+ else
417
+ {}
418
+ end
419
+
420
+ response = @client_stub.make_http_request(
421
+ verb,
422
+ uri: uri,
423
+ body: body || "",
424
+ params: query_string_params,
425
+ method_name: "set_iam_policy",
426
+ options: options
427
+ )
428
+ operation = ::Gapic::Rest::TransportOperation.new response
429
+ result = ::Google::Iam::V1::Policy.decode_json response.body, ignore_unknown_fields: true
430
+ catch :response do
431
+ yield result, operation if block_given?
432
+ result
433
+ end
434
+ end
435
+
436
+ ##
437
+ # Baseline implementation for the test_iam_permissions REST call
438
+ #
439
+ # @param request_pb [::Google::Iam::V1::TestIamPermissionsRequest]
440
+ # A request object representing the call parameters. Required.
441
+ # @param options [::Gapic::CallOptions]
442
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
443
+ #
444
+ # @yield [result, operation] Access the result along with the TransportOperation object
445
+ # @yieldparam result [::Google::Iam::V1::TestIamPermissionsResponse]
446
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
447
+ #
448
+ # @return [::Google::Iam::V1::TestIamPermissionsResponse]
449
+ # A result object deserialized from the server's reply
450
+ def test_iam_permissions request_pb, options = nil
451
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
452
+
453
+ verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
454
+ query_string_params = if query_string_params.any?
455
+ query_string_params.to_h { |p| p.split "=", 2 }
456
+ else
457
+ {}
458
+ end
459
+
460
+ response = @client_stub.make_http_request(
461
+ verb,
462
+ uri: uri,
463
+ body: body || "",
464
+ params: query_string_params,
465
+ method_name: "test_iam_permissions",
466
+ options: options
467
+ )
468
+ operation = ::Gapic::Rest::TransportOperation.new response
469
+ result = ::Google::Iam::V1::TestIamPermissionsResponse.decode_json response.body, ignore_unknown_fields: true
470
+ catch :response do
471
+ yield result, operation if block_given?
472
+ result
473
+ end
474
+ end
475
+
316
476
  ##
317
477
  # @private
318
478
  #
@@ -335,6 +495,28 @@ module Google
335
495
  transcoder.transcode request_pb
336
496
  end
337
497
 
498
+ ##
499
+ # @private
500
+ #
501
+ # GRPC transcoding helper method for the update_instance REST call
502
+ #
503
+ # @param request_pb [::Google::Cloud::Run::V2::UpdateInstanceRequest]
504
+ # A request object representing the call parameters. Required.
505
+ # @return [Array(String, [String, nil], Hash{String => String})]
506
+ # Uri, Body, Query string parameters
507
+ def self.transcode_update_instance_request request_pb
508
+ transcoder = Gapic::Rest::GrpcTranscoder.new
509
+ .with_bindings(
510
+ uri_method: :patch,
511
+ uri_template: "/v2/{instance.name}",
512
+ body: "instance",
513
+ matches: [
514
+ ["instance.name", %r{^projects/[^/]+/locations/[^/]+/instances/[^/]+/?$}, false]
515
+ ]
516
+ )
517
+ transcoder.transcode request_pb
518
+ end
519
+
338
520
  ##
339
521
  # @private
340
522
  #
@@ -441,6 +623,71 @@ module Google
441
623
  )
442
624
  transcoder.transcode request_pb
443
625
  end
626
+
627
+ ##
628
+ # @private
629
+ #
630
+ # GRPC transcoding helper method for the get_iam_policy REST call
631
+ #
632
+ # @param request_pb [::Google::Iam::V1::GetIamPolicyRequest]
633
+ # A request object representing the call parameters. Required.
634
+ # @return [Array(String, [String, nil], Hash{String => String})]
635
+ # Uri, Body, Query string parameters
636
+ def self.transcode_get_iam_policy_request request_pb
637
+ transcoder = Gapic::Rest::GrpcTranscoder.new
638
+ .with_bindings(
639
+ uri_method: :get,
640
+ uri_template: "/v2/{resource}:getIamPolicy",
641
+ matches: [
642
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/instances/[^/]+/?$}, false]
643
+ ]
644
+ )
645
+ transcoder.transcode request_pb
646
+ end
647
+
648
+ ##
649
+ # @private
650
+ #
651
+ # GRPC transcoding helper method for the set_iam_policy REST call
652
+ #
653
+ # @param request_pb [::Google::Iam::V1::SetIamPolicyRequest]
654
+ # A request object representing the call parameters. Required.
655
+ # @return [Array(String, [String, nil], Hash{String => String})]
656
+ # Uri, Body, Query string parameters
657
+ def self.transcode_set_iam_policy_request request_pb
658
+ transcoder = Gapic::Rest::GrpcTranscoder.new
659
+ .with_bindings(
660
+ uri_method: :post,
661
+ uri_template: "/v2/{resource}:setIamPolicy",
662
+ body: "*",
663
+ matches: [
664
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/instances/[^/]+/?$}, false]
665
+ ]
666
+ )
667
+ transcoder.transcode request_pb
668
+ end
669
+
670
+ ##
671
+ # @private
672
+ #
673
+ # GRPC transcoding helper method for the test_iam_permissions REST call
674
+ #
675
+ # @param request_pb [::Google::Iam::V1::TestIamPermissionsRequest]
676
+ # A request object representing the call parameters. Required.
677
+ # @return [Array(String, [String, nil], Hash{String => String})]
678
+ # Uri, Body, Query string parameters
679
+ def self.transcode_test_iam_permissions_request request_pb
680
+ transcoder = Gapic::Rest::GrpcTranscoder.new
681
+ .with_bindings(
682
+ uri_method: :post,
683
+ uri_template: "/v2/{resource}:testIamPermissions",
684
+ body: "*",
685
+ matches: [
686
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/instances/[^/]+/?$}, false]
687
+ ]
688
+ )
689
+ transcoder.transcode request_pb
690
+ end
444
691
  end
445
692
  end
446
693
  end
@@ -22,7 +22,7 @@ require 'google/protobuf/duration_pb'
22
22
  require 'google/protobuf/timestamp_pb'
23
23
 
24
24
 
25
- descriptor_data = "\n\x1dgoogle/cloud/run/v2/job.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/execution.proto\x1a,google/cloud/run/v2/execution_template.proto\x1a!google/cloud/run/v2/k8s.min.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\x1fgoogle/protobuf/timestamp.proto\"\x9d\x01\n\x10\x43reateJobRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16run.googleapis.com/Job\x12+\n\x03job\x18\x02 \x01(\x0b\x32\x18.google.cloud.run.v2.JobB\x04\xe2\x41\x01\x02\x12\x14\n\x06job_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\">\n\rGetJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16run.googleapis.com/Job\"s\n\x10UpdateJobRequest\x12+\n\x03job\x18\x01 \x01(\x0b\x32\x18.google.cloud.run.v2.JobB\x04\xe2\x41\x01\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x1b\n\rallow_missing\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x7f\n\x0fListJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16run.googleapis.com/Job\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\"S\n\x10ListJobsResponse\x12&\n\x04jobs\x18\x01 \x03(\x0b\x32\x18.google.cloud.run.v2.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"f\n\x10\x44\x65leteJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"\xd0\x03\n\rRunJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\x12?\n\toverrides\x18\x04 \x01(\x0b\x32,.google.cloud.run.v2.RunJobRequest.Overrides\x1a\xa9\x02\n\tOverrides\x12[\n\x13\x63ontainer_overrides\x18\x01 \x03(\x0b\x32>.google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride\x12\x18\n\ntask_count\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12*\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x1ay\n\x11\x43ontainerOverride\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\x04\x61rgs\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\x12(\n\x03\x65nv\x18\x03 \x03(\x0b\x32\x1b.google.cloud.run.v2.EnvVar\x12\x18\n\nclear_args\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x8b\n\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\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\x34\n\x06labels\x18\x04 \x03(\x0b\x32$.google.cloud.run.v2.Job.LabelsEntry\x12>\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32).google.cloud.run.v2.Job.AnnotationsEntry\x12\x35\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x15\n\x07\x63reator\x18\n \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rlast_modifier\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x12\x0e\n\x06\x63lient\x18\x0c \x01(\t\x12\x16\n\x0e\x63lient_version\x18\r \x01(\t\x12-\n\x0claunch_stage\x18\x0e \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x46\n\x14\x62inary_authorization\x18\x0f \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorization\x12>\n\x08template\x18\x10 \x01(\x0b\x32&.google.cloud.run.v2.ExecutionTemplateB\x04\xe2\x41\x01\x02\x12!\n\x13observed_generation\x18\x11 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12@\n\x12terminal_condition\x18\x12 \x01(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18\x13 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12\x1d\n\x0f\x65xecution_count\x18\x14 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12O\n\x18latest_created_execution\x18\x16 \x01(\x0b\x32\'.google.cloud.run.v2.ExecutionReferenceB\x04\xe2\x41\x01\x03\x12\x19\n\x0breconciling\x18\x17 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18\x19 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x1f\n\x15start_execution_token\x18\x1a \x01(\tH\x00\x12\x1d\n\x13run_execution_token\x18\x1b \x01(\tH\x00\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:R\xea\x41O\n\x16run.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}R\x01\x01\x42\x12\n\x10\x63reate_execution\"\xdf\x03\n\x12\x45xecutionReference\x12/\n\x04name\x18\x01 \x01(\tB!\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x63ompletion_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63ompletion_status\x18\x04 \x01(\x0e\x32\x38.google.cloud.run.v2.ExecutionReference.CompletionStatus\"\xab\x01\n\x10\x43ompletionStatus\x12!\n\x1d\x43OMPLETION_STATUS_UNSPECIFIED\x10\x00\x12\x17\n\x13\x45XECUTION_SUCCEEDED\x10\x01\x12\x14\n\x10\x45XECUTION_FAILED\x10\x02\x12\x15\n\x11\x45XECUTION_RUNNING\x10\x03\x12\x15\n\x11\x45XECUTION_PENDING\x10\x04\x12\x17\n\x13\x45XECUTION_CANCELLED\x10\x05\x32\x8a\x0e\n\x04Jobs\x12\xdd\x01\n\tCreateJob\x12%.google.cloud.run.v2.CreateJobRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\n\n\x03Job\x12\x03Job\xda\x41\x11parent,job,job_id\x82\xd3\xe4\x93\x02/\"(/v2/{parent=projects/*/locations/*}/jobs:\x03job\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xb3\x01\n\x06GetJob\x12\".google.cloud.run.v2.GetJobRequest\x1a\x18.google.cloud.run.v2.Job\"k\xda\x41\x04name\x82\xd3\xe4\x93\x02*\x12(/v2/{name=projects/*/locations/*/jobs/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xc5\x01\n\x08ListJobs\x12$.google.cloud.run.v2.ListJobsRequest\x1a%.google.cloud.run.v2.ListJobsResponse\"l\xda\x41\x06parent\x82\xd3\xe4\x93\x02*\x12(/v2/{parent=projects/*/locations/*}/jobs\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xd8\x01\n\tUpdateJob\x12%.google.cloud.run.v2.UpdateJobRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\n\n\x03Job\x12\x03Job\xda\x41\x03job\x82\xd3\xe4\x93\x02\x33\x32,/v2/{job.name=projects/*/locations/*/jobs/*}:\x03job\x8a\xd3\xe4\x93\x02\x32\x12\x30\n\x08job.name\x12$projects/*/locations/{location=*}/**\x12\xcb\x01\n\tDeleteJob\x12%.google.cloud.run.v2.DeleteJobRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\n\n\x03Job\x12\x03Job\xda\x41\x04name\x82\xd3\xe4\x93\x02**(/v2/{name=projects/*/locations/*/jobs/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xd9\x01\n\x06RunJob\x12\".google.cloud.run.v2.RunJobRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41\x16\n\tExecution\x12\tExecution\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\",/v2/{name=projects/*/locations/*/jobs/*}:run:\x01*\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\x8c\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"A\x82\xd3\xe4\x93\x02;\x12\x39/v2/{resource=projects/*/locations/*/jobs/*}:getIamPolicy\x12\x8f\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"D\x82\xd3\xe4\x93\x02>\"9/v2/{resource=projects/*/locations/*/jobs/*}:setIamPolicy:\x01*\x12\xb5\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v2/{resource=projects/*/locations/*/jobs/*}:testIamPermissions:\x01*\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBP\n\x17\x63om.google.cloud.run.v2B\x08JobProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
25
+ descriptor_data = "\n\x1dgoogle/cloud/run/v2/job.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/execution.proto\x1a,google/cloud/run/v2/execution_template.proto\x1a!google/cloud/run/v2/k8s.min.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\x1fgoogle/protobuf/timestamp.proto\"\x9d\x01\n\x10\x43reateJobRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16run.googleapis.com/Job\x12+\n\x03job\x18\x02 \x01(\x0b\x32\x18.google.cloud.run.v2.JobB\x04\xe2\x41\x01\x02\x12\x14\n\x06job_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\">\n\rGetJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16run.googleapis.com/Job\"s\n\x10UpdateJobRequest\x12+\n\x03job\x18\x01 \x01(\x0b\x32\x18.google.cloud.run.v2.JobB\x04\xe2\x41\x01\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x1b\n\rallow_missing\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x7f\n\x0fListJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16run.googleapis.com/Job\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\"S\n\x10ListJobsResponse\x12&\n\x04jobs\x18\x01 \x03(\x0b\x32\x18.google.cloud.run.v2.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"f\n\x10\x44\x65leteJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"\x88\x04\n\rRunJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\x12?\n\toverrides\x18\x04 \x01(\x0b\x32,.google.cloud.run.v2.RunJobRequest.Overrides\x1a\xe1\x02\n\tOverrides\x12[\n\x13\x63ontainer_overrides\x18\x01 \x03(\x0b\x32>.google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride\x12\x18\n\ntask_count\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12*\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\"\n\x0f\x64\x65lay_execution\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x1ay\n\x11\x43ontainerOverride\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\x04\x61rgs\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\x12(\n\x03\x65nv\x18\x03 \x03(\x0b\x32\x1b.google.cloud.run.v2.EnvVar\x12\x18\n\nclear_args\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\x42\x12\n\x10_delay_execution\"\xcf\n\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\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\x34\n\x06labels\x18\x04 \x03(\x0b\x32$.google.cloud.run.v2.Job.LabelsEntry\x12>\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32).google.cloud.run.v2.Job.AnnotationsEntry\x12\x35\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x15\n\x07\x63reator\x18\n \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rlast_modifier\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x12\x0e\n\x06\x63lient\x18\x0c \x01(\t\x12\x16\n\x0e\x63lient_version\x18\r \x01(\t\x12-\n\x0claunch_stage\x18\x0e \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x46\n\x14\x62inary_authorization\x18\x0f \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorization\x12>\n\x08template\x18\x10 \x01(\x0b\x32&.google.cloud.run.v2.ExecutionTemplateB\x04\xe2\x41\x01\x02\x12!\n\x13observed_generation\x18\x11 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12@\n\x12terminal_condition\x18\x12 \x01(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18\x13 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\x12\x1d\n\x0f\x65xecution_count\x18\x14 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12O\n\x18latest_created_execution\x18\x16 \x01(\x0b\x32\'.google.cloud.run.v2.ExecutionReferenceB\x04\xe2\x41\x01\x03\x12\x19\n\x0breconciling\x18\x17 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18\x19 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x1f\n\x15start_execution_token\x18\x1a \x01(\tH\x00\x12\x1d\n\x13run_execution_token\x18\x1b \x01(\tH\x00\x12\x42\n\x0f\x66unctional_type\x18\x1f \x01(\x0e\x32#.google.cloud.run.v2.FunctionalTypeB\x04\xe2\x41\x01\x01\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:R\xea\x41O\n\x16run.googleapis.com/Job\x12\x32projects/{project}/locations/{location}/jobs/{job}R\x01\x01\x42\x12\n\x10\x63reate_execution\"\xdf\x03\n\x12\x45xecutionReference\x12/\n\x04name\x18\x01 \x01(\tB!\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x63ompletion_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63ompletion_status\x18\x04 \x01(\x0e\x32\x38.google.cloud.run.v2.ExecutionReference.CompletionStatus\"\xab\x01\n\x10\x43ompletionStatus\x12!\n\x1d\x43OMPLETION_STATUS_UNSPECIFIED\x10\x00\x12\x17\n\x13\x45XECUTION_SUCCEEDED\x10\x01\x12\x14\n\x10\x45XECUTION_FAILED\x10\x02\x12\x15\n\x11\x45XECUTION_RUNNING\x10\x03\x12\x15\n\x11\x45XECUTION_PENDING\x10\x04\x12\x17\n\x13\x45XECUTION_CANCELLED\x10\x05\x32\xdc\x0e\n\x04Jobs\x12\xdd\x01\n\tCreateJob\x12%.google.cloud.run.v2.CreateJobRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\n\n\x03Job\x12\x03Job\xda\x41\x11parent,job,job_id\x82\xd3\xe4\x93\x02/\"(/v2/{parent=projects/*/locations/*}/jobs:\x03job\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xb3\x01\n\x06GetJob\x12\".google.cloud.run.v2.GetJobRequest\x1a\x18.google.cloud.run.v2.Job\"k\xda\x41\x04name\x82\xd3\xe4\x93\x02*\x12(/v2/{name=projects/*/locations/*/jobs/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xc5\x01\n\x08ListJobs\x12$.google.cloud.run.v2.ListJobsRequest\x1a%.google.cloud.run.v2.ListJobsResponse\"l\xda\x41\x06parent\x82\xd3\xe4\x93\x02*\x12(/v2/{parent=projects/*/locations/*}/jobs\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xd8\x01\n\tUpdateJob\x12%.google.cloud.run.v2.UpdateJobRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\n\n\x03Job\x12\x03Job\xda\x41\x03job\x82\xd3\xe4\x93\x02\x33\x32,/v2/{job.name=projects/*/locations/*/jobs/*}:\x03job\x8a\xd3\xe4\x93\x02\x32\x12\x30\n\x08job.name\x12$projects/*/locations/{location=*}/**\x12\xcb\x01\n\tDeleteJob\x12%.google.cloud.run.v2.DeleteJobRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\n\n\x03Job\x12\x03Job\xda\x41\x04name\x82\xd3\xe4\x93\x02**(/v2/{name=projects/*/locations/*/jobs/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xd9\x01\n\x06RunJob\x12\".google.cloud.run.v2.RunJobRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41\x16\n\tExecution\x12\tExecution\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\",/v2/{name=projects/*/locations/*/jobs/*}:run:\x01*\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\x8c\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"A\x82\xd3\xe4\x93\x02;\x12\x39/v2/{resource=projects/*/locations/*/jobs/*}:getIamPolicy\x12\x8f\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"D\x82\xd3\xe4\x93\x02>\"9/v2/{resource=projects/*/locations/*/jobs/*}:setIamPolicy:\x01*\x12\xb5\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v2/{resource=projects/*/locations/*/jobs/*}: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.readonlyBP\n\x17\x63om.google.cloud.run.v2B\x08JobProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
26
26
 
27
27
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
28
28
  pool.add_serialized_file(descriptor_data)
@@ -238,8 +238,9 @@ module Google
238
238
  # @param job [::Google::Cloud::Run::V2::Job, ::Hash]
239
239
  # Required. The Job instance to create.
240
240
  # @param job_id [::String]
241
- # Required. The unique identifier for the Job. The name of the job becomes
241
+ # Optional. The unique identifier for the Job. The name of the job becomes
242
242
  # \\{parent}/jobs/\\{job_id}.
243
+ # If not provided, the server will generate a unique `job_id`.
243
244
  # @param validate_only [::Boolean]
244
245
  # Indicates that the request should be validated and default values
245
246
  # populated, without persisting the request or creating any resources.
@@ -26,7 +26,9 @@ module Google
26
26
  # Credentials for the Jobs 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",
@@ -231,8 +231,9 @@ module Google
231
231
  # @param job [::Google::Cloud::Run::V2::Job, ::Hash]
232
232
  # Required. The Job instance to create.
233
233
  # @param job_id [::String]
234
- # Required. The unique identifier for the Job. The name of the job becomes
234
+ # Optional. The unique identifier for the Job. The name of the job becomes
235
235
  # \\{parent}/jobs/\\{job_id}.
236
+ # If not provided, the server will generate a unique `job_id`.
236
237
  # @param validate_only [::Boolean]
237
238
  # Indicates that the request should be validated and default values
238
239
  # populated, without persisting the request or creating any resources.
@@ -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/k8s.min.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xf4\x04\n\tContainer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x05image\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x0bsource_code\x18\x11 \x01(\x0b\x32\x1f.google.cloud.run.v2.SourceCodeB\x04\xe2\x41\x01\x01\x12\x0f\n\x07\x63ommand\x18\x03 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x04 \x03(\t\x12(\n\x03\x65nv\x18\x05 \x03(\x0b\x32\x1b.google.cloud.run.v2.EnvVar\x12<\n\tresources\x18\x06 \x01(\x0b\x32).google.cloud.run.v2.ResourceRequirements\x12\x31\n\x05ports\x18\x07 \x03(\x0b\x32\".google.cloud.run.v2.ContainerPort\x12\x37\n\rvolume_mounts\x18\x08 \x03(\x0b\x32 .google.cloud.run.v2.VolumeMount\x12\x13\n\x0bworking_dir\x18\t \x01(\t\x12\x32\n\x0eliveness_probe\x18\n \x01(\x0b\x32\x1a.google.cloud.run.v2.Probe\x12\x31\n\rstartup_probe\x18\x0b \x01(\x0b\x32\x1a.google.cloud.run.v2.Probe\x12\x33\n\x0freadiness_probe\x18\x0e \x01(\x0b\x32\x1a.google.cloud.run.v2.Probe\x12\x12\n\ndepends_on\x18\x0c \x03(\t\x12\x16\n\x0e\x62\x61se_image_uri\x18\r \x01(\t\x12\x38\n\nbuild_info\x18\x0f \x01(\x0b\x32\x1e.google.cloud.run.v2.BuildInfoB\x04\xe2\x41\x01\x03\"\xb9\x01\n\x14ResourceRequirements\x12\x45\n\x06limits\x18\x01 \x03(\x0b\x32\x35.google.cloud.run.v2.ResourceRequirements.LimitsEntry\x12\x10\n\x08\x63pu_idle\x18\x02 \x01(\x08\x12\x19\n\x11startup_cpu_boost\x18\x03 \x01(\x08\x1a-\n\x0bLimitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"r\n\x06\x45nvVar\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x0f\n\x05value\x18\x02 \x01(\tH\x00\x12\x39\n\x0cvalue_source\x18\x03 \x01(\x0b\x32!.google.cloud.run.v2.EnvVarSourceH\x00\x42\x08\n\x06values\"N\n\x0c\x45nvVarSource\x12>\n\x0esecret_key_ref\x18\x01 \x01(\x0b\x32&.google.cloud.run.v2.SecretKeySelector\"\x93\x01\n\x11SecretKeySelector\x12<\n\x06secret\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12@\n\x07version\x18\x02 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"5\n\rContainerPort\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\x0e\x63ontainer_port\x18\x03 \x01(\x05\"S\n\x0bVolumeMount\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x18\n\nmount_path\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08sub_path\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\xd5\x02\n\x06Volume\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x39\n\x06secret\x18\x02 \x01(\x0b\x32\'.google.cloud.run.v2.SecretVolumeSourceH\x00\x12\x43\n\x12\x63loud_sql_instance\x18\x03 \x01(\x0b\x32%.google.cloud.run.v2.CloudSqlInstanceH\x00\x12>\n\tempty_dir\x18\x04 \x01(\x0b\x32).google.cloud.run.v2.EmptyDirVolumeSourceH\x00\x12\x33\n\x03nfs\x18\x05 \x01(\x0b\x32$.google.cloud.run.v2.NFSVolumeSourceH\x00\x12\x33\n\x03gcs\x18\x06 \x01(\x0b\x32$.google.cloud.run.v2.GCSVolumeSourceH\x00\x42\r\n\x0bvolume_type\"s\n\x12SecretVolumeSource\x12\x14\n\x06secret\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x31\n\x05items\x18\x02 \x03(\x0b\x32\".google.cloud.run.v2.VersionToPath\x12\x14\n\x0c\x64\x65\x66\x61ult_mode\x18\x03 \x01(\x05\"B\n\rVersionToPath\x12\x12\n\x04path\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0c\n\x04mode\x18\x03 \x01(\x05\"%\n\x10\x43loudSqlInstance\x12\x11\n\tinstances\x18\x01 \x03(\t\"\x9a\x01\n\x14\x45mptyDirVolumeSource\x12@\n\x06medium\x18\x01 \x01(\x0e\x32\x30.google.cloud.run.v2.EmptyDirVolumeSource.Medium\x12\x12\n\nsize_limit\x18\x02 \x01(\t\",\n\x06Medium\x12\x16\n\x12MEDIUM_UNSPECIFIED\x10\x00\x12\n\n\x06MEMORY\x10\x01\"B\n\x0fNFSVolumeSource\x12\x0e\n\x06server\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\"K\n\x0fGCSVolumeSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x11\n\tread_only\x18\x02 \x01(\x08\x12\x15\n\rmount_options\x18\x03 \x03(\t\"\xcf\x02\n\x05Probe\x12#\n\x15initial_delay_seconds\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1d\n\x0ftimeout_seconds\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1c\n\x0eperiod_seconds\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1f\n\x11\x66\x61ilure_threshold\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12<\n\x08http_get\x18\x05 \x01(\x0b\x32\".google.cloud.run.v2.HTTPGetActionB\x04\xe2\x41\x01\x01H\x00\x12@\n\ntcp_socket\x18\x06 \x01(\x0b\x32$.google.cloud.run.v2.TCPSocketActionB\x04\xe2\x41\x01\x01H\x00\x12\x35\n\x04grpc\x18\x07 \x01(\x0b\x32\x1f.google.cloud.run.v2.GRPCActionB\x04\xe2\x41\x01\x01H\x00\x42\x0c\n\nprobe_type\"t\n\rHTTPGetAction\x12\x12\n\x04path\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12;\n\x0chttp_headers\x18\x04 \x03(\x0b\x32\x1f.google.cloud.run.v2.HTTPHeaderB\x04\xe2\x41\x01\x01\x12\x12\n\x04port\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x01\"5\n\nHTTPHeader\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05value\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"%\n\x0fTCPSocketAction\x12\x12\n\x04port\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\"7\n\nGRPCAction\x12\x12\n\x04port\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x15\n\x07service\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"I\n\tBuildInfo\x12\x1d\n\x0f\x66unction_target\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fsource_location\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\xcb\x01\n\nSourceCode\x12R\n\x14\x63loud_storage_source\x18\x01 \x01(\x0b\x32\x32.google.cloud.run.v2.SourceCode.CloudStorageSourceH\x00\x1aZ\n\x12\x43loudStorageSource\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\x42\r\n\x0bsource_typeB\xe9\x03\n\x17\x63om.google.cloud.run.v2B\x0bK8sMinProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpb\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41J\n#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}\xea\x41\x64\n\"vpcaccess.googleapis.com/Connector\x12>projects/{project}/locations/{location}/connectors/{connector}b\x06proto3"
11
+ descriptor_data = "\n!google/cloud/run/v2/k8s.min.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xae\x05\n\tContainer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x05image\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x0bsource_code\x18\x11 \x01(\x0b\x32\x1f.google.cloud.run.v2.SourceCodeB\x04\xe2\x41\x01\x01\x12\x0f\n\x07\x63ommand\x18\x03 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x04 \x03(\t\x12(\n\x03\x65nv\x18\x05 \x03(\x0b\x32\x1b.google.cloud.run.v2.EnvVar\x12<\n\tresources\x18\x06 \x01(\x0b\x32).google.cloud.run.v2.ResourceRequirements\x12\x31\n\x05ports\x18\x07 \x03(\x0b\x32\".google.cloud.run.v2.ContainerPort\x12\x37\n\rvolume_mounts\x18\x08 \x03(\x0b\x32 .google.cloud.run.v2.VolumeMount\x12\x13\n\x0bworking_dir\x18\t \x01(\t\x12\x32\n\x0eliveness_probe\x18\n \x01(\x0b\x32\x1a.google.cloud.run.v2.Probe\x12\x31\n\rstartup_probe\x18\x0b \x01(\x0b\x32\x1a.google.cloud.run.v2.Probe\x12\x33\n\x0freadiness_probe\x18\x0e \x01(\x0b\x32\x1a.google.cloud.run.v2.Probe\x12\x12\n\ndepends_on\x18\x0c \x03(\t\x12\x16\n\x0e\x62\x61se_image_uri\x18\r \x01(\t\x12\x38\n\nbuild_info\x18\x0f \x01(\x0b\x32\x1e.google.cloud.run.v2.BuildInfoB\x04\xe2\x41\x01\x03\x12#\n\x10sandbox_launcher\x18\x16 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x42\x13\n\x11_sandbox_launcher\"\xb9\x01\n\x14ResourceRequirements\x12\x45\n\x06limits\x18\x01 \x03(\x0b\x32\x35.google.cloud.run.v2.ResourceRequirements.LimitsEntry\x12\x10\n\x08\x63pu_idle\x18\x02 \x01(\x08\x12\x19\n\x11startup_cpu_boost\x18\x03 \x01(\x08\x1a-\n\x0bLimitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"r\n\x06\x45nvVar\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x0f\n\x05value\x18\x02 \x01(\tH\x00\x12\x39\n\x0cvalue_source\x18\x03 \x01(\x0b\x32!.google.cloud.run.v2.EnvVarSourceH\x00\x42\x08\n\x06values\"N\n\x0c\x45nvVarSource\x12>\n\x0esecret_key_ref\x18\x01 \x01(\x0b\x32&.google.cloud.run.v2.SecretKeySelector\"\x93\x01\n\x11SecretKeySelector\x12<\n\x06secret\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12@\n\x07version\x18\x02 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"5\n\rContainerPort\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\x0e\x63ontainer_port\x18\x03 \x01(\x05\"S\n\x0bVolumeMount\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x18\n\nmount_path\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08sub_path\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\xd5\x02\n\x06Volume\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x39\n\x06secret\x18\x02 \x01(\x0b\x32\'.google.cloud.run.v2.SecretVolumeSourceH\x00\x12\x43\n\x12\x63loud_sql_instance\x18\x03 \x01(\x0b\x32%.google.cloud.run.v2.CloudSqlInstanceH\x00\x12>\n\tempty_dir\x18\x04 \x01(\x0b\x32).google.cloud.run.v2.EmptyDirVolumeSourceH\x00\x12\x33\n\x03nfs\x18\x05 \x01(\x0b\x32$.google.cloud.run.v2.NFSVolumeSourceH\x00\x12\x33\n\x03gcs\x18\x06 \x01(\x0b\x32$.google.cloud.run.v2.GCSVolumeSourceH\x00\x42\r\n\x0bvolume_type\"s\n\x12SecretVolumeSource\x12\x14\n\x06secret\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x31\n\x05items\x18\x02 \x03(\x0b\x32\".google.cloud.run.v2.VersionToPath\x12\x14\n\x0c\x64\x65\x66\x61ult_mode\x18\x03 \x01(\x05\"B\n\rVersionToPath\x12\x12\n\x04path\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0c\n\x04mode\x18\x03 \x01(\x05\"%\n\x10\x43loudSqlInstance\x12\x11\n\tinstances\x18\x01 \x03(\t\"\xa4\x01\n\x14\x45mptyDirVolumeSource\x12@\n\x06medium\x18\x01 \x01(\x0e\x32\x30.google.cloud.run.v2.EmptyDirVolumeSource.Medium\x12\x12\n\nsize_limit\x18\x02 \x01(\t\"6\n\x06Medium\x12\x16\n\x12MEDIUM_UNSPECIFIED\x10\x00\x12\n\n\x06MEMORY\x10\x01\x12\x08\n\x04\x44ISK\x10\x02\"B\n\x0fNFSVolumeSource\x12\x0e\n\x06server\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\"K\n\x0fGCSVolumeSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x11\n\tread_only\x18\x02 \x01(\x08\x12\x15\n\rmount_options\x18\x03 \x03(\t\"\xcf\x02\n\x05Probe\x12#\n\x15initial_delay_seconds\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1d\n\x0ftimeout_seconds\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1c\n\x0eperiod_seconds\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1f\n\x11\x66\x61ilure_threshold\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12<\n\x08http_get\x18\x05 \x01(\x0b\x32\".google.cloud.run.v2.HTTPGetActionB\x04\xe2\x41\x01\x01H\x00\x12@\n\ntcp_socket\x18\x06 \x01(\x0b\x32$.google.cloud.run.v2.TCPSocketActionB\x04\xe2\x41\x01\x01H\x00\x12\x35\n\x04grpc\x18\x07 \x01(\x0b\x32\x1f.google.cloud.run.v2.GRPCActionB\x04\xe2\x41\x01\x01H\x00\x42\x0c\n\nprobe_type\"t\n\rHTTPGetAction\x12\x12\n\x04path\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12;\n\x0chttp_headers\x18\x04 \x03(\x0b\x32\x1f.google.cloud.run.v2.HTTPHeaderB\x04\xe2\x41\x01\x01\x12\x12\n\x04port\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x01\"5\n\nHTTPHeader\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05value\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"%\n\x0fTCPSocketAction\x12\x12\n\x04port\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\"7\n\nGRPCAction\x12\x12\n\x04port\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x15\n\x07service\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"I\n\tBuildInfo\x12\x1d\n\x0f\x66unction_target\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fsource_location\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\xaf\x03\n\nSourceCode\x12R\n\x14\x63loud_storage_source\x18\x01 \x01(\x0b\x32\x32.google.cloud.run.v2.SourceCode.CloudStorageSourceH\x00\x12N\n\x0einlined_source\x18\x02 \x01(\x0b\x32-.google.cloud.run.v2.SourceCode.InlinedSourceB\x05\xe2\x41\x02\x01\x04H\x00\x1aZ\n\x12\x43loudStorageSource\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\x1a=\n\nSourceFile\x12\x17\n\x08\x66ilename\x18\x01 \x01(\tB\x05\xe2\x41\x02\x02\x04\x12\x16\n\x07\x63ontent\x18\x02 \x01(\tB\x05\xe2\x41\x02\x02\x04\x1aS\n\rInlinedSource\x12\x42\n\x07sources\x18\x01 \x03(\x0b\x32*.google.cloud.run.v2.SourceCode.SourceFileB\x05\xe2\x41\x02\x02\x04\x42\r\n\x0bsource_typeB\xe9\x03\n\x17\x63om.google.cloud.run.v2B\x0bK8sMinProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpb\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41J\n#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}\xea\x41\x64\n\"vpcaccess.googleapis.com/Connector\x12>projects/{project}/locations/{location}/connectors/{connector}b\x06proto3"
12
12
 
13
13
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -40,6 +40,8 @@ module Google
40
40
  BuildInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.BuildInfo").msgclass
41
41
  SourceCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.SourceCode").msgclass
42
42
  SourceCode::CloudStorageSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.SourceCode.CloudStorageSource").msgclass
43
+ SourceCode::SourceFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.SourceCode.SourceFile").msgclass
44
+ SourceCode::InlinedSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.SourceCode.InlinedSource").msgclass
43
45
  end
44
46
  end
45
47
  end
@@ -22,6 +22,7 @@ require "google/cloud/run/v2/instances/rest"
22
22
  require "google/cloud/run/v2/jobs/rest"
23
23
  require "google/cloud/run/v2/revisions/rest"
24
24
  require "google/cloud/run/v2/services/rest"
25
+ require "google/cloud/run/v2/source_upload/rest"
25
26
  require "google/cloud/run/v2/tasks/rest"
26
27
  require "google/cloud/run/v2/worker_pools/rest"
27
28
  require "google/cloud/run/v2/version"
@@ -12,6 +12,7 @@ require 'google/api/resource_pb'
12
12
  require 'google/api/routing_pb'
13
13
  require 'google/cloud/run/v2/condition_pb'
14
14
  require 'google/cloud/run/v2/k8s.min_pb'
15
+ require 'google/cloud/run/v2/sandbox_pb'
15
16
  require 'google/cloud/run/v2/status_pb'
16
17
  require 'google/cloud/run/v2/vendor_settings_pb'
17
18
  require 'google/longrunning/operations_pb'
@@ -19,7 +20,7 @@ require 'google/protobuf/duration_pb'
19
20
  require 'google/protobuf/timestamp_pb'
20
21
 
21
22
 
22
- descriptor_data = "\n\"google/cloud/run/v2/revision.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/k8s.min.proto\x1a google/cloud/run/v2/status.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"H\n\x12GetRevisionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\"\x89\x01\n\x14ListRevisionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1brun.googleapis.com/Revision\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\"b\n\x15ListRevisionsResponse\x12\x30\n\trevisions\x18\x01 \x03(\x0b\x32\x1d.google.cloud.run.v2.Revision\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"p\n\x15\x44\x65leteRevisionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\xdc\x0e\n\x08Revision\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.Revision.LabelsEntryB\x04\xe2\x41\x01\x03\x12I\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32..google.cloud.run.v2.Revision.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\x35\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12-\n\x0claunch_stage\x18\n \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x34\n\x07service\x18\x0b \x01(\tB#\xe2\x41\x01\x03\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x35\n\x07scaling\x18\x0c \x01(\x0b\x32$.google.cloud.run.v2.RevisionScaling\x12\x32\n\nvpc_access\x18\r \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccess\x12(\n max_instance_request_concurrency\x18\" \x01(\x05\x12*\n\x07timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x17\n\x0fservice_account\x18\x10 \x01(\t\x12\x32\n\ncontainers\x18\x11 \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12,\n\x07volumes\x18\x12 \x03(\x0b\x32\x1b.google.cloud.run.v2.Volume\x12H\n\x15\x65xecution_environment\x18\x14 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironment\x12>\n\x0e\x65ncryption_key\x18\x15 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x36\n\x0cservice_mesh\x18\x16 \x01(\x0b\x32 .google.cloud.run.v2.ServiceMesh\x12\\\n encryption_key_revocation_action\x18\x17 \x01(\x0e\x32\x32.google.cloud.run.v2.EncryptionKeyRevocationAction\x12\x43\n encryption_key_shutdown_duration\x18\x18 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x0breconciling\x18\x1e \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18\x1f \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\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\x1b\n\rsatisfies_pzs\x18% \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x18\n\x10session_affinity\x18& \x01(\x08\x12H\n\x0escaling_status\x18\' \x01(\x0b\x32*.google.cloud.run.v2.RevisionScalingStatusB\x04\xe2\x41\x01\x03\x12\x38\n\rnode_selector\x18( \x01(\x0b\x32!.google.cloud.run.v2.NodeSelector\x12\x31\n\x1dgpu_zonal_redundancy_disabled\x18\x30 \x01(\x08\x42\x05\xe2\x41\x02\x01\x03H\x00\x88\x01\x01\x12\x15\n\x07\x63reator\x18\x31 \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:t\xea\x41q\n\x1brun.googleapis.com/Revision\x12Oprojects/{project}/locations/{location}/services/{service}/revisions/{revision}R\x01\x01\x42 \n\x1e_gpu_zonal_redundancy_disabled2\xc4\x07\n\tRevisions\x12\x92\x02\n\x0bGetRevision\x12\'.google.cloud.run.v2.GetRevisionRequest\x1a\x1d.google.cloud.run.v2.Revision\"\xba\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02y\x12\x38/v2/{name=projects/*/locations/*/services/*/revisions/*}Z=\x12;/v2/{name=projects/*/locations/*/workerPools/*/revisions/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xa7\x02\n\rListRevisions\x12).google.cloud.run.v2.ListRevisionsRequest\x1a*.google.cloud.run.v2.ListRevisionsResponse\"\xbe\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02y\x12\x38/v2/{parent=projects/*/locations/*/services/*}/revisionsZ=\x12;/v2/{parent=projects/*/locations/*/workerPools/*}/revisions\x8a\xd3\xe4\x93\x02\x30\x12.\n\x06parent\x12$projects/*/locations/{location=*}/**\x12\xaf\x02\n\x0e\x44\x65leteRevision\x12*.google.cloud.run.v2.DeleteRevisionRequest\x1a\x1d.google.longrunning.Operation\"\xd1\x01\xca\x41\x14\n\x08Revision\x12\x08Revision\xda\x41\x04name\x82\xd3\xe4\x93\x02y*8/v2/{name=projects/*/locations/*/services/*/revisions/*}Z=*;/v2/{name=projects/*/locations/*/workerPools/*/revisions/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBU\n\x17\x63om.google.cloud.run.v2B\rRevisionProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
23
+ descriptor_data = "\n\"google/cloud/run/v2/revision.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/k8s.min.proto\x1a!google/cloud/run/v2/sandbox.proto\x1a google/cloud/run/v2/status.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"H\n\x12GetRevisionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\"\x89\x01\n\x14ListRevisionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1brun.googleapis.com/Revision\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\"b\n\x15ListRevisionsResponse\x12\x30\n\trevisions\x18\x01 \x03(\x0b\x32\x1d.google.cloud.run.v2.Revision\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"p\n\x15\x44\x65leteRevisionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\xf3\x10\n\x08Revision\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.Revision.LabelsEntryB\x04\xe2\x41\x01\x03\x12I\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32..google.cloud.run.v2.Revision.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\x35\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12-\n\x0claunch_stage\x18\n \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x34\n\x07service\x18\x0b \x01(\tB#\xe2\x41\x01\x03\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x35\n\x07scaling\x18\x0c \x01(\x0b\x32$.google.cloud.run.v2.RevisionScaling\x12\x32\n\nvpc_access\x18\r \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccess\x12(\n max_instance_request_concurrency\x18\" \x01(\x05\x12*\n\x07timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x17\n\x0fservice_account\x18\x10 \x01(\t\x12\x32\n\ncontainers\x18\x11 \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12\x42\n\tsandboxes\x18\x38 \x01(\x0b\x32).google.cloud.run.v2.SandboxConfigurationB\x04\xe2\x41\x01\x03\x12,\n\x07volumes\x18\x12 \x03(\x0b\x32\x1b.google.cloud.run.v2.Volume\x12H\n\x15\x65xecution_environment\x18\x14 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironment\x12>\n\x0e\x65ncryption_key\x18\x15 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x36\n\x0cservice_mesh\x18\x16 \x01(\x0b\x32 .google.cloud.run.v2.ServiceMesh\x12\\\n encryption_key_revocation_action\x18\x17 \x01(\x0e\x32\x32.google.cloud.run.v2.EncryptionKeyRevocationAction\x12\x43\n encryption_key_shutdown_duration\x18\x18 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x0breconciling\x18\x1e \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x38\n\nconditions\x18\x1f \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x04\xe2\x41\x01\x03\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\x1b\n\rsatisfies_pzs\x18% \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x18\n\x10session_affinity\x18& \x01(\x08\x12H\n\x0escaling_status\x18\' \x01(\x0b\x32*.google.cloud.run.v2.RevisionScalingStatusB\x04\xe2\x41\x01\x03\x12\x38\n\rnode_selector\x18( \x01(\x0b\x32!.google.cloud.run.v2.NodeSelector\x12S\n\x18workload_identity_config\x18\x34 \x01(\x0b\x32+.google.cloud.run.v2.WorkloadIdentityConfigB\x04\xe2\x41\x01\x01\x12\x31\n\x1dgpu_zonal_redundancy_disabled\x18\x30 \x01(\x08\x42\x05\xe2\x41\x02\x01\x03H\x00\x88\x01\x01\x12\x15\n\x07\x63reator\x18\x31 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x06\x63lient\x18\x35 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0e\x63lient_version\x18\x36 \x01(\tB\x04\xe2\x41\x01\x03\x12H\n\x12\x61mbient_networking\x18; \x01(\x0b\x32&.google.cloud.run.v2.AmbientNetworkingB\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:t\xea\x41q\n\x1brun.googleapis.com/Revision\x12Oprojects/{project}/locations/{location}/services/{service}/revisions/{revision}R\x01\x01\x42 \n\x1e_gpu_zonal_redundancy_disabled2\x96\x08\n\tRevisions\x12\x92\x02\n\x0bGetRevision\x12\'.google.cloud.run.v2.GetRevisionRequest\x1a\x1d.google.cloud.run.v2.Revision\"\xba\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02y\x12\x38/v2/{name=projects/*/locations/*/services/*/revisions/*}Z=\x12;/v2/{name=projects/*/locations/*/workerPools/*/revisions/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xa7\x02\n\rListRevisions\x12).google.cloud.run.v2.ListRevisionsRequest\x1a*.google.cloud.run.v2.ListRevisionsResponse\"\xbe\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02y\x12\x38/v2/{parent=projects/*/locations/*/services/*}/revisionsZ=\x12;/v2/{parent=projects/*/locations/*/workerPools/*}/revisions\x8a\xd3\xe4\x93\x02\x30\x12.\n\x06parent\x12$projects/*/locations/{location=*}/**\x12\xaf\x02\n\x0e\x44\x65leteRevision\x12*.google.cloud.run.v2.DeleteRevisionRequest\x1a\x1d.google.longrunning.Operation\"\xd1\x01\xca\x41\x14\n\x08Revision\x12\x08Revision\xda\x41\x04name\x82\xd3\xe4\x93\x02y*8/v2/{name=projects/*/locations/*/services/*/revisions/*}Z=*;/v2/{name=projects/*/locations/*/workerPools/*/revisions/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\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.readonlyBU\n\x17\x63om.google.cloud.run.v2B\rRevisionProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
23
24
 
24
25
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
25
26
  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/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\"\xff\t\n\x10RevisionTemplate\x12\x36\n\x08revision\x18\x01 \x01(\tB$\xe2\x41\x01\x01\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12G\n\x06labels\x18\x02 \x03(\x0b\x32\x31.google.cloud.run.v2.RevisionTemplate.LabelsEntryB\x04\xe2\x41\x01\x01\x12Q\n\x0b\x61nnotations\x18\x03 \x03(\x0b\x32\x36.google.cloud.run.v2.RevisionTemplate.AnnotationsEntryB\x04\xe2\x41\x01\x01\x12;\n\x07scaling\x18\x04 \x01(\x0b\x32$.google.cloud.run.v2.RevisionScalingB\x04\xe2\x41\x01\x01\x12\x38\n\nvpc_access\x18\x06 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x01\x12\x30\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fservice_account\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x32\n\ncontainers\x18\n \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12\x32\n\x07volumes\x18\x0b \x03(\x0b\x32\x1b.google.cloud.run.v2.VolumeB\x04\xe2\x41\x01\x01\x12N\n\x15\x65xecution_environment\x18\r \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironmentB\x04\xe2\x41\x01\x01\x12>\n\x0e\x65ncryption_key\x18\x0e \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12.\n max_instance_request_concurrency\x18\x0f \x01(\x05\x42\x04\xe2\x41\x01\x01\x12<\n\x0cservice_mesh\x18\x10 \x01(\x0b\x32 .google.cloud.run.v2.ServiceMeshB\x04\xe2\x41\x01\x01\x12\x62\n encryption_key_revocation_action\x18\x11 \x01(\x0e\x32\x32.google.cloud.run.v2.EncryptionKeyRevocationActionB\x04\xe2\x41\x01\x01\x12I\n encryption_key_shutdown_duration\x18\x12 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x1e\n\x10session_affinity\x18\x13 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12#\n\x15health_check_disabled\x18\x14 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12>\n\rnode_selector\x18\x15 \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x01\x12\x30\n\x1dgpu_zonal_redundancy_disabled\x18\x18 \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_disabledB]\n\x17\x63om.google.cloud.run.v2B\x15RevisionTemplateProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
15
+ descriptor_data = "\n+google/cloud/run/v2/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\"\x96\x0c\n\x10RevisionTemplate\x12\x36\n\x08revision\x18\x01 \x01(\tB$\xe2\x41\x01\x01\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12G\n\x06labels\x18\x02 \x03(\x0b\x32\x31.google.cloud.run.v2.RevisionTemplate.LabelsEntryB\x04\xe2\x41\x01\x01\x12Q\n\x0b\x61nnotations\x18\x03 \x03(\x0b\x32\x36.google.cloud.run.v2.RevisionTemplate.AnnotationsEntryB\x04\xe2\x41\x01\x01\x12;\n\x07scaling\x18\x04 \x01(\x0b\x32$.google.cloud.run.v2.RevisionScalingB\x04\xe2\x41\x01\x01\x12\x38\n\nvpc_access\x18\x06 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x04\xe2\x41\x01\x01\x12\x30\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fservice_account\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x32\n\ncontainers\x18\n \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12\x42\n\tsandboxes\x18\x1f \x01(\x0b\x32).google.cloud.run.v2.SandboxConfigurationB\x04\xe2\x41\x01\x01\x12\x32\n\x07volumes\x18\x0b \x03(\x0b\x32\x1b.google.cloud.run.v2.VolumeB\x04\xe2\x41\x01\x01\x12N\n\x15\x65xecution_environment\x18\r \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironmentB\x04\xe2\x41\x01\x01\x12>\n\x0e\x65ncryption_key\x18\x0e \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12.\n max_instance_request_concurrency\x18\x0f \x01(\x05\x42\x04\xe2\x41\x01\x01\x12<\n\x0cservice_mesh\x18\x10 \x01(\x0b\x32 .google.cloud.run.v2.ServiceMeshB\x04\xe2\x41\x01\x01\x12\x62\n encryption_key_revocation_action\x18\x11 \x01(\x0e\x32\x32.google.cloud.run.v2.EncryptionKeyRevocationActionB\x04\xe2\x41\x01\x01\x12I\n encryption_key_shutdown_duration\x18\x12 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x1e\n\x10session_affinity\x18\x13 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12#\n\x15health_check_disabled\x18\x14 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12>\n\rnode_selector\x18\x15 \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x04\xe2\x41\x01\x01\x12S\n\x18workload_identity_config\x18\x1b \x01(\x0b\x32+.google.cloud.run.v2.WorkloadIdentityConfigB\x04\xe2\x41\x01\x01\x12\x30\n\x1dgpu_zonal_redundancy_disabled\x18\x18 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x14\n\x06\x63lient\x18\x1c \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0e\x63lient_version\x18\x1d \x01(\tB\x04\xe2\x41\x01\x01\x12H\n\x12\x61mbient_networking\x18! \x01(\x0b\x32&.google.cloud.run.v2.AmbientNetworkingB\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_disabledB]\n\x17\x63om.google.cloud.run.v2B\x15RevisionTemplateProtoP\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 Revisions 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",
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/run/v2/sandbox.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/cloud/run/v2/k8s.min_pb'
9
+
10
+
11
+ descriptor_data = "\n!google/cloud/run/v2/sandbox.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a!google/cloud/run/v2/k8s.min.proto\"U\n\x14SandboxConfiguration\x12=\n\ttemplates\x18\x04 \x03(\x0b\x32$.google.cloud.run.v2.SandboxTemplateB\x04\xe2\x41\x01\x02\"\xef\x01\n\x0fSandboxTemplate\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05image\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x15\n\x07\x63ommand\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04\x61rgs\x18\x04 \x03(\tB\x04\xe2\x41\x01\x01\x12.\n\x03\x65nv\x18\x05 \x03(\x0b\x32\x1b.google.cloud.run.v2.EnvVarB\x04\xe2\x41\x01\x01\x12=\n\rvolume_mounts\x18\x07 \x03(\x0b\x32 .google.cloud.run.v2.VolumeMountB\x04\xe2\x41\x01\x01\x12\x19\n\x0bworking_dir\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x42T\n\x17\x63om.google.cloud.run.v2B\x0cSandboxProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
12
+
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Google
17
+ module Cloud
18
+ module Run
19
+ module V2
20
+ SandboxConfiguration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.SandboxConfiguration").msgclass
21
+ SandboxTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.SandboxTemplate").msgclass
22
+ end
23
+ end
24
+ end
25
+ 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/service.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/revision_template.proto\x1a(google/cloud/run/v2/traffic_target.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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb1\x01\n\x14\x43reateServiceRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\x12\x33\n\x07service\x18\x02 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x04\xe2\x41\x01\x02\x12\x18\n\nservice_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb6\x01\n\x14UpdateServiceRequest\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12\x33\n\x07service\x18\x01 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x04\xe2\x41\x01\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x1b\n\rallow_missing\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x87\x01\n\x13ListServicesRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\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\"z\n\x14ListServicesResponse\x12.\n\x08services\x18\x01 \x03(\x0b\x32\x1c.google.cloud.run.v2.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x03\"F\n\x11GetServiceRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\"n\n\x14\x44\x65leteServiceRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\xc8\x0f\n\x07Service\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\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>\n\x06labels\x18\x05 \x03(\x0b\x32(.google.cloud.run.v2.Service.LabelsEntryB\x04\xe2\x41\x01\x01\x12H\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32-.google.cloud.run.v2.Service.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:\n\x07ingress\x18\x0f \x01(\x0e\x32#.google.cloud.run.v2.IngressTrafficB\x04\xe2\x41\x01\x01\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\x12=\n\x08template\x18\x12 \x01(\x0b\x32%.google.cloud.run.v2.RevisionTemplateB\x04\xe2\x41\x01\x02\x12\x39\n\x07traffic\x18\x13 \x03(\x0b\x32\".google.cloud.run.v2.TrafficTargetB\x04\xe2\x41\x01\x01\x12:\n\x07scaling\x18\x14 \x01(\x0b\x32#.google.cloud.run.v2.ServiceScalingB\x04\xe2\x41\x01\x01\x12\"\n\x14invoker_iam_disabled\x18\x15 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\"\n\x14\x64\x65\x66\x61ult_uri_disabled\x18\x16 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04urls\x18\x18 \x03(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0biap_enabled\x18\x19 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12U\n\x15multi_region_settings\x18\x1a \x01(\x0b\x32\x30.google.cloud.run.v2.Service.MultiRegionSettingsB\x04\xe2\x41\x01\x01\x12\x18\n\x10\x63ustom_audiences\x18% \x03(\t\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\x12H\n\x10traffic_statuses\x18# \x03(\x0b\x32(.google.cloud.run.v2.TrafficTargetStatusB\x04\xe2\x41\x01\x03\x12\x11\n\x03uri\x18$ \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18& \x01(\x08\x42\x04\xe2\x41\x01\x03\x12&\n\x18threat_detection_enabled\x18( \x01(\x08\x42\x04\xe2\x41\x01\x03\x12<\n\x0c\x62uild_config\x18) \x01(\x0b\x32 .google.cloud.run.v2.BuildConfigB\x04\xe2\x41\x01\x01\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\x1aK\n\x13MultiRegionSettings\x12\x15\n\x07regions\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\x12\x1d\n\x0fmulti_region_id\x18\x02 \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:^\xea\x41[\n\x1arun.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}R\x01\x01\x32\xcd\r\n\x08Services\x12\xfd\x01\n\rCreateService\x12).google.cloud.run.v2.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41\x12\n\x07Service\x12\x07Service\xda\x41\x19parent,service,service_id\x82\xd3\xe4\x93\x02\x37\",/v2/{parent=projects/*/locations/*}/services:\x07service\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xc3\x01\n\nGetService\x12&.google.cloud.run.v2.GetServiceRequest\x1a\x1c.google.cloud.run.v2.Service\"o\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v2/{name=projects/*/locations/*/services/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xd5\x01\n\x0cListServices\x12(.google.cloud.run.v2.ListServicesRequest\x1a).google.cloud.run.v2.ListServicesResponse\"p\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/locations/*}/services\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\x92\x02\n\rUpdateService\x12).google.cloud.run.v2.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41\x12\n\x07Service\x12\x07Service\xda\x41\x07service\xda\x41\x13service,update_mask\x82\xd3\xe4\x93\x02?24/v2/{service.name=projects/*/locations/*/services/*}:\x07service\x8a\xd3\xe4\x93\x02\x36\x12\x34\n\x0cservice.name\x12$projects/*/locations/{location=*}/**\x12\xe0\x01\n\rDeleteService\x12).google.cloud.run.v2.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\x12\n\x07Service\x12\x07Service\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v2/{name=projects/*/locations/*/services/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\x90\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"E\x82\xd3\xe4\x93\x02?\x12=/v2/{resource=projects/*/locations/*/services/*}:getIamPolicy\x12\x93\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"H\x82\xd3\xe4\x93\x02\x42\"=/v2/{resource=projects/*/locations/*/services/*}:setIamPolicy:\x01*\x12\xb9\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"N\x82\xd3\xe4\x93\x02H\"C/v2/{resource=projects/*/locations/*/services/*}:testIamPermissions:\x01*\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBT\n\x17\x63om.google.cloud.run.v2B\x0cServiceProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
24
+ descriptor_data = "\n!google/cloud/run/v2/service.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/revision_template.proto\x1a(google/cloud/run/v2/traffic_target.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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb1\x01\n\x14\x43reateServiceRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\x12\x33\n\x07service\x18\x02 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x04\xe2\x41\x01\x02\x12\x18\n\nservice_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xd8\x01\n\x14UpdateServiceRequest\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12\x33\n\x07service\x18\x01 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x04\xe2\x41\x01\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\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\"\x87\x01\n\x13ListServicesRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\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\"z\n\x14ListServicesResponse\x12.\n\x08services\x18\x01 \x03(\x0b\x32\x1c.google.cloud.run.v2.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x03\"F\n\x11GetServiceRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\"n\n\x14\x44\x65leteServiceRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\xbc\x10\n\x07Service\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\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>\n\x06labels\x18\x05 \x03(\x0b\x32(.google.cloud.run.v2.Service.LabelsEntryB\x04\xe2\x41\x01\x01\x12H\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32-.google.cloud.run.v2.Service.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:\n\x07ingress\x18\x0f \x01(\x0e\x32#.google.cloud.run.v2.IngressTrafficB\x04\xe2\x41\x01\x01\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\x12=\n\x08template\x18\x12 \x01(\x0b\x32%.google.cloud.run.v2.RevisionTemplateB\x04\xe2\x41\x01\x02\x12\x39\n\x07traffic\x18\x13 \x03(\x0b\x32\".google.cloud.run.v2.TrafficTargetB\x04\xe2\x41\x01\x01\x12:\n\x07scaling\x18\x14 \x01(\x0b\x32#.google.cloud.run.v2.ServiceScalingB\x04\xe2\x41\x01\x01\x12\"\n\x14invoker_iam_disabled\x18\x15 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\"\n\x14\x64\x65\x66\x61ult_uri_disabled\x18\x16 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04urls\x18\x18 \x03(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0biap_enabled\x18\x19 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1e\n\x0bssh_enabled\x18\x1d \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12U\n\x15multi_region_settings\x18\x1a \x01(\x0b\x32\x30.google.cloud.run.v2.Service.MultiRegionSettingsB\x04\xe2\x41\x01\x01\x12\x18\n\x10\x63ustom_audiences\x18% \x03(\t\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\x12H\n\x10traffic_statuses\x18# \x03(\x0b\x32(.google.cloud.run.v2.TrafficTargetStatusB\x04\xe2\x41\x01\x03\x12\x11\n\x03uri\x18$ \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzs\x18& \x01(\x08\x42\x04\xe2\x41\x01\x03\x12&\n\x18threat_detection_enabled\x18( \x01(\x08\x42\x04\xe2\x41\x01\x03\x12<\n\x0c\x62uild_config\x18) \x01(\x0b\x32 .google.cloud.run.v2.BuildConfigB\x04\xe2\x41\x01\x01\x12\x42\n\x0f\x66unctional_type\x18* \x01(\x0e\x32#.google.cloud.run.v2.FunctionalTypeB\x04\xe2\x41\x01\x01\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\x1aK\n\x13MultiRegionSettings\x12\x15\n\x07regions\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\x12\x1d\n\x0fmulti_region_id\x18\x02 \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:^\xea\x41[\n\x1arun.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}R\x01\x01\x42\x0e\n\x0c_ssh_enabled2\x9f\x0e\n\x08Services\x12\xfd\x01\n\rCreateService\x12).google.cloud.run.v2.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41\x12\n\x07Service\x12\x07Service\xda\x41\x19parent,service,service_id\x82\xd3\xe4\x93\x02\x37\",/v2/{parent=projects/*/locations/*}/services:\x07service\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xc3\x01\n\nGetService\x12&.google.cloud.run.v2.GetServiceRequest\x1a\x1c.google.cloud.run.v2.Service\"o\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v2/{name=projects/*/locations/*/services/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xd5\x01\n\x0cListServices\x12(.google.cloud.run.v2.ListServicesRequest\x1a).google.cloud.run.v2.ListServicesResponse\"p\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/locations/*}/services\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\x92\x02\n\rUpdateService\x12).google.cloud.run.v2.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41\x12\n\x07Service\x12\x07Service\xda\x41\x07service\xda\x41\x13service,update_mask\x82\xd3\xe4\x93\x02?24/v2/{service.name=projects/*/locations/*/services/*}:\x07service\x8a\xd3\xe4\x93\x02\x36\x12\x34\n\x0cservice.name\x12$projects/*/locations/{location=*}/**\x12\xe0\x01\n\rDeleteService\x12).google.cloud.run.v2.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\x12\n\x07Service\x12\x07Service\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v2/{name=projects/*/locations/*/services/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\x90\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"E\x82\xd3\xe4\x93\x02?\x12=/v2/{resource=projects/*/locations/*/services/*}:getIamPolicy\x12\x93\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"H\x82\xd3\xe4\x93\x02\x42\"=/v2/{resource=projects/*/locations/*/services/*}:setIamPolicy:\x01*\x12\xb9\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"N\x82\xd3\xe4\x93\x02H\"C/v2/{resource=projects/*/locations/*/services/*}: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.readonlyBT\n\x17\x63om.google.cloud.run.v2B\x0cServiceProtoP\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)
@@ -254,9 +254,10 @@ module Google
254
254
  # @param service [::Google::Cloud::Run::V2::Service, ::Hash]
255
255
  # Required. The Service instance to create.
256
256
  # @param service_id [::String]
257
- # Required. The unique identifier for the Service. It must begin with letter,
257
+ # Optional. The unique identifier for the Service. It must begin with letter,
258
258
  # and cannot end with hyphen; must contain fewer than 50 characters.
259
259
  # The name of the service becomes \\{parent}/services/\\{service_id}.
260
+ # If not provided, the server will generate a unique `service_id`.
260
261
  # @param validate_only [::Boolean]
261
262
  # Indicates that the request should be validated and default values
262
263
  # populated, without persisting the request or creating any resources.
@@ -544,7 +545,7 @@ module Google
544
545
  # @param options [::Gapic::CallOptions, ::Hash]
545
546
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
546
547
  #
547
- # @overload update_service(update_mask: nil, service: nil, validate_only: nil, allow_missing: nil)
548
+ # @overload update_service(update_mask: nil, service: nil, validate_only: nil, allow_missing: nil, force_new_revision: nil)
548
549
  # Pass arguments to `update_service` via keyword arguments. Note that at
549
550
  # least one keyword argument is required. To specify no parameters, or to keep all
550
551
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -560,6 +561,15 @@ module Google
560
561
  # Optional. If set to true, and if the Service does not exist, it will create
561
562
  # a new one. The caller must have 'run.services.create' permissions if this
562
563
  # is set to true and the Service does not exist.
564
+ # @param force_new_revision [::Boolean]
565
+ # Optional. If set to true, a new revision will be created from the template
566
+ # even if the system doesn't detect any changes from the previously deployed
567
+ # revision.
568
+ #
569
+ # This may be useful for cases where the underlying resources need to be
570
+ # recreated or reinitialized. For example if the image is specified by label,
571
+ # but the underlying image digest has changed) or if the container performs
572
+ # deployment initialization work that needs to be performed again.
563
573
  #
564
574
  # @yield [response, operation] Access the result along with the RPC operation
565
575
  # @yieldparam response [::Gapic::Operation]