Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution
- 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
Information about data providers of this place.
Instance Attribute Summary collapse
-
#provider ⇒ String
Name of the Place's data provider.
-
#provider_uri ⇒ String
URI to the Place's data provider.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceAttribution
constructor
A new instance of GoogleMapsPlacesV1PlaceAttribution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceAttribution
Returns a new instance of GoogleMapsPlacesV1PlaceAttribution.
1572 1573 1574 |
# File 'lib/google/apis/places_v1/classes.rb', line 1572 def initialize(**args) update!(**args) end |
Instance Attribute Details
#provider ⇒ String
Name of the Place's data provider.
Corresponds to the JSON property provider
1565 1566 1567 |
# File 'lib/google/apis/places_v1/classes.rb', line 1565 def provider @provider end |
#provider_uri ⇒ String
URI to the Place's data provider.
Corresponds to the JSON property providerUri
1570 1571 1572 |
# File 'lib/google/apis/places_v1/classes.rb', line 1570 def provider_uri @provider_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1577 1578 1579 1580 |
# File 'lib/google/apis/places_v1/classes.rb', line 1577 def update!(**args) @provider = args[:provider] if args.key?(:provider) @provider_uri = args[:provider_uri] if args.key?(:provider_uri) end |