google-cloud-run-v2 0.28.1 → 0.29.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 (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/run/v2/build_pb.rb +4 -25
  4. data/lib/google/cloud/run/v2/builds/client.rb +11 -1
  5. data/lib/google/cloud/run/v2/builds/rest/client.rb +11 -1
  6. data/lib/google/cloud/run/v2/condition_pb.rb +3 -25
  7. data/lib/google/cloud/run/v2/container_status_pb.rb +21 -0
  8. data/lib/google/cloud/run/v2/execution_pb.rb +2 -26
  9. data/lib/google/cloud/run/v2/execution_template_pb.rb +2 -24
  10. data/lib/google/cloud/run/v2/executions/client.rb +2 -0
  11. data/lib/google/cloud/run/v2/executions/operations.rb +2 -0
  12. data/lib/google/cloud/run/v2/executions/rest/client.rb +2 -0
  13. data/lib/google/cloud/run/v2/executions/rest/operations.rb +2 -0
  14. data/lib/google/cloud/run/v2/instance_pb.rb +42 -0
  15. data/lib/google/cloud/run/v2/instance_services_pb.rb +55 -0
  16. data/lib/google/cloud/run/v2/instance_split_pb.rb +2 -23
  17. data/lib/google/cloud/run/v2/instances/client.rb +1059 -0
  18. data/lib/google/cloud/run/v2/instances/credentials.rb +47 -0
  19. data/lib/google/cloud/run/v2/instances/operations.rb +851 -0
  20. data/lib/google/cloud/run/v2/instances/paths.rb +178 -0
  21. data/lib/google/cloud/run/v2/instances/rest/client.rb +962 -0
  22. data/lib/google/cloud/run/v2/instances/rest/operations.rb +1095 -0
  23. data/lib/google/cloud/run/v2/instances/rest/service_stub.rb +450 -0
  24. data/lib/google/cloud/run/v2/instances/rest.rb +53 -0
  25. data/lib/google/cloud/run/v2/instances.rb +56 -0
  26. data/lib/google/cloud/run/v2/job_pb.rb +3 -30
  27. data/lib/google/cloud/run/v2/jobs/client.rb +2 -0
  28. data/lib/google/cloud/run/v2/jobs/operations.rb +2 -0
  29. data/lib/google/cloud/run/v2/jobs/rest/client.rb +2 -0
  30. data/lib/google/cloud/run/v2/jobs/rest/operations.rb +2 -0
  31. data/lib/google/cloud/run/v2/k8s.min_pb.rb +5 -24
  32. data/lib/google/cloud/run/v2/rest.rb +1 -0
  33. data/lib/google/cloud/run/v2/revision_pb.rb +2 -29
  34. data/lib/google/cloud/run/v2/revision_template_pb.rb +2 -26
  35. data/lib/google/cloud/run/v2/revisions/client.rb +2 -0
  36. data/lib/google/cloud/run/v2/revisions/operations.rb +2 -0
  37. data/lib/google/cloud/run/v2/revisions/rest/client.rb +2 -0
  38. data/lib/google/cloud/run/v2/revisions/rest/operations.rb +2 -0
  39. data/lib/google/cloud/run/v2/service_pb.rb +4 -30
  40. data/lib/google/cloud/run/v2/services/client.rb +2 -0
  41. data/lib/google/cloud/run/v2/services/operations.rb +2 -0
  42. data/lib/google/cloud/run/v2/services/rest/client.rb +2 -0
  43. data/lib/google/cloud/run/v2/services/rest/operations.rb +2 -0
  44. data/lib/google/cloud/run/v2/status_pb.rb +2 -23
  45. data/lib/google/cloud/run/v2/task_pb.rb +2 -29
  46. data/lib/google/cloud/run/v2/task_template_pb.rb +2 -26
  47. data/lib/google/cloud/run/v2/tasks/client.rb +2 -0
  48. data/lib/google/cloud/run/v2/tasks/rest/client.rb +2 -0
  49. data/lib/google/cloud/run/v2/traffic_target_pb.rb +2 -23
  50. data/lib/google/cloud/run/v2/vendor_settings_pb.rb +3 -24
  51. data/lib/google/cloud/run/v2/version.rb +1 -1
  52. data/lib/google/cloud/run/v2/worker_pool_pb.rb +3 -30
  53. data/lib/google/cloud/run/v2/worker_pool_revision_template_pb.rb +3 -27
  54. data/lib/google/cloud/run/v2/worker_pools/client.rb +2 -0
  55. data/lib/google/cloud/run/v2/worker_pools/operations.rb +2 -0
  56. data/lib/google/cloud/run/v2/worker_pools/rest/client.rb +2 -0
  57. data/lib/google/cloud/run/v2/worker_pools/rest/operations.rb +2 -0
  58. data/lib/google/cloud/run/v2.rb +1 -0
  59. data/proto_docs/google/api/client.rb +149 -29
  60. data/proto_docs/google/api/routing.rb +7 -3
  61. data/proto_docs/google/cloud/run/v2/build.rb +11 -0
  62. data/proto_docs/google/cloud/run/v2/condition.rb +3 -0
  63. data/proto_docs/google/cloud/run/v2/container_status.rb +42 -0
  64. data/proto_docs/google/cloud/run/v2/instance.rb +328 -0
  65. data/proto_docs/google/cloud/run/v2/job.rb +2 -2
  66. data/proto_docs/google/cloud/run/v2/k8s.min.rb +37 -2
  67. data/proto_docs/google/cloud/run/v2/service.rb +32 -7
  68. data/proto_docs/google/cloud/run/v2/vendor_settings.rb +5 -0
  69. data/proto_docs/google/cloud/run/v2/worker_pool.rb +23 -22
  70. data/proto_docs/google/cloud/run/v2/worker_pool_revision_template.rb +3 -0
  71. metadata +18 -4
@@ -711,6 +711,7 @@ module Google
711
711
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
712
712
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
713
713
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
714
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
714
715
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
715
716
  # trigger a retry.
716
717
  # @return [::Hash]
@@ -794,6 +795,7 @@ module Google
794
795
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
795
796
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
796
797
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
798
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
797
799
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
798
800
  # trigger a retry.
799
801
  #
@@ -1093,6 +1093,7 @@ module Google
1093
1093
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1094
1094
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1095
1095
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1096
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1096
1097
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1097
1098
  # trigger a retry.
1098
1099
  # @return [::Hash]
@@ -1165,6 +1166,7 @@ module Google
1165
1166
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1166
1167
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1167
1168
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1169
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1168
1170
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1169
1171
  # trigger a retry.
1170
1172
  #
@@ -640,6 +640,7 @@ module Google
640
640
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
641
641
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
642
642
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
643
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
643
644
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
644
645
  # trigger a retry.
645
646
  # @return [::Hash]
@@ -712,6 +713,7 @@ module Google
712
713
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
713
714
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
714
715
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
716
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
715
717
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
716
718
  # trigger a retry.
717
719
  #
@@ -8,31 +8,10 @@ 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\"\x81\x04\n\tContainer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\x05image\x18\x02 \x01(\tB\x03\xe0\x41\x02\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\x12\n\ndepends_on\x18\x0c \x03(\t\x12\x16\n\x0e\x62\x61se_image_uri\x18\r \x01(\t\x12\x37\n\nbuild_info\x18\x0f \x01(\x0b\x32\x1e.google.cloud.run.v2.BuildInfoB\x03\xe0\x41\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\"q\n\x06\x45nvVar\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\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\"\x92\x01\n\x11SecretKeySelector\x12;\n\x06secret\x18\x01 \x01(\tB+\xe0\x41\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\"9\n\x0bVolumeMount\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nmount_path\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xd4\x02\n\x06Volume\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\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\"r\n\x12SecretVolumeSource\x12\x13\n\x06secret\x18\x01 \x01(\tB\x03\xe0\x41\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\"A\n\rVersionToPath\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\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\"\xc8\x02\n\x05Probe\x12\"\n\x15initial_delay_seconds\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1c\n\x0ftimeout_seconds\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0eperiod_seconds\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1e\n\x11\x66\x61ilure_threshold\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12;\n\x08http_get\x18\x05 \x01(\x0b\x32\".google.cloud.run.v2.HTTPGetActionB\x03\xe0\x41\x01H\x00\x12?\n\ntcp_socket\x18\x06 \x01(\x0b\x32$.google.cloud.run.v2.TCPSocketActionB\x03\xe0\x41\x01H\x00\x12\x34\n\x04grpc\x18\x07 \x01(\x0b\x32\x1f.google.cloud.run.v2.GRPCActionB\x03\xe0\x41\x01H\x00\x42\x0c\n\nprobe_type\"q\n\rHTTPGetAction\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12:\n\x0chttp_headers\x18\x04 \x03(\x0b\x32\x1f.google.cloud.run.v2.HTTPHeaderB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\"3\n\nHTTPHeader\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x01\"$\n\x0fTCPSocketAction\x12\x11\n\x04port\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\"5\n\nGRPCAction\x12\x11\n\x04port\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x14\n\x07service\x18\x02 \x01(\tB\x03\xe0\x41\x01\"G\n\tBuildInfo\x12\x1c\n\x0f\x66unction_target\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fsource_location\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\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\"\xf1\x04\n\tContainer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\x05image\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x0bsource_code\x18\x11 \x01(\x0b\x32\x1f.google.cloud.run.v2.SourceCodeB\x03\xe0\x41\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\x37\n\nbuild_info\x18\x0f \x01(\x0b\x32\x1e.google.cloud.run.v2.BuildInfoB\x03\xe0\x41\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\"q\n\x06\x45nvVar\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\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\"\x92\x01\n\x11SecretKeySelector\x12;\n\x06secret\x18\x01 \x01(\tB+\xe0\x41\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\"P\n\x0bVolumeMount\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nmount_path\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08sub_path\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xd4\x02\n\x06Volume\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\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\"r\n\x12SecretVolumeSource\x12\x13\n\x06secret\x18\x01 \x01(\tB\x03\xe0\x41\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\"A\n\rVersionToPath\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\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\"\xc8\x02\n\x05Probe\x12\"\n\x15initial_delay_seconds\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1c\n\x0ftimeout_seconds\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0eperiod_seconds\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1e\n\x11\x66\x61ilure_threshold\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12;\n\x08http_get\x18\x05 \x01(\x0b\x32\".google.cloud.run.v2.HTTPGetActionB\x03\xe0\x41\x01H\x00\x12?\n\ntcp_socket\x18\x06 \x01(\x0b\x32$.google.cloud.run.v2.TCPSocketActionB\x03\xe0\x41\x01H\x00\x12\x34\n\x04grpc\x18\x07 \x01(\x0b\x32\x1f.google.cloud.run.v2.GRPCActionB\x03\xe0\x41\x01H\x00\x42\x0c\n\nprobe_type\"q\n\rHTTPGetAction\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12:\n\x0chttp_headers\x18\x04 \x03(\x0b\x32\x1f.google.cloud.run.v2.HTTPHeaderB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\"3\n\nHTTPHeader\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x01\"$\n\x0fTCPSocketAction\x12\x11\n\x04port\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\"5\n\nGRPCAction\x12\x11\n\x04port\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x14\n\x07service\x18\x02 \x01(\tB\x03\xe0\x41\x01\"G\n\tBuildInfo\x12\x1c\n\x0f\x66unction_target\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fsource_location\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xc8\x01\n\nSourceCode\x12R\n\x14\x63loud_storage_source\x18\x01 \x01(\x0b\x32\x32.google.cloud.run.v2.SourceCode.CloudStorageSourceH\x00\x1aW\n\x12\x43loudStorageSource\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06object\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ngeneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\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"
12
12
 
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
18
- # Compatibility code: will be removed in the next major version.
19
- require 'google/protobuf/descriptor_pb'
20
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
- parsed.clear_dependency
22
- serialized = parsed.class.encode(parsed)
23
- file = pool.add_serialized_file(serialized)
24
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
- imports = [
26
- ]
27
- imports.each do |type_name, expected_filename|
28
- import_file = pool.lookup(type_name).file_descriptor
29
- if import_file.name != expected_filename
30
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
- end
32
- end
33
- warn "Each proto file must use a consistent fully-qualified name."
34
- warn "This will become an error in the next major version."
35
- end
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
36
15
 
37
16
  module Google
38
17
  module Cloud
@@ -59,6 +38,8 @@ module Google
59
38
  TCPSocketAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.TCPSocketAction").msgclass
60
39
  GRPCAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.GRPCAction").msgclass
61
40
  BuildInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.BuildInfo").msgclass
41
+ SourceCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.SourceCode").msgclass
42
+ SourceCode::CloudStorageSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.SourceCode.CloudStorageSource").msgclass
62
43
  end
63
44
  end
64
45
  end
@@ -18,6 +18,7 @@
18
18
 
19
19
  require "google/cloud/run/v2/builds/rest"
20
20
  require "google/cloud/run/v2/executions/rest"
21
+ require "google/cloud/run/v2/instances/rest"
21
22
  require "google/cloud/run/v2/jobs/rest"
22
23
  require "google/cloud/run/v2/revisions/rest"
23
24
  require "google/cloud/run/v2/services/rest"
@@ -21,35 +21,8 @@ require 'google/protobuf/timestamp_pb'
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\"G\n\x12GetRevisionRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\"\x88\x01\n\x14ListRevisionsRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\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\"o\n\x15\x44\x65leteRevisionRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\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\"\xcb\x0e\n\x08Revision\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ngeneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12>\n\x06labels\x18\x04 \x03(\x0b\x32).google.cloud.run.v2.Revision.LabelsEntryB\x03\xe0\x41\x03\x12H\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32..google.cloud.run.v2.Revision.AnnotationsEntryB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12-\n\x0claunch_stage\x18\n \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x33\n\x07service\x18\x0b \x01(\tB\"\xe0\x41\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\x18\n\x0breconciling\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x12\x37\n\nconditions\x18\x1f \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12 \n\x13observed_generation\x18 \x01(\x03\x42\x03\xe0\x41\x03\x12\x14\n\x07log_uri\x18! \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18% \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x10session_affinity\x18& \x01(\x08\x12G\n\x0escaling_status\x18\' \x01(\x0b\x32*.google.cloud.run.v2.RevisionScalingStatusB\x03\xe0\x41\x03\x12\x38\n\rnode_selector\x18( \x01(\x0b\x32!.google.cloud.run.v2.NodeSelector\x12\x32\n\x1dgpu_zonal_redundancy_disabled\x18\x30 \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x03H\x00\x88\x01\x01\x12\x14\n\x07\x63reator\x18\x31 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\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
23
 
24
- pool = Google::Protobuf::DescriptorPool.generated_pool
25
-
26
- begin
27
- pool.add_serialized_file(descriptor_data)
28
- rescue TypeError
29
- # Compatibility code: will be removed in the next major version.
30
- require 'google/protobuf/descriptor_pb'
31
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
32
- parsed.clear_dependency
33
- serialized = parsed.class.encode(parsed)
34
- file = pool.add_serialized_file(serialized)
35
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
36
- imports = [
37
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
38
- ["google.cloud.run.v2.RevisionScaling", "google/cloud/run/v2/vendor_settings.proto"],
39
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
40
- ["google.cloud.run.v2.Container", "google/cloud/run/v2/k8s.min.proto"],
41
- ["google.cloud.run.v2.Condition", "google/cloud/run/v2/condition.proto"],
42
- ["google.cloud.run.v2.RevisionScalingStatus", "google/cloud/run/v2/status.proto"],
43
- ]
44
- imports.each do |type_name, expected_filename|
45
- import_file = pool.lookup(type_name).file_descriptor
46
- if import_file.name != expected_filename
47
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
48
- end
49
- end
50
- warn "Each proto file must use a consistent fully-qualified name."
51
- warn "This will become an error in the next major version."
52
- end
24
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
25
+ pool.add_serialized_file(descriptor_data)
53
26
 
54
27
  module Google
55
28
  module Cloud
@@ -13,32 +13,8 @@ require 'google/protobuf/duration_pb'
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\"\xee\t\n\x10RevisionTemplate\x12\x35\n\x08revision\x18\x01 \x01(\tB#\xe0\x41\x01\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x46\n\x06labels\x18\x02 \x03(\x0b\x32\x31.google.cloud.run.v2.RevisionTemplate.LabelsEntryB\x03\xe0\x41\x01\x12P\n\x0b\x61nnotations\x18\x03 \x03(\x0b\x32\x36.google.cloud.run.v2.RevisionTemplate.AnnotationsEntryB\x03\xe0\x41\x01\x12:\n\x07scaling\x18\x04 \x01(\x0b\x32$.google.cloud.run.v2.RevisionScalingB\x03\xe0\x41\x01\x12\x37\n\nvpc_access\x18\x06 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x03\xe0\x41\x01\x12/\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x1c\n\x0fservice_account\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x32\n\ncontainers\x18\n \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12\x31\n\x07volumes\x18\x0b \x03(\x0b\x32\x1b.google.cloud.run.v2.VolumeB\x03\xe0\x41\x01\x12M\n\x15\x65xecution_environment\x18\r \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironmentB\x03\xe0\x41\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\x03\xe0\x41\x01\x12;\n\x0cservice_mesh\x18\x10 \x01(\x0b\x32 .google.cloud.run.v2.ServiceMeshB\x03\xe0\x41\x01\x12\x61\n encryption_key_revocation_action\x18\x11 \x01(\x0e\x32\x32.google.cloud.run.v2.EncryptionKeyRevocationActionB\x03\xe0\x41\x01\x12H\n encryption_key_shutdown_duration\x18\x12 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x1d\n\x10session_affinity\x18\x13 \x01(\x08\x42\x03\xe0\x41\x01\x12\"\n\x15health_check_disabled\x18\x14 \x01(\x08\x42\x03\xe0\x41\x01\x12=\n\rnode_selector\x18\x15 \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x03\xe0\x41\x01\x12/\n\x1dgpu_zonal_redundancy_disabled\x18\x18 \x01(\x08\x42\x03\xe0\x41\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
15
 
16
- pool = Google::Protobuf::DescriptorPool.generated_pool
17
-
18
- begin
19
- pool.add_serialized_file(descriptor_data)
20
- rescue TypeError
21
- # Compatibility code: will be removed in the next major version.
22
- require 'google/protobuf/descriptor_pb'
23
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
- parsed.clear_dependency
25
- serialized = parsed.class.encode(parsed)
26
- file = pool.add_serialized_file(serialized)
27
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
- imports = [
29
- ["google.cloud.run.v2.RevisionScaling", "google/cloud/run/v2/vendor_settings.proto"],
30
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
31
- ["google.cloud.run.v2.Container", "google/cloud/run/v2/k8s.min.proto"],
32
- ]
33
- imports.each do |type_name, expected_filename|
34
- import_file = pool.lookup(type_name).file_descriptor
35
- if import_file.name != expected_filename
36
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
37
- end
38
- end
39
- warn "Each proto file must use a consistent fully-qualified name."
40
- warn "This will become an error in the next major version."
41
- end
16
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
42
18
 
43
19
  module Google
44
20
  module Cloud
@@ -609,6 +609,7 @@ module Google
609
609
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
610
610
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
611
611
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
612
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
612
613
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
613
614
  # trigger a retry.
614
615
  # @return [::Hash]
@@ -692,6 +693,7 @@ module Google
692
693
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
693
694
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
694
695
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
696
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
695
697
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
696
698
  # trigger a retry.
697
699
  #
@@ -711,6 +711,7 @@ module Google
711
711
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
712
712
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
713
713
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
714
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
714
715
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
715
716
  # trigger a retry.
716
717
  # @return [::Hash]
@@ -794,6 +795,7 @@ module Google
794
795
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
795
796
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
796
797
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
798
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
797
799
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
798
800
  # trigger a retry.
799
801
  #
@@ -546,6 +546,7 @@ module Google
546
546
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
547
547
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
548
548
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
549
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
549
550
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
550
551
  # trigger a retry.
551
552
  # @return [::Hash]
@@ -618,6 +619,7 @@ module Google
618
619
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
619
620
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
620
621
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
622
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
621
623
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
622
624
  # trigger a retry.
623
625
  #
@@ -640,6 +640,7 @@ module Google
640
640
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
641
641
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
642
642
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
643
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
643
644
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
644
645
  # trigger a retry.
645
646
  # @return [::Hash]
@@ -712,6 +713,7 @@ module Google
712
713
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
713
714
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
714
715
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
716
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
715
717
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
716
718
  # trigger a retry.
717
719
  #
@@ -21,37 +21,10 @@ 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\"\xae\x01\n\x14\x43reateServiceRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\x12\x32\n\x07service\x18\x02 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x03\xe0\x41\x02\x12\x17\n\nservice_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb3\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x32\n\x07service\x18\x01 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x86\x01\n\x13ListServicesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\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\"_\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\"E\n\x11GetServiceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\"m\n\x14\x44\x65leteServiceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\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\"\xbd\r\n\x07Service\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ngeneration\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12=\n\x06labels\x18\x05 \x03(\x0b\x32(.google.cloud.run.v2.Service.LabelsEntryB\x03\xe0\x41\x01\x12G\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32-.google.cloud.run.v2.Service.AnnotationsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07\x63reator\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rlast_modifier\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x0e\n\x06\x63lient\x18\r \x01(\t\x12\x16\n\x0e\x63lient_version\x18\x0e \x01(\t\x12\x39\n\x07ingress\x18\x0f \x01(\x0e\x32#.google.cloud.run.v2.IngressTrafficB\x03\xe0\x41\x01\x12\x32\n\x0claunch_stage\x18\x10 \x01(\x0e\x32\x17.google.api.LaunchStageB\x03\xe0\x41\x01\x12K\n\x14\x62inary_authorization\x18\x11 \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorizationB\x03\xe0\x41\x01\x12<\n\x08template\x18\x12 \x01(\x0b\x32%.google.cloud.run.v2.RevisionTemplateB\x03\xe0\x41\x02\x12\x38\n\x07traffic\x18\x13 \x03(\x0b\x32\".google.cloud.run.v2.TrafficTargetB\x03\xe0\x41\x01\x12\x39\n\x07scaling\x18\x14 \x01(\x0b\x32#.google.cloud.run.v2.ServiceScalingB\x03\xe0\x41\x01\x12!\n\x14invoker_iam_disabled\x18\x15 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14\x64\x65\x66\x61ult_uri_disabled\x18\x16 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04urls\x18\x18 \x03(\tB\x03\xe0\x41\x03\x12\x18\n\x10\x63ustom_audiences\x18% \x03(\t\x12 \n\x13observed_generation\x18\x1e \x01(\x03\x42\x03\xe0\x41\x03\x12?\n\x12terminal_condition\x18\x1f \x01(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12\x37\n\nconditions\x18 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12\x42\n\x15latest_ready_revision\x18! \x01(\tB#\xe0\x41\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x44\n\x17latest_created_revision\x18\" \x01(\tB#\xe0\x41\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12G\n\x10traffic_statuses\x18# \x03(\x0b\x32(.google.cloud.run.v2.TrafficTargetStatusB\x03\xe0\x41\x03\x12\x10\n\x03uri\x18$ \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18& \x01(\x08\x42\x03\xe0\x41\x03\x12;\n\x0c\x62uild_config\x18) \x01(\x0b\x32 .google.cloud.run.v2.BuildConfigB\x03\xe0\x41\x01\x12\x18\n\x0breconciling\x18\x62 \x01(\x08\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\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:^\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\"\xae\x01\n\x14\x43reateServiceRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\x12\x32\n\x07service\x18\x02 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x03\xe0\x41\x02\x12\x17\n\nservice_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb3\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x32\n\x07service\x18\x01 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x86\x01\n\x13ListServicesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\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\"y\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\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x03\"E\n\x11GetServiceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\"m\n\x14\x44\x65leteServiceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\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\"\xa4\x0f\n\x07Service\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ngeneration\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12=\n\x06labels\x18\x05 \x03(\x0b\x32(.google.cloud.run.v2.Service.LabelsEntryB\x03\xe0\x41\x01\x12G\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32-.google.cloud.run.v2.Service.AnnotationsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07\x63reator\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rlast_modifier\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x0e\n\x06\x63lient\x18\r \x01(\t\x12\x16\n\x0e\x63lient_version\x18\x0e \x01(\t\x12\x39\n\x07ingress\x18\x0f \x01(\x0e\x32#.google.cloud.run.v2.IngressTrafficB\x03\xe0\x41\x01\x12\x32\n\x0claunch_stage\x18\x10 \x01(\x0e\x32\x17.google.api.LaunchStageB\x03\xe0\x41\x01\x12K\n\x14\x62inary_authorization\x18\x11 \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorizationB\x03\xe0\x41\x01\x12<\n\x08template\x18\x12 \x01(\x0b\x32%.google.cloud.run.v2.RevisionTemplateB\x03\xe0\x41\x02\x12\x38\n\x07traffic\x18\x13 \x03(\x0b\x32\".google.cloud.run.v2.TrafficTargetB\x03\xe0\x41\x01\x12\x39\n\x07scaling\x18\x14 \x01(\x0b\x32#.google.cloud.run.v2.ServiceScalingB\x03\xe0\x41\x01\x12!\n\x14invoker_iam_disabled\x18\x15 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14\x64\x65\x66\x61ult_uri_disabled\x18\x16 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04urls\x18\x18 \x03(\tB\x03\xe0\x41\x03\x12\x18\n\x0biap_enabled\x18\x19 \x01(\x08\x42\x03\xe0\x41\x01\x12T\n\x15multi_region_settings\x18\x1a \x01(\x0b\x32\x30.google.cloud.run.v2.Service.MultiRegionSettingsB\x03\xe0\x41\x01\x12\x18\n\x10\x63ustom_audiences\x18% \x03(\t\x12 \n\x13observed_generation\x18\x1e \x01(\x03\x42\x03\xe0\x41\x03\x12?\n\x12terminal_condition\x18\x1f \x01(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12\x37\n\nconditions\x18 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12\x42\n\x15latest_ready_revision\x18! \x01(\tB#\xe0\x41\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x44\n\x17latest_created_revision\x18\" \x01(\tB#\xe0\x41\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12G\n\x10traffic_statuses\x18# \x03(\x0b\x32(.google.cloud.run.v2.TrafficTargetStatusB\x03\xe0\x41\x03\x12\x10\n\x03uri\x18$ \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18& \x01(\x08\x42\x03\xe0\x41\x03\x12%\n\x18threat_detection_enabled\x18( \x01(\x08\x42\x03\xe0\x41\x03\x12;\n\x0c\x62uild_config\x18) \x01(\x0b\x32 .google.cloud.run.v2.BuildConfigB\x03\xe0\x41\x01\x12\x18\n\x0breconciling\x18\x62 \x01(\x08\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x01\x1aI\n\x13MultiRegionSettings\x12\x14\n\x07regions\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fmulti_region_id\x18\x02 \x01(\tB\x03\xe0\x41\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"
25
25
 
26
- pool = Google::Protobuf::DescriptorPool.generated_pool
27
-
28
- begin
29
- pool.add_serialized_file(descriptor_data)
30
- rescue TypeError
31
- # Compatibility code: will be removed in the next major version.
32
- require 'google/protobuf/descriptor_pb'
33
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
34
- parsed.clear_dependency
35
- serialized = parsed.class.encode(parsed)
36
- file = pool.add_serialized_file(serialized)
37
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
38
- imports = [
39
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
40
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
41
- ["google.cloud.run.v2.BinaryAuthorization", "google/cloud/run/v2/vendor_settings.proto"],
42
- ["google.cloud.run.v2.RevisionTemplate", "google/cloud/run/v2/revision_template.proto"],
43
- ["google.cloud.run.v2.TrafficTarget", "google/cloud/run/v2/traffic_target.proto"],
44
- ["google.cloud.run.v2.Condition", "google/cloud/run/v2/condition.proto"],
45
- ]
46
- imports.each do |type_name, expected_filename|
47
- import_file = pool.lookup(type_name).file_descriptor
48
- if import_file.name != expected_filename
49
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
50
- end
51
- end
52
- warn "Each proto file must use a consistent fully-qualified name."
53
- warn "This will become an error in the next major version."
54
- end
26
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
27
+ pool.add_serialized_file(descriptor_data)
55
28
 
56
29
  module Google
57
30
  module Cloud
@@ -64,6 +37,7 @@ module Google
64
37
  GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.GetServiceRequest").msgclass
65
38
  DeleteServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.DeleteServiceRequest").msgclass
66
39
  Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Service").msgclass
40
+ Service::MultiRegionSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Service.MultiRegionSettings").msgclass
67
41
  end
68
42
  end
69
43
  end
@@ -1121,6 +1121,7 @@ module Google
1121
1121
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1122
1122
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1123
1123
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1124
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1124
1125
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1125
1126
  # trigger a retry.
1126
1127
  # @return [::Hash]
@@ -1204,6 +1205,7 @@ module Google
1204
1205
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1205
1206
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1206
1207
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1208
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1207
1209
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1208
1210
  # trigger a retry.
1209
1211
  #
@@ -711,6 +711,7 @@ module Google
711
711
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
712
712
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
713
713
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
714
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
714
715
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
715
716
  # trigger a retry.
716
717
  # @return [::Hash]
@@ -794,6 +795,7 @@ module Google
794
795
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
795
796
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
796
797
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
798
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
797
799
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
798
800
  # trigger a retry.
799
801
  #
@@ -1017,6 +1017,7 @@ module Google
1017
1017
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1018
1018
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1019
1019
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1020
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1020
1021
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1021
1022
  # trigger a retry.
1022
1023
  # @return [::Hash]
@@ -1089,6 +1090,7 @@ module Google
1089
1090
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1090
1091
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1091
1092
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1093
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1092
1094
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1093
1095
  # trigger a retry.
1094
1096
  #
@@ -640,6 +640,7 @@ module Google
640
640
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
641
641
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
642
642
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
643
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
643
644
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
644
645
  # trigger a retry.
645
646
  # @return [::Hash]
@@ -712,6 +713,7 @@ module Google
712
713
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
713
714
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
714
715
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
716
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
715
717
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
716
718
  # trigger a retry.
717
719
  #
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n google/cloud/run/v2/status.proto\x12\x13google.cloud.run.v2\";\n\x15RevisionScalingStatus\x12\"\n\x1a\x64\x65sired_min_instance_count\x18\x01 \x01(\x05\x42S\n\x17\x63om.google.cloud.run.v2B\x0bStatusProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Cloud
@@ -18,35 +18,8 @@ require 'google/rpc/status_pb'
18
18
 
19
19
  descriptor_data = "\n\x1egoogle/cloud/run/v2/task.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/run/v2/condition.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"?\n\x0eGetTaskRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17run.googleapis.com/Task\"\x80\x01\n\x10ListTasksRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17run.googleapis.com/Task\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"V\n\x11ListTasksResponse\x12(\n\x05tasks\x18\x01 \x03(\x0b\x32\x19.google.cloud.run.v2.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xcd\r\n\x04Task\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ngeneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12:\n\x06labels\x18\x04 \x03(\x0b\x32%.google.cloud.run.v2.Task.LabelsEntryB\x03\xe0\x41\x03\x12\x44\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32*.google.cloud.run.v2.Task.AnnotationsEntryB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x37\n\x0escheduled_time\x18\" \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x38\n\x0f\x63ompletion_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12+\n\x03job\x18\x0c \x01(\tB\x1e\xe0\x41\x03\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x37\n\texecution\x18\r \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x32\n\ncontainers\x18\x0e \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12,\n\x07volumes\x18\x0f \x03(\x0b\x32\x1b.google.cloud.run.v2.Volume\x12\x13\n\x0bmax_retries\x18\x10 \x01(\x05\x12*\n\x07timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x17\n\x0fservice_account\x18\x12 \x01(\t\x12H\n\x15\x65xecution_environment\x18\x14 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironment\x12\x18\n\x0breconciling\x18\x15 \x01(\x08\x42\x03\xe0\x41\x03\x12\x37\n\nconditions\x18\x16 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12 \n\x13observed_generation\x18\x17 \x01(\x03\x42\x03\xe0\x41\x03\x12\x12\n\x05index\x18\x18 \x01(\x05\x42\x03\xe0\x41\x03\x12\x14\n\x07retried\x18\x19 \x01(\x05\x42\x03\xe0\x41\x03\x12H\n\x13last_attempt_result\x18\x1a \x01(\x0b\x32&.google.cloud.run.v2.TaskAttemptResultB\x03\xe0\x41\x03\x12\x41\n\x0e\x65ncryption_key\x18\x1c \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x37\n\nvpc_access\x18\x1d \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x03\xe0\x41\x03\x12\x14\n\x07log_uri\x18 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18! \x01(\x08\x42\x03\xe0\x41\x03\x12=\n\rnode_selector\x18$ \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x03\xe0\x41\x03\x12\x32\n\x1dgpu_zonal_redundancy_disabled\x18% \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x03H\x00\x88\x01\x01\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:w\xea\x41t\n\x17run.googleapis.com/Task\x12Vprojects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}R\x01\x01\x42 \n\x1e_gpu_zonal_redundancy_disabled\"n\n\x11TaskAttemptResult\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x16\n\texit_code\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0bterm_signal\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x32\x96\x03\n\x05Tasks\x12\x97\x01\n\x07GetTask\x12#.google.cloud.run.v2.GetTaskRequest\x1a\x19.google.cloud.run.v2.Task\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v2/{name=projects/*/locations/*/jobs/*/executions/*/tasks/*}\x12\xaa\x01\n\tListTasks\x12%.google.cloud.run.v2.ListTasksRequest\x1a&.google.cloud.run.v2.ListTasksResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v2/{parent=projects/*/locations/*/jobs/*/executions/*}/tasks\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBQ\n\x17\x63om.google.cloud.run.v2B\tTaskProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
20
20
 
21
- pool = Google::Protobuf::DescriptorPool.generated_pool
22
-
23
- begin
24
- pool.add_serialized_file(descriptor_data)
25
- rescue TypeError
26
- # Compatibility code: will be removed in the next major version.
27
- require 'google/protobuf/descriptor_pb'
28
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
- parsed.clear_dependency
30
- serialized = parsed.class.encode(parsed)
31
- file = pool.add_serialized_file(serialized)
32
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
- imports = [
34
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
- ["google.cloud.run.v2.Container", "google/cloud/run/v2/k8s.min.proto"],
36
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
37
- ["google.cloud.run.v2.Condition", "google/cloud/run/v2/condition.proto"],
38
- ["google.cloud.run.v2.VpcAccess", "google/cloud/run/v2/vendor_settings.proto"],
39
- ["google.rpc.Status", "google/rpc/status.proto"],
40
- ]
41
- imports.each do |type_name, expected_filename|
42
- import_file = pool.lookup(type_name).file_descriptor
43
- if import_file.name != expected_filename
44
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
45
- end
46
- end
47
- warn "Each proto file must use a consistent fully-qualified name."
48
- warn "This will become an error in the next major version."
49
- end
21
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
22
+ pool.add_serialized_file(descriptor_data)
50
23
 
51
24
  module Google
52
25
  module Cloud
@@ -13,32 +13,8 @@ require 'google/protobuf/duration_pb'
13
13
 
14
14
  descriptor_data = "\n\'google/cloud/run/v2/task_template.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\"\xc0\x04\n\x0cTaskTemplate\x12\x32\n\ncontainers\x18\x01 \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12\x31\n\x07volumes\x18\x02 \x03(\x0b\x32\x1b.google.cloud.run.v2.VolumeB\x03\xe0\x41\x01\x12\x15\n\x0bmax_retries\x18\x03 \x01(\x05H\x00\x12/\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x1c\n\x0fservice_account\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12M\n\x15\x65xecution_environment\x18\x06 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironmentB\x03\xe0\x41\x01\x12>\n\x0e\x65ncryption_key\x18\x07 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x37\n\nvpc_access\x18\x08 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x03\xe0\x41\x01\x12=\n\rnode_selector\x18\x0b \x01(\x0b\x32!.google.cloud.run.v2.NodeSelectorB\x03\xe0\x41\x01\x12/\n\x1dgpu_zonal_redundancy_disabled\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\t\n\x07retriesB \n\x1e_gpu_zonal_redundancy_disabledBY\n\x17\x63om.google.cloud.run.v2B\x11TaskTemplateProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
15
15
 
16
- pool = Google::Protobuf::DescriptorPool.generated_pool
17
-
18
- begin
19
- pool.add_serialized_file(descriptor_data)
20
- rescue TypeError
21
- # Compatibility code: will be removed in the next major version.
22
- require 'google/protobuf/descriptor_pb'
23
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
- parsed.clear_dependency
25
- serialized = parsed.class.encode(parsed)
26
- file = pool.add_serialized_file(serialized)
27
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
- imports = [
29
- ["google.cloud.run.v2.Container", "google/cloud/run/v2/k8s.min.proto"],
30
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
31
- ["google.cloud.run.v2.VpcAccess", "google/cloud/run/v2/vendor_settings.proto"],
32
- ]
33
- imports.each do |type_name, expected_filename|
34
- import_file = pool.lookup(type_name).file_descriptor
35
- if import_file.name != expected_filename
36
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
37
- end
38
- end
39
- warn "Each proto file must use a consistent fully-qualified name."
40
- warn "This will become an error in the next major version."
41
- end
16
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
42
18
 
43
19
  module Google
44
20
  module Cloud
@@ -483,6 +483,7 @@ module Google
483
483
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
484
484
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
485
485
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
486
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
486
487
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
487
488
  # trigger a retry.
488
489
  # @return [::Hash]
@@ -566,6 +567,7 @@ module Google
566
567
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
567
568
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
568
569
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
570
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
569
571
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
570
572
  # trigger a retry.
571
573
  #
@@ -436,6 +436,7 @@ module Google
436
436
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
437
437
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
438
438
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
439
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
439
440
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
440
441
  # trigger a retry.
441
442
  # @return [::Hash]
@@ -508,6 +509,7 @@ module Google
508
509
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
509
510
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
510
511
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
512
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
511
513
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
512
514
  # trigger a retry.
513
515
  #