google-apis-places_v1 0.1.0 → 0.2.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: 3bccb705767fdad70dfb4ed1c2fc80366b7eece351c5e1479bc5a1e4ca64dc00
4
- data.tar.gz: 75ff67cb9054988c43108b016e527a7a92253697eb743227c2f46bb068a1784d
3
+ metadata.gz: b41450b4bd937edd1899acfd252877a73ae22bab7ea0a7556ddcc81559f45e08
4
+ data.tar.gz: b17ca03d87ea7444dc2bdfa93f91f35f98cfac38d6bb3cbbd25a809c098728d7
5
5
  SHA512:
6
- metadata.gz: b93d4feddb1169a148c3503415283f8576bcc0e629ff7e590e6c0fa752743eaad65b182f3757801c29b1e2ffe6e6fbd7f887be37fba448e262e07804006db769
7
- data.tar.gz: efda2cfc1ad82567150670c3c78e3882939274536eaea37e2001f30cd7134b6dc3fbd5b24d99be506554ccdc2b28e0d18a79de25324bf03144ba07610f44986d
6
+ metadata.gz: 955854b9b566ce4bb387ad15916c5e7266a6bc2641152596c678cb320f39bcb6c3209090b69cb92dcb2c1b6fb3694d3bc428c43332efc5bb324c4724117d9632
7
+ data.tar.gz: 5d41ac9efdf7f949797c2280eb2b51fc7a9b43f4dd41fa7b28c66735641ef792aecc811cece19e414613fd7d07edc4cf043a93203089104e3f95c9b94d2ed49a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.2.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230801
6
+
3
7
  ### v0.1.0 (2023-07-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230718
@@ -306,7 +306,7 @@ module Google
306
306
 
307
307
  # Output only. List of reviews about this place.
308
308
  # Corresponds to the JSON property `reviews`
309
- # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceReview>]
309
+ # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1Review>]
310
310
  attr_accessor :reviews
311
311
 
312
312
  # Output only. Contains an array of entries for information about regular
@@ -736,8 +736,8 @@ module Google
736
736
  end
737
737
  end
738
738
 
739
- # Information about a review of the place.
740
- class GoogleMapsPlacesV1PlaceReview
739
+ # Information about a review of a place.
740
+ class GoogleMapsPlacesV1Review
741
741
  include Google::Apis::Core::Hashable
742
742
 
743
743
  # Information about the author of the UGC data. Used in Photo, and Review.
@@ -745,27 +745,17 @@ module Google
745
745
  # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1AuthorAttribution]
746
746
  attr_accessor :author_attribution
747
747
 
748
- # Output only. A BCP-47 language code indicating the original language of the
749
- # review. If the review has been translated, then original_language != language.
750
- # This field contains the main language tag only, and not the secondary tag
751
- # indicating country or region. For example, all the English reviews are tagged
752
- # as 'en', and not 'en-AU' or 'en-UK' and so on.This field is empty if there is
753
- # only a rating with no review text.
754
- # Corresponds to the JSON property `originalLanguageCode`
755
- # @return [String]
756
- attr_accessor :original_language_code
757
-
758
748
  # Localized variant of a text in a particular language.
759
749
  # Corresponds to the JSON property `originalText`
760
750
  # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
761
751
  attr_accessor :original_text
762
752
 
763
- # Output only. Timestamp for the review, expressed in seconds since epoch.
753
+ # Output only. Timestamp for the review.
764
754
  # Corresponds to the JSON property `publishTime`
765
755
  # @return [String]
766
756
  attr_accessor :publish_time
767
757
 
768
- # Output only. A whole number between 1.0 and 5.0, a.k.a. the number of stars.
758
+ # Output only. A number between 1.0 and 5.0, a.k.a. the number of stars.
769
759
  # Corresponds to the JSON property `rating`
770
760
  # @return [Float]
771
761
  attr_accessor :rating
@@ -782,16 +772,6 @@ module Google
782
772
  # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
783
773
  attr_accessor :text
784
774
 
785
- # Output only. A boolean value indicating if the review was translated from the
786
- # original language it was written in. If a review has been translated,
787
- # corresponding to a value of true, Google recommends that you indicate this to
788
- # your users. For example, you can add the following string, “Translated by
789
- # Google”, to the review.
790
- # Corresponds to the JSON property `translated`
791
- # @return [Boolean]
792
- attr_accessor :translated
793
- alias_method :translated?, :translated
794
-
795
775
  def initialize(**args)
796
776
  update!(**args)
797
777
  end
@@ -799,13 +779,11 @@ module Google
799
779
  # Update properties of this object
800
780
  def update!(**args)
801
781
  @author_attribution = args[:author_attribution] if args.key?(:author_attribution)
802
- @original_language_code = args[:original_language_code] if args.key?(:original_language_code)
803
782
  @original_text = args[:original_text] if args.key?(:original_text)
804
783
  @publish_time = args[:publish_time] if args.key?(:publish_time)
805
784
  @rating = args[:rating] if args.key?(:rating)
806
785
  @relative_publish_time_description = args[:relative_publish_time_description] if args.key?(:relative_publish_time_description)
807
786
  @text = args[:text] if args.key?(:text)
808
- @translated = args[:translated] if args.key?(:translated)
809
787
  end
810
788
  end
811
789
 
@@ -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.1.0"
19
+ GEM_VERSION = "0.2.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 = "20230718"
25
+ REVISION = "20230801"
26
26
  end
27
27
  end
28
28
  end
@@ -94,7 +94,7 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class GoogleMapsPlacesV1PlaceReview
97
+ class GoogleMapsPlacesV1Review
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
@@ -221,7 +221,7 @@ module Google
221
221
  property :price_level, as: 'priceLevel'
222
222
  property :rating, as: 'rating'
223
223
  property :reservable, as: 'reservable'
224
- collection :reviews, as: 'reviews', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceReview, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceReview::Representation
224
+ collection :reviews, as: 'reviews', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review::Representation
225
225
 
226
226
  collection :secondary_opening_hours, as: 'secondaryOpeningHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
227
227
 
@@ -313,12 +313,11 @@ module Google
313
313
  end
314
314
  end
315
315
 
316
- class GoogleMapsPlacesV1PlaceReview
316
+ class GoogleMapsPlacesV1Review
317
317
  # @private
318
318
  class Representation < Google::Apis::Core::JsonRepresentation
319
319
  property :author_attribution, as: 'authorAttribution', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1AuthorAttribution, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1AuthorAttribution::Representation
320
320
 
321
- property :original_language_code, as: 'originalLanguageCode'
322
321
  property :original_text, as: 'originalText', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
323
322
 
324
323
  property :publish_time, as: 'publishTime'
@@ -326,7 +325,6 @@ module Google
326
325
  property :relative_publish_time_description, as: 'relativePublishTimeDescription'
327
326
  property :text, as: 'text', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
328
327
 
329
- property :translated, as: 'translated'
330
328
  end
331
329
  end
332
330
 
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.1.0
4
+ version: 0.2.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-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-06 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.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.2.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: []