googleapis-common-protos-types 1.0.2 → 1.18.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 +5 -5
- data/CHANGELOG.md +173 -0
- data/README.md +19 -0
- data/lib/google/api/annotations_pb.rb +63 -1
- data/lib/google/api/auth_pb.rb +271 -30
- data/lib/google/api/backend_pb.rb +216 -11
- data/lib/google/api/billing_pb.rb +107 -11
- data/lib/google/api/client_pb.rb +534 -0
- data/lib/google/api/config_change_pb.rb +115 -19
- data/lib/google/api/consumer_pb.rb +113 -18
- data/lib/google/api/context_pb.rb +122 -10
- data/lib/google/api/control_pb.rb +73 -4
- data/lib/google/api/distribution_pb.rb +250 -38
- data/lib/google/api/documentation_pb.rb +199 -20
- data/lib/google/api/endpoint_pb.rb +98 -9
- data/lib/google/api/error_reason_pb.rb +663 -0
- data/lib/google/api/field_behavior_pb.rb +147 -0
- data/lib/google/api/field_info_pb.rb +151 -0
- data/lib/google/api/http_pb.rb +401 -23
- data/lib/google/api/httpbody_pb.rb +111 -6
- data/lib/google/api/label_pb.rb +78 -12
- data/lib/google/api/launch_stage_pb.rb +113 -0
- data/lib/google/api/log_pb.rb +85 -7
- data/lib/google/api/logging_pb.rb +111 -11
- data/lib/google/api/metric_pb.rb +326 -33
- data/lib/google/api/monitored_resource_pb.rb +165 -18
- data/lib/google/api/monitoring_pb.rb +137 -11
- data/lib/google/api/policy_pb.rb +127 -0
- data/lib/google/api/quota_pb.rb +215 -24
- data/lib/google/api/resource_pb.rb +289 -0
- data/lib/google/api/routing_pb.rb +505 -0
- data/lib/google/api/service_pb.rb +243 -33
- data/lib/google/api/source_info_pb.rb +62 -4
- data/lib/google/api/system_parameter_pb.rb +127 -15
- data/lib/google/api/usage_pb.rb +126 -13
- data/lib/google/api/visibility_pb.rb +157 -0
- data/lib/google/logging/type/http_request_pb.rb +136 -19
- data/lib/google/logging/type/log_severity_pb.rb +110 -13
- data/lib/google/longrunning/operations_pb.rb +288 -33
- data/lib/google/rpc/code_pb.rb +215 -20
- data/lib/google/rpc/context/attribute_context_pb.rb +403 -0
- data/lib/google/rpc/context/audit_context_pb.rb +94 -0
- data/lib/google/rpc/error_details_pb.rb +342 -63
- data/lib/google/rpc/http_pb.rb +107 -0
- data/lib/google/rpc/status_pb.rb +80 -6
- data/lib/google/type/calendar_period_pb.rb +97 -0
- data/lib/google/type/color_pb.rb +205 -7
- data/lib/google/type/date_pb.rb +81 -6
- data/lib/google/type/datetime_pb.rb +149 -0
- data/lib/google/type/dayofweek_pb.rb +79 -11
- data/lib/google/type/decimal_pb.rb +136 -0
- data/lib/google/type/expr_pb.rb +114 -0
- data/lib/google/type/fraction_pb.rb +74 -0
- data/lib/google/type/interval_pb.rb +90 -0
- data/lib/google/type/latlng_pb.rb +66 -5
- data/lib/google/type/localized_text_pb.rb +77 -0
- data/lib/google/type/money_pb.rb +71 -6
- data/lib/google/type/month_pb.rb +106 -0
- data/lib/google/type/phone_number_pb.rb +155 -0
- data/lib/google/type/postal_address_pb.rb +163 -14
- data/lib/google/type/quaternion_pb.rb +135 -0
- data/lib/google/type/timeofday_pb.rb +73 -7
- data/lib/googleapis/common/protos/types/version.rb +23 -0
- metadata +43 -43
|
@@ -1,19 +1,85 @@
|
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
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
|
|
12
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."
|
|
13
32
|
end
|
|
14
33
|
|
|
15
34
|
module Google
|
|
16
35
|
module Type
|
|
17
|
-
TimeOfDay = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.TimeOfDay").msgclass
|
|
36
|
+
TimeOfDay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.TimeOfDay").msgclass
|
|
18
37
|
end
|
|
19
38
|
end
|
|
39
|
+
|
|
40
|
+
#### Source proto file: google/type/timeofday.proto ####
|
|
41
|
+
#
|
|
42
|
+
# // Copyright 2024 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
|
+
# }
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2021 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
module Google
|
|
18
|
+
module CommonProtos
|
|
19
|
+
module Types
|
|
20
|
+
VERSION = "1.18.0".freeze
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
metadata
CHANGED
|
@@ -1,67 +1,48 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: googleapis-common-protos-types
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Google
|
|
8
|
-
autorequire:
|
|
7
|
+
- Google LLC
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2025-01-14 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: google-protobuf
|
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
|
16
15
|
requirements:
|
|
17
|
-
- - "
|
|
16
|
+
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '3.
|
|
20
|
-
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - "~>"
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '3.0'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: bundler
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - "~>"
|
|
18
|
+
version: '3.18'
|
|
19
|
+
- - "<"
|
|
32
20
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
34
|
-
type: :
|
|
21
|
+
version: 5.a
|
|
22
|
+
type: :runtime
|
|
35
23
|
prerelease: false
|
|
36
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
25
|
requirements:
|
|
38
|
-
- - "
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '1.9'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: rake
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - "~>"
|
|
26
|
+
- - ">="
|
|
46
27
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
48
|
-
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - "~>"
|
|
28
|
+
version: '3.18'
|
|
29
|
+
- - "<"
|
|
53
30
|
- !ruby/object:Gem::Version
|
|
54
|
-
version:
|
|
31
|
+
version: 5.a
|
|
55
32
|
description: Common protocol buffer types used by Google APIs
|
|
56
|
-
email:
|
|
33
|
+
email:
|
|
34
|
+
- googleapis-packages@google.com
|
|
57
35
|
executables: []
|
|
58
36
|
extensions: []
|
|
59
37
|
extra_rdoc_files: []
|
|
60
38
|
files:
|
|
39
|
+
- CHANGELOG.md
|
|
40
|
+
- README.md
|
|
61
41
|
- lib/google/api/annotations_pb.rb
|
|
62
42
|
- lib/google/api/auth_pb.rb
|
|
63
43
|
- lib/google/api/backend_pb.rb
|
|
64
44
|
- lib/google/api/billing_pb.rb
|
|
45
|
+
- lib/google/api/client_pb.rb
|
|
65
46
|
- lib/google/api/config_change_pb.rb
|
|
66
47
|
- lib/google/api/consumer_pb.rb
|
|
67
48
|
- lib/google/api/context_pb.rb
|
|
@@ -69,37 +50,58 @@ files:
|
|
|
69
50
|
- lib/google/api/distribution_pb.rb
|
|
70
51
|
- lib/google/api/documentation_pb.rb
|
|
71
52
|
- lib/google/api/endpoint_pb.rb
|
|
53
|
+
- lib/google/api/error_reason_pb.rb
|
|
54
|
+
- lib/google/api/field_behavior_pb.rb
|
|
55
|
+
- lib/google/api/field_info_pb.rb
|
|
72
56
|
- lib/google/api/http_pb.rb
|
|
73
57
|
- lib/google/api/httpbody_pb.rb
|
|
74
58
|
- lib/google/api/label_pb.rb
|
|
59
|
+
- lib/google/api/launch_stage_pb.rb
|
|
75
60
|
- lib/google/api/log_pb.rb
|
|
76
61
|
- lib/google/api/logging_pb.rb
|
|
77
62
|
- lib/google/api/metric_pb.rb
|
|
78
63
|
- lib/google/api/monitored_resource_pb.rb
|
|
79
64
|
- lib/google/api/monitoring_pb.rb
|
|
65
|
+
- lib/google/api/policy_pb.rb
|
|
80
66
|
- lib/google/api/quota_pb.rb
|
|
67
|
+
- lib/google/api/resource_pb.rb
|
|
68
|
+
- lib/google/api/routing_pb.rb
|
|
81
69
|
- lib/google/api/service_pb.rb
|
|
82
70
|
- lib/google/api/source_info_pb.rb
|
|
83
71
|
- lib/google/api/system_parameter_pb.rb
|
|
84
72
|
- lib/google/api/usage_pb.rb
|
|
73
|
+
- lib/google/api/visibility_pb.rb
|
|
85
74
|
- lib/google/logging/type/http_request_pb.rb
|
|
86
75
|
- lib/google/logging/type/log_severity_pb.rb
|
|
87
76
|
- lib/google/longrunning/operations_pb.rb
|
|
88
77
|
- lib/google/rpc/code_pb.rb
|
|
78
|
+
- lib/google/rpc/context/attribute_context_pb.rb
|
|
79
|
+
- lib/google/rpc/context/audit_context_pb.rb
|
|
89
80
|
- lib/google/rpc/error_details_pb.rb
|
|
81
|
+
- lib/google/rpc/http_pb.rb
|
|
90
82
|
- lib/google/rpc/status_pb.rb
|
|
83
|
+
- lib/google/type/calendar_period_pb.rb
|
|
91
84
|
- lib/google/type/color_pb.rb
|
|
92
85
|
- lib/google/type/date_pb.rb
|
|
86
|
+
- lib/google/type/datetime_pb.rb
|
|
93
87
|
- lib/google/type/dayofweek_pb.rb
|
|
88
|
+
- lib/google/type/decimal_pb.rb
|
|
89
|
+
- lib/google/type/expr_pb.rb
|
|
90
|
+
- lib/google/type/fraction_pb.rb
|
|
91
|
+
- lib/google/type/interval_pb.rb
|
|
94
92
|
- lib/google/type/latlng_pb.rb
|
|
93
|
+
- lib/google/type/localized_text_pb.rb
|
|
95
94
|
- lib/google/type/money_pb.rb
|
|
95
|
+
- lib/google/type/month_pb.rb
|
|
96
|
+
- lib/google/type/phone_number_pb.rb
|
|
96
97
|
- lib/google/type/postal_address_pb.rb
|
|
98
|
+
- lib/google/type/quaternion_pb.rb
|
|
97
99
|
- lib/google/type/timeofday_pb.rb
|
|
98
|
-
|
|
100
|
+
- lib/googleapis/common/protos/types/version.rb
|
|
101
|
+
homepage: https://github.com/googleapis/common-protos-ruby
|
|
99
102
|
licenses:
|
|
100
103
|
- Apache-2.0
|
|
101
104
|
metadata: {}
|
|
102
|
-
post_install_message:
|
|
103
105
|
rdoc_options: []
|
|
104
106
|
require_paths:
|
|
105
107
|
- lib
|
|
@@ -107,16 +109,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
107
109
|
requirements:
|
|
108
110
|
- - ">="
|
|
109
111
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 2.
|
|
112
|
+
version: '2.7'
|
|
111
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
114
|
requirements:
|
|
113
115
|
- - ">="
|
|
114
116
|
- !ruby/object:Gem::Version
|
|
115
117
|
version: '0'
|
|
116
118
|
requirements: []
|
|
117
|
-
|
|
118
|
-
rubygems_version: 2.6.14
|
|
119
|
-
signing_key:
|
|
119
|
+
rubygems_version: 3.6.2
|
|
120
120
|
specification_version: 4
|
|
121
|
-
summary: Common
|
|
121
|
+
summary: Common protocol buffer types used in Google APIs
|
|
122
122
|
test_files: []
|