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.
906 907 908 |
# File 'lib/google/apis/places_v1/classes.rb', line 906 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_index ⇒ Fixnum
Corresponds to the JSON property endIndex
899 900 901 |
# File 'lib/google/apis/places_v1/classes.rb', line 899 def end_index @end_index end |
#start_index ⇒ Fixnum
Corresponds to the JSON property startIndex
904 905 906 |
# File 'lib/google/apis/places_v1/classes.rb', line 904 def start_index @start_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
911 912 913 914 |
# File 'lib/google/apis/places_v1/classes.rb', line 911 def update!(**args) @end_index = args[:end_index] if args.key?(:end_index) @start_index = args[:start_index] if args.key?(:start_index) end |