googleapis-common-protos-types 1.15.0 → 1.23.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 +56 -0
  3. data/lib/google/api/annotations_pb.rb +3 -25
  4. data/lib/google/api/auth_pb.rb +4 -24
  5. data/lib/google/api/backend_pb.rb +15 -25
  6. data/lib/google/api/billing_pb.rb +3 -24
  7. data/lib/google/api/client_pb.rb +228 -73
  8. data/lib/google/api/config_change_pb.rb +3 -24
  9. data/lib/google/api/consumer_pb.rb +3 -24
  10. data/lib/google/api/context_pb.rb +7 -26
  11. data/lib/google/api/control_pb.rb +5 -27
  12. data/lib/google/api/distribution_pb.rb +3 -26
  13. data/lib/google/api/documentation_pb.rb +6 -27
  14. data/lib/google/api/endpoint_pb.rb +8 -33
  15. data/lib/google/api/error_reason_pb.rb +222 -25
  16. data/lib/google/api/field_behavior_pb.rb +3 -24
  17. data/lib/google/api/field_info_pb.rb +38 -31
  18. data/lib/google/api/http_pb.rb +24 -54
  19. data/lib/google/api/httpbody_pb.rb +4 -27
  20. data/lib/google/api/label_pb.rb +4 -26
  21. data/lib/google/api/launch_stage_pb.rb +3 -24
  22. data/lib/google/api/log_pb.rb +3 -25
  23. data/lib/google/api/logging_pb.rb +3 -24
  24. data/lib/google/api/metric_pb.rb +24 -27
  25. data/lib/google/api/monitored_resource_pb.rb +4 -28
  26. data/lib/google/api/monitoring_pb.rb +3 -24
  27. data/lib/google/api/policy_pb.rb +6 -30
  28. data/lib/google/api/quota_pb.rb +5 -26
  29. data/lib/google/api/resource_pb.rb +11 -28
  30. data/lib/google/api/routing_pb.rb +11 -28
  31. data/lib/google/api/service_pb.rb +4 -47
  32. data/lib/google/api/source_info_pb.rb +3 -25
  33. data/lib/google/api/system_parameter_pb.rb +3 -24
  34. data/lib/google/api/usage_pb.rb +9 -50
  35. data/lib/google/api/visibility_pb.rb +4 -26
  36. data/lib/google/logging/type/http_request_pb.rb +3 -25
  37. data/lib/google/logging/type/log_severity_pb.rb +3 -24
  38. data/lib/google/longrunning/operations_pb.rb +59 -64
  39. data/lib/google/rpc/code_pb.rb +3 -24
  40. data/lib/google/rpc/context/attribute_context_pb.rb +12 -31
  41. data/lib/google/rpc/context/audit_context_pb.rb +4 -27
  42. data/lib/google/rpc/error_details_pb.rb +89 -33
  43. data/lib/google/rpc/http_pb.rb +3 -24
  44. data/lib/google/rpc/status_pb.rb +4 -27
  45. data/lib/google/type/calendar_period_pb.rb +3 -24
  46. data/lib/google/type/color_pb.rb +12 -35
  47. data/lib/google/type/date_pb.rb +14 -33
  48. data/lib/google/type/datetime_pb.rb +20 -42
  49. data/lib/google/type/dayofweek_pb.rb +3 -24
  50. data/lib/google/type/decimal_pb.rb +14 -37
  51. data/lib/google/type/expr_pb.rb +3 -24
  52. data/lib/google/type/fraction_pb.rb +3 -24
  53. data/lib/google/type/interval_pb.rb +4 -27
  54. data/lib/google/type/latlng_pb.rb +7 -29
  55. data/lib/google/type/localized_text_pb.rb +6 -27
  56. data/lib/google/type/money_pb.rb +4 -26
  57. data/lib/google/type/month_pb.rb +3 -24
  58. data/lib/google/type/phone_number_pb.rb +23 -39
  59. data/lib/google/type/postal_address_pb.rb +42 -63
  60. data/lib/google/type/quaternion_pb.rb +7 -28
  61. data/lib/google/type/timeofday_pb.rb +14 -32
  62. data/lib/googleapis/common/protos/types/version.rb +1 -1
  63. metadata +8 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de52a20fefd0f95b277373ead520337d1a3ce1c9bd2a00c9b68f8bb709ab3d5f
4
- data.tar.gz: 07551dd51821580df8333c1ae04243402afb71a0654c1487c0e089ce838e5922
3
+ metadata.gz: 6c3e990d38b0918f56f8f05b0598eb5038064d932eeb2176373e04d46b3cb6a1
4
+ data.tar.gz: 3021b9b2ea37a41e745fb36701d2b5bff826dc180bd45d21df47de108a3301ce
5
5
  SHA512:
6
- metadata.gz: 23ef2d9703bd572bf88f022575f2b1032865b9c9b253a6bf35f5bf4de541d49a313964ed65369bfc68ec3e6362946de378506d023c2958db7c8efa81213de28e
7
- data.tar.gz: b597f4c46cd368b6833531adc47bf1787609d3f5c4a9b51c82d4c0329b16d1990d28fa6f30ee4ec48d3e866188320629df033442cee213570514c5786e6c5e8a
6
+ metadata.gz: 44797841ad9674bfca85837dabcf2a2b7d22f31522db60cb974dec54182ffcfb795e93e55e39c63cdfd7ed29a99469111f2d2cedb5303f128660bdb60f09267c
7
+ data.tar.gz: 7d125c6c8499051b43ff962a53f15b6d73222e23730076d4cdcf2aac81e8ff608c44152f1b45464329ee672fab27a234820bec9785713b660e4ca94fb6876616
data/CHANGELOG.md CHANGED
@@ -1,5 +1,61 @@
1
1
  # Release History
2
2
 
3
+ ### 1.23.0 (2026-05-19)
4
+
5
+ #### Features
6
+
7
+ * Regenerate protos and support Ruby min_version 3.2 ([#412](https://github.com/googleapis/common-protos-ruby/issues/412))
8
+
9
+ ### 1.22.0 (2025-10-08)
10
+
11
+ #### Features
12
+
13
+ * Support partial success and unreachable resources in ListOperations ([#393](https://github.com/googleapis/common-protos-ruby/issues/393))
14
+
15
+ ### 1.21.0 (2025-09-04)
16
+
17
+ #### Features
18
+
19
+ * update minimum google-protobuf version to 4.26 ([#388](https://github.com/googleapis/common-protos-ruby/issues/388))
20
+
21
+ ### 1.20.0 (2025-04-29)
22
+
23
+ #### Features
24
+
25
+ * Automated update of googleapis-common-protos-types ([#374](https://github.com/googleapis/common-protos-ruby/issues/374))
26
+ * drop ruby 3.0 from CI and update baseline types gems to 3.1 ([#375](https://github.com/googleapis/common-protos-ruby/issues/375))
27
+
28
+ ### 1.19.0 (2025-03-13)
29
+
30
+ #### Features
31
+
32
+ * Automated update of googleapis-common-protos-types ([#351](https://github.com/googleapis/common-protos-ruby/issues/351))
33
+ * Update minimum required Ruby to 3.0 ([#354](https://github.com/googleapis/common-protos-ruby/issues/354))
34
+
35
+ ### 1.18.0 (2025-01-14)
36
+
37
+ #### Features
38
+
39
+ * Added a few additional client generation settings
40
+ * Added MetricDescriptorMetadata#time_series_resource_hierarchy_level
41
+ * Added MISSING_ORIGIN and OVERLOADED_CREDENTIALS error reasons
42
+ * Added reason and localized_message fields to FieldViolation
43
+
44
+ ### 1.17.0 (2025-01-09)
45
+
46
+ #### Features
47
+
48
+ * Added PythonSettings#experimental_features ([#336](https://github.com/googleapis/common-protos-ruby/issues/336))
49
+
50
+ ### 1.16.0 (2024-09-11)
51
+
52
+ #### Features
53
+
54
+ * Added referenced types to Google::Api::FieldInfo
55
+ #### Documentation
56
+
57
+ * Various improvements to reference documentation
58
+
3
59
  ### 1.15.0 (2024-06-11)
4
60
 
5
61
  #### Features
@@ -10,30 +10,8 @@ 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
-
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
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
37
15
 
38
16
  module Google
39
17
  module Api
@@ -42,7 +20,7 @@ end
42
20
 
43
21
  #### Source proto file: google/api/annotations.proto ####
44
22
  #
45
- # // Copyright 2024 Google LLC
23
+ # // Copyright 2025 Google LLC
46
24
  # //
47
25
  # // Licensed under the Apache License, Version 2.0 (the "License");
48
26
  # // you may not use this file except in compliance with the License.
@@ -7,29 +7,8 @@ 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
-
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 Api
@@ -44,7 +23,7 @@ end
44
23
 
45
24
  #### Source proto file: google/api/auth.proto ####
46
25
  #
47
- # // Copyright 2024 Google LLC
26
+ # // Copyright 2026 Google LLC
48
27
  # //
49
28
  # // Licensed under the Apache License, Version 2.0 (the "License");
50
29
  # // you may not use this file except in compliance with the License.
@@ -245,6 +224,7 @@ end
245
224
  # // The list of publicly documented OAuth scopes that are allowed access. An
246
225
  # // OAuth token containing any of these scopes will be accepted.
247
226
  # //
227
+ # //
248
228
  # // Example:
249
229
  # //
250
230
  # // canonical_scopes: https://www.googleapis.com/auth/calendar,
@@ -5,31 +5,10 @@
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
-
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 Api
@@ -41,7 +20,7 @@ end
41
20
 
42
21
  #### Source proto file: google/api/backend.proto ####
43
22
  #
44
- # // Copyright 2024 Google LLC
23
+ # // Copyright 2026 Google LLC
45
24
  # //
46
25
  # // Licensed under the Apache License, Version 2.0 (the "License");
47
26
  # // you may not use this file except in compliance with the License.
@@ -171,6 +150,10 @@ end
171
150
  # // operation. The default is no deadline.
172
151
  # double operation_deadline = 5;
173
152
  #
153
+ # // Path translation specifies how to combine the backend address with the
154
+ # // request path in order to produce the appropriate forwarding URL for the
155
+ # // request. See [PathTranslation][google.api.BackendRule.PathTranslation] for
156
+ # // more details.
174
157
  # PathTranslation path_translation = 6;
175
158
  #
176
159
  # // Authentication settings used by the backend.
@@ -225,4 +208,11 @@ end
225
208
  #
226
209
  # // The map between request protocol and the backend address.
227
210
  # map<string, BackendRule> overrides_by_request_protocol = 10;
211
+ #
212
+ # // The load balancing policy used for connection to the application backend.
213
+ # //
214
+ # // Defined as an arbitrary string to accomondate custom load balancing
215
+ # // policies supported by the underlying channel, but suggest most users use
216
+ # // one of the standard policies, such as the default, "RoundRobin".
217
+ # string load_balancing_policy = 11;
228
218
  # }
@@ -7,29 +7,8 @@ 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
-
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 Api
@@ -40,7 +19,7 @@ end
40
19
 
41
20
  #### Source proto file: google/api/billing.proto ####
42
21
  #
43
- # // Copyright 2024 Google LLC
22
+ # // Copyright 2026 Google LLC
44
23
  # //
45
24
  # // Licensed under the Apache License, Version 2.0 (the "License");
46
25
  # // you may not use this file except in compliance with the License.