class Google::Apis::VectortileV1::Relation
Represents a relation to another feature in the tile. For example, a building might be occupied by a given POI. The related feature can be retrieved using the related feature index.
Attributes
relation_type[RW]
Relation
type between the origin feature to the related feature. Corresponds to the JSON property `relationType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vectortile_v1/classes.rb, line 513 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vectortile_v1/classes.rb, line 518 def update!(**args) @related_feature_index = args[:related_feature_index] if args.key?(:related_feature_index) @relation_type = args[:relation_type] if args.key?(:relation_type) end