Class: Google::Apis::VectortileV1::SegmentInfo
- Inherits:
-
Object
- Object
- Google::Apis::VectortileV1::SegmentInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vectortile_v1/classes.rb,
generated/google/apis/vectortile_v1/representations.rb,
generated/google/apis/vectortile_v1/representations.rb
Overview
Extra metadata relating to segments.
Instance Attribute Summary collapse
-
#road_info ⇒ Google::Apis::VectortileV1::RoadInfo
Extra metadata relating to roads.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SegmentInfo
constructor
A new instance of SegmentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SegmentInfo
Returns a new instance of SegmentInfo.
640 641 642 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 640 def initialize(**args) update!(**args) end |
Instance Attribute Details
#road_info ⇒ Google::Apis::VectortileV1::RoadInfo
Extra metadata relating to roads.
Corresponds to the JSON property roadInfo
638 639 640 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 638 def road_info @road_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
645 646 647 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 645 def update!(**args) @road_info = args[:road_info] if args.key?(:road_info) end |