class Google::Apis::FusiontablesV2::Line

Represents a line geometry.

Attributes

coordinates[RW]

The coordinates that define the line. Corresponds to the JSON property `coordinates` @return [Array<Array<Float>>]

type[RW]

Type: A line geometry. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/fusiontables_v2/classes.rb, line 324
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/fusiontables_v2/classes.rb, line 329
def update!(**args)
  @coordinates = args[:coordinates] if args.key?(:coordinates)
  @type = args[:type] if args.key?(:type)
end