googleapis-common-protos-types 1.0.4 → 1.2.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 +38 -2
- data/lib/google/api/annotations_pb.rb +2 -0
- data/lib/google/api/auth_pb.rb +39 -29
- data/lib/google/api/backend_pb.rb +24 -20
- data/lib/google/api/billing_pb.rb +10 -9
- data/lib/google/api/client_pb.rb +2 -0
- data/lib/google/api/config_change_pb.rb +20 -18
- data/lib/google/api/consumer_pb.rb +19 -17
- data/lib/google/api/context_pb.rb +13 -11
- data/lib/google/api/control_pb.rb +5 -3
- data/lib/google/api/distribution_pb.rb +45 -43
- data/lib/google/api/documentation_pb.rb +22 -19
- data/lib/google/api/endpoint_pb.rb +8 -8
- data/lib/google/api/error_reason_pb.rb +37 -0
- data/lib/google/api/field_behavior_pb.rb +12 -8
- data/lib/google/api/http_pb.rb +25 -23
- data/lib/google/api/httpbody_pb.rb +7 -5
- data/lib/google/api/label_pb.rb +13 -11
- data/lib/google/api/launch_stage_pb.rb +12 -8
- data/lib/google/api/log_pb.rb +8 -6
- data/lib/google/api/logging_pb.rb +11 -10
- data/lib/google/api/metric_pb.rb +43 -39
- data/lib/google/api/monitored_resource_pb.rb +21 -17
- data/lib/google/api/monitoring_pb.rb +11 -10
- data/lib/google/api/quota_pb.rb +24 -23
- data/lib/google/api/resource_pb.rb +27 -4
- data/lib/google/api/service_pb.rb +30 -30
- data/lib/google/api/source_info_pb.rb +5 -3
- data/lib/google/api/system_parameter_pb.rb +16 -14
- data/lib/google/api/usage_pb.rb +13 -12
- data/lib/google/api/visibility_pb.rb +23 -0
- data/lib/google/cloud/extended_operations_pb.rb +22 -0
- data/lib/google/logging/type/http_request_pb.rb +30 -18
- data/lib/google/logging/type/log_severity_pb.rb +23 -11
- data/lib/google/longrunning/operations_pb.rb +45 -42
- data/lib/google/rpc/code_pb.rb +21 -19
- data/lib/google/rpc/error_details_pb.rb +70 -62
- data/lib/google/rpc/status_pb.rb +7 -5
- data/lib/google/type/calendar_period_pb.rb +12 -10
- data/lib/google/type/color_pb.rb +8 -6
- data/lib/google/type/date_pb.rb +7 -5
- data/lib/google/type/datetime_pb.rb +34 -0
- data/lib/google/type/dayofweek_pb.rb +12 -10
- data/lib/google/type/decimal_pb.rb +18 -0
- data/lib/google/type/expr_pb.rb +8 -6
- data/lib/google/type/fraction_pb.rb +6 -4
- data/lib/google/type/interval_pb.rb +20 -0
- data/lib/google/type/latlng_pb.rb +6 -4
- data/lib/google/type/localized_text_pb.rb +19 -0
- data/lib/google/type/money_pb.rb +7 -5
- data/lib/google/type/month_pb.rb +30 -0
- data/lib/google/type/phone_number_pb.rb +27 -0
- data/lib/google/type/postal_address_pb.rb +15 -13
- data/lib/google/type/quaternion_pb.rb +8 -6
- data/lib/google/type/timeofday_pb.rb +8 -6
- data/lib/googleapis/common/protos/types/version.rb +23 -0
- metadata +19 -56
- data/.gitignore +0 -10
- data/Gemfile +0 -6
- data/Rakefile +0 -57
- data/googleapis-common-protos-types.gemspec +0 -43
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.4"
|
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/googleapis"
|
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.0"
|
39
|
-
|
40
|
-
spec.add_development_dependency "bundler", "~> 1.15"
|
41
|
-
spec.add_development_dependency "grpc-tools", "~> 1.18"
|
42
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
43
|
-
end
|