Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification
- 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
Experimental: See https://developers.google.com/maps/documentation/places/web- service/experimental/places-generative for more details. BusinessAvailabilityAttributes justifications. This shows some attributes a business has that could interest an end user.
Instance Attribute Summary collapse
-
#delivery ⇒ Boolean
(also: #delivery?)
If a place provides delivery.
-
#dine_in ⇒ Boolean
(also: #dine_in?)
If a place provides dine-in.
-
#takeout ⇒ Boolean
(also: #takeout?)
If a place provides takeout.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification
constructor
A new instance of GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification
Returns a new instance of GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification.
678 679 680 |
# File 'lib/google/apis/places_v1/classes.rb', line 678 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delivery ⇒ Boolean Also known as: delivery?
If a place provides delivery.
Corresponds to the JSON property delivery
663 664 665 |
# File 'lib/google/apis/places_v1/classes.rb', line 663 def delivery @delivery end |
#dine_in ⇒ Boolean Also known as: dine_in?
If a place provides dine-in.
Corresponds to the JSON property dineIn
669 670 671 |
# File 'lib/google/apis/places_v1/classes.rb', line 669 def dine_in @dine_in end |
#takeout ⇒ Boolean Also known as: takeout?
If a place provides takeout.
Corresponds to the JSON property takeout
675 676 677 |
# File 'lib/google/apis/places_v1/classes.rb', line 675 def takeout @takeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
683 684 685 686 687 |
# File 'lib/google/apis/places_v1/classes.rb', line 683 def update!(**args) @delivery = args[:delivery] if args.key?(:delivery) @dine_in = args[:dine_in] if args.key?(:dine_in) @takeout = args[:takeout] if args.key?(:takeout) end |