googleapis-common-protos-types 1.7.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/lib/google/api/annotations_pb.rb +60 -2
  4. data/lib/google/api/auth_pb.rb +264 -34
  5. data/lib/google/api/backend_pb.rb +212 -23
  6. data/lib/google/api/billing_pb.rb +104 -8
  7. data/lib/google/api/client_pb.rb +422 -86
  8. data/lib/google/api/config_change_pb.rb +111 -17
  9. data/lib/google/api/consumer_pb.rb +109 -16
  10. data/lib/google/api/context_pb.rb +117 -11
  11. data/lib/google/api/control_pb.rb +71 -4
  12. data/lib/google/api/distribution_pb.rb +242 -39
  13. data/lib/google/api/documentation_pb.rb +195 -19
  14. data/lib/google/api/endpoint_pb.rb +100 -7
  15. data/lib/google/api/error_reason_pb.rb +597 -33
  16. data/lib/google/api/field_behavior_pb.rb +131 -11
  17. data/lib/google/api/http_pb.rb +406 -23
  18. data/lib/google/api/httpbody_pb.rb +109 -6
  19. data/lib/google/api/label_pb.rb +75 -11
  20. data/lib/google/api/launch_stage_pb.rb +99 -11
  21. data/lib/google/api/log_pb.rb +82 -7
  22. data/lib/google/api/logging_pb.rb +108 -9
  23. data/lib/google/api/metric_pb.rb +297 -38
  24. data/lib/google/api/monitored_resource_pb.rb +159 -17
  25. data/lib/google/api/monitoring_pb.rb +134 -9
  26. data/lib/google/api/policy_pb.rb +129 -0
  27. data/lib/google/api/quota_pb.rb +211 -21
  28. data/lib/google/api/resource_pb.rb +265 -23
  29. data/lib/google/api/routing_pb.rb +488 -8
  30. data/lib/google/api/service_pb.rb +239 -29
  31. data/lib/google/api/source_info_pb.rb +59 -4
  32. data/lib/google/api/system_parameter_pb.rb +123 -13
  33. data/lib/google/api/usage_pb.rb +123 -11
  34. data/lib/google/api/visibility_pb.rb +140 -8
  35. data/lib/google/logging/type/http_request_pb.rb +123 -18
  36. data/lib/google/logging/type/log_severity_pb.rb +98 -12
  37. data/lib/google/longrunning/operations_pb.rb +277 -37
  38. data/lib/google/rpc/code_pb.rb +213 -20
  39. data/lib/google/rpc/context/attribute_context_pb.rb +375 -66
  40. data/lib/google/rpc/context/audit_context_pb.rb +77 -8
  41. data/lib/google/rpc/error_details_pb.rb +313 -56
  42. data/lib/google/rpc/http_pb.rb +91 -17
  43. data/lib/google/rpc/status_pb.rb +77 -6
  44. data/lib/google/type/calendar_period_pb.rb +83 -11
  45. data/lib/google/type/color_pb.rb +202 -7
  46. data/lib/google/type/date_pb.rb +79 -6
  47. data/lib/google/type/datetime_pb.rb +132 -18
  48. data/lib/google/type/dayofweek_pb.rb +77 -11
  49. data/lib/google/type/decimal_pb.rb +122 -4
  50. data/lib/google/type/expr_pb.rb +100 -7
  51. data/lib/google/type/fraction_pb.rb +60 -5
  52. data/lib/google/type/interval_pb.rb +74 -5
  53. data/lib/google/type/latlng_pb.rb +64 -5
  54. data/lib/google/type/localized_text_pb.rb +63 -5
  55. data/lib/google/type/money_pb.rb +69 -6
  56. data/lib/google/type/month_pb.rb +92 -16
  57. data/lib/google/type/phone_number_pb.rb +140 -12
  58. data/lib/google/type/postal_address_pb.rb +161 -14
  59. data/lib/google/type/quaternion_pb.rb +121 -7
  60. data/lib/google/type/timeofday_pb.rb +71 -7
  61. data/lib/googleapis/common/protos/types/version.rb +1 -1
  62. metadata +6 -5
@@ -1,17 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/type/quaternion.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/type/quaternion.proto", :syntax => :proto3) do
8
- add_message "google.type.Quaternion" do
9
- optional :x, :double, 1
10
- optional :y, :double, 2
11
- optional :z, :double, 3
12
- optional :w, :double, 4
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"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
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}"
13
28
  end
14
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."
15
32
  end
16
33
 
17
34
  module Google
@@ -19,3 +36,100 @@ module Google
19
36
  Quaternion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Quaternion").msgclass
20
37
  end
21
38
  end
39
+
40
+ #### Source proto file: google/type/quaternion.proto ####
41
+ #
42
+ # // Copyright 2021 Google LLC
43
+ # //
44
+ # // Licensed under the Apache License, Version 2.0 (the "License");
45
+ # // you may not use this file except in compliance with the License.
46
+ # // You may obtain a copy of the License at
47
+ # //
48
+ # // http://www.apache.org/licenses/LICENSE-2.0
49
+ # //
50
+ # // Unless required by applicable law or agreed to in writing, software
51
+ # // distributed under the License is distributed on an "AS IS" BASIS,
52
+ # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
53
+ # // See the License for the specific language governing permissions and
54
+ # // limitations under the License.
55
+ #
56
+ # syntax = "proto3";
57
+ #
58
+ # package google.type;
59
+ #
60
+ # option cc_enable_arenas = true;
61
+ # option go_package = "google.golang.org/genproto/googleapis/type/quaternion;quaternion";
62
+ # option java_multiple_files = true;
63
+ # option java_outer_classname = "QuaternionProto";
64
+ # option java_package = "com.google.type";
65
+ # option objc_class_prefix = "GTP";
66
+ #
67
+ # // A quaternion is defined as the quotient of two directed lines in a
68
+ # // three-dimensional space or equivalently as the quotient of two Euclidean
69
+ # // vectors (https://en.wikipedia.org/wiki/Quaternion).
70
+ # //
71
+ # // Quaternions are often used in calculations involving three-dimensional
72
+ # // rotations (https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation),
73
+ # // as they provide greater mathematical robustness by avoiding the gimbal lock
74
+ # // problems that can be encountered when using Euler angles
75
+ # // (https://en.wikipedia.org/wiki/Gimbal_lock).
76
+ # //
77
+ # // Quaternions are generally represented in this form:
78
+ # //
79
+ # // w + xi + yj + zk
80
+ # //
81
+ # // where x, y, z, and w are real numbers, and i, j, and k are three imaginary
82
+ # // numbers.
83
+ # //
84
+ # // Our naming choice `(x, y, z, w)` comes from the desire to avoid confusion for
85
+ # // those interested in the geometric properties of the quaternion in the 3D
86
+ # // Cartesian space. Other texts often use alternative names or subscripts, such
87
+ # // as `(a, b, c, d)`, `(1, i, j, k)`, or `(0, 1, 2, 3)`, which are perhaps
88
+ # // better suited for mathematical interpretations.
89
+ # //
90
+ # // To avoid any confusion, as well as to maintain compatibility with a large
91
+ # // number of software libraries, the quaternions represented using the protocol
92
+ # // buffer below *must* follow the Hamilton convention, which defines `ij = k`
93
+ # // (i.e. a right-handed algebra), and therefore:
94
+ # //
95
+ # // i^2 = j^2 = k^2 = ijk = −1
96
+ # // ij = −ji = k
97
+ # // jk = −kj = i
98
+ # // ki = −ik = j
99
+ # //
100
+ # // Please DO NOT use this to represent quaternions that follow the JPL
101
+ # // convention, or any of the other quaternion flavors out there.
102
+ # //
103
+ # // Definitions:
104
+ # //
105
+ # // - Quaternion norm (or magnitude): `sqrt(x^2 + y^2 + z^2 + w^2)`.
106
+ # // - Unit (or normalized) quaternion: a quaternion whose norm is 1.
107
+ # // - Pure quaternion: a quaternion whose scalar component (`w`) is 0.
108
+ # // - Rotation quaternion: a unit quaternion used to represent rotation.
109
+ # // - Orientation quaternion: a unit quaternion used to represent orientation.
110
+ # //
111
+ # // A quaternion can be normalized by dividing it by its norm. The resulting
112
+ # // quaternion maintains the same direction, but has a norm of 1, i.e. it moves
113
+ # // on the unit sphere. This is generally necessary for rotation and orientation
114
+ # // quaternions, to avoid rounding errors:
115
+ # // https://en.wikipedia.org/wiki/Rotation_formalisms_in_three_dimensions
116
+ # //
117
+ # // Note that `(x, y, z, w)` and `(-x, -y, -z, -w)` represent the same rotation,
118
+ # // but normalization would be even more useful, e.g. for comparison purposes, if
119
+ # // it would produce a unique representation. It is thus recommended that `w` be
120
+ # // kept positive, which can be achieved by changing all the signs when `w` is
121
+ # // negative.
122
+ # //
123
+ # message Quaternion {
124
+ # // The x component.
125
+ # double x = 1;
126
+ #
127
+ # // The y component.
128
+ # double y = 2;
129
+ #
130
+ # // The z component.
131
+ # double z = 3;
132
+ #
133
+ # // The scalar component.
134
+ # double w = 4;
135
+ # }
@@ -1,17 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/type/timeofday.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/type/timeofday.proto", :syntax => :proto3) do
8
- add_message "google.type.TimeOfDay" do
9
- optional :hours, :int32, 1
10
- optional :minutes, :int32, 2
11
- optional :seconds, :int32, 3
12
- optional :nanos, :int32, 4
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"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
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}"
13
28
  end
14
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."
15
32
  end
16
33
 
17
34
  module Google
@@ -19,3 +36,50 @@ module Google
19
36
  TimeOfDay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.TimeOfDay").msgclass
20
37
  end
21
38
  end
39
+
40
+ #### Source proto file: google/type/timeofday.proto ####
41
+ #
42
+ # // Copyright 2021 Google LLC
43
+ # //
44
+ # // Licensed under the Apache License, Version 2.0 (the "License");
45
+ # // you may not use this file except in compliance with the License.
46
+ # // You may obtain a copy of the License at
47
+ # //
48
+ # // http://www.apache.org/licenses/LICENSE-2.0
49
+ # //
50
+ # // Unless required by applicable law or agreed to in writing, software
51
+ # // distributed under the License is distributed on an "AS IS" BASIS,
52
+ # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
53
+ # // See the License for the specific language governing permissions and
54
+ # // limitations under the License.
55
+ #
56
+ # syntax = "proto3";
57
+ #
58
+ # package google.type;
59
+ #
60
+ # option cc_enable_arenas = true;
61
+ # option go_package = "google.golang.org/genproto/googleapis/type/timeofday;timeofday";
62
+ # option java_multiple_files = true;
63
+ # option java_outer_classname = "TimeOfDayProto";
64
+ # option java_package = "com.google.type";
65
+ # option objc_class_prefix = "GTP";
66
+ #
67
+ # // Represents a time of day. The date and time zone are either not significant
68
+ # // or are specified elsewhere. An API may choose to allow leap seconds. Related
69
+ # // types are [google.type.Date][google.type.Date] and
70
+ # // `google.protobuf.Timestamp`.
71
+ # 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.
74
+ # int32 hours = 1;
75
+ #
76
+ # // Minutes of hour of day. Must be from 0 to 59.
77
+ # int32 minutes = 2;
78
+ #
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.
81
+ # int32 seconds = 3;
82
+ #
83
+ # // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
84
+ # int32 nanos = 4;
85
+ # }
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module CommonProtos
19
19
  module Types
20
- VERSION = "1.7.0".freeze
20
+ VERSION = "1.9.0".freeze
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleapis-common-protos-types
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-17 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.14'
19
+ version: '3.18'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.14'
26
+ version: '3.18'
27
27
  description: Common protocol buffer types used by Google APIs
28
28
  email:
29
29
  - googleapis-packages@google.com
@@ -56,6 +56,7 @@ files:
56
56
  - lib/google/api/metric_pb.rb
57
57
  - lib/google/api/monitored_resource_pb.rb
58
58
  - lib/google/api/monitoring_pb.rb
59
+ - lib/google/api/policy_pb.rb
59
60
  - lib/google/api/quota_pb.rb
60
61
  - lib/google/api/resource_pb.rb
61
62
  - lib/google/api/routing_pb.rb
@@ -110,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
111
  - !ruby/object:Gem::Version
111
112
  version: '0'
112
113
  requirements: []
113
- rubygems_version: 3.4.2
114
+ rubygems_version: 3.4.19
114
115
  signing_key:
115
116
  specification_version: 4
116
117
  summary: Common protocol buffer types used in Google APIs