@@ -1172,6 +1172,12 @@ class GoogleMapsPlacesV1Place
11721172 # @return [String]
11731173 attr_accessor :business_status
11741174
1175+ # The consumer alert message for the place when we detect suspicious review
1176+ # activity on a business or a business violates our policies.
1177+ # Corresponds to the JSON property `consumerAlert`
1178+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlert]
1179+ attr_accessor :consumer_alert
1180+
11751181 # List of places in which the current place is located.
11761182 # Corresponds to the JSON property `containingPlaces`
11771183 # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceContainingPlace>]
@@ -1604,6 +1610,7 @@ def update!(**args)
16041610 @allows_dogs = args [ :allows_dogs ] if args . key? ( :allows_dogs )
16051611 @attributions = args [ :attributions ] if args . key? ( :attributions )
16061612 @business_status = args [ :business_status ] if args . key? ( :business_status )
1613+ @consumer_alert = args [ :consumer_alert ] if args . key? ( :consumer_alert )
16071614 @containing_places = args [ :containing_places ] if args . key? ( :containing_places )
16081615 @curbside_pickup = args [ :curbside_pickup ] if args . key? ( :curbside_pickup )
16091616 @current_opening_hours = args [ :current_opening_hours ] if args . key? ( :current_opening_hours )
@@ -1780,6 +1787,95 @@ def update!(**args)
17801787 end
17811788 end
17821789
1790+ # The consumer alert message for the place when we detect suspicious review
1791+ # activity on a business or a business violates our policies.
1792+ class GoogleMapsPlacesV1PlaceConsumerAlert
1793+ include Google ::Apis ::Core ::Hashable
1794+
1795+ # The details of the consumer alert message.
1796+ # Corresponds to the JSON property `details`
1797+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetails]
1798+ attr_accessor :details
1799+
1800+ # The language code of the consumer alert message. This is a BCP 47 language
1801+ # code.
1802+ # Corresponds to the JSON property `languageCode`
1803+ # @return [String]
1804+ attr_accessor :language_code
1805+
1806+ # The overview of the consumer alert message.
1807+ # Corresponds to the JSON property `overview`
1808+ # @return [String]
1809+ attr_accessor :overview
1810+
1811+ def initialize ( **args )
1812+ update! ( **args )
1813+ end
1814+
1815+ # Update properties of this object
1816+ def update! ( **args )
1817+ @details = args [ :details ] if args . key? ( :details )
1818+ @language_code = args [ :language_code ] if args . key? ( :language_code )
1819+ @overview = args [ :overview ] if args . key? ( :overview )
1820+ end
1821+ end
1822+
1823+ # The details of the consumer alert message.
1824+ class GoogleMapsPlacesV1PlaceConsumerAlertDetails
1825+ include Google ::Apis ::Core ::Hashable
1826+
1827+ # The link to show together with the description to provide more information.
1828+ # Corresponds to the JSON property `aboutLink`
1829+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink]
1830+ attr_accessor :about_link
1831+
1832+ # The description of the consumer alert message.
1833+ # Corresponds to the JSON property `description`
1834+ # @return [String]
1835+ attr_accessor :description
1836+
1837+ # The title to show together with the description.
1838+ # Corresponds to the JSON property `title`
1839+ # @return [String]
1840+ attr_accessor :title
1841+
1842+ def initialize ( **args )
1843+ update! ( **args )
1844+ end
1845+
1846+ # Update properties of this object
1847+ def update! ( **args )
1848+ @about_link = args [ :about_link ] if args . key? ( :about_link )
1849+ @description = args [ :description ] if args . key? ( :description )
1850+ @title = args [ :title ] if args . key? ( :title )
1851+ end
1852+ end
1853+
1854+ # The link to show together with the description to provide more information.
1855+ class GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink
1856+ include Google ::Apis ::Core ::Hashable
1857+
1858+ # The title to show for the link.
1859+ # Corresponds to the JSON property `title`
1860+ # @return [String]
1861+ attr_accessor :title
1862+
1863+ # The uri of the link.
1864+ # Corresponds to the JSON property `uri`
1865+ # @return [String]
1866+ attr_accessor :uri
1867+
1868+ def initialize ( **args )
1869+ update! ( **args )
1870+ end
1871+
1872+ # Update properties of this object
1873+ def update! ( **args )
1874+ @title = args [ :title ] if args . key? ( :title )
1875+ @uri = args [ :uri ] if args . key? ( :uri )
1876+ end
1877+ end
1878+
17831879 # Info about the place in which this place is located.
17841880 class GoogleMapsPlacesV1PlaceContainingPlace
17851881 include Google ::Apis ::Core ::Hashable
@@ -2465,6 +2561,18 @@ class GoogleMapsPlacesV1Review
24652561 # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
24662562 attr_accessor :text
24672563
2564+ # Represents a whole or partial calendar date, such as a birthday. The time of
2565+ # day and time zone are either specified elsewhere or are insignificant. The
2566+ # date is relative to the Gregorian Calendar. This can represent one of the
2567+ # following: * A full date, with non-zero year, month, and day values. * A month
2568+ # and day, with a zero year (for example, an anniversary). * A year on its own,
2569+ # with a zero month and a zero day. * A year and month, with a zero day (for
2570+ # example, a credit card expiration date). Related types: * google.type.
2571+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
2572+ # Corresponds to the JSON property `visitDate`
2573+ # @return [Google::Apis::PlacesV1::GoogleTypeDate]
2574+ attr_accessor :visit_date
2575+
24682576 def initialize ( **args )
24692577 update! ( **args )
24702578 end
@@ -2480,6 +2588,7 @@ def update!(**args)
24802588 @rating = args [ :rating ] if args . key? ( :rating )
24812589 @relative_publish_time_description = args [ :relative_publish_time_description ] if args . key? ( :relative_publish_time_description )
24822590 @text = args [ :text ] if args . key? ( :text )
2591+ @visit_date = args [ :visit_date ] if args . key? ( :visit_date )
24832592 end
24842593 end
24852594
0 commit comments