google-cloud-location 0.3.beta.2 → 0.3.beta.3
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/lib/google/cloud/location/locations/rest/client.rb +4 -12
- data/lib/google/cloud/location/locations/rest/service_stub.rb +3 -1
- data/lib/google/cloud/location/locations.rb +2 -2
- data/lib/google/cloud/location/version.rb +1 -1
- data/lib/google/cloud/location.rb +3 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f528e84a74ea32718bdaa049325d1b88651bb6f35e2d07c87c4c585ef873f02
|
4
|
+
data.tar.gz: 7bcdb13de741dd61b024ed5903dde686d5bdfaa725747fa4fd4142888d62952a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 708d3b675e987eb2909b88f65c054968baa04710f5f34a764d65cec3196381e706060d40747a1d281213026d4cb23b4ddeda89a65de9fb7eb71f39a84b6b7703
|
7
|
+
data.tar.gz: 51524d30d9e86a69b0425db4e8f3c364f9dd8a56bbf89980ac93625649585bad5a2c59962053a3d2f6dc988fe943ad3aeb427ed8df4946386043b0566eddc9ab
|
@@ -201,12 +201,8 @@ module Google
|
|
201
201
|
yield result, response if block_given?
|
202
202
|
return result
|
203
203
|
end
|
204
|
-
rescue ::
|
205
|
-
|
206
|
-
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
207
|
-
rescue ::Gapic::Rest::Error => gapic_error
|
208
|
-
raise ::Google::Cloud::Error.from_error gapic_error
|
209
|
-
end
|
204
|
+
rescue ::Gapic::Rest::Error => e
|
205
|
+
raise ::Google::Cloud::Error.from_error(e)
|
210
206
|
end
|
211
207
|
|
212
208
|
##
|
@@ -269,12 +265,8 @@ module Google
|
|
269
265
|
yield result, response if block_given?
|
270
266
|
return result
|
271
267
|
end
|
272
|
-
rescue ::
|
273
|
-
|
274
|
-
raise ::Gapic::Rest::Error.wrap_faraday_error e
|
275
|
-
rescue ::Gapic::Rest::Error => gapic_error
|
276
|
-
raise ::Google::Cloud::Error.from_error gapic_error
|
277
|
-
end
|
268
|
+
rescue ::Gapic::Rest::Error => e
|
269
|
+
raise ::Google::Cloud::Error.from_error(e)
|
278
270
|
end
|
279
271
|
|
280
272
|
##
|
@@ -34,7 +34,9 @@ module Google
|
|
34
34
|
# the REST modules only when it's required.
|
35
35
|
require "gapic/rest"
|
36
36
|
|
37
|
-
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
|
37
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
|
38
|
+
numeric_enums: true,
|
39
|
+
raise_faraday_errors: false
|
38
40
|
end
|
39
41
|
|
40
42
|
##
|
@@ -34,12 +34,12 @@ module Google
|
|
34
34
|
# a service. Service-specific metadata is provided through the
|
35
35
|
# {::Google::Cloud::Location::Location#metadata Location.metadata} field.
|
36
36
|
#
|
37
|
-
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
38
38
|
#
|
39
39
|
# require "google/cloud/location/locations"
|
40
40
|
# client = ::Google::Cloud::Location::Locations::Client.new
|
41
41
|
#
|
42
|
-
#
|
42
|
+
# @example Load this service and instantiate a REST client
|
43
43
|
#
|
44
44
|
# require "google/cloud/location/locations/rest"
|
45
45
|
# client = ::Google::Cloud::Location::Locations::Rest::Client.new
|
@@ -22,17 +22,14 @@ require "google/cloud/location/version"
|
|
22
22
|
module Google
|
23
23
|
module Cloud
|
24
24
|
##
|
25
|
-
#
|
25
|
+
# API client module.
|
26
26
|
#
|
27
|
-
# @example
|
27
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
28
28
|
#
|
29
29
|
# require "google/cloud/location"
|
30
30
|
# client = ::Google::Cloud::Location::Locations::Client.new
|
31
31
|
#
|
32
|
-
|
33
|
-
# To load this package, including all its services, and instantiate a REST client:
|
34
|
-
#
|
35
|
-
# @example
|
32
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
36
33
|
#
|
37
34
|
# require "google/cloud/location"
|
38
35
|
# client = ::Google::Cloud::Location::Locations::Rest::Client.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-location
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.beta.
|
4
|
+
version: 0.3.beta.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.16.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.16.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|