Class: Google::Apis::VectortileV1::RoadInfo
- Inherits:
-
Object
- Object
- Google::Apis::VectortileV1::RoadInfo
- 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 roads.
Instance Attribute Summary collapse
-
#is_private ⇒ Boolean
(also: #is_private?)
Road has signage discouraging or prohibiting use by the general public.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoadInfo
constructor
A new instance of RoadInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RoadInfo
Returns a new instance of RoadInfo.
529 530 531 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_private ⇒ Boolean Also known as: is_private?
Road has signage discouraging or prohibiting use by the general public. E.g.,
roads with signs that say "Private", or "No trespassing."
Corresponds to the JSON property isPrivate
526 527 528 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 526 def is_private @is_private end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
534 535 536 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 534 def update!(**args) @is_private = args[:is_private] if args.key?(:is_private) end |