Class: Google::Apis::FusiontablesV1::Geometry
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FusiontablesV1::Geometry
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fusiontables_v1/classes.rb,
 generated/google/apis/fusiontables_v1/representations.rb,
 generated/google/apis/fusiontables_v1/representations.rb
Overview
Represents a Geometry object.
Instance Attribute Summary collapse
- 
  
    
      #geometries  ⇒ Array<Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of geometries in this geometry collection. 
- 
  
    
      #geometry  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property geometry.
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type: A collection of geometries. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Geometry 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Geometry. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Geometry
Returns a new instance of Geometry
| 218 219 220 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 218 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#geometries ⇒ Array<Object>
The list of geometries in this geometry collection.
Corresponds to the JSON property geometries
| 206 207 208 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 206 def geometries @geometries end | 
#geometry ⇒ Object
Corresponds to the JSON property geometry
| 211 212 213 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 211 def geometry @geometry end | 
#type ⇒ String
Type: A collection of geometries.
Corresponds to the JSON property type
| 216 217 218 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 216 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 223 224 225 226 227 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 223 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 |