Class: Google::Apis::CivicinfoV2::PointProto
- Inherits:
-
Object
- Object
- Google::Apis::CivicinfoV2::PointProto
- 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
-
#lat_e7 ⇒ Fixnum
Corresponds to the JSON property
latE7
. -
#lng_e7 ⇒ Fixnum
Corresponds to the JSON property
lngE7
. -
#metadata ⇒ Google::Apis::CivicinfoV2::FieldMetadataProto
Corresponds to the JSON property
metadata
. -
#temporary_data ⇒ Google::Apis::CivicinfoV2::MessageSet
Corresponds to the JSON property
temporaryData
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PointProto
constructor
A new instance of PointProto.
-
#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) ⇒ PointProto
Returns a new instance of PointProto
1143 1144 1145 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lat_e7 ⇒ Fixnum
Corresponds to the JSON property latE7
1126 1127 1128 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1126 def lat_e7 @lat_e7 end |
#lng_e7 ⇒ Fixnum
Corresponds to the JSON property lngE7
1131 1132 1133 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1131 def lng_e7 @lng_e7 end |
#metadata ⇒ Google::Apis::CivicinfoV2::FieldMetadataProto
Corresponds to the JSON property metadata
1136 1137 1138 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1136 def @metadata end |
#temporary_data ⇒ Google::Apis::CivicinfoV2::MessageSet
Corresponds to the JSON property temporaryData
1141 1142 1143 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1141 def temporary_data @temporary_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1148 1149 1150 1151 1152 1153 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1148 def update!(**args) @lat_e7 = args[:lat_e7] if args.key?(:lat_e7) @lng_e7 = args[:lng_e7] if args.key?(:lng_e7) @metadata = args[:metadata] if args.key?(:metadata) @temporary_data = args[:temporary_data] if args.key?(:temporary_data) end |