Class: Google::Apis::CivicinfoV2::StreetSegmentList
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::CivicinfoV2::StreetSegmentList
 
 
- Defined in:
 - generated/google/apis/civicinfo_v2/classes.rb,
generated/google/apis/civicinfo_v2/representations.rb,
generated/google/apis/civicinfo_v2/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #segments  ⇒ Array<Google::Apis::CivicinfoV2::StreetSegment> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
segments. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ StreetSegmentList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of StreetSegmentList.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StreetSegmentList
Returns a new instance of StreetSegmentList
      1913 1914 1915  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 1913 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#segments ⇒ Array<Google::Apis::CivicinfoV2::StreetSegment>
Corresponds to the JSON property segments
      1911 1912 1913  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 1911 def segments @segments end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1918 1919 1920  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 1918 def update!(**args) @segments = args[:segments] if args.key?(:segments) end  |