class Google::Apis::FusiontablesV2::Geometry

Represents a Geometry object.

Attributes

geometries[RW]

The list of geometries in this geometry collection. Corresponds to the JSON property `geometries` @return [Array<Object>]

geometry[RW]

Corresponds to the JSON property `geometry` @return [Object]

type[RW]

Type: A collection of geometries. 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 273
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 278
def update!(**args)
  @geometries = args[:geometries] if args.key?(:geometries)
  @geometry = args[:geometry] if args.key?(:geometry)
  @type = args[:type] if args.key?(:type)
end