Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#titleString

The title to show for the link. Corresponds to the JSON property title

Returns:

  • (String)


1906
1907
1908
# File 'lib/google/apis/places_v1/classes.rb', line 1906

def title
  @title
end

#uriString

The uri of the link. Corresponds to the JSON property uri

Returns:

  • (String)


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