googleapis-common-protos-types 1.0.5 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -4
- data/lib/google/api/documentation_pb.rb +1 -0
- data/lib/google/api/endpoint_pb.rb +0 -1
- data/lib/google/api/error_reason_pb.rb +37 -0
- data/lib/google/api/field_behavior_pb.rb +2 -0
- data/lib/google/api/launch_stage_pb.rb +2 -0
- data/lib/google/api/metric_pb.rb +1 -0
- data/lib/google/api/resource_pb.rb +6 -0
- data/lib/google/api/routing_pb.rb +23 -0
- data/lib/google/api/service_pb.rb +2 -2
- data/lib/google/api/visibility_pb.rb +23 -0
- data/lib/google/logging/type/http_request_pb.rb +11 -1
- data/lib/google/logging/type/log_severity_pb.rb +11 -1
- data/lib/google/type/decimal_pb.rb +18 -0
- data/lib/google/type/interval_pb.rb +20 -0
- data/lib/google/type/localized_text_pb.rb +19 -0
- data/lib/google/type/phone_number_pb.rb +27 -0
- data/lib/googleapis/common/protos/types/version.rb +23 -0
- metadata +16 -54
- data/.gitignore +0 -10
- data/Gemfile +0 -5
- data/Rakefile +0 -57
- data/googleapis-common-protos-types.gemspec +0 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbc39c4df10b3dc41a7fab0b938117600e10a0333adc7155088a5f2ca0b52930
|
4
|
+
data.tar.gz: 3ab06780f0edd8480a34ff31bb76ae55bee5b5c5a6a9c80def4ec1d12e6906cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80627d183fbc90ed1d06b2a18327fa2d38bb6c24b253b1e7b51305fbb73c0efdbdc88358ef8ae9c7705774c13223d97ce4ddd222bd6bd978ed66db1a4c7de377
|
7
|
+
data.tar.gz: b2e6630eb587bf4d32d641b7d042779c9c2b35cf4f1a657d634d100a30738c6c3f6110a54921100f910492f098014e85448cc3018ee3992e01926be96f4a38b7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,37 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
-
|
3
|
+
## 1.3.0 (2021-10-19)
|
4
|
+
|
5
|
+
* Add google/api/routing to common-protos-types
|
6
|
+
* Remove cloud-specific extended_operations proto. It's being moved to google-cloud-common.
|
7
|
+
|
8
|
+
## 1.2.0 (2021-09-03)
|
9
|
+
|
10
|
+
* Add Google::Cloud::OperationResponseMapping and the extended_operations_pb file
|
11
|
+
* Removed unnecessary files from the gem package
|
12
|
+
|
13
|
+
## 1.1.0 / 2021-07-07
|
14
|
+
|
15
|
+
* Add Google::Api::ErrorReason
|
16
|
+
* Add Google::Api::Visibility and Google::Api::VisibilityRule
|
17
|
+
* Add Google::Type::Decimal
|
18
|
+
* Add NON_EMPTY_DEFAULT value to Google::Api::FieldBehavior.
|
19
|
+
|
20
|
+
## 1.0.6 / 2021-02-01
|
21
|
+
|
22
|
+
* Add Google::Type::Interval type.
|
23
|
+
* Add Google::Type::LocalizedText type.
|
24
|
+
* Add Google::Type::PhoneNumber and Google::Type::PhoneNumber::ShortCode types.
|
25
|
+
* Add "service_root_url" field to Google::Api::Documentation.
|
26
|
+
* Add UNORDERED_LIST value to Google::Api::FieldBehavior.
|
27
|
+
* Add UNIMPLEMENTED and PRELAUNCH values to Google::Api::LaunchStage.
|
28
|
+
* Add "monitored_resource_types" field to Google::Api::MetricDescriptor.
|
29
|
+
* Add Google::Api::ResourceDescriptor::Style type and add "style" field to Google::Api::ResourceDescriptor.
|
30
|
+
* Moved HttpRequest and LogSeverity types from Google::Logging::Type to Google::Cloud::Logging::Type, and created aliases for backward compatibility.
|
31
|
+
* Remove internal "features" field from Google::Api::Endpoint.
|
32
|
+
* Require protobuf 3.14.
|
33
|
+
|
34
|
+
## 1.0.5 / 2020-04-08
|
4
35
|
|
5
36
|
* Add JWT location support in Google::Api::AuthProvider.
|
6
37
|
* Add "protocol" field and a "disable_auth" option to Google::Api::BackendRule.
|
@@ -9,9 +40,9 @@
|
|
9
40
|
* Remove obsolete "experimental" field from Google::Api::Service type.
|
10
41
|
* Add Google::Rpc::ErrorInfo type.
|
11
42
|
* Add Google::Type::DateTime, Google::Type::Month, and Google::Type::TimeZone types.
|
12
|
-
* Require protobuf 3.11
|
43
|
+
* Require protobuf 3.11.
|
13
44
|
|
14
|
-
|
45
|
+
## 1.0.4 / 2019-04-03
|
15
46
|
|
16
47
|
* Add WaitOperation RPC to operations_pb.rb and update documentation.
|
17
48
|
* Add new common types for:
|
@@ -20,4 +51,3 @@
|
|
20
51
|
+ google/type/expr.proto
|
21
52
|
+ google/type/fraction.proto
|
22
53
|
+ google/type/quaternion.proto
|
23
|
-
|
@@ -10,6 +10,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10
10
|
repeated :pages, :message, 5, "google.api.Page"
|
11
11
|
repeated :rules, :message, 3, "google.api.DocumentationRule"
|
12
12
|
optional :documentation_root_url, :string, 4
|
13
|
+
optional :service_root_url, :string, 6
|
13
14
|
optional :overview, :string, 2
|
14
15
|
end
|
15
16
|
add_message "google.api.DocumentationRule" do
|
@@ -8,7 +8,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
8
|
add_message "google.api.Endpoint" do
|
9
9
|
optional :name, :string, 1
|
10
10
|
repeated :aliases, :string, 2
|
11
|
-
repeated :features, :string, 4
|
12
11
|
optional :target, :string, 101
|
13
12
|
optional :allow_cors, :bool, 5
|
14
13
|
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/error_reason.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/api/error_reason.proto", :syntax => :proto3) do
|
8
|
+
add_enum "google.api.ErrorReason" do
|
9
|
+
value :ERROR_REASON_UNSPECIFIED, 0
|
10
|
+
value :SERVICE_DISABLED, 1
|
11
|
+
value :BILLING_DISABLED, 2
|
12
|
+
value :API_KEY_INVALID, 3
|
13
|
+
value :API_KEY_SERVICE_BLOCKED, 4
|
14
|
+
value :API_KEY_HTTP_REFERRER_BLOCKED, 7
|
15
|
+
value :API_KEY_IP_ADDRESS_BLOCKED, 8
|
16
|
+
value :API_KEY_ANDROID_APP_BLOCKED, 9
|
17
|
+
value :API_KEY_IOS_APP_BLOCKED, 13
|
18
|
+
value :RATE_LIMIT_EXCEEDED, 5
|
19
|
+
value :RESOURCE_QUOTA_EXCEEDED, 6
|
20
|
+
value :LOCATION_TAX_POLICY_VIOLATED, 10
|
21
|
+
value :USER_PROJECT_DENIED, 11
|
22
|
+
value :CONSUMER_SUSPENDED, 12
|
23
|
+
value :CONSUMER_INVALID, 14
|
24
|
+
value :SECURITY_POLICY_VIOLATED, 15
|
25
|
+
value :ACCESS_TOKEN_EXPIRED, 16
|
26
|
+
value :ACCESS_TOKEN_SCOPE_INSUFFICIENT, 17
|
27
|
+
value :ACCOUNT_STATE_INVALID, 18
|
28
|
+
value :ACCESS_TOKEN_TYPE_UNSUPPORTED, 19
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
module Google
|
34
|
+
module Api
|
35
|
+
ErrorReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ErrorReason").enummodule
|
36
|
+
end
|
37
|
+
end
|
@@ -7,6 +7,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7
7
|
add_file("google/api/launch_stage.proto", :syntax => :proto3) do
|
8
8
|
add_enum "google.api.LaunchStage" do
|
9
9
|
value :LAUNCH_STAGE_UNSPECIFIED, 0
|
10
|
+
value :UNIMPLEMENTED, 6
|
11
|
+
value :PRELAUNCH, 7
|
10
12
|
value :EARLY_ACCESS, 1
|
11
13
|
value :ALPHA, 2
|
12
14
|
value :BETA, 3
|
data/lib/google/api/metric_pb.rb
CHANGED
@@ -19,6 +19,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
19
19
|
optional :display_name, :string, 7
|
20
20
|
optional :metadata, :message, 10, "google.api.MetricDescriptor.MetricDescriptorMetadata"
|
21
21
|
optional :launch_stage, :enum, 12, "google.api.LaunchStage"
|
22
|
+
repeated :monitored_resource_types, :string, 13
|
22
23
|
end
|
23
24
|
add_message "google.api.MetricDescriptor.MetricDescriptorMetadata" do
|
24
25
|
optional :launch_stage, :enum, 1, "google.api.LaunchStage"
|
@@ -12,12 +12,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
12
12
|
optional :history, :enum, 4, "google.api.ResourceDescriptor.History"
|
13
13
|
optional :plural, :string, 5
|
14
14
|
optional :singular, :string, 6
|
15
|
+
repeated :style, :enum, 10, "google.api.ResourceDescriptor.Style"
|
15
16
|
end
|
16
17
|
add_enum "google.api.ResourceDescriptor.History" do
|
17
18
|
value :HISTORY_UNSPECIFIED, 0
|
18
19
|
value :ORIGINALLY_SINGLE_PATTERN, 1
|
19
20
|
value :FUTURE_MULTI_PATTERN, 2
|
20
21
|
end
|
22
|
+
add_enum "google.api.ResourceDescriptor.Style" do
|
23
|
+
value :STYLE_UNSPECIFIED, 0
|
24
|
+
value :DECLARATIVE_FRIENDLY, 1
|
25
|
+
end
|
21
26
|
add_message "google.api.ResourceReference" do
|
22
27
|
optional :type, :string, 1
|
23
28
|
optional :child_type, :string, 2
|
@@ -29,6 +34,7 @@ module Google
|
|
29
34
|
module Api
|
30
35
|
ResourceDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor").msgclass
|
31
36
|
ResourceDescriptor::History = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor.History").enummodule
|
37
|
+
ResourceDescriptor::Style = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor.Style").enummodule
|
32
38
|
ResourceReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceReference").msgclass
|
33
39
|
end
|
34
40
|
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/routing.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/api/routing.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.api.RoutingRule" do
|
9
|
+
repeated :routing_parameters, :message, 2, "google.api.RoutingParameter"
|
10
|
+
end
|
11
|
+
add_message "google.api.RoutingParameter" do
|
12
|
+
optional :field, :string, 1
|
13
|
+
optional :path_template, :string, 2
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Google
|
19
|
+
module Api
|
20
|
+
RoutingRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.RoutingRule").msgclass
|
21
|
+
RoutingParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.RoutingParameter").msgclass
|
22
|
+
end
|
23
|
+
end
|
@@ -29,11 +29,10 @@ require 'google/protobuf/wrappers_pb'
|
|
29
29
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
30
30
|
add_file("google/api/service.proto", :syntax => :proto3) do
|
31
31
|
add_message "google.api.Service" do
|
32
|
-
optional :config_version, :message, 20, "google.protobuf.UInt32Value"
|
33
32
|
optional :name, :string, 1
|
34
|
-
optional :id, :string, 33
|
35
33
|
optional :title, :string, 2
|
36
34
|
optional :producer_project_id, :string, 22
|
35
|
+
optional :id, :string, 33
|
37
36
|
repeated :apis, :message, 3, "google.protobuf.Api"
|
38
37
|
repeated :types, :message, 4, "google.protobuf.Type"
|
39
38
|
repeated :enums, :message, 5, "google.protobuf.Enum"
|
@@ -54,6 +53,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
54
53
|
optional :monitoring, :message, 28, "google.api.Monitoring"
|
55
54
|
optional :system_parameters, :message, 29, "google.api.SystemParameters"
|
56
55
|
optional :source_info, :message, 37, "google.api.SourceInfo"
|
56
|
+
optional :config_version, :message, 20, "google.protobuf.UInt32Value"
|
57
57
|
end
|
58
58
|
end
|
59
59
|
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/visibility.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/api/visibility.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.api.Visibility" do
|
9
|
+
repeated :rules, :message, 1, "google.api.VisibilityRule"
|
10
|
+
end
|
11
|
+
add_message "google.api.VisibilityRule" do
|
12
|
+
optional :selector, :string, 1
|
13
|
+
optional :restriction, :string, 2
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Google
|
19
|
+
module Api
|
20
|
+
Visibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Visibility").msgclass
|
21
|
+
VisibilityRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.VisibilityRule").msgclass
|
22
|
+
end
|
23
|
+
end
|
@@ -27,10 +27,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module Logging
|
33
|
+
module Type
|
34
|
+
HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.HttpRequest").msgclass
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
30
40
|
module Google
|
31
41
|
module Logging
|
32
42
|
module Type
|
33
|
-
HttpRequest = ::Google::
|
43
|
+
HttpRequest = ::Google::Cloud::Logging::Type::HttpRequest
|
34
44
|
end
|
35
45
|
end
|
36
46
|
end
|
@@ -20,10 +20,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module Logging
|
26
|
+
module Type
|
27
|
+
LogSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.LogSeverity").enummodule
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
23
33
|
module Google
|
24
34
|
module Logging
|
25
35
|
module Type
|
26
|
-
LogSeverity = ::Google::
|
36
|
+
LogSeverity = ::Google::Cloud::Logging::Type::LogSeverity
|
27
37
|
end
|
28
38
|
end
|
29
39
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/type/decimal.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/type/decimal.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.type.Decimal" do
|
9
|
+
optional :value, :string, 1
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module Google
|
15
|
+
module Type
|
16
|
+
Decimal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Decimal").msgclass
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/type/interval.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_file("google/type/interval.proto", :syntax => :proto3) do
|
9
|
+
add_message "google.type.Interval" do
|
10
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
11
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Type
|
18
|
+
Interval = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Interval").msgclass
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/type/localized_text.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/type/localized_text.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.type.LocalizedText" do
|
9
|
+
optional :text, :string, 1
|
10
|
+
optional :language_code, :string, 2
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Type
|
17
|
+
LocalizedText = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.LocalizedText").msgclass
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/type/phone_number.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/type/phone_number.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.type.PhoneNumber" do
|
9
|
+
optional :extension, :string, 3
|
10
|
+
oneof :kind do
|
11
|
+
optional :e164_number, :string, 1
|
12
|
+
optional :short_code, :message, 2, "google.type.PhoneNumber.ShortCode"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
add_message "google.type.PhoneNumber.ShortCode" do
|
16
|
+
optional :region_code, :string, 1
|
17
|
+
optional :number, :string, 2
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Type
|
24
|
+
PhoneNumber = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.PhoneNumber").msgclass
|
25
|
+
PhoneNumber::ShortCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.PhoneNumber.ShortCode").msgclass
|
26
|
+
end
|
27
|
+
end
|
@@ -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.3.0".freeze
|
21
|
+
end
|
22
|
+
end
|
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.0
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Google
|
7
|
+
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -16,56 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.14'
|
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.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.1'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.1'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: grpc-tools
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.27'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.27'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '13.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '13.0'
|
26
|
+
version: '3.14'
|
69
27
|
description: Common protocol buffer types used by Google APIs
|
70
28
|
email:
|
71
29
|
- googleapis-packages@google.com
|
@@ -73,12 +31,8 @@ executables: []
|
|
73
31
|
extensions: []
|
74
32
|
extra_rdoc_files: []
|
75
33
|
files:
|
76
|
-
- ".gitignore"
|
77
34
|
- CHANGELOG.md
|
78
|
-
- Gemfile
|
79
35
|
- README.md
|
80
|
-
- Rakefile
|
81
|
-
- googleapis-common-protos-types.gemspec
|
82
36
|
- lib/google/api/annotations_pb.rb
|
83
37
|
- lib/google/api/auth_pb.rb
|
84
38
|
- lib/google/api/backend_pb.rb
|
@@ -91,6 +45,7 @@ files:
|
|
91
45
|
- lib/google/api/distribution_pb.rb
|
92
46
|
- lib/google/api/documentation_pb.rb
|
93
47
|
- lib/google/api/endpoint_pb.rb
|
48
|
+
- lib/google/api/error_reason_pb.rb
|
94
49
|
- lib/google/api/field_behavior_pb.rb
|
95
50
|
- lib/google/api/http_pb.rb
|
96
51
|
- lib/google/api/httpbody_pb.rb
|
@@ -103,10 +58,12 @@ files:
|
|
103
58
|
- lib/google/api/monitoring_pb.rb
|
104
59
|
- lib/google/api/quota_pb.rb
|
105
60
|
- lib/google/api/resource_pb.rb
|
61
|
+
- lib/google/api/routing_pb.rb
|
106
62
|
- lib/google/api/service_pb.rb
|
107
63
|
- lib/google/api/source_info_pb.rb
|
108
64
|
- lib/google/api/system_parameter_pb.rb
|
109
65
|
- lib/google/api/usage_pb.rb
|
66
|
+
- lib/google/api/visibility_pb.rb
|
110
67
|
- lib/google/logging/type/http_request_pb.rb
|
111
68
|
- lib/google/logging/type/log_severity_pb.rb
|
112
69
|
- lib/google/longrunning/operations_pb.rb
|
@@ -118,14 +75,19 @@ files:
|
|
118
75
|
- lib/google/type/date_pb.rb
|
119
76
|
- lib/google/type/datetime_pb.rb
|
120
77
|
- lib/google/type/dayofweek_pb.rb
|
78
|
+
- lib/google/type/decimal_pb.rb
|
121
79
|
- lib/google/type/expr_pb.rb
|
122
80
|
- lib/google/type/fraction_pb.rb
|
81
|
+
- lib/google/type/interval_pb.rb
|
123
82
|
- lib/google/type/latlng_pb.rb
|
83
|
+
- lib/google/type/localized_text_pb.rb
|
124
84
|
- lib/google/type/money_pb.rb
|
125
85
|
- lib/google/type/month_pb.rb
|
86
|
+
- lib/google/type/phone_number_pb.rb
|
126
87
|
- lib/google/type/postal_address_pb.rb
|
127
88
|
- lib/google/type/quaternion_pb.rb
|
128
89
|
- lib/google/type/timeofday_pb.rb
|
90
|
+
- lib/googleapis/common/protos/types/version.rb
|
129
91
|
homepage: https://github.com/googleapis/common-protos-ruby
|
130
92
|
licenses:
|
131
93
|
- Apache-2.0
|
@@ -138,15 +100,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
138
100
|
requirements:
|
139
101
|
- - ">="
|
140
102
|
- !ruby/object:Gem::Version
|
141
|
-
version: '
|
103
|
+
version: '2.3'
|
142
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
105
|
requirements:
|
144
106
|
- - ">="
|
145
107
|
- !ruby/object:Gem::Version
|
146
108
|
version: '0'
|
147
109
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
110
|
+
rubygems_version: 3.2.17
|
149
111
|
signing_key:
|
150
112
|
specification_version: 4
|
151
|
-
summary: Common
|
113
|
+
summary: Common protocol buffer types used in Google APIs
|
152
114
|
test_files: []
|
data/.gitignore
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Copyright 2018 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
|
-
require 'bundler/gem_tasks'
|
18
|
-
|
19
|
-
desc "Compile the necessary protobuf files."
|
20
|
-
task :compile_protos do
|
21
|
-
Rake::Task[:clean_protos].invoke
|
22
|
-
FileUtils.mkdir 'lib'
|
23
|
-
|
24
|
-
protos = [
|
25
|
-
"../googleapis/google/api/*.proto",
|
26
|
-
"../googleapis/google/logging/type/*.proto",
|
27
|
-
"../googleapis/google/longrunning/*.proto",
|
28
|
-
"../googleapis/google/rpc/*.proto",
|
29
|
-
"../googleapis/google/type/*.proto",
|
30
|
-
]
|
31
|
-
|
32
|
-
command = []
|
33
|
-
command << "grpc_tools_ruby_protoc"
|
34
|
-
command << "--ruby_out=lib"
|
35
|
-
command << "-I ../googleapis"
|
36
|
-
command += protos
|
37
|
-
full_command = command.join " "
|
38
|
-
|
39
|
-
puts full_command
|
40
|
-
system full_command
|
41
|
-
end
|
42
|
-
|
43
|
-
desc "Remove the compiled protos."
|
44
|
-
task :clean_protos do
|
45
|
-
FileUtils.rm_rf "lib"
|
46
|
-
end
|
47
|
-
|
48
|
-
desc "Run the CI build"
|
49
|
-
task :ci do
|
50
|
-
puts "\nCompiling Protos\n"
|
51
|
-
Rake::Task[:compile_protos].invoke
|
52
|
-
end
|
53
|
-
|
54
|
-
Rake::Task[:build].enhance [:compile_protos]
|
55
|
-
Rake::Task[:clean].enhance [:clean_protos]
|
56
|
-
|
57
|
-
task default: :ci
|
@@ -1,43 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Copyright 2018 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
|
-
Gem::Specification.new do |spec|
|
18
|
-
spec.name = "googleapis-common-protos-types"
|
19
|
-
spec.version = "1.0.5"
|
20
|
-
spec.authors = ["Google Inc"]
|
21
|
-
spec.email = ["googleapis-packages@google.com"]
|
22
|
-
spec.licenses = ["Apache-2.0"]
|
23
|
-
|
24
|
-
spec.description = "Common protocol buffer types used by Google APIs"
|
25
|
-
spec.summary = "Common protobuf types used in Google APIs"
|
26
|
-
spec.homepage = "https://github.com/googleapis/common-protos-ruby"
|
27
|
-
|
28
|
-
# Specify which files should be added to the gem when it is released. The `git
|
29
|
-
# ls-files -z` loads the files in the RubyGem that have been added into git.
|
30
|
-
spec.files = Dir.chdir File.expand_path(__dir__) do
|
31
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
32
|
-
f.match %r{^(test|spec|features)/}
|
33
|
-
end
|
34
|
-
end
|
35
|
-
spec.files += Dir.glob "lib/**/*_pb.rb"
|
36
|
-
spec.require_paths = ["lib"]
|
37
|
-
|
38
|
-
spec.add_dependency "google-protobuf", "~> 3.11"
|
39
|
-
|
40
|
-
spec.add_development_dependency "bundler", "~> 2.1"
|
41
|
-
spec.add_development_dependency "grpc-tools", "~> 1.27"
|
42
|
-
spec.add_development_dependency "rake", "~> 13.0"
|
43
|
-
end
|