Class: Google::Apis::VectortileV1::RoadInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_privateBoolean 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

Returns:

  • (Boolean)


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