googleapis-common-protos-types 1.22.0 → 1.24.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 (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/lib/google/api/annotations_pb.rb +24 -2
  4. data/lib/google/api/auth_pb.rb +25 -3
  5. data/lib/google/api/backend_pb.rb +36 -4
  6. data/lib/google/api/billing_pb.rb +24 -3
  7. data/lib/google/api/client_pb.rb +194 -56
  8. data/lib/google/api/config_change_pb.rb +24 -3
  9. data/lib/google/api/consumer_pb.rb +23 -2
  10. data/lib/google/api/context_pb.rb +24 -3
  11. data/lib/google/api/control_pb.rb +27 -5
  12. data/lib/google/api/distribution_pb.rb +26 -3
  13. data/lib/google/api/documentation_pb.rb +24 -3
  14. data/lib/google/api/endpoint_pb.rb +24 -3
  15. data/lib/google/api/error_reason_pb.rb +210 -4
  16. data/lib/google/api/field_behavior_pb.rb +24 -3
  17. data/lib/google/api/field_info_pb.rb +24 -3
  18. data/lib/google/api/http_pb.rb +24 -3
  19. data/lib/google/api/httpbody_pb.rb +25 -3
  20. data/lib/google/api/label_pb.rb +24 -3
  21. data/lib/google/api/launch_stage_pb.rb +24 -3
  22. data/lib/google/api/log_pb.rb +25 -3
  23. data/lib/google/api/logging_pb.rb +24 -3
  24. data/lib/google/api/metric_pb.rb +26 -3
  25. data/lib/google/api/monitored_resource_pb.rb +26 -3
  26. data/lib/google/api/monitoring_pb.rb +24 -3
  27. data/lib/google/api/policy_pb.rb +24 -3
  28. data/lib/google/api/quota_pb.rb +24 -3
  29. data/lib/google/api/resource_pb.rb +24 -3
  30. data/lib/google/api/routing_pb.rb +31 -6
  31. data/lib/google/api/service_pb.rb +46 -5
  32. data/lib/google/api/source_info_pb.rb +25 -3
  33. data/lib/google/api/system_parameter_pb.rb +24 -3
  34. data/lib/google/api/usage_pb.rb +30 -29
  35. data/lib/google/api/visibility_pb.rb +24 -3
  36. data/lib/google/logging/type/http_request_pb.rb +24 -2
  37. data/lib/google/logging/type/log_severity_pb.rb +23 -2
  38. data/lib/google/longrunning/operations_pb.rb +26 -2
  39. data/lib/google/rpc/code_pb.rb +24 -3
  40. data/lib/google/rpc/context/attribute_context_pb.rb +35 -5
  41. data/lib/google/rpc/context/audit_context_pb.rb +25 -3
  42. data/lib/google/rpc/error_details_pb.rb +29 -7
  43. data/lib/google/rpc/http_pb.rb +24 -3
  44. data/lib/google/rpc/status_pb.rb +26 -5
  45. data/lib/google/type/calendar_period_pb.rb +24 -3
  46. data/lib/google/type/color_pb.rb +34 -13
  47. data/lib/google/type/date_pb.rb +35 -12
  48. data/lib/google/type/datetime_pb.rb +42 -20
  49. data/lib/google/type/dayofweek_pb.rb +24 -3
  50. data/lib/google/type/decimal_pb.rb +35 -16
  51. data/lib/google/type/expr_pb.rb +24 -3
  52. data/lib/google/type/fraction_pb.rb +24 -3
  53. data/lib/google/type/interval_pb.rb +26 -5
  54. data/lib/google/type/latlng_pb.rb +28 -8
  55. data/lib/google/type/localized_text_pb.rb +27 -6
  56. data/lib/google/type/money_pb.rb +25 -5
  57. data/lib/google/type/month_pb.rb +24 -3
  58. data/lib/google/type/phone_number_pb.rb +44 -18
  59. data/lib/google/type/postal_address_pb.rb +63 -42
  60. data/lib/google/type/quaternion_pb.rb +28 -7
  61. data/lib/google/type/timeofday_pb.rb +35 -11
  62. data/lib/googleapis/common/protos/types/version.rb +1 -1
  63. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 654f009bffad8a8c17d70c0ff1edc87a56ca0fbc4cc5f66e36dc640b4f1da15c
4
- data.tar.gz: bfb06ebef5972ca84baae2746f12859eec8583fe74df18ba1494d56a8095953a
3
+ metadata.gz: 119d1610ff253b8ad19160bc5a50ffedead89b06225b62b20b26f0a2b9bbc6b1
4
+ data.tar.gz: d2043d3b1e06391240bead1a868eb04416210233658be91f3447938122e514f5
5
5
  SHA512:
6
- metadata.gz: 6363e873a9308f7e4700c31f480a9a5e3e6461ca9f46e0165150ee397b9baa8c66f32b4be3cd26f2702df1a34af59683c2af07849bdb163a045e81e8835ce905
7
- data.tar.gz: d5ed9d2c371fd0b97ae5b7a4aec33109f394dcda16af8cbf6266e09b9159272470ca39618fbdcc53ff8934d1f518e118c449b8688c4fe92624bd91349e397b7c
6
+ metadata.gz: 13cae3ca50f86746c35b28d4f7c81006c1c3e4b2b6e3eba62da20f6169993603ba0328a0483efc50ffa018cdfbe9cc18a66e7af865607c504d0e216fde0fa9e0
7
+ data.tar.gz: 254b6d0fb3a07550640976a86e367308c3d3641c48aa5728899a481bd3b964a98f3165a1642063b768825feca403b3b8dd1c48924646056b77060163f5ffa106
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 1.24.0 (2026-10-20)
4
+
5
+ #### Features
6
+
7
+ * Automated update of googleapis-common-protos-types ([#431](https://github.com/googleapis/common-protos-ruby/issues/431))
8
+
9
+ ### 1.23.0 (2026-05-19)
10
+
11
+ #### Features
12
+
13
+ * Regenerate protos and support Ruby min_version 3.2 ([#412](https://github.com/googleapis/common-protos-ruby/issues/412))
14
+
3
15
  ### 1.22.0 (2025-10-08)
4
16
 
5
17
  #### Features
@@ -10,8 +10,30 @@ require 'google/protobuf/descriptor_pb'
10
10
 
11
11
  descriptor_data = "\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:E\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleBn\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
12
12
 
13
- pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
- pool.add_serialized_file(descriptor_data)
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
+ ["google.api.HttpRule", "google/api/http.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
32
+ end
33
+ end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
36
+ end
15
37
 
16
38
  module Google
17
39
  module Api
@@ -7,8 +7,29 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n\x15google/api/auth.proto\x12\ngoogle.api\"l\n\x0e\x41uthentication\x12-\n\x05rules\x18\x03 \x03(\x0b\x32\x1e.google.api.AuthenticationRule\x12+\n\tproviders\x18\x04 \x03(\x0b\x32\x18.google.api.AuthProvider\"\xa9\x01\n\x12\x41uthenticationRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12,\n\x05oauth\x18\x02 \x01(\x0b\x32\x1d.google.api.OAuthRequirements\x12 \n\x18\x61llow_without_credential\x18\x05 \x01(\x08\x12\x31\n\x0crequirements\x18\x07 \x03(\x0b\x32\x1b.google.api.AuthRequirement\"^\n\x0bJwtLocation\x12\x10\n\x06header\x18\x01 \x01(\tH\x00\x12\x0f\n\x05query\x18\x02 \x01(\tH\x00\x12\x10\n\x06\x63ookie\x18\x04 \x01(\tH\x00\x12\x14\n\x0cvalue_prefix\x18\x03 \x01(\tB\x04\n\x02in\"\x9a\x01\n\x0c\x41uthProvider\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06issuer\x18\x02 \x01(\t\x12\x10\n\x08jwks_uri\x18\x03 \x01(\t\x12\x11\n\taudiences\x18\x04 \x01(\t\x12\x19\n\x11\x61uthorization_url\x18\x05 \x01(\t\x12.\n\rjwt_locations\x18\x06 \x03(\x0b\x32\x17.google.api.JwtLocation\"-\n\x11OAuthRequirements\x12\x18\n\x10\x63\x61nonical_scopes\x18\x01 \x01(\t\"9\n\x0f\x41uthRequirement\x12\x13\n\x0bprovider_id\x18\x01 \x01(\t\x12\x11\n\taudiences\x18\x02 \x01(\tBk\n\x0e\x63om.google.apiB\tAuthProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
- pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
- pool.add_serialized_file(descriptor_data)
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
12
33
 
13
34
  module Google
14
35
  module Api
@@ -23,7 +44,7 @@ end
23
44
 
24
45
  #### Source proto file: google/api/auth.proto ####
25
46
  #
26
- # // Copyright 2025 Google LLC
47
+ # // Copyright 2026 Google LLC
27
48
  # //
28
49
  # // Licensed under the Apache License, Version 2.0 (the "License");
29
50
  # // you may not use this file except in compliance with the License.
@@ -224,6 +245,7 @@ end
224
245
  # // The list of publicly documented OAuth scopes that are allowed access. An
225
246
  # // OAuth token containing any of these scopes will be accepted.
226
247
  # //
248
+ # //
227
249
  # // Example:
228
250
  # //
229
251
  # // canonical_scopes: https://www.googleapis.com/auth/calendar,
@@ -5,10 +5,31 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x18google/api/backend.proto\x12\ngoogle.api\"1\n\x07\x42\x61\x63kend\x12&\n\x05rules\x18\x01 \x03(\x0b\x32\x17.google.api.BackendRule\"\xb2\x04\n\x0b\x42\x61\x63kendRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08\x64\x65\x61\x64line\x18\x03 \x01(\x01\x12\x18\n\x0cmin_deadline\x18\x04 \x01(\x01\x42\x02\x18\x01\x12\x1a\n\x12operation_deadline\x18\x05 \x01(\x01\x12\x41\n\x10path_translation\x18\x06 \x01(\x0e\x32\'.google.api.BackendRule.PathTranslation\x12\x16\n\x0cjwt_audience\x18\x07 \x01(\tH\x00\x12\x16\n\x0c\x64isable_auth\x18\x08 \x01(\x08H\x00\x12\x10\n\x08protocol\x18\t \x01(\t\x12^\n\x1doverrides_by_request_protocol\x18\n \x03(\x0b\x32\x37.google.api.BackendRule.OverridesByRequestProtocolEntry\x1aZ\n\x1fOverridesByRequestProtocolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.google.api.BackendRule:\x02\x38\x01\"e\n\x0fPathTranslation\x12 \n\x1cPATH_TRANSLATION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43ONSTANT_ADDRESS\x10\x01\x12\x1a\n\x16\x41PPEND_PATH_TO_ADDRESS\x10\x02\x42\x10\n\x0e\x61uthenticationBn\n\x0e\x63om.google.apiB\x0c\x42\x61\x63kendProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
8
+ descriptor_data = "\n\x18google/api/backend.proto\x12\ngoogle.api\"1\n\x07\x42\x61\x63kend\x12&\n\x05rules\x18\x01 \x03(\x0b\x32\x17.google.api.BackendRule\"\xd1\x04\n\x0b\x42\x61\x63kendRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08\x64\x65\x61\x64line\x18\x03 \x01(\x01\x12\x18\n\x0cmin_deadline\x18\x04 \x01(\x01\x42\x02\x18\x01\x12\x1a\n\x12operation_deadline\x18\x05 \x01(\x01\x12\x41\n\x10path_translation\x18\x06 \x01(\x0e\x32\'.google.api.BackendRule.PathTranslation\x12\x16\n\x0cjwt_audience\x18\x07 \x01(\tH\x00\x12\x16\n\x0c\x64isable_auth\x18\x08 \x01(\x08H\x00\x12\x10\n\x08protocol\x18\t \x01(\t\x12^\n\x1doverrides_by_request_protocol\x18\n \x03(\x0b\x32\x37.google.api.BackendRule.OverridesByRequestProtocolEntry\x12\x1d\n\x15load_balancing_policy\x18\x0b \x01(\t\x1aZ\n\x1fOverridesByRequestProtocolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.google.api.BackendRule:\x02\x38\x01\"e\n\x0fPathTranslation\x12 \n\x1cPATH_TRANSLATION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43ONSTANT_ADDRESS\x10\x01\x12\x1a\n\x16\x41PPEND_PATH_TO_ADDRESS\x10\x02\x42\x10\n\x0e\x61uthenticationBn\n\x0e\x63om.google.apiB\x0c\x42\x61\x63kendProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
- pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
- pool.add_serialized_file(descriptor_data)
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
12
33
 
13
34
  module Google
14
35
  module Api
@@ -20,7 +41,7 @@ end
20
41
 
21
42
  #### Source proto file: google/api/backend.proto ####
22
43
  #
23
- # // Copyright 2025 Google LLC
44
+ # // Copyright 2026 Google LLC
24
45
  # //
25
46
  # // Licensed under the Apache License, Version 2.0 (the "License");
26
47
  # // you may not use this file except in compliance with the License.
@@ -150,6 +171,10 @@ end
150
171
  # // operation. The default is no deadline.
151
172
  # double operation_deadline = 5;
152
173
  #
174
+ # // Path translation specifies how to combine the backend address with the
175
+ # // request path in order to produce the appropriate forwarding URL for the
176
+ # // request. See [PathTranslation][google.api.BackendRule.PathTranslation] for
177
+ # // more details.
153
178
  # PathTranslation path_translation = 6;
154
179
  #
155
180
  # // Authentication settings used by the backend.
@@ -204,4 +229,11 @@ end
204
229
  #
205
230
  # // The map between request protocol and the backend address.
206
231
  # map<string, BackendRule> overrides_by_request_protocol = 10;
232
+ #
233
+ # // The load balancing policy used for connection to the application backend.
234
+ # //
235
+ # // Defined as an arbitrary string to accomondate custom load balancing
236
+ # // policies supported by the underlying channel, but suggest most users use
237
+ # // one of the standard policies, such as the default, "RoundRobin".
238
+ # string load_balancing_policy = 11;
207
239
  # }
@@ -7,8 +7,29 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n\x18google/api/billing.proto\x12\ngoogle.api\"\x93\x01\n\x07\x42illing\x12\x45\n\x15\x63onsumer_destinations\x18\x08 \x03(\x0b\x32&.google.api.Billing.BillingDestination\x1a\x41\n\x12\x42illingDestination\x12\x1a\n\x12monitored_resource\x18\x01 \x01(\t\x12\x0f\n\x07metrics\x18\x02 \x03(\tBn\n\x0e\x63om.google.apiB\x0c\x42illingProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
- pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
- pool.add_serialized_file(descriptor_data)
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
12
33
 
13
34
  module Google
14
35
  module Api
@@ -19,7 +40,7 @@ end
19
40
 
20
41
  #### Source proto file: google/api/billing.proto ####
21
42
  #
22
- # // Copyright 2025 Google LLC
43
+ # // Copyright 2026 Google LLC
23
44
  # //
24
45
  # // Licensed under the Apache License, Version 2.0 (the "License");
25
46
  # // you may not use this file except in compliance with the License.
@@ -9,10 +9,32 @@ require 'google/protobuf/descriptor_pb'
9
9
  require 'google/protobuf/duration_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"\xbe\x01\n\x16\x43ommonLanguageSettings\x12\x1e\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01\x12:\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestination\x12H\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGeneration\"\xfb\x03\n\x15\x43lientLibrarySettings\x12\x0f\n\x07version\x18\x01 \x01(\t\x12-\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x1a\n\x12rest_numeric_enums\x18\x03 \x01(\x08\x12/\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettings\x12-\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettings\x12-\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettings\x12\x33\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettings\x12/\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettings\x12\x33\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettings\x12/\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettings\x12+\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettings\"\xa8\x03\n\nPublishing\x12\x33\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettings\x12\x15\n\rnew_issue_uri\x18\x65 \x01(\t\x12\x19\n\x11\x64ocumentation_uri\x18\x66 \x01(\t\x12\x16\n\x0e\x61pi_short_name\x18g \x01(\t\x12\x14\n\x0cgithub_label\x18h \x01(\t\x12\x1e\n\x16\x63odeowner_github_teams\x18i \x03(\t\x12\x16\n\x0e\x64oc_tag_prefix\x18j \x01(\t\x12;\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganization\x12;\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettings\x12)\n!proto_reference_documentation_uri\x18n \x01(\t\x12(\n rest_reference_documentation_uri\x18o \x01(\t\"\xe3\x01\n\x0cJavaSettings\x12\x17\n\x0flibrary_package\x18\x01 \x01(\t\x12L\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntry\x12\x32\n\x06\x63ommon\x18\x03 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x1a\x38\n\x16ServiceClassNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\x0b\x43ppSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"A\n\x0bPhpSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\x9b\x02\n\x0ePythonSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12N\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeatures\x1a\x84\x01\n\x14\x45xperimentalFeatures\x12\x1d\n\x15rest_async_io_enabled\x18\x01 \x01(\x08\x12\'\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08\x12$\n\x1cunversioned_package_disabled\x18\x03 \x01(\x08\"B\n\x0cNodeSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xaa\x03\n\x0e\x44otnetSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12I\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntry\x12K\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntry\x12\x19\n\x11ignored_resources\x18\x04 \x03(\t\x12 \n\x18\x66orced_namespace_aliases\x18\x05 \x03(\t\x12\x1e\n\x16handwritten_signatures\x18\x06 \x03(\t\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15RenamedResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"B\n\x0cRubySettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xbf\x01\n\nGoSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12\x45\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntry\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xcf\x02\n\x0eMethodSettings\x12\x10\n\x08selector\x18\x01 \x01(\t\x12<\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunning\x12\x1d\n\x15\x61uto_populated_fields\x18\x03 \x03(\t\x1a\xcd\x01\n\x0bLongRunning\x12\x35\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1d\n\x15poll_delay_multiplier\x18\x02 \x01(\x02\x12\x31\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"Q\n\x18SelectiveGapicGeneration\x12\x0f\n\x07methods\x18\x01 \x03(\t\x12$\n\x1cgenerate_omitted_as_internal\x18\x02 \x01(\x08*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:9\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\t:6\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\t:6\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\t:8\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tBi\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
12
+ descriptor_data = "\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"\xbe\x01\n\x16\x43ommonLanguageSettings\x12\x1e\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01\x12:\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestination\x12H\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGeneration\"\xfb\x03\n\x15\x43lientLibrarySettings\x12\x0f\n\x07version\x18\x01 \x01(\t\x12-\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x1a\n\x12rest_numeric_enums\x18\x03 \x01(\x08\x12/\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettings\x12-\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettings\x12-\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettings\x12\x33\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettings\x12/\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettings\x12\x33\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettings\x12/\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettings\x12+\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettings\"\xa8\x03\n\nPublishing\x12\x33\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettings\x12\x15\n\rnew_issue_uri\x18\x65 \x01(\t\x12\x19\n\x11\x64ocumentation_uri\x18\x66 \x01(\t\x12\x16\n\x0e\x61pi_short_name\x18g \x01(\t\x12\x14\n\x0cgithub_label\x18h \x01(\t\x12\x1e\n\x16\x63odeowner_github_teams\x18i \x03(\t\x12\x16\n\x0e\x64oc_tag_prefix\x18j \x01(\t\x12;\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganization\x12;\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettings\x12)\n!proto_reference_documentation_uri\x18n \x01(\t\x12(\n rest_reference_documentation_uri\x18o \x01(\t\"\xe3\x01\n\x0cJavaSettings\x12\x17\n\x0flibrary_package\x18\x01 \x01(\t\x12L\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntry\x12\x32\n\x06\x63ommon\x18\x03 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x1a\x38\n\x16ServiceClassNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\x0b\x43ppSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"Z\n\x0bPhpSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12\x17\n\x0flibrary_package\x18\x02 \x01(\t\"\x9b\x02\n\x0ePythonSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12N\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeatures\x1a\x84\x01\n\x14\x45xperimentalFeatures\x12\x1d\n\x15rest_async_io_enabled\x18\x01 \x01(\x08\x12\'\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08\x12$\n\x1cunversioned_package_disabled\x18\x03 \x01(\x08\"B\n\x0cNodeSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xaa\x03\n\x0e\x44otnetSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12I\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntry\x12K\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntry\x12\x19\n\x11ignored_resources\x18\x04 \x03(\t\x12 \n\x18\x66orced_namespace_aliases\x18\x05 \x03(\t\x12\x1e\n\x16handwritten_signatures\x18\x06 \x03(\t\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15RenamedResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"B\n\x0cRubySettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xbf\x01\n\nGoSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12\x45\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntry\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x82\x03\n\x0eMethodSettings\x12\x10\n\x08selector\x18\x01 \x01(\t\x12<\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunning\x12\x1d\n\x15\x61uto_populated_fields\x18\x03 \x03(\t\x12\x31\n\x08\x62\x61tching\x18\x04 \x01(\x0b\x32\x1f.google.api.BatchingConfigProto\x1a\xcd\x01\n\x0bLongRunning\x12\x35\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1d\n\x15poll_delay_multiplier\x18\x02 \x01(\x02\x12\x31\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"Q\n\x18SelectiveGapicGeneration\x12\x0f\n\x07methods\x18\x01 \x03(\t\x12$\n\x1cgenerate_omitted_as_internal\x18\x02 \x01(\x08\"\x8b\x01\n\x13\x42\x61tchingConfigProto\x12\x35\n\nthresholds\x18\x01 \x01(\x0b\x32!.google.api.BatchingSettingsProto\x12=\n\x10\x62\x61tch_descriptor\x18\x02 \x01(\x0b\x32#.google.api.BatchingDescriptorProto\"\xeb\x02\n\x15\x42\x61tchingSettingsProto\x12\x1f\n\x17\x65lement_count_threshold\x18\x01 \x01(\x05\x12\x1e\n\x16request_byte_threshold\x18\x02 \x01(\x03\x12\x32\n\x0f\x64\x65lay_threshold\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x65lement_count_limit\x18\x04 \x01(\x05\x12\x1a\n\x12request_byte_limit\x18\x05 \x01(\x05\x12\"\n\x1a\x66low_control_element_limit\x18\x06 \x01(\x05\x12\x1f\n\x17\x66low_control_byte_limit\x18\x07 \x01(\x05\x12_\n$flow_control_limit_exceeded_behavior\x18\x08 \x01(\x0e\x32\x31.google.api.FlowControlLimitExceededBehaviorProto\"i\n\x17\x42\x61tchingDescriptorProto\x12\x15\n\rbatched_field\x18\x01 \x01(\t\x12\x1c\n\x14\x64iscriminator_fields\x18\x02 \x03(\t\x12\x19\n\x11subresponse_field\x18\x03 \x01(\t*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14*g\n%FlowControlLimitExceededBehaviorProto\x12\x12\n\x0eUNSET_BEHAVIOR\x10\x00\x12\x13\n\x0fTHROW_EXCEPTION\x10\x01\x12\t\n\x05\x42LOCK\x10\x02\x12\n\n\x06IGNORE\x10\x03:9\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\t:6\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\t:6\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\t:8\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tBi\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
13
13
 
14
- pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
- pool.add_serialized_file(descriptor_data)
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
16
38
 
17
39
  module Google
18
40
  module Api
@@ -31,14 +53,18 @@ module Google
31
53
  MethodSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings").msgclass
32
54
  MethodSettings::LongRunning = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings.LongRunning").msgclass
33
55
  SelectiveGapicGeneration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SelectiveGapicGeneration").msgclass
56
+ BatchingConfigProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BatchingConfigProto").msgclass
57
+ BatchingSettingsProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BatchingSettingsProto").msgclass
58
+ BatchingDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BatchingDescriptorProto").msgclass
34
59
  ClientLibraryOrganization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryOrganization").enummodule
35
60
  ClientLibraryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryDestination").enummodule
61
+ FlowControlLimitExceededBehaviorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FlowControlLimitExceededBehaviorProto").enummodule
36
62
  end
37
63
  end
38
64
 
39
65
  #### Source proto file: google/api/client.proto ####
40
66
  #
41
- # // Copyright 2025 Google LLC
67
+ # // Copyright 2026 Google LLC
42
68
  # //
43
69
  # // Licensed under the Apache License, Version 2.0 (the "License");
44
70
  # // you may not use this file except in compliance with the License.
@@ -81,15 +107,15 @@ end
81
107
  # //
82
108
  # // For example, the proto RPC and annotation:
83
109
  # //
84
- # // rpc CreateSubscription(CreateSubscriptionRequest)
85
- # // returns (Subscription) {
86
- # // option (google.api.method_signature) = "name,topic";
87
- # // }
110
+ # // rpc CreateSubscription(CreateSubscriptionRequest)
111
+ # // returns (Subscription) {
112
+ # // option (google.api.method_signature) = "name,topic";
113
+ # // }
88
114
  # //
89
115
  # // Would add the following Java overload (in addition to the method accepting
90
116
  # // the request object):
91
117
  # //
92
- # // public final Subscription createSubscription(String name, String topic)
118
+ # // public final Subscription createSubscription(String name, String topic)
93
119
  # //
94
120
  # // The following backwards-compatibility guidelines apply:
95
121
  # //
@@ -111,32 +137,32 @@ end
111
137
  # //
112
138
  # // Example:
113
139
  # //
114
- # // service Foo {
115
- # // option (google.api.default_host) = "foo.googleapi.com";
116
- # // ...
117
- # // }
140
+ # // service Foo {
141
+ # // option (google.api.default_host) = "foo.googleapi.com";
142
+ # // ...
143
+ # // }
118
144
  # string default_host = 1049;
119
145
  #
120
146
  # // OAuth scopes needed for the client.
121
147
  # //
122
148
  # // Example:
123
149
  # //
124
- # // service Foo {
125
- # // option (google.api.oauth_scopes) = \
126
- # // "https://www.googleapis.com/auth/cloud-platform";
127
- # // ...
128
- # // }
150
+ # // service Foo {
151
+ # // option (google.api.oauth_scopes) = \
152
+ # // "https://www.googleapis.com/auth/cloud-platform";
153
+ # // ...
154
+ # // }
129
155
  # //
130
156
  # // If there is more than one scope, use a comma-separated string:
131
157
  # //
132
158
  # // Example:
133
159
  # //
134
- # // service Foo {
135
- # // option (google.api.oauth_scopes) = \
136
- # // "https://www.googleapis.com/auth/cloud-platform,"
137
- # // "https://www.googleapis.com/auth/monitoring";
138
- # // ...
139
- # // }
160
+ # // service Foo {
161
+ # // option (google.api.oauth_scopes) = \
162
+ # // "https://www.googleapis.com/auth/cloud-platform,"
163
+ # // "https://www.googleapis.com/auth/monitoring";
164
+ # // ...
165
+ # // }
140
166
  # string oauth_scopes = 1050;
141
167
  #
142
168
  # // The API version of this service, which should be sent by version-aware
@@ -150,9 +176,9 @@ end
150
176
  # //
151
177
  # // Example:
152
178
  # //
153
- # // service Foo {
154
- # // option (google.api.api_version) = "v1_20230821_preview";
155
- # // }
179
+ # // service Foo {
180
+ # // option (google.api.api_version) = "v1_20230821_preview";
181
+ # // }
156
182
  # string api_version = 525000001;
157
183
  # }
158
184
  #
@@ -166,6 +192,8 @@ end
166
192
  # repeated ClientLibraryDestination destinations = 2;
167
193
  #
168
194
  # // Configuration for which RPCs should be generated in the GAPIC client.
195
+ # //
196
+ # // Note: This field should not be used in most cases.
169
197
  # SelectiveGapicGeneration selective_gapic_generation = 3;
170
198
  # }
171
199
  #
@@ -267,9 +295,10 @@ end
267
295
  # //
268
296
  # // Example of a YAML configuration::
269
297
  # //
270
- # // publishing:
271
- # // java_settings:
272
- # // library_package: com.google.cloud.pubsub.v1
298
+ # // publishing:
299
+ # // library_settings:
300
+ # // java_settings:
301
+ # // library_package: com.google.cloud.pubsub.v1
273
302
  # string library_package = 1;
274
303
  #
275
304
  # // Configure the Java class name to use instead of the service's for its
@@ -281,11 +310,11 @@ end
281
310
  # //
282
311
  # // Example of a YAML configuration::
283
312
  # //
284
- # // publishing:
285
- # // java_settings:
286
- # // service_class_names:
287
- # // - google.pubsub.v1.Publisher: TopicAdmin
288
- # // - google.pubsub.v1.Subscriber: SubscriptionAdmin
313
+ # // publishing:
314
+ # // java_settings:
315
+ # // service_class_names:
316
+ # // - google.pubsub.v1.Publisher: TopicAdmin
317
+ # // - google.pubsub.v1.Subscriber: SubscriptionAdmin
289
318
  # map<string, string> service_class_names = 2;
290
319
  #
291
320
  # // Some settings.
@@ -302,6 +331,20 @@ end
302
331
  # message PhpSettings {
303
332
  # // Some settings.
304
333
  # CommonLanguageSettings common = 1;
334
+ #
335
+ # // The package name to use in Php. Clobbers the php_namespace option
336
+ # // set in the protobuf. This should be used **only** by APIs
337
+ # // who have already set the language_settings.php.package_name" field
338
+ # // in gapic.yaml. API teams should use the protobuf php_namespace option
339
+ # // where possible.
340
+ # //
341
+ # // Example of a YAML configuration::
342
+ # //
343
+ # // publishing:
344
+ # // library_settings:
345
+ # // php_settings:
346
+ # // library_package: Google\Cloud\PubSub\V1
347
+ # string library_package = 2;
305
348
  # }
306
349
  #
307
350
  # // Settings for Python client libraries.
@@ -393,10 +436,12 @@ end
393
436
  # // service names and values are the name to be used for the service client
394
437
  # // and call options.
395
438
  # //
396
- # // publishing:
397
- # // go_settings:
398
- # // renamed_services:
399
- # // Publisher: TopicAdmin
439
+ # // Example:
440
+ # //
441
+ # // publishing:
442
+ # // go_settings:
443
+ # // renamed_services:
444
+ # // Publisher: TopicAdmin
400
445
  # map<string, string> renamed_services = 2;
401
446
  # }
402
447
  #
@@ -431,10 +476,10 @@ end
431
476
  # //
432
477
  # // Example:
433
478
  # //
434
- # // publishing:
435
- # // method_settings:
436
- # // - selector: google.storage.control.v2.StorageControl.CreateFolder
437
- # // # method settings for CreateFolder...
479
+ # // publishing:
480
+ # // method_settings:
481
+ # // - selector: google.storage.control.v2.StorageControl.CreateFolder
482
+ # // # method settings for CreateFolder...
438
483
  # string selector = 1;
439
484
  #
440
485
  # // Describes settings to use for long-running operations when generating
@@ -443,14 +488,14 @@ end
443
488
  # //
444
489
  # // Example of a YAML configuration::
445
490
  # //
446
- # // publishing:
447
- # // method_settings:
448
- # // - selector: google.cloud.speech.v2.Speech.BatchRecognize
449
- # // long_running:
450
- # // initial_poll_delay: 60s # 1 minute
451
- # // poll_delay_multiplier: 1.5
452
- # // max_poll_delay: 360s # 6 minutes
453
- # // total_poll_timeout: 54000s # 90 minutes
491
+ # // publishing:
492
+ # // method_settings:
493
+ # // - selector: google.cloud.speech.v2.Speech.BatchRecognize
494
+ # // long_running:
495
+ # // initial_poll_delay: 60s # 1 minute
496
+ # // poll_delay_multiplier: 1.5
497
+ # // max_poll_delay: 360s # 6 minutes
498
+ # // total_poll_timeout: 54000s # 90 minutes
454
499
  # LongRunning long_running = 2;
455
500
  #
456
501
  # // List of top-level fields of the request message, that should be
@@ -459,12 +504,25 @@ end
459
504
  # //
460
505
  # // Example of a YAML configuration:
461
506
  # //
462
- # // publishing:
463
- # // method_settings:
464
- # // - selector: google.example.v1.ExampleService.CreateExample
465
- # // auto_populated_fields:
466
- # // - request_id
507
+ # // publishing:
508
+ # // method_settings:
509
+ # // - selector: google.example.v1.ExampleService.CreateExample
510
+ # // auto_populated_fields:
511
+ # // - request_id
467
512
  # repeated string auto_populated_fields = 3;
513
+ #
514
+ # // Batching configuration for an API method in client libraries.
515
+ # //
516
+ # // Example of a YAML configuration:
517
+ # //
518
+ # // publishing:
519
+ # // method_settings:
520
+ # // - selector: google.example.v1.ExampleService.BatchCreateExample
521
+ # // batching:
522
+ # // element_count_threshold: 1000
523
+ # // request_byte_threshold: 100000000
524
+ # // delay_threshold_millis: 10
525
+ # BatchingConfigProto batching = 4;
468
526
  # }
469
527
  #
470
528
  # // The organization for which the client libraries are being published.
@@ -511,6 +569,8 @@ end
511
569
  #
512
570
  # // This message is used to configure the generation of a subset of the RPCs in
513
571
  # // a service for client libraries.
572
+ # //
573
+ # // Note: This feature should not be used in most cases.
514
574
  # message SelectiveGapicGeneration {
515
575
  # // An allowlist of the fully qualified names of RPCs that should be included
516
576
  # // on public client surfaces.
@@ -524,3 +584,81 @@ end
524
584
  # // obfuscated identifiers, or other language idiomatic patterns.
525
585
  # bool generate_omitted_as_internal = 2;
526
586
  # }
587
+ #
588
+ # // `BatchingConfigProto` defines the batching configuration for an API method.
589
+ # message BatchingConfigProto {
590
+ # // The thresholds which trigger a batched request to be sent.
591
+ # BatchingSettingsProto thresholds = 1;
592
+ #
593
+ # // The request and response fields used in batching.
594
+ # BatchingDescriptorProto batch_descriptor = 2;
595
+ # }
596
+ #
597
+ # // `BatchingSettingsProto` specifies a set of batching thresholds, each of
598
+ # // which acts as a trigger to send a batch of messages as a request. At least
599
+ # // one threshold must be positive nonzero.
600
+ # message BatchingSettingsProto {
601
+ # // The number of elements of a field collected into a batch which, if
602
+ # // exceeded, causes the batch to be sent.
603
+ # int32 element_count_threshold = 1;
604
+ #
605
+ # // The aggregated size of the batched field which, if exceeded, causes the
606
+ # // batch to be sent. This size is computed by aggregating the sizes of the
607
+ # // request field to be batched, not of the entire request message.
608
+ # int64 request_byte_threshold = 2;
609
+ #
610
+ # // The duration after which a batch should be sent, starting from the addition
611
+ # // of the first message to that batch.
612
+ # google.protobuf.Duration delay_threshold = 3;
613
+ #
614
+ # // The maximum number of elements collected in a batch that could be accepted
615
+ # // by server.
616
+ # int32 element_count_limit = 4;
617
+ #
618
+ # // The maximum size of the request that could be accepted by server.
619
+ # int32 request_byte_limit = 5;
620
+ #
621
+ # // The maximum number of elements allowed by flow control.
622
+ # int32 flow_control_element_limit = 6;
623
+ #
624
+ # // The maximum size of data allowed by flow control.
625
+ # int32 flow_control_byte_limit = 7;
626
+ #
627
+ # // The behavior to take when the flow control limit is exceeded.
628
+ # FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior =
629
+ # 8;
630
+ # }
631
+ #
632
+ # // The behavior to take when the flow control limit is exceeded.
633
+ # enum FlowControlLimitExceededBehaviorProto {
634
+ # // Default behavior, system-defined.
635
+ # UNSET_BEHAVIOR = 0;
636
+ #
637
+ # // Stop operation, raise error.
638
+ # THROW_EXCEPTION = 1;
639
+ #
640
+ # // Pause operation until limit clears.
641
+ # BLOCK = 2;
642
+ #
643
+ # // Continue operation, disregard limit.
644
+ # IGNORE = 3;
645
+ # }
646
+ #
647
+ # // `BatchingDescriptorProto` specifies the fields of the request message to be
648
+ # // used for batching, and, optionally, the fields of the response message to be
649
+ # // used for demultiplexing.
650
+ # message BatchingDescriptorProto {
651
+ # // The repeated field in the request message to be aggregated by batching.
652
+ # string batched_field = 1;
653
+ #
654
+ # // A list of the fields in the request message. Two requests will be batched
655
+ # // together only if the values of every field specified in
656
+ # // `request_discriminator_fields` is equal between the two requests.
657
+ # repeated string discriminator_fields = 2;
658
+ #
659
+ # // Optional. When present, indicates the field in the response message to be
660
+ # // used to demultiplex the response into multiple response messages, in
661
+ # // correspondence with the multiple request messages originally batched
662
+ # // together.
663
+ # string subresponse_field = 3;
664
+ # }