Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/places_v1/classes.rb,
lib/google/apis/places_v1/representations.rb,
lib/google/apis/places_v1/representations.rb
Overview
The link to show together with the description to provide more information.
Instance Attribute Summary collapse
-
#title ⇒ String
The title to show for the link.
-
#uri ⇒ String
The uri of the link.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink
constructor
A new instance of GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink
Returns a new instance of GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink.
1913 1914 1915 |
# File 'lib/google/apis/places_v1/classes.rb', line 1913 def initialize(**args) update!(**args) end |
Instance Attribute Details
#title ⇒ String
The title to show for the link.
Corresponds to the JSON property title
1906 1907 1908 |
# File 'lib/google/apis/places_v1/classes.rb', line 1906 def title @title end |
#uri ⇒ String
The uri of the link.
Corresponds to the JSON property uri
1911 1912 1913 |
# File 'lib/google/apis/places_v1/classes.rb', line 1911 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1918 1919 1920 1921 |
# File 'lib/google/apis/places_v1/classes.rb', line 1918 def update!(**args) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |