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.
895 896 897 |
# File 'lib/google/apis/places_v1/classes.rb', line 895 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_index ⇒ Fixnum
Corresponds to the JSON property endIndex
888 889 890 |
# File 'lib/google/apis/places_v1/classes.rb', line 888 def end_index @end_index end |
#start_index ⇒ Fixnum
Corresponds to the JSON property startIndex
893 894 895 |
# File 'lib/google/apis/places_v1/classes.rb', line 893 def start_index @start_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
900 901 902 903 |
# File 'lib/google/apis/places_v1/classes.rb', line 900 def update!(**args) @end_index = args[:end_index] if args.key?(:end_index) @start_index = args[:start_index] if args.key?(:start_index) end |