googleapis-common-protos 1.3.6 → 1.3.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 67b188f7265b79961667f8997c7ba1cf45c04282
4
- data.tar.gz: 56dd98e4deb84fdc28ca4d55fc68275d34445dac
2
+ SHA256:
3
+ metadata.gz: bbf77912892bdc106cf41b31d115e9aab9eea496b5e8f283a55b187c40f23a58
4
+ data.tar.gz: f2830fb7a233db9653c448688ba30b89311ebb30fa30b3f0a3c927884e13c9ee
5
5
  SHA512:
6
- metadata.gz: 6d0e56865cd1f43ae62b2d4a95d5dc8f1fe65b67809bc0205877aa01c023f662735e83a79cf1bc258c5b60486578c184c26139258f7ee8e41617b0a9604fd309
7
- data.tar.gz: 9e31cdec7da9f46a20dae7f7e64cbf201aaaf068e923b71212a6849523a53f10611f848c1f65dc5805f7ab0a8d1544e228ba3417a53ebb4347f2c4259bc29424
6
+ metadata.gz: 076f91b3766d048c598871c57f8a7a627decca268e8e9b1ecf4e2cca8982df6c5a67db3b91b71a9149521ed07f05863282c6fa0cf07e8ab5a5563e4f4071ea19
7
+ data.tar.gz: 8d9cf9ccc1a1df37bc4c328f809ea491babbd2558d4481dcca812d3fc4a99e36d34c26183bd32455ff965cfa13db01ac4c80b2fe5a9979120553deb44de0c10b
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ Gemfile.lock
2
+ .DS_STORE
3
+ /.bundle/
4
+ /.yardoc
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
data/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # Release History
2
+
3
+ ### 1.3.11 / 2021-02-01
4
+
5
+ * Fully qualify proto names internally.
6
+ * Update googleapis-common-protos-types dependency to 1.0.6.
7
+ * Require protobuf 3.14.
8
+
9
+ ### 1.3.10 / 2020-04-08
10
+
11
+ * Update googleapis-common-protos-types dependency to 1.0.5.
12
+ * Require protobuf 3.11.
13
+
14
+ ### 1.3.9 / 2019-04-03
15
+
16
+ * Add WaitOperation RPC to operations_services_pb.rb and update documentation.
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ gemspec
6
+
7
+ gem "googleapis-common-protos-types", path: "../googleapis-common-protos-types"
data/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # Common Services
2
+
3
+ This gem contains common gRPC services for Google APIs.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'googleapis-common-protos'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install googleapis-common-protos
data/Rakefile ADDED
@@ -0,0 +1,63 @@
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/longrunning/operations.proto"
26
+ ]
27
+
28
+ command = []
29
+ command << "grpc_tools_ruby_protoc"
30
+ command << "--grpc_out=lib"
31
+ command << "-I ../googleapis"
32
+ command += protos
33
+ full_command = command.join " "
34
+
35
+ puts full_command
36
+ system full_command
37
+ end
38
+
39
+ desc "Test loading all proto files"
40
+ task :test_loading do
41
+ puts "\nLoading proto files"
42
+ Dir.glob("lib/google/**/*_pb.rb") do |path|
43
+ puts path
44
+ require_relative path
45
+ end
46
+ end
47
+
48
+ desc "Remove the compiled protos."
49
+ task :clean_protos do
50
+ FileUtils.rm_rf "lib"
51
+ end
52
+
53
+ desc "Run the CI build"
54
+ task :ci do
55
+ puts "\nCompiling Protos\n"
56
+ Rake::Task[:compile_protos].invoke
57
+ Rake::Task[:test_loading].invoke
58
+ end
59
+
60
+ Rake::Task[:build].enhance [:compile_protos]
61
+ Rake::Task[:clean].enhance [:clean_protos]
62
+
63
+ task default: :ci
@@ -0,0 +1,44 @@
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"
19
+ spec.version = "1.3.11"
20
+ spec.authors = ["Google Inc"]
21
+ spec.email = ["googleapis-packages@google.com"]
22
+ spec.licenses = ["Apache-2.0"]
23
+
24
+ spec.summary = "Common gRPC and protocol buffer classes used in Google APIs"
25
+ spec.homepage = "https://github.com/googleapis/common-protos-ruby"
26
+
27
+ # Specify which files should be added to the gem when it is released. The `git
28
+ # ls-files -z` loads the files in the RubyGem that have been added into git.
29
+ spec.files = Dir.chdir File.expand_path(__dir__) do
30
+ `git ls-files -z`.split("\x0").reject do |f|
31
+ f.match %r{^(test|spec|features)/}
32
+ end
33
+ end
34
+ spec.files += Dir.glob "lib/**/*_pb.rb"
35
+ spec.require_paths = ["lib"]
36
+
37
+ spec.add_dependency "googleapis-common-protos-types", ">= 1.0.6", "< 2.0"
38
+ spec.add_dependency "google-protobuf", "~> 3.14"
39
+ spec.add_dependency "grpc", "~> 1.27"
40
+
41
+ spec.add_development_dependency "bundler", "~> 2.1"
42
+ spec.add_development_dependency "grpc-tools", "~> 1.27"
43
+ spec.add_development_dependency "rake", "~> 13.0"
44
+ end
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/longrunning/operations.proto for package 'google.longrunning'
3
3
  # Original file comments:
4
- # Copyright 2016 Google Inc.
4
+ # Copyright 2019 Google LLC.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -42,18 +42,23 @@ module Google
42
42
  # Lists operations that match the specified filter in the request. If the
43
43
  # server doesn't support this method, it returns `UNIMPLEMENTED`.
44
44
  #
45
- # NOTE: the `name` binding below allows API services to override the binding
46
- # to use different resource name schemes, such as `users/*/operations`.
47
- rpc :ListOperations, ListOperationsRequest, ListOperationsResponse
45
+ # NOTE: the `name` binding allows API services to override the binding
46
+ # to use different resource name schemes, such as `users/*/operations`. To
47
+ # override the binding, API services can add a binding such as
48
+ # `"/v1/{name=users/*}/operations"` to their service configuration.
49
+ # For backwards compatibility, the default name includes the operations
50
+ # collection id, however overriding users must ensure the name binding
51
+ # is the parent resource, without the operations collection id.
52
+ rpc :ListOperations, ::Google::Longrunning::ListOperationsRequest, ::Google::Longrunning::ListOperationsResponse
48
53
  # Gets the latest state of a long-running operation. Clients can use this
49
54
  # method to poll the operation result at intervals as recommended by the API
50
55
  # service.
51
- rpc :GetOperation, GetOperationRequest, Operation
56
+ rpc :GetOperation, ::Google::Longrunning::GetOperationRequest, ::Google::Longrunning::Operation
52
57
  # Deletes a long-running operation. This method indicates that the client is
53
58
  # no longer interested in the operation result. It does not cancel the
54
59
  # operation. If the server doesn't support this method, it returns
55
60
  # `google.rpc.Code.UNIMPLEMENTED`.
56
- rpc :DeleteOperation, DeleteOperationRequest, Google::Protobuf::Empty
61
+ rpc :DeleteOperation, ::Google::Longrunning::DeleteOperationRequest, ::Google::Protobuf::Empty
57
62
  # Starts asynchronous cancellation on a long-running operation. The server
58
63
  # makes a best effort to cancel the operation, but success is not
59
64
  # guaranteed. If the server doesn't support this method, it returns
@@ -64,7 +69,17 @@ module Google
64
69
  # the operation is not deleted; instead, it becomes an operation with
65
70
  # an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
66
71
  # corresponding to `Code.CANCELLED`.
67
- rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
72
+ rpc :CancelOperation, ::Google::Longrunning::CancelOperationRequest, ::Google::Protobuf::Empty
73
+ # Waits for the specified long-running operation until it is done or reaches
74
+ # at most a specified timeout, returning the latest state. If the operation
75
+ # is already done, the latest state is immediately returned. If the timeout
76
+ # specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
77
+ # timeout is used. If the server does not support this method, it returns
78
+ # `google.rpc.Code.UNIMPLEMENTED`.
79
+ # Note that this method is on a best-effort basis. It may return the latest
80
+ # state before the specified timeout (including immediately), meaning even an
81
+ # immediate response is no guarantee that the operation is done.
82
+ rpc :WaitOperation, ::Google::Longrunning::WaitOperationRequest, ::Google::Longrunning::Operation
68
83
  end
69
84
 
70
85
  Stub = Service.rpc_stub_class
metadata CHANGED
@@ -1,93 +1,120 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleapis-common-protos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-11 00:00:00.000000000 Z
11
+ date: 2021-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: google-protobuf
14
+ name: googleapis-common-protos-types
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: 1.0.6
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '2.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: '3.0'
29
+ version: 1.0.6
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '2.0'
27
33
  - !ruby/object:Gem::Dependency
28
- name: googleapis-common-protos-types
34
+ name: google-protobuf
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '1.0'
39
+ version: '3.14'
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '1.0'
46
+ version: '3.14'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: grpc
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '1.0'
53
+ version: '1.27'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '1.0'
60
+ version: '1.27'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: bundler
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '1.9'
67
+ version: '2.1'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '2.1'
75
+ - !ruby/object:Gem::Dependency
76
+ name: grpc-tools
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.27'
62
82
  type: :development
63
83
  prerelease: false
64
84
  version_requirements: !ruby/object:Gem::Requirement
65
85
  requirements:
66
86
  - - "~>"
67
87
  - !ruby/object:Gem::Version
68
- version: '1.9'
88
+ version: '1.27'
69
89
  - !ruby/object:Gem::Dependency
70
90
  name: rake
71
91
  requirement: !ruby/object:Gem::Requirement
72
92
  requirements:
73
93
  - - "~>"
74
94
  - !ruby/object:Gem::Version
75
- version: '10.4'
95
+ version: '13.0'
76
96
  type: :development
77
97
  prerelease: false
78
98
  version_requirements: !ruby/object:Gem::Requirement
79
99
  requirements:
80
100
  - - "~>"
81
101
  - !ruby/object:Gem::Version
82
- version: '10.4'
83
- description: Common gRPC and protocol buffer classes used in Google APIs
84
- email: googleapis-packages@google.com
102
+ version: '13.0'
103
+ description:
104
+ email:
105
+ - googleapis-packages@google.com
85
106
  executables: []
86
107
  extensions: []
87
108
  extra_rdoc_files: []
88
109
  files:
110
+ - ".gitignore"
111
+ - CHANGELOG.md
112
+ - Gemfile
113
+ - README.md
114
+ - Rakefile
115
+ - googleapis-common-protos.gemspec
89
116
  - lib/google/longrunning/operations_services_pb.rb
90
- homepage: https://github.com/googleapis/googleapis
117
+ homepage: https://github.com/googleapis/common-protos-ruby
91
118
  licenses:
92
119
  - Apache-2.0
93
120
  metadata: {}
@@ -99,15 +126,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
126
  requirements:
100
127
  - - ">="
101
128
  - !ruby/object:Gem::Version
102
- version: 2.0.0
129
+ version: '0'
103
130
  required_rubygems_version: !ruby/object:Gem::Requirement
104
131
  requirements:
105
132
  - - ">="
106
133
  - !ruby/object:Gem::Version
107
134
  version: '0'
108
135
  requirements: []
109
- rubyforge_project:
110
- rubygems_version: 2.4.8
136
+ rubygems_version: 3.1.4
111
137
  signing_key:
112
138
  specification_version: 4
113
139
  summary: Common gRPC and protocol buffer classes used in Google APIs