google-cloud-location 0.3.beta.2 → 0.3.beta.3

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
2
  SHA256:
3
- metadata.gz: 024b4e76ec465464831b0d0a7bf112f073af6b876f1b018f943affda9fb968e4
4
- data.tar.gz: 4018f03d8ca6d9d47b5bb679543a797e2028064a9af0be6d04c1191bd5d46969
3
+ metadata.gz: 5f528e84a74ea32718bdaa049325d1b88651bb6f35e2d07c87c4c585ef873f02
4
+ data.tar.gz: 7bcdb13de741dd61b024ed5903dde686d5bdfaa725747fa4fd4142888d62952a
5
5
  SHA512:
6
- metadata.gz: a5b67aabc4189ac9715875a454c20db1f6d2303cd5afe83ad565b9cba0efd9695d14f9245e2ee7c671001778dcfe92c104cbb7542a070d60872671e5df8a11f7
7
- data.tar.gz: b249ed3ea3c938a3a769de8cdf24dd6feea216babeb33c77400218507cf6fbb09f57d47a721ed3754cf1c188ca03317854344cfcac3e90a26d2a0fde28b3d3c3
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 ::Faraday::Error => e
205
- begin
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 ::Faraday::Error => e
273
- begin
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, numeric_enums: true
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
- # To load this service and instantiate a GRPC client:
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
- # To load this service and instantiate a REST client:
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
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Location
23
- VERSION = "0.3.beta.2"
23
+ VERSION = "0.3.beta.3"
24
24
  end
25
25
  end
26
26
  end
@@ -22,17 +22,14 @@ require "google/cloud/location/version"
22
22
  module Google
23
23
  module Cloud
24
24
  ##
25
- # To load this package, including all its services, and instantiate a GRPC client:
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.2
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-09 00:00:00.000000000 Z
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: '0.12'
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: '0.12'
29
+ version: 0.16.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a