googleapis-common-protos-types 1.0.4 → 1.2.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.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +38 -2
  3. data/lib/google/api/annotations_pb.rb +2 -0
  4. data/lib/google/api/auth_pb.rb +39 -29
  5. data/lib/google/api/backend_pb.rb +24 -20
  6. data/lib/google/api/billing_pb.rb +10 -9
  7. data/lib/google/api/client_pb.rb +2 -0
  8. data/lib/google/api/config_change_pb.rb +20 -18
  9. data/lib/google/api/consumer_pb.rb +19 -17
  10. data/lib/google/api/context_pb.rb +13 -11
  11. data/lib/google/api/control_pb.rb +5 -3
  12. data/lib/google/api/distribution_pb.rb +45 -43
  13. data/lib/google/api/documentation_pb.rb +22 -19
  14. data/lib/google/api/endpoint_pb.rb +8 -8
  15. data/lib/google/api/error_reason_pb.rb +37 -0
  16. data/lib/google/api/field_behavior_pb.rb +12 -8
  17. data/lib/google/api/http_pb.rb +25 -23
  18. data/lib/google/api/httpbody_pb.rb +7 -5
  19. data/lib/google/api/label_pb.rb +13 -11
  20. data/lib/google/api/launch_stage_pb.rb +12 -8
  21. data/lib/google/api/log_pb.rb +8 -6
  22. data/lib/google/api/logging_pb.rb +11 -10
  23. data/lib/google/api/metric_pb.rb +43 -39
  24. data/lib/google/api/monitored_resource_pb.rb +21 -17
  25. data/lib/google/api/monitoring_pb.rb +11 -10
  26. data/lib/google/api/quota_pb.rb +24 -23
  27. data/lib/google/api/resource_pb.rb +27 -4
  28. data/lib/google/api/service_pb.rb +30 -30
  29. data/lib/google/api/source_info_pb.rb +5 -3
  30. data/lib/google/api/system_parameter_pb.rb +16 -14
  31. data/lib/google/api/usage_pb.rb +13 -12
  32. data/lib/google/api/visibility_pb.rb +23 -0
  33. data/lib/google/cloud/extended_operations_pb.rb +22 -0
  34. data/lib/google/logging/type/http_request_pb.rb +30 -18
  35. data/lib/google/logging/type/log_severity_pb.rb +23 -11
  36. data/lib/google/longrunning/operations_pb.rb +45 -42
  37. data/lib/google/rpc/code_pb.rb +21 -19
  38. data/lib/google/rpc/error_details_pb.rb +70 -62
  39. data/lib/google/rpc/status_pb.rb +7 -5
  40. data/lib/google/type/calendar_period_pb.rb +12 -10
  41. data/lib/google/type/color_pb.rb +8 -6
  42. data/lib/google/type/date_pb.rb +7 -5
  43. data/lib/google/type/datetime_pb.rb +34 -0
  44. data/lib/google/type/dayofweek_pb.rb +12 -10
  45. data/lib/google/type/decimal_pb.rb +18 -0
  46. data/lib/google/type/expr_pb.rb +8 -6
  47. data/lib/google/type/fraction_pb.rb +6 -4
  48. data/lib/google/type/interval_pb.rb +20 -0
  49. data/lib/google/type/latlng_pb.rb +6 -4
  50. data/lib/google/type/localized_text_pb.rb +19 -0
  51. data/lib/google/type/money_pb.rb +7 -5
  52. data/lib/google/type/month_pb.rb +30 -0
  53. data/lib/google/type/phone_number_pb.rb +27 -0
  54. data/lib/google/type/postal_address_pb.rb +15 -13
  55. data/lib/google/type/quaternion_pb.rb +8 -6
  56. data/lib/google/type/timeofday_pb.rb +8 -6
  57. data/lib/googleapis/common/protos/types/version.rb +23 -0
  58. metadata +19 -56
  59. data/.gitignore +0 -10
  60. data/Gemfile +0 -6
  61. data/Rakefile +0 -57
  62. data/googleapis-common-protos-types.gemspec +0 -43
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- Gemfile.lock
2
- .DS_STORE
3
- /.bundle/
4
- /.yardoc
5
- /_yardoc/
6
- /coverage/
7
- /doc/
8
- /pkg/
9
- /spec/reports/
10
- /tmp/
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in api-common-protos-ruby.gemspec
6
- gemspec
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