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
1931 1932 1933 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#segments ⇒ Array<Google::Apis::CivicinfoV2::StreetSegment>
Corresponds to the JSON property segments
1929 1930 1931 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1929 def segments @segments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1936 1937 1938 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1936 def update!(**args) @segments = args[:segments] if args.key?(:segments) end |