google-gax 0.8.1 → 0.8.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69d46a87b7b4be034ce238a0cd0a32d110b8eb9c
|
|
4
|
+
data.tar.gz: 6ddea796a52bbaa2e55d87731f1613759433deed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 393ae91f2f33f7e1151ebd1f2c1d4022e4ada803e124b0353997b59068b23db06afaca79ce77894c2c6b373c2e5e0d12a80d5e8c03de81d53f0f37e799939f91
|
|
7
|
+
data.tar.gz: 08b0d72da6367746eee6e876c0c5c51b817a1a219d00d0ec01fb7d95f1f9cce65222ad952463a91eb8cb67d46195ee7fdfd0aa8cc14d2c111d605d98cd5a9c09
|
data/lib/google/gax/version.rb
CHANGED
|
@@ -1,16 +1,30 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
3
|
+
# Redistribution and use in source and binary forms, with or without
|
|
4
|
+
# modification, are permitted provided that the following conditions are
|
|
5
|
+
# met:
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# * Redistributions of source code must retain the above copyright
|
|
8
|
+
# notice, this list of conditions and the following disclaimer.
|
|
9
|
+
# * Redistributions in binary form must reproduce the above
|
|
10
|
+
# copyright notice, this list of conditions and the following disclaimer
|
|
11
|
+
# in the documentation and/or other materials provided with the
|
|
12
|
+
# distribution.
|
|
13
|
+
# * Neither the name of Google Inc. nor the names of its
|
|
14
|
+
# contributors may be used to endorse or promote products derived from
|
|
15
|
+
# this software without specific prior written permission.
|
|
8
16
|
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
17
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
18
|
+
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
19
|
+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
20
|
+
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
21
|
+
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
22
|
+
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
23
|
+
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
24
|
+
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
25
|
+
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26
|
+
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
+
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
14
28
|
#
|
|
15
29
|
# EDITING INSTRUCTIONS
|
|
16
30
|
# This file was generated from the file
|
|
@@ -26,6 +40,7 @@ require "json"
|
|
|
26
40
|
require "pathname"
|
|
27
41
|
|
|
28
42
|
require "google/gax"
|
|
43
|
+
|
|
29
44
|
require "google/longrunning/operations_pb"
|
|
30
45
|
|
|
31
46
|
module Google
|
|
@@ -75,6 +90,12 @@ module Google
|
|
|
75
90
|
# A Channel object through which to make calls.
|
|
76
91
|
# @param chan_creds [Grpc::ChannelCredentials]
|
|
77
92
|
# A ChannelCredentials for the setting up the RPC client.
|
|
93
|
+
# @param updater_proc [Proc]
|
|
94
|
+
# A function that transforms the metadata for requests, e.g., to give
|
|
95
|
+
# OAuth credentials.
|
|
96
|
+
# @param scopes [Array<String>]
|
|
97
|
+
# The OAuth scopes for this service. This parameter is ignored if
|
|
98
|
+
# an updater_proc is supplied.
|
|
78
99
|
# @param client_config[Hash]
|
|
79
100
|
# A Hash for call options for each method. See
|
|
80
101
|
# Google::Gax#construct_settings for the structure of
|
|
@@ -87,6 +108,7 @@ module Google
|
|
|
87
108
|
port: DEFAULT_SERVICE_PORT,
|
|
88
109
|
channel: nil,
|
|
89
110
|
chan_creds: nil,
|
|
111
|
+
updater_proc: nil,
|
|
90
112
|
scopes: ALL_SCOPES,
|
|
91
113
|
client_config: {},
|
|
92
114
|
timeout: DEFAULT_TIMEOUT,
|
|
@@ -107,7 +129,7 @@ module Google
|
|
|
107
129
|
|
|
108
130
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
|
109
131
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
|
110
|
-
google_api_client << " gapic/ gax/#{Google::Gax::VERSION}"
|
|
132
|
+
google_api_client << " gapic/0.6.8 gax/#{Google::Gax::VERSION}"
|
|
111
133
|
google_api_client << " grpc/#{GRPC::VERSION}"
|
|
112
134
|
google_api_client.freeze
|
|
113
135
|
|
|
@@ -132,6 +154,7 @@ module Google
|
|
|
132
154
|
port,
|
|
133
155
|
chan_creds: chan_creds,
|
|
134
156
|
channel: channel,
|
|
157
|
+
updater_proc: updater_proc,
|
|
135
158
|
scopes: scopes,
|
|
136
159
|
&Google::Longrunning::Operations::Stub.method(:new)
|
|
137
160
|
)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-gax
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.2
|
|
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: 2017-
|
|
11
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: googleauth
|