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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/api/annotations_pb.rb +24 -2
- data/lib/google/api/auth_pb.rb +25 -3
- data/lib/google/api/backend_pb.rb +36 -4
- data/lib/google/api/billing_pb.rb +24 -3
- data/lib/google/api/client_pb.rb +194 -56
- data/lib/google/api/config_change_pb.rb +24 -3
- data/lib/google/api/consumer_pb.rb +23 -2
- data/lib/google/api/context_pb.rb +24 -3
- data/lib/google/api/control_pb.rb +27 -5
- data/lib/google/api/distribution_pb.rb +26 -3
- data/lib/google/api/documentation_pb.rb +24 -3
- data/lib/google/api/endpoint_pb.rb +24 -3
- data/lib/google/api/error_reason_pb.rb +210 -4
- data/lib/google/api/field_behavior_pb.rb +24 -3
- data/lib/google/api/field_info_pb.rb +24 -3
- data/lib/google/api/http_pb.rb +24 -3
- data/lib/google/api/httpbody_pb.rb +25 -3
- data/lib/google/api/label_pb.rb +24 -3
- data/lib/google/api/launch_stage_pb.rb +24 -3
- data/lib/google/api/log_pb.rb +25 -3
- data/lib/google/api/logging_pb.rb +24 -3
- data/lib/google/api/metric_pb.rb +26 -3
- data/lib/google/api/monitored_resource_pb.rb +26 -3
- data/lib/google/api/monitoring_pb.rb +24 -3
- data/lib/google/api/policy_pb.rb +24 -3
- data/lib/google/api/quota_pb.rb +24 -3
- data/lib/google/api/resource_pb.rb +24 -3
- data/lib/google/api/routing_pb.rb +31 -6
- data/lib/google/api/service_pb.rb +46 -5
- data/lib/google/api/source_info_pb.rb +25 -3
- data/lib/google/api/system_parameter_pb.rb +24 -3
- data/lib/google/api/usage_pb.rb +30 -29
- data/lib/google/api/visibility_pb.rb +24 -3
- data/lib/google/logging/type/http_request_pb.rb +24 -2
- data/lib/google/logging/type/log_severity_pb.rb +23 -2
- data/lib/google/longrunning/operations_pb.rb +26 -2
- data/lib/google/rpc/code_pb.rb +24 -3
- data/lib/google/rpc/context/attribute_context_pb.rb +35 -5
- data/lib/google/rpc/context/audit_context_pb.rb +25 -3
- data/lib/google/rpc/error_details_pb.rb +29 -7
- data/lib/google/rpc/http_pb.rb +24 -3
- data/lib/google/rpc/status_pb.rb +26 -5
- data/lib/google/type/calendar_period_pb.rb +24 -3
- data/lib/google/type/color_pb.rb +34 -13
- data/lib/google/type/date_pb.rb +35 -12
- data/lib/google/type/datetime_pb.rb +42 -20
- data/lib/google/type/dayofweek_pb.rb +24 -3
- data/lib/google/type/decimal_pb.rb +35 -16
- data/lib/google/type/expr_pb.rb +24 -3
- data/lib/google/type/fraction_pb.rb +24 -3
- data/lib/google/type/interval_pb.rb +26 -5
- data/lib/google/type/latlng_pb.rb +28 -8
- data/lib/google/type/localized_text_pb.rb +27 -6
- data/lib/google/type/money_pb.rb +25 -5
- data/lib/google/type/month_pb.rb +24 -3
- data/lib/google/type/phone_number_pb.rb +44 -18
- data/lib/google/type/postal_address_pb.rb +63 -42
- data/lib/google/type/quaternion_pb.rb +28 -7
- data/lib/google/type/timeofday_pb.rb +35 -11
- data/lib/googleapis/common/protos/types/version.rb +1 -1
- metadata +2 -2
|
@@ -5,10 +5,31 @@
|
|
|
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\
|
|
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
|
-
pool =
|
|
11
|
-
|
|
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 Type
|
|
@@ -18,7 +39,7 @@ end
|
|
|
18
39
|
|
|
19
40
|
#### Source proto file: google/type/timeofday.proto ####
|
|
20
41
|
#
|
|
21
|
-
# // Copyright
|
|
42
|
+
# // Copyright 2026 Google LLC
|
|
22
43
|
# //
|
|
23
44
|
# // Licensed under the Apache License, Version 2.0 (the "License");
|
|
24
45
|
# // you may not use this file except in compliance with the License.
|
|
@@ -36,7 +57,6 @@ end
|
|
|
36
57
|
#
|
|
37
58
|
# package google.type;
|
|
38
59
|
#
|
|
39
|
-
# option cc_enable_arenas = true;
|
|
40
60
|
# option go_package = "google.golang.org/genproto/googleapis/type/timeofday;timeofday";
|
|
41
61
|
# option java_multiple_files = true;
|
|
42
62
|
# option java_outer_classname = "TimeOfDayProto";
|
|
@@ -48,17 +68,21 @@ end
|
|
|
48
68
|
# // types are [google.type.Date][google.type.Date] and
|
|
49
69
|
# // `google.protobuf.Timestamp`.
|
|
50
70
|
# message TimeOfDay {
|
|
51
|
-
# // Hours of day in 24 hour format.
|
|
52
|
-
# //
|
|
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.
|
|
53
74
|
# int32 hours = 1;
|
|
54
75
|
#
|
|
55
|
-
# // Minutes of hour
|
|
76
|
+
# // Minutes of an hour. Must be greater than or equal to 0 and less than or
|
|
77
|
+
# // equal to 59.
|
|
56
78
|
# int32 minutes = 2;
|
|
57
79
|
#
|
|
58
|
-
# // Seconds of
|
|
59
|
-
# // allow the value 60 if it allows
|
|
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.
|
|
60
83
|
# int32 seconds = 3;
|
|
61
84
|
#
|
|
62
|
-
# // Fractions of seconds in nanoseconds. Must be
|
|
85
|
+
# // Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
|
|
86
|
+
# // and less than or equal to 999,999,999.
|
|
63
87
|
# int32 nanos = 4;
|
|
64
88
|
# }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: googleapis-common-protos-types
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.24.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -103,7 +103,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
103
103
|
requirements:
|
|
104
104
|
- - ">="
|
|
105
105
|
- !ruby/object:Gem::Version
|
|
106
|
-
version: '3.
|
|
106
|
+
version: '3.2'
|
|
107
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements:
|
|
109
109
|
- - ">="
|