Class: Google::Apis::CivicinfoV2::PointProto

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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_e7Fixnum

Corresponds to the JSON property latE7

Returns:

  • (Fixnum)


976
977
978
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 976

def lat_e7
  @lat_e7
end

#lng_e7Fixnum

Corresponds to the JSON property lngE7

Returns:

  • (Fixnum)


981
982
983
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 981

def lng_e7
  @lng_e7
end

#metadataGoogle::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