google-cloud-location 0.3.beta.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/location/locations/client.rb +1 -1
- data/lib/google/cloud/location/locations/rest/client.rb +5 -13
- data/lib/google/cloud/location/locations/rest/service_stub.rb +4 -2
- data/lib/google/cloud/location/locations/rest.rb +1 -1
- data/lib/google/cloud/location/locations.rb +2 -2
- data/lib/google/cloud/location/rest.rb +1 -1
- data/lib/google/cloud/location/version.rb +1 -1
- data/lib/google/cloud/location.rb +3 -6
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b51c8c3c2f29e8eb76b9226050de544a88eb4402fede2db79aebe4a7bd9d982
|
4
|
+
data.tar.gz: f33fddcf244d7501d3b1a9e7bfad69036989808c5bf54bb0cadc39066a6757e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb2f8eb46e52a7e1e49a45539c061c743dca6e76c45a4103e4ae08e28e114767f594b2da6948b4d3676aeae5eeaf260a6341aff657cc139b6f2cf5d2250ab14e
|
7
|
+
data.tar.gz: cd0ddf5188a5789eed83b26c3c7204490a84183b643b169ba30aabebb69b408932c3a9b8d2edbf842902951da9458fdef14ab42f0b30cc102e722f39adcded8f
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright 2023 Google LLC
|
4
4
|
#
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
6
|
# you may not use this file except in compliance with the License.
|
@@ -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
|
##
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright 2023 Google LLC
|
4
4
|
#
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
6
|
# you may not use this file except in compliance with the License.
|
@@ -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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-17 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
|
@@ -190,7 +190,7 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
190
190
|
licenses:
|
191
191
|
- Apache-2.0
|
192
192
|
metadata: {}
|
193
|
-
post_install_message:
|
193
|
+
post_install_message:
|
194
194
|
rdoc_options: []
|
195
195
|
require_paths:
|
196
196
|
- lib
|
@@ -201,12 +201,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
201
201
|
version: '2.6'
|
202
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
|
-
- - "
|
204
|
+
- - ">="
|
205
205
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
206
|
+
version: '0'
|
207
207
|
requirements: []
|
208
|
-
rubygems_version: 3.
|
209
|
-
signing_key:
|
208
|
+
rubygems_version: 3.4.2
|
209
|
+
signing_key:
|
210
210
|
specification_version: 4
|
211
211
|
summary: API Client library for the Locations API
|
212
212
|
test_files: []
|