googleapis-common-protos 1.3.8 → 1.3.12

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: 29ea36722894f9410328e495342d87d6310351e4
4
- data.tar.gz: e6e5a9e3a1eceaf950b66ca594b1ae787e7ae82c
2
+ SHA256:
3
+ metadata.gz: dbaf3946773a4a4da950a0edb97eb5353b5796bd4c5df17d5e2e115b8b1ae1f9
4
+ data.tar.gz: 828721981b569774a828e26dbfb4233fb3270a7185328d0451fc6088a0de4cd5
5
5
  SHA512:
6
- metadata.gz: a82118e22204bc6de377875500689e5911c69cf2e50d77e75fe990fba5610e3172daaaca7fef104e8b39ea3232742710a7217045a506776d37fd94b83977d40b
7
- data.tar.gz: 89c05f2512c6d23f71d68ec469413eb5936d7d92b5ad0e95659cd2ae64c24235776dae6d0bd109576e793f9fe2d0d985df277608d8acc8e15de0316a6e43a42b
6
+ metadata.gz: 237fbaae16543dd657657bbd4d3caa540aa61d9feec99fc2b1b67ba903f732f19597705c763cfef109832b32e68639beba6a18dcd217b00da85555c089fb848d
7
+ data.tar.gz: 5045b785dc8cced4bfade2442ff271d18e257aad491cb390ee1fcda2993b28aea4f34a5ec9c549a3c241a11063c8f1ed8d5078648ebfde495e3d23304b877b2f
data/CHANGELOG.md ADDED
@@ -0,0 +1,21 @@
1
+ # Release History
2
+
3
+ ## 1.3.12 (2021-09-03)
4
+
5
+ * Removed unnecessary files from the gem package
6
+ * Update googleapis-common-protos-types dependency to 1.2.
7
+
8
+ ## 1.3.11 / 2021-02-01
9
+
10
+ * Fully qualify proto names internally.
11
+ * Update googleapis-common-protos-types dependency to 1.0.6.
12
+ * Require protobuf 3.14.
13
+
14
+ ## 1.3.10 / 2020-04-08
15
+
16
+ * Update googleapis-common-protos-types dependency to 1.0.5.
17
+ * Require protobuf 3.11.
18
+
19
+ ## 1.3.9 / 2019-04-03
20
+
21
+ * Add WaitOperation RPC to operations_services_pb.rb and update documentation.
data/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ # Common Services
2
+
3
+ This gem contains common gRPC services for Google APIs.
4
+
1
5
  ## Installation
2
6
 
3
7
  Add this line to your application's Gemfile:
@@ -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 2020 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.
@@ -33,7 +33,7 @@ module Google
33
33
  # so developers can have a consistent client experience.
34
34
  class Service
35
35
 
36
- include GRPC::GenericService
36
+ include ::GRPC::GenericService
37
37
 
38
38
  self.marshal_class_method = :encode
39
39
  self.unmarshal_class_method = :decode
@@ -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 until the specified long-running operation is done or reaches at most
74
+ # a specified timeout, returning the latest state. If the operation is
75
+ # 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
@@ -0,0 +1,21 @@
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
+ VERSION = "1.3.12".freeze
20
+ end
21
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleapis-common-protos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.8
4
+ version: 1.3.12
5
5
  platform: ruby
6
6
  authors:
7
- - Google Inc
7
+ - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-07 00:00:00.000000000 Z
11
+ date: 2021-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: googleapis-common-protos-types
@@ -16,98 +16,54 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '1.2'
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: '1.0'
26
+ version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-protobuf
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.0'
33
+ version: '3.14'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.0'
40
+ version: '3.14'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: grpc
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.0'
47
+ version: '1.27'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
55
- - !ruby/object:Gem::Dependency
56
- name: bundler
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.15'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.15'
69
- - !ruby/object:Gem::Dependency
70
- name: grpc-tools
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.18'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.18'
83
- - !ruby/object:Gem::Dependency
84
- name: rake
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '10.0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '10.0'
97
- description:
54
+ version: '1.27'
55
+ description: Common gRPC and protocol buffer classes used in Google APIs
98
56
  email:
99
57
  - googleapis-packages@google.com
100
58
  executables: []
101
59
  extensions: []
102
60
  extra_rdoc_files: []
103
61
  files:
104
- - ".gitignore"
105
- - Gemfile
62
+ - CHANGELOG.md
106
63
  - README.md
107
- - Rakefile
108
- - googleapis-common-protos.gemspec
109
64
  - lib/google/longrunning/operations_services_pb.rb
110
- homepage: https://github.com/googleapis/googleapis
65
+ - lib/googleapis/common/protos/version.rb
66
+ homepage: https://github.com/googleapis/common-protos-ruby
111
67
  licenses:
112
68
  - Apache-2.0
113
69
  metadata: {}
@@ -119,15 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
75
  requirements:
120
76
  - - ">="
121
77
  - !ruby/object:Gem::Version
122
- version: '0'
78
+ version: '2.3'
123
79
  required_rubygems_version: !ruby/object:Gem::Requirement
124
80
  requirements:
125
81
  - - ">="
126
82
  - !ruby/object:Gem::Version
127
83
  version: '0'
128
84
  requirements: []
129
- rubyforge_project:
130
- rubygems_version: 2.6.14
85
+ rubygems_version: 3.2.17
131
86
  signing_key:
132
87
  specification_version: 4
133
88
  summary: Common gRPC and protocol buffer classes used in Google APIs
data/.gitignore DELETED
@@ -1,11 +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/
11
- /lib/
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,49 +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
- command = []
25
- command << "grpc_tools_ruby_protoc"
26
- command << "--grpc_out=lib"
27
- command << "-I ../googleapis"
28
- command << "../googleapis/google/longrunning/operations.proto"
29
- full_command = command.join " "
30
-
31
- puts full_command
32
- system full_command
33
- end
34
-
35
- desc "Remove the compiled protos."
36
- task :clean_protos do
37
- FileUtils.rm_rf "lib"
38
- end
39
-
40
- desc "Run the CI build"
41
- task :ci do
42
- puts "\nCompiling Protos\n"
43
- Rake::Task[:compile_protos].invoke
44
- end
45
-
46
- Rake::Task[:build].enhance [:compile_protos]
47
- Rake::Task[:clean].enhance [:clean_protos]
48
-
49
- task default: :ci
@@ -1,44 +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"
19
- spec.version = "1.3.8"
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/googleapis"
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"
38
- spec.add_dependency "google-protobuf", "~> 3.0"
39
- spec.add_dependency "grpc", "~> 1.0"
40
-
41
- spec.add_development_dependency "bundler", "~> 1.15"
42
- spec.add_development_dependency "grpc-tools", "~> 1.18"
43
- spec.add_development_dependency "rake", "~> 10.0"
44
- end