gapic-common 0.16.0 → 0.17.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/gapic/common/version.rb +1 -1
- data/lib/gapic/rest/server_stream.rb +1 -1
- data/lib/gapic/rest/transport_operation.rb +38 -0
- data/lib/gapic/rest.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 508b67fe556c18e32cab88da23a0097e425df549e288b72fec7d4a891b6c06f5
|
4
|
+
data.tar.gz: 29bbc436a310b93f2f043502344783835ba25ed91d5ac8523c190da0ecd019b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34e4be1fc16714c9afc6bd0d9ca832ae7409521d0ec9f10c41860e817c8ee28599d6853a0c84a780dc3e3fc19d33882068d613f2691d6ee99392b68f2c5dbe04
|
7
|
+
data.tar.gz: 6f130dd5c05535efc27e67f51a6b593082519a04601d69111db010d097e7c150501e9cee2845d4937c175fce79451f413b5e125e9f74d01f66634d74d6b9604a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 0.17.1 (2023-02-09)
|
4
|
+
|
5
|
+
#### Bug Fixes
|
6
|
+
|
7
|
+
* add new class to the rest imports ([#913](https://github.com/googleapis/gapic-generator-ruby/issues/913))
|
8
|
+
|
9
|
+
### 0.17.0 (2023-02-09)
|
10
|
+
|
11
|
+
#### Features
|
12
|
+
|
13
|
+
* add a transport operation class in Rest ([#911](https://github.com/googleapis/gapic-generator-ruby/issues/911))
|
14
|
+
|
3
15
|
### 0.16.0 (2022-12-12)
|
4
16
|
|
5
17
|
#### Features
|
data/lib/gapic/common/version.rb
CHANGED
@@ -0,0 +1,38 @@
|
|
1
|
+
# Copyright 2023 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Gapic
|
16
|
+
module Rest
|
17
|
+
##
|
18
|
+
# Surfaces information about the active call
|
19
|
+
# from the underlying transport library.
|
20
|
+
#
|
21
|
+
class TransportOperation
|
22
|
+
##
|
23
|
+
# @private
|
24
|
+
# The underlying transport's library object that describes the active call, if any.
|
25
|
+
# It is not guaranteed to be any specific type, and its value is not guarateed to be stable.
|
26
|
+
# @return [::Object, nil, ::Faraday::Response]
|
27
|
+
attr_reader :underlying_op
|
28
|
+
|
29
|
+
##
|
30
|
+
# @private
|
31
|
+
# @param request [::Object, nil, ::Faraday::Response]
|
32
|
+
# The underlying transport's library object that describes the active call, if any.
|
33
|
+
def initialize underlying_op
|
34
|
+
@underlying_op = underlying_op
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
data/lib/gapic/rest.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gapic-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google API Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -317,6 +317,7 @@ files:
|
|
317
317
|
- lib/gapic/rest/paged_enumerable.rb
|
318
318
|
- lib/gapic/rest/server_stream.rb
|
319
319
|
- lib/gapic/rest/threaded_enumerator.rb
|
320
|
+
- lib/gapic/rest/transport_operation.rb
|
320
321
|
- lib/gapic/stream_input.rb
|
321
322
|
homepage: https://github.com/googleapis/gapic-generator-ruby
|
322
323
|
licenses:
|
@@ -337,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
337
338
|
- !ruby/object:Gem::Version
|
338
339
|
version: '0'
|
339
340
|
requirements: []
|
340
|
-
rubygems_version: 3.
|
341
|
+
rubygems_version: 3.4.2
|
341
342
|
signing_key:
|
342
343
|
specification_version: 4
|
343
344
|
summary: Common code for GAPIC-generated API clients
|