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
.
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.
988 989 990 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 988 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lat_e7 ⇒ Fixnum
Corresponds to the JSON property latE7
976 977 978 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 976 def lat_e7 @lat_e7 end |
#lng_e7 ⇒ Fixnum
Corresponds to the JSON property lngE7
981 982 983 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 981 def lng_e7 @lng_e7 end |
#metadata ⇒ Google::Apis::CivicinfoV2::FieldMetadataProto
Corresponds to the JSON property metadata
986 987 988 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 986 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
993 994 995 996 997 |
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 993 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) end |