google-apis-places_v1 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/places_v1/classes.rb +5 -4
- data/lib/google/apis/places_v1/gem_version.rb +2 -2
- data/lib/google/apis/places_v1/service.rb +2 -2
- 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: 43e67fe6159436e799aefe6ca0c23937c480280afb49d1f6db78546f8326563c
|
4
|
+
data.tar.gz: e47344665f6b7bbe1d8fcc371b3136b8bbc410c74f3582a541bdf2c2fdebb51e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a98d9ef6af0f63d4b00c1b6bcaceeec3044c14b2c8ccc09f55cfeb549bad53e1983d16dd8e0eb04fb17b9cca80e8a26cf83afca46c2664eb7d85e7c105853706
|
7
|
+
data.tar.gz: befd4f0cc1360631bd9d8e2f2f17faedadbf16cb2d493f316205724ac0a8d600513628c522679031bca56454d58864a52ba990fc9415149aeba55ae608b45380
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-places_v1
|
2
2
|
|
3
|
+
### v0.4.0 (2023-08-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230822
|
6
|
+
|
7
|
+
### v0.3.0 (2023-08-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230806
|
10
|
+
|
3
11
|
### v0.2.0 (2023-08-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230801
|
data/OVERVIEW.md
CHANGED
@@ -48,7 +48,7 @@ Once the gem is installed, you can load the client code and instantiate a client
|
|
48
48
|
require "google/apis/places_v1"
|
49
49
|
|
50
50
|
# Create a client object
|
51
|
-
client = Google::Apis::PlacesV1::
|
51
|
+
client = Google::Apis::PlacesV1::MapsPlacesService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
54
|
client.authorization = # ... use the googleauth gem to create credentials
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Places service in particular.)
|
67
67
|
|
68
|
-
For reference information on specific calls in the Places API (New), see the {Google::Apis::PlacesV1::
|
68
|
+
For reference information on specific calls in the Places API (New), see the {Google::Apis::PlacesV1::MapsPlacesService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -867,10 +867,11 @@ module Google
|
|
867
867
|
attr_accessor :rank_preference
|
868
868
|
|
869
869
|
# The Unicode country/region code (CLDR) of the location where the request is
|
870
|
-
# coming from.
|
871
|
-
# place name, if available.
|
872
|
-
#
|
873
|
-
# currently
|
870
|
+
# coming from. This parameter is used to display the place details, like region-
|
871
|
+
# specific place name, if available. The parameter can affect results based on
|
872
|
+
# applicable law. For more information, see http://www.unicode.org/reports/tr35/#
|
873
|
+
# unicode_region_subtag. Note that 3-digit region codes are not currently
|
874
|
+
# supported.
|
874
875
|
# Corresponds to the JSON property `regionCode`
|
875
876
|
# @return [String]
|
876
877
|
attr_accessor :region_code
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PlacesV1
|
18
18
|
# Version of the google-apis-places_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230822"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,10 +28,10 @@ module Google
|
|
28
28
|
# require 'google/apis/places_v1'
|
29
29
|
#
|
30
30
|
# Places = Google::Apis::PlacesV1 # Alias the module
|
31
|
-
# service = Places::
|
31
|
+
# service = Places::MapsPlacesService.new
|
32
32
|
#
|
33
33
|
# @see https://mapsplatform.google.com/maps-products/#places-section
|
34
|
-
class
|
34
|
+
class MapsPlacesService < Google::Apis::Core::BaseService
|
35
35
|
# @return [String]
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
37
37
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-places_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Places API (New) V1
|