class Google::Apis::CoordinateV1::Location

Location of a job.

Attributes

address_line[RW]

Address. Corresponds to the JSON property `addressLine` @return [Array<String>]

kind[RW]

Identifies this object as a location. Corresponds to the JSON property `kind` @return [String]

lat[RW]

Latitude. Corresponds to the JSON property `lat` @return [Float]

lng[RW]

Longitude. Corresponds to the JSON property `lng` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/coordinate_v1/classes.rb, line 390
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/coordinate_v1/classes.rb, line 395
def update!(**args)
  @address_line = args[:address_line] if args.key?(:address_line)
  @kind = args[:kind] if args.key?(:kind)
  @lat = args[:lat] if args.key?(:lat)
  @lng = args[:lng] if args.key?(:lng)
end