Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange
- 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 range of highlighted text.
Instance Attribute Summary collapse
-
#end_index ⇒ Fixnum
Corresponds to the JSON property
endIndex
. -
#start_index ⇒ Fixnum
Corresponds to the JSON property
startIndex
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange
constructor
A new instance of GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange
Returns a new instance of GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange.
762 763 764 |
# File 'lib/google/apis/places_v1/classes.rb', line 762 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_index ⇒ Fixnum
Corresponds to the JSON property endIndex
755 756 757 |
# File 'lib/google/apis/places_v1/classes.rb', line 755 def end_index @end_index end |
#start_index ⇒ Fixnum
Corresponds to the JSON property startIndex
760 761 762 |
# File 'lib/google/apis/places_v1/classes.rb', line 760 def start_index @start_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
767 768 769 770 |
# File 'lib/google/apis/places_v1/classes.rb', line 767 def update!(**args) @end_index = args[:end_index] if args.key?(:end_index) @start_index = args[:start_index] if args.key?(:start_index) end |