google-apis-places_v1 0.18.0 → 0.20.0

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: a288cbb711d192ba6d129fb822801122d897fd1ec9486cfdbd17cc49f8da7bcf
4
- data.tar.gz: e7f73fbb50c65e1f18373fb9330b9734d4c966f4ec9b3ebdd807285f009b62a7
3
+ metadata.gz: a10d06b29624175c8a8f65613d3768fbf9275f1886e51eb39c6d381965390f0e
4
+ data.tar.gz: ee1dbcb6adce12311ccfd01996854748ed3748fef0567ff8c280a09327965929
5
5
  SHA512:
6
- metadata.gz: 66bae08b1bae6b581f24fc7b03a8d66b870067f25131677df0737f343219a3b533b7ed3e4ffb2e1bfc939382f5395c9db77280c739c1e9659cb9dcad56ab46ec
7
- data.tar.gz: 5e1640ee18fe4406f2af652ee9ae2f6800a643003fa9c2dd64a461f833acec66903198220f8462d9be5fba94d67cb8dcd3efdd6b8367ad0231f7e7fc2b6d4d35
6
+ metadata.gz: 4117828f587a175ffdc55a8a78a7fc0fb0fb94da237beff7d9246bb86a97523fef5209f125ceba69f78bf27e2a9b37c430398f3677db0910226d346ef40de0e2
7
+ data.tar.gz: e3f794937e7e5da6e2208cea1567c5ca1c5c180aebc09a8a9b1fb4eb0e0aad81eb8bc3d7dc81510776640b5281cb6d2cd2e38a068f4efcc636150415db8447cc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.20.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240423
6
+
7
+ ### v0.19.0 (2024-03-17)
8
+
9
+ * Regenerated from discovery document revision 20240310
10
+
3
11
  ### v0.18.0 (2024-02-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240219
@@ -1863,6 +1863,11 @@ module Google
1863
1863
  class GoogleMapsPlacesV1SearchTextRequest
1864
1864
  include Google::Apis::Core::Hashable
1865
1865
 
1866
+ # Searchable EV options of a place search request.
1867
+ # Corresponds to the JSON property `evOptions`
1868
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestEvOptions]
1869
+ attr_accessor :ev_options
1870
+
1866
1871
  # The requested place type. Full list of types supported: https://developers.
1867
1872
  # google.com/maps/documentation/places/web-service/place-types. Only support one
1868
1873
  # included type.
@@ -1955,6 +1960,7 @@ module Google
1955
1960
 
1956
1961
  # Update properties of this object
1957
1962
  def update!(**args)
1963
+ @ev_options = args[:ev_options] if args.key?(:ev_options)
1958
1964
  @included_type = args[:included_type] if args.key?(:included_type)
1959
1965
  @language_code = args[:language_code] if args.key?(:language_code)
1960
1966
  @location_bias = args[:location_bias] if args.key?(:location_bias)
@@ -1970,6 +1976,33 @@ module Google
1970
1976
  end
1971
1977
  end
1972
1978
 
1979
+ # Searchable EV options of a place search request.
1980
+ class GoogleMapsPlacesV1SearchTextRequestEvOptions
1981
+ include Google::Apis::Core::Hashable
1982
+
1983
+ # Optional. The list of preferred EV connector types. A place that does not
1984
+ # support any of the listed connector types is filtered out.
1985
+ # Corresponds to the JSON property `connectorTypes`
1986
+ # @return [Array<String>]
1987
+ attr_accessor :connector_types
1988
+
1989
+ # Optional. Minimum required charging rate in kilowatts. A place with a charging
1990
+ # rate less than the specified rate is filtered out.
1991
+ # Corresponds to the JSON property `minimumChargingRateKw`
1992
+ # @return [Float]
1993
+ attr_accessor :minimum_charging_rate_kw
1994
+
1995
+ def initialize(**args)
1996
+ update!(**args)
1997
+ end
1998
+
1999
+ # Update properties of this object
2000
+ def update!(**args)
2001
+ @connector_types = args[:connector_types] if args.key?(:connector_types)
2002
+ @minimum_charging_rate_kw = args[:minimum_charging_rate_kw] if args.key?(:minimum_charging_rate_kw)
2003
+ end
2004
+ end
2005
+
1973
2006
  # The region to search. This location serves as a bias which means results
1974
2007
  # around given location might be returned.
1975
2008
  class GoogleMapsPlacesV1SearchTextRequestLocationBias
@@ -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.18.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240219"
25
+ REVISION = "20240423"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class GoogleMapsPlacesV1SearchTextRequestEvOptions
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class GoogleMapsPlacesV1SearchTextRequestLocationBias
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -723,6 +729,8 @@ module Google
723
729
  class GoogleMapsPlacesV1SearchTextRequest
724
730
  # @private
725
731
  class Representation < Google::Apis::Core::JsonRepresentation
732
+ property :ev_options, as: 'evOptions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestEvOptions, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestEvOptions::Representation
733
+
726
734
  property :included_type, as: 'includedType'
727
735
  property :language_code, as: 'languageCode'
728
736
  property :location_bias, as: 'locationBias', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocationBias, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocationBias::Representation
@@ -740,6 +748,14 @@ module Google
740
748
  end
741
749
  end
742
750
 
751
+ class GoogleMapsPlacesV1SearchTextRequestEvOptions
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ collection :connector_types, as: 'connectorTypes'
755
+ property :minimum_charging_rate_kw, as: 'minimumChargingRateKw'
756
+ end
757
+ end
758
+
743
759
  class GoogleMapsPlacesV1SearchTextRequestLocationBias
744
760
  # @private
745
761
  class Representation < Google::Apis::Core::JsonRepresentation
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.18.0
4
+ version: 0.20.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-04-28 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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.20.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: []