googleapis-common-protos-types 1.18.0 → 1.25.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 +44 -0
  3. data/lib/google/api/annotations_pb.rb +1 -1
  4. data/lib/google/api/auth_pb.rb +2 -1
  5. data/lib/google/api/backend_pb.rb +13 -2
  6. data/lib/google/api/billing_pb.rb +1 -1
  7. data/lib/google/api/client_pb.rb +184 -54
  8. data/lib/google/api/config_change_pb.rb +1 -1
  9. data/lib/google/api/consumer_pb.rb +1 -1
  10. data/lib/google/api/context_pb.rb +1 -1
  11. data/lib/google/api/control_pb.rb +3 -3
  12. data/lib/google/api/distribution_pb.rb +1 -1
  13. data/lib/google/api/documentation_pb.rb +4 -4
  14. data/lib/google/api/endpoint_pb.rb +1 -1
  15. data/lib/google/api/error_reason_pb.rb +187 -2
  16. data/lib/google/api/field_behavior_pb.rb +3 -3
  17. data/lib/google/api/field_info_pb.rb +1 -1
  18. data/lib/google/api/http_pb.rb +2 -3
  19. data/lib/google/api/httpbody_pb.rb +1 -1
  20. data/lib/google/api/label_pb.rb +2 -3
  21. data/lib/google/api/launch_stage_pb.rb +1 -1
  22. data/lib/google/api/log_pb.rb +1 -1
  23. data/lib/google/api/logging_pb.rb +1 -1
  24. data/lib/google/api/metric_pb.rb +1 -1
  25. data/lib/google/api/monitored_resource_pb.rb +2 -3
  26. data/lib/google/api/monitoring_pb.rb +1 -1
  27. data/lib/google/api/policy_pb.rb +2 -3
  28. data/lib/google/api/quota_pb.rb +1 -1
  29. data/lib/google/api/resource_pb.rb +2 -3
  30. data/lib/google/api/routing_pb.rb +9 -5
  31. data/lib/google/api/service_pb.rb +2 -3
  32. data/lib/google/api/source_info_pb.rb +1 -1
  33. data/lib/google/api/system_parameter_pb.rb +1 -1
  34. data/lib/google/api/usage_pb.rb +7 -27
  35. data/lib/google/api/visibility_pb.rb +2 -3
  36. data/lib/google/logging/type/http_request_pb.rb +1 -1
  37. data/lib/google/logging/type/log_severity_pb.rb +1 -1
  38. data/lib/google/longrunning/operations_pb.rb +23 -3
  39. data/lib/google/rpc/code_pb.rb +1 -1
  40. data/lib/google/rpc/context/attribute_context_pb.rb +8 -3
  41. data/lib/google/rpc/context/audit_context_pb.rb +1 -1
  42. data/lib/google/rpc/error_details_pb.rb +71 -6
  43. data/lib/google/rpc/http_pb.rb +1 -1
  44. data/lib/google/rpc/status_pb.rb +2 -3
  45. data/lib/google/type/calendar_period_pb.rb +1 -1
  46. data/lib/google/type/color_pb.rb +10 -11
  47. data/lib/google/type/date_pb.rb +12 -10
  48. data/lib/google/type/datetime_pb.rb +18 -18
  49. data/lib/google/type/dayofweek_pb.rb +1 -1
  50. data/lib/google/type/decimal_pb.rb +12 -14
  51. data/lib/google/type/expr_pb.rb +1 -1
  52. data/lib/google/type/fraction_pb.rb +1 -1
  53. data/lib/google/type/interval_pb.rb +2 -3
  54. data/lib/google/type/latlng_pb.rb +5 -6
  55. data/lib/google/type/localized_text_pb.rb +4 -4
  56. data/lib/google/type/money_pb.rb +2 -3
  57. data/lib/google/type/month_pb.rb +1 -1
  58. data/lib/google/type/phone_number_pb.rb +21 -16
  59. data/lib/google/type/postal_address_pb.rb +40 -40
  60. data/lib/google/type/quaternion_pb.rb +5 -5
  61. data/lib/google/type/timeofday_pb.rb +12 -9
  62. data/lib/googleapis/common/protos/types/version.rb +1 -1
  63. metadata +8 -14
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'google/protobuf/timestamp_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\x1agoogle/type/interval.proto\x12\x0bgoogle.type\x1a\x1fgoogle/protobuf/timestamp.proto\"h\n\x08Interval\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampBi\n\x0f\x63om.google.typeB\rIntervalProtoP\x01Z<google.golang.org/genproto/googleapis/type/interval;interval\xf8\x01\x01\xa2\x02\x03GTPb\x06proto3"
10
+ descriptor_data = "\n\x1agoogle/type/interval.proto\x12\x0bgoogle.type\x1a\x1fgoogle/protobuf/timestamp.proto\"h\n\x08Interval\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampBf\n\x0f\x63om.google.typeB\rIntervalProtoP\x01Z<google.golang.org/genproto/googleapis/type/interval;interval\xa2\x02\x03GTPb\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
@@ -42,7 +42,7 @@ end
42
42
 
43
43
  #### Source proto file: google/type/interval.proto ####
44
44
  #
45
- # // Copyright 2024 Google LLC
45
+ # // Copyright 2026 Google LLC
46
46
  # //
47
47
  # // Licensed under the Apache License, Version 2.0 (the "License");
48
48
  # // you may not use this file except in compliance with the License.
@@ -62,7 +62,6 @@ end
62
62
  #
63
63
  # import "google/protobuf/timestamp.proto";
64
64
  #
65
- # option cc_enable_arenas = true;
66
65
  # option go_package = "google.golang.org/genproto/googleapis/type/interval;interval";
67
66
  # option java_multiple_files = true;
68
67
  # option java_outer_classname = "IntervalProto";
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x18google/type/latlng.proto\x12\x0bgoogle.type\"-\n\x06LatLng\x12\x10\n\x08latitude\x18\x01 \x01(\x01\x12\x11\n\tlongitude\x18\x02 \x01(\x01\x42\x63\n\x0f\x63om.google.typeB\x0bLatLngProtoP\x01Z8google.golang.org/genproto/googleapis/type/latlng;latlng\xf8\x01\x01\xa2\x02\x03GTPb\x06proto3"
8
+ descriptor_data = "\n\x18google/type/latlng.proto\x12\x0bgoogle.type\"-\n\x06LatLng\x12\x10\n\x08latitude\x18\x01 \x01(\x01\x12\x11\n\tlongitude\x18\x02 \x01(\x01\x42`\n\x0f\x63om.google.typeB\x0bLatLngProtoP\x01Z8google.golang.org/genproto/googleapis/type/latlng;latlng\xa2\x02\x03GTPb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  #### Source proto file: google/type/latlng.proto ####
41
41
  #
42
- # // Copyright 2024 Google LLC
42
+ # // Copyright 2026 Google LLC
43
43
  # //
44
44
  # // Licensed under the Apache License, Version 2.0 (the "License");
45
45
  # // you may not use this file except in compliance with the License.
@@ -57,7 +57,6 @@ end
57
57
  #
58
58
  # package google.type;
59
59
  #
60
- # option cc_enable_arenas = true;
61
60
  # option go_package = "google.golang.org/genproto/googleapis/type/latlng;latlng";
62
61
  # option java_multiple_files = true;
63
62
  # option java_outer_classname = "LatLngProto";
@@ -66,9 +65,9 @@ end
66
65
  #
67
66
  # // An object that represents a latitude/longitude pair. This is expressed as a
68
67
  # // pair of doubles to represent degrees latitude and degrees longitude. Unless
69
- # // specified otherwise, this must conform to the
70
- # // <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
71
- # // standard</a>. Values must be within normalized ranges.
68
+ # // specified otherwise, this object must conform to the
69
+ # // <a href="https://en.wikipedia.org/wiki/World_Geodetic_System#1984_version">
70
+ # // WGS84 standard</a>. Values must be within normalized ranges.
72
71
  # message LatLng {
73
72
  # // The latitude in degrees. It must be in the range [-90.0, +90.0].
74
73
  # double latitude = 1;
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n google/type/localized_text.proto\x12\x0bgoogle.type\"4\n\rLocalizedText\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\tBz\n\x0f\x63om.google.typeB\x12LocalizedTextProtoP\x01ZHgoogle.golang.org/genproto/googleapis/type/localized_text;localized_text\xf8\x01\x01\xa2\x02\x03GTPb\x06proto3"
8
+ descriptor_data = "\n google/type/localized_text.proto\x12\x0bgoogle.type\"4\n\rLocalizedText\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\tBw\n\x0f\x63om.google.typeB\x12LocalizedTextProtoP\x01ZHgoogle.golang.org/genproto/googleapis/type/localized_text;localized_text\xa2\x02\x03GTPb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  #### Source proto file: google/type/localized_text.proto ####
41
41
  #
42
- # // Copyright 2024 Google LLC
42
+ # // Copyright 2026 Google LLC
43
43
  # //
44
44
  # // Licensed under the Apache License, Version 2.0 (the "License");
45
45
  # // you may not use this file except in compliance with the License.
@@ -57,7 +57,6 @@ end
57
57
  #
58
58
  # package google.type;
59
59
  #
60
- # option cc_enable_arenas = true;
61
60
  # option go_package = "google.golang.org/genproto/googleapis/type/localized_text;localized_text";
62
61
  # option java_multiple_files = true;
63
62
  # option java_outer_classname = "LocalizedTextProto";
@@ -66,7 +65,8 @@ end
66
65
  #
67
66
  # // Localized variant of a text in a particular language.
68
67
  # message LocalizedText {
69
- # // Localized string in the language corresponding to `language_code' below.
68
+ # // Localized string in the language corresponding to
69
+ # // [language_code][google.type.LocalizedText.language_code] below.
70
70
  # string text = 1;
71
71
  #
72
72
  # // The text's BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x17google/type/money.proto\x12\x0bgoogle.type\"<\n\x05Money\x12\x15\n\rcurrency_code\x18\x01 \x01(\t\x12\r\n\x05units\x18\x02 \x01(\x03\x12\r\n\x05nanos\x18\x03 \x01(\x05\x42`\n\x0f\x63om.google.typeB\nMoneyProtoP\x01Z6google.golang.org/genproto/googleapis/type/money;money\xf8\x01\x01\xa2\x02\x03GTPb\x06proto3"
8
+ descriptor_data = "\n\x17google/type/money.proto\x12\x0bgoogle.type\"<\n\x05Money\x12\x15\n\rcurrency_code\x18\x01 \x01(\t\x12\r\n\x05units\x18\x02 \x01(\x03\x12\r\n\x05nanos\x18\x03 \x01(\x05\x42]\n\x0f\x63om.google.typeB\nMoneyProtoP\x01Z6google.golang.org/genproto/googleapis/type/money;money\xa2\x02\x03GTPb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  #### Source proto file: google/type/money.proto ####
41
41
  #
42
- # // Copyright 2024 Google LLC
42
+ # // Copyright 2026 Google LLC
43
43
  # //
44
44
  # // Licensed under the Apache License, Version 2.0 (the "License");
45
45
  # // you may not use this file except in compliance with the License.
@@ -57,7 +57,6 @@ end
57
57
  #
58
58
  # package google.type;
59
59
  #
60
- # option cc_enable_arenas = true;
61
60
  # option go_package = "google.golang.org/genproto/googleapis/type/money;money";
62
61
  # option java_multiple_files = true;
63
62
  # option java_outer_classname = "MoneyProto";
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  #### Source proto file: google/type/month.proto ####
41
41
  #
42
- # // Copyright 2024 Google LLC
42
+ # // Copyright 2026 Google LLC
43
43
  # //
44
44
  # // Licensed under the Apache License, Version 2.0 (the "License");
45
45
  # // you may not use this file except in compliance with the License.
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x1egoogle/type/phone_number.proto\x12\x0bgoogle.type\"\xab\x01\n\x0bPhoneNumber\x12\x15\n\x0b\x65\x31\x36\x34_number\x18\x01 \x01(\tH\x00\x12\x38\n\nshort_code\x18\x02 \x01(\x0b\x32\".google.type.PhoneNumber.ShortCodeH\x00\x12\x11\n\textension\x18\x03 \x01(\t\x1a\x30\n\tShortCode\x12\x13\n\x0bregion_code\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x02 \x01(\tB\x06\n\x04kindBt\n\x0f\x63om.google.typeB\x10PhoneNumberProtoP\x01ZDgoogle.golang.org/genproto/googleapis/type/phone_number;phone_number\xf8\x01\x01\xa2\x02\x03GTPb\x06proto3"
8
+ descriptor_data = "\n\x1egoogle/type/phone_number.proto\x12\x0bgoogle.type\"\xab\x01\n\x0bPhoneNumber\x12\x15\n\x0b\x65\x31\x36\x34_number\x18\x01 \x01(\tH\x00\x12\x38\n\nshort_code\x18\x02 \x01(\x0b\x32\".google.type.PhoneNumber.ShortCodeH\x00\x12\x11\n\textension\x18\x03 \x01(\t\x1a\x30\n\tShortCode\x12\x13\n\x0bregion_code\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x02 \x01(\tB\x06\n\x04kindBq\n\x0f\x63om.google.typeB\x10PhoneNumberProtoP\x01ZDgoogle.golang.org/genproto/googleapis/type/phone_number;phone_number\xa2\x02\x03GTPb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -40,7 +40,7 @@ end
40
40
 
41
41
  #### Source proto file: google/type/phone_number.proto ####
42
42
  #
43
- # // Copyright 2024 Google LLC
43
+ # // Copyright 2026 Google LLC
44
44
  # //
45
45
  # // Licensed under the Apache License, Version 2.0 (the "License");
46
46
  # // you may not use this file except in compliance with the License.
@@ -58,7 +58,6 @@ end
58
58
  #
59
59
  # package google.type;
60
60
  #
61
- # option cc_enable_arenas = true;
62
61
  # option go_package = "google.golang.org/genproto/googleapis/type/phone_number;phone_number";
63
62
  # option java_multiple_files = true;
64
63
  # option java_outer_classname = "PhoneNumberProto";
@@ -81,13 +80,13 @@ end
81
80
  # //
82
81
  # // For instance, in Java this would be:
83
82
  # //
84
- # // com.google.type.PhoneNumber wireProto =
85
- # // com.google.type.PhoneNumber.newBuilder().build();
86
- # // com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber =
87
- # // PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ");
88
- # // if (!wireProto.getExtension().isEmpty()) {
89
- # // phoneNumber.setExtension(wireProto.getExtension());
90
- # // }
83
+ # // com.google.type.PhoneNumber wireProto =
84
+ # // com.google.type.PhoneNumber.newBuilder().build();
85
+ # // com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber =
86
+ # // PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ");
87
+ # // if (!wireProto.getExtension().isEmpty()) {
88
+ # // phoneNumber.setExtension(wireProto.getExtension());
89
+ # // }
91
90
  # //
92
91
  # // Reference(s):
93
92
  # // - https://github.com/google/libphonenumber
@@ -95,12 +94,13 @@ end
95
94
  # // An object representing a short code, which is a phone number that is
96
95
  # // typically much shorter than regular phone numbers and can be used to
97
96
  # // address messages in MMS and SMS systems, as well as for abbreviated dialing
98
- # // (e.g. "Text 611 to see how many minutes you have remaining on your plan.").
97
+ # // (For example "Text 611 to see how many minutes you have remaining on your
98
+ # // plan.").
99
99
  # //
100
100
  # // Short codes are restricted to a region and are not internationally
101
101
  # // dialable, which means the same short code can exist in different regions,
102
102
  # // with different usage and pricing, even if those regions share the same
103
- # // country calling code (e.g. US and CA).
103
+ # // country calling code (For example: US and CA).
104
104
  # message ShortCode {
105
105
  # // Required. The BCP-47 region code of the location where calls to this
106
106
  # // short code can be made, such as "US" and "BB".
@@ -110,7 +110,7 @@ end
110
110
  # string region_code = 1;
111
111
  #
112
112
  # // Required. The short code digits, without a leading plus ('+') or country
113
- # // calling code, e.g. "611".
113
+ # // calling code. For example "611".
114
114
  # string number = 2;
115
115
  # }
116
116
  #
@@ -121,24 +121,29 @@ end
121
121
  # // The phone number, represented as a leading plus sign ('+'), followed by a
122
122
  # // phone number that uses a relaxed ITU E.164 format consisting of the
123
123
  # // country calling code (1 to 3 digits) and the subscriber number, with no
124
- # // additional spaces or formatting, e.g.:
124
+ # // additional spaces or formatting. For example:
125
+ # //
125
126
  # // - correct: "+15552220123"
126
- # // - incorrect: "+1 (555) 222-01234 x123".
127
+ # //
128
+ # // - incorrect: "+1 (555) 222-01234 x123"
127
129
  # //
128
130
  # // The ITU E.164 format limits the latter to 12 digits, but in practice not
129
131
  # // all countries respect that, so we relax that restriction here.
130
132
  # // National-only numbers are not allowed.
131
133
  # //
132
134
  # // References:
135
+ # //
133
136
  # // - https://www.itu.int/rec/T-REC-E.164-201011-I
137
+ # //
134
138
  # // - https://en.wikipedia.org/wiki/E.164.
139
+ # //
135
140
  # // - https://en.wikipedia.org/wiki/List_of_country_calling_codes
136
141
  # string e164_number = 1;
137
142
  #
138
143
  # // A short code.
139
144
  # //
140
145
  # // Reference(s):
141
- # // - https://en.wikipedia.org/wiki/Short_code
146
+ # // - https://wikipedia.org/wiki/Short_code
142
147
  # ShortCode short_code = 2;
143
148
  # }
144
149
  #
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n google/type/postal_address.proto\x12\x0bgoogle.type\"\xfd\x01\n\rPostalAddress\x12\x10\n\x08revision\x18\x01 \x01(\x05\x12\x13\n\x0bregion_code\x18\x02 \x01(\t\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\x12\x13\n\x0bpostal_code\x18\x04 \x01(\t\x12\x14\n\x0csorting_code\x18\x05 \x01(\t\x12\x1b\n\x13\x61\x64ministrative_area\x18\x06 \x01(\t\x12\x10\n\x08locality\x18\x07 \x01(\t\x12\x13\n\x0bsublocality\x18\x08 \x01(\t\x12\x15\n\raddress_lines\x18\t \x03(\t\x12\x12\n\nrecipients\x18\n \x03(\t\x12\x14\n\x0corganization\x18\x0b \x01(\tBx\n\x0f\x63om.google.typeB\x12PostalAddressProtoP\x01ZFgoogle.golang.org/genproto/googleapis/type/postaladdress;postaladdress\xf8\x01\x01\xa2\x02\x03GTPb\x06proto3"
8
+ descriptor_data = "\n google/type/postal_address.proto\x12\x0bgoogle.type\"\xfd\x01\n\rPostalAddress\x12\x10\n\x08revision\x18\x01 \x01(\x05\x12\x13\n\x0bregion_code\x18\x02 \x01(\t\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\x12\x13\n\x0bpostal_code\x18\x04 \x01(\t\x12\x14\n\x0csorting_code\x18\x05 \x01(\t\x12\x1b\n\x13\x61\x64ministrative_area\x18\x06 \x01(\t\x12\x10\n\x08locality\x18\x07 \x01(\t\x12\x13\n\x0bsublocality\x18\x08 \x01(\t\x12\x15\n\raddress_lines\x18\t \x03(\t\x12\x12\n\nrecipients\x18\n \x03(\t\x12\x14\n\x0corganization\x18\x0b \x01(\tBu\n\x0f\x63om.google.typeB\x12PostalAddressProtoP\x01ZFgoogle.golang.org/genproto/googleapis/type/postaladdress;postaladdress\xa2\x02\x03GTPb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  #### Source proto file: google/type/postal_address.proto ####
41
41
  #
42
- # // Copyright 2024 Google LLC
42
+ # // Copyright 2026 Google LLC
43
43
  # //
44
44
  # // Licensed under the Apache License, Version 2.0 (the "License");
45
45
  # // you may not use this file except in compliance with the License.
@@ -57,30 +57,29 @@ end
57
57
  #
58
58
  # package google.type;
59
59
  #
60
- # option cc_enable_arenas = true;
61
60
  # option go_package = "google.golang.org/genproto/googleapis/type/postaladdress;postaladdress";
62
61
  # option java_multiple_files = true;
63
62
  # option java_outer_classname = "PostalAddressProto";
64
63
  # option java_package = "com.google.type";
65
64
  # option objc_class_prefix = "GTP";
66
65
  #
67
- # // Represents a postal address, e.g. for postal delivery or payments addresses.
68
- # // Given a postal address, a postal service can deliver items to a premise, P.O.
69
- # // Box or similar.
70
- # // It is not intended to model geographical locations (roads, towns,
71
- # // mountains).
66
+ # // Represents a postal address, such as for postal delivery or payments
67
+ # // addresses. With a postal address, a postal service can deliver items to a
68
+ # // premise, P.O. box, or similar. A postal address is not intended to model
69
+ # // geographical locations like roads, towns, or mountains.
72
70
  # //
73
- # // In typical usage an address would be created via user input or from importing
71
+ # // In typical usage, an address would be created by user input or from importing
74
72
  # // existing data, depending on the type of process.
75
73
  # //
76
- # // Advice on address input / editing:
77
- # // - Use an i18n-ready address widget such as
78
- # // https://github.com/google/libaddressinput)
79
- # // - Users should not be presented with UI elements for input or editing of
80
- # // fields outside countries where that field is used.
74
+ # // Advice on address input or editing:
81
75
  # //
82
- # // For more guidance on how to use this schema, please see:
83
- # // https://support.google.com/business/answer/6397478
76
+ # // - Use an internationalization-ready address widget such as
77
+ # // https://github.com/google/libaddressinput.
78
+ # // - Users should not be presented with UI elements for input or editing of
79
+ # // fields outside countries where that field is used.
80
+ # //
81
+ # // For more guidance on how to use this schema, see:
82
+ # // https://support.google.com/business/answer/6397478.
84
83
  # message PostalAddress {
85
84
  # // The schema revision of the `PostalAddress`. This must be set to 0, which is
86
85
  # // the latest revision.
@@ -90,8 +89,8 @@ end
90
89
  #
91
90
  # // Required. CLDR region code of the country/region of the address. This
92
91
  # // is never inferred and it is up to the user to ensure the value is
93
- # // correct. See http://cldr.unicode.org/ and
94
- # // http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
92
+ # // correct. See https://cldr.unicode.org/ and
93
+ # // https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
95
94
  # // for details. Example: "CH" for Switzerland.
96
95
  # string region_code = 2;
97
96
  #
@@ -111,55 +110,56 @@ end
111
110
  #
112
111
  # // Optional. Postal code of the address. Not all countries use or require
113
112
  # // postal codes to be present, but where they are used, they may trigger
114
- # // additional validation with other parts of the address (e.g. state/zip
115
- # // validation in the U.S.A.).
113
+ # // additional validation with other parts of the address (for example,
114
+ # // state or zip code validation in the United States).
116
115
  # string postal_code = 4;
117
116
  #
118
117
  # // Optional. Additional, country-specific, sorting code. This is not used
119
118
  # // in most regions. Where it is used, the value is either a string like
120
- # // "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
121
- # // alone, representing the "sector code" (Jamaica), "delivery area indicator"
122
- # // (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
119
+ # // "CEDEX", optionally followed by a number (for example, "CEDEX 7"), or just
120
+ # // a number alone, representing the "sector code" (Jamaica), "delivery area
121
+ # // indicator" (Malawi) or "post office indicator" (Côte d'Ivoire).
123
122
  # string sorting_code = 5;
124
123
  #
125
124
  # // Optional. Highest administrative subdivision which is used for postal
126
125
  # // addresses of a country or region.
127
126
  # // For example, this can be a state, a province, an oblast, or a prefecture.
128
- # // Specifically, for Spain this is the province and not the autonomous
129
- # // community (e.g. "Barcelona" and not "Catalonia").
130
- # // Many countries don't use an administrative area in postal addresses. E.g.
131
- # // in Switzerland this should be left unpopulated.
127
+ # // For Spain, this is the province and not the autonomous
128
+ # // community (for example, "Barcelona" and not "Catalonia").
129
+ # // Many countries don't use an administrative area in postal addresses. For
130
+ # // example, in Switzerland, this should be left unpopulated.
132
131
  # string administrative_area = 6;
133
132
  #
134
- # // Optional. Generally refers to the city/town portion of the address.
133
+ # // Optional. Generally refers to the city or town portion of the address.
135
134
  # // Examples: US city, IT comune, UK post town.
136
135
  # // In regions of the world where localities are not well defined or do not fit
137
- # // into this structure well, leave locality empty and use address_lines.
136
+ # // into this structure well, leave `locality` empty and use `address_lines`.
138
137
  # string locality = 7;
139
138
  #
140
139
  # // Optional. Sublocality of the address.
141
- # // For example, this can be neighborhoods, boroughs, districts.
140
+ # // For example, this can be a neighborhood, borough, or district.
142
141
  # string sublocality = 8;
143
142
  #
144
143
  # // Unstructured address lines describing the lower levels of an address.
145
144
  # //
146
- # // Because values in address_lines do not have type information and may
147
- # // sometimes contain multiple values in a single field (e.g.
145
+ # // Because values in `address_lines` do not have type information and may
146
+ # // sometimes contain multiple values in a single field (for example,
148
147
  # // "Austin, TX"), it is important that the line order is clear. The order of
149
- # // address lines should be "envelope order" for the country/region of the
150
- # // address. In places where this can vary (e.g. Japan), address_language is
151
- # // used to make it explicit (e.g. "ja" for large-to-small ordering and
152
- # // "ja-Latn" or "en" for small-to-large). This way, the most specific line of
153
- # // an address can be selected based on the language.
148
+ # // address lines should be "envelope order" for the country or region of the
149
+ # // address. In places where this can vary (for example, Japan),
150
+ # // `address_language` is used to make it explicit (for example, "ja" for
151
+ # // large-to-small ordering and "ja-Latn" or "en" for small-to-large). In this
152
+ # // way, the most specific line of an address can be selected based on the
153
+ # // language.
154
154
  # //
155
155
  # // The minimum permitted structural representation of an address consists
156
- # // of a region_code with all remaining information placed in the
157
- # // address_lines. It would be possible to format such an address very
156
+ # // of a `region_code` with all remaining information placed in the
157
+ # // `address_lines`. It would be possible to format such an address very
158
158
  # // approximately without geocoding, but no semantic reasoning could be
159
159
  # // made about any of the address components until it was at least
160
160
  # // partially resolved.
161
161
  # //
162
- # // Creating an address only containing a region_code and address_lines, and
162
+ # // Creating an address only containing a `region_code` and `address_lines` and
163
163
  # // then geocoding is the recommended way to handle completely unstructured
164
164
  # // addresses (as opposed to guessing which parts of the address should be
165
165
  # // localities or administrative areas).
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x1cgoogle/type/quaternion.proto\x12\x0bgoogle.type\"8\n\nQuaternion\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\x12\t\n\x01w\x18\x04 \x01(\x01\x42o\n\x0f\x63om.google.typeB\x0fQuaternionProtoP\x01Z@google.golang.org/genproto/googleapis/type/quaternion;quaternion\xf8\x01\x01\xa2\x02\x03GTPb\x06proto3"
8
+ descriptor_data = "\n\x1cgoogle/type/quaternion.proto\x12\x0bgoogle.type\"8\n\nQuaternion\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\x12\t\n\x01w\x18\x04 \x01(\x01\x42l\n\x0f\x63om.google.typeB\x0fQuaternionProtoP\x01Z@google.golang.org/genproto/googleapis/type/quaternion;quaternion\xa2\x02\x03GTPb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  #### Source proto file: google/type/quaternion.proto ####
41
41
  #
42
- # // Copyright 2024 Google LLC
42
+ # // Copyright 2026 Google LLC
43
43
  # //
44
44
  # // Licensed under the Apache License, Version 2.0 (the "License");
45
45
  # // you may not use this file except in compliance with the License.
@@ -57,13 +57,14 @@ end
57
57
  #
58
58
  # package google.type;
59
59
  #
60
- # option cc_enable_arenas = true;
61
60
  # option go_package = "google.golang.org/genproto/googleapis/type/quaternion;quaternion";
62
61
  # option java_multiple_files = true;
63
62
  # option java_outer_classname = "QuaternionProto";
64
63
  # option java_package = "com.google.type";
65
64
  # option objc_class_prefix = "GTP";
66
65
  #
66
+ # // A quaternion, represented by four 64-bit floating point values.
67
+ # //
67
68
  # // A quaternion is defined as the quotient of two directed lines in a
68
69
  # // three-dimensional space or equivalently as the quotient of two Euclidean
69
70
  # // vectors (https://en.wikipedia.org/wiki/Quaternion).
@@ -81,7 +82,7 @@ end
81
82
  # // where x, y, z, and w are real numbers, and i, j, and k are three imaginary
82
83
  # // numbers.
83
84
  # //
84
- # // Our naming choice `(x, y, z, w)` comes from the desire to avoid confusion for
85
+ # // The naming choice `(x, y, z, w)` comes from the desire to avoid confusion for
85
86
  # // those interested in the geometric properties of the quaternion in the 3D
86
87
  # // Cartesian space. Other texts often use alternative names or subscripts, such
87
88
  # // as `(a, b, c, d)`, `(1, i, j, k)`, or `(0, 1, 2, 3)`, which are perhaps
@@ -119,7 +120,6 @@ end
119
120
  # // it would produce a unique representation. It is thus recommended that `w` be
120
121
  # // kept positive, which can be achieved by changing all the signs when `w` is
121
122
  # // negative.
122
- # //
123
123
  # message Quaternion {
124
124
  # // The x component.
125
125
  # double x = 1;
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x1bgoogle/type/timeofday.proto\x12\x0bgoogle.type\"K\n\tTimeOfDay\x12\r\n\x05hours\x18\x01 \x01(\x05\x12\x0f\n\x07minutes\x18\x02 \x01(\x05\x12\x0f\n\x07seconds\x18\x03 \x01(\x05\x12\r\n\x05nanos\x18\x04 \x01(\x05\x42l\n\x0f\x63om.google.typeB\x0eTimeOfDayProtoP\x01Z>google.golang.org/genproto/googleapis/type/timeofday;timeofday\xf8\x01\x01\xa2\x02\x03GTPb\x06proto3"
8
+ descriptor_data = "\n\x1bgoogle/type/timeofday.proto\x12\x0bgoogle.type\"K\n\tTimeOfDay\x12\r\n\x05hours\x18\x01 \x01(\x05\x12\x0f\n\x07minutes\x18\x02 \x01(\x05\x12\x0f\n\x07seconds\x18\x03 \x01(\x05\x12\r\n\x05nanos\x18\x04 \x01(\x05\x42i\n\x0f\x63om.google.typeB\x0eTimeOfDayProtoP\x01Z>google.golang.org/genproto/googleapis/type/timeofday;timeofday\xa2\x02\x03GTPb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  #### Source proto file: google/type/timeofday.proto ####
41
41
  #
42
- # // Copyright 2024 Google LLC
42
+ # // Copyright 2026 Google LLC
43
43
  # //
44
44
  # // Licensed under the Apache License, Version 2.0 (the "License");
45
45
  # // you may not use this file except in compliance with the License.
@@ -57,7 +57,6 @@ end
57
57
  #
58
58
  # package google.type;
59
59
  #
60
- # option cc_enable_arenas = true;
61
60
  # option go_package = "google.golang.org/genproto/googleapis/type/timeofday;timeofday";
62
61
  # option java_multiple_files = true;
63
62
  # option java_outer_classname = "TimeOfDayProto";
@@ -69,17 +68,21 @@ end
69
68
  # // types are [google.type.Date][google.type.Date] and
70
69
  # // `google.protobuf.Timestamp`.
71
70
  # message TimeOfDay {
72
- # // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
73
- # // to allow the value "24:00:00" for scenarios like business closing time.
71
+ # // Hours of a day in 24 hour format. Must be greater than or equal to 0 and
72
+ # // typically must be less than or equal to 23. An API may choose to allow the
73
+ # // value "24:00:00" for scenarios like business closing time.
74
74
  # int32 hours = 1;
75
75
  #
76
- # // Minutes of hour of day. Must be from 0 to 59.
76
+ # // Minutes of an hour. Must be greater than or equal to 0 and less than or
77
+ # // equal to 59.
77
78
  # int32 minutes = 2;
78
79
  #
79
- # // Seconds of minutes of the time. Must normally be from 0 to 59. An API may
80
- # // allow the value 60 if it allows leap-seconds.
80
+ # // Seconds of a minute. Must be greater than or equal to 0 and typically must
81
+ # // be less than or equal to 59. An API may allow the value 60 if it allows
82
+ # // leap-seconds.
81
83
  # int32 seconds = 3;
82
84
  #
83
- # // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
85
+ # // Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
86
+ # // and less than or equal to 999,999,999.
84
87
  # int32 nanos = 4;
85
88
  # }
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module CommonProtos
19
19
  module Types
20
- VERSION = "1.18.0".freeze
20
+ VERSION = "1.25.0".freeze
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,34 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleapis-common-protos-types
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-14 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-protobuf
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ">="
16
+ - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '3.18'
19
- - - "<"
20
- - !ruby/object:Gem::Version
21
- version: 5.a
18
+ version: '4.26'
22
19
  type: :runtime
23
20
  prerelease: false
24
21
  version_requirements: !ruby/object:Gem::Requirement
25
22
  requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- version: '3.18'
29
- - - "<"
23
+ - - "~>"
30
24
  - !ruby/object:Gem::Version
31
- version: 5.a
25
+ version: '4.26'
32
26
  description: Common protocol buffer types used by Google APIs
33
27
  email:
34
28
  - googleapis-packages@google.com
@@ -109,14 +103,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
103
  requirements:
110
104
  - - ">="
111
105
  - !ruby/object:Gem::Version
112
- version: '2.7'
106
+ version: '3.2'
113
107
  required_rubygems_version: !ruby/object:Gem::Requirement
114
108
  requirements:
115
109
  - - ">="
116
110
  - !ruby/object:Gem::Version
117
111
  version: '0'
118
112
  requirements: []
119
- rubygems_version: 3.6.2
113
+ rubygems_version: 3.6.9
120
114
  specification_version: 4
121
115
  summary: Common protocol buffer types used in Google APIs
122
116
  test_files: []