\Google\Photos\Library\V1Location

Represents a physical location.

Generated from protobuf message google.photos.library.v1.Location

Summary

Methods
Properties
Constants
__construct()
getLocationName()
setLocationName()
getLatlng()
setLatlng()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$location_name
$latlng
N/A

Properties

$location_name

$location_name : 

Name of the location to be displayed.

Generated from protobuf field string location_name = 1;

Type

$latlng

$latlng : 

Position of the location on the map.

Generated from protobuf field .google.type.LatLng latlng = 2;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type string $location_name
      Name of the location to be displayed.
@type \Google\Type\LatLng $latlng
      Position of the location on the map.

}

getLocationName()

getLocationName() : string

Name of the location to be displayed.

Generated from protobuf field string location_name = 1;

Returns

string

setLocationName()

setLocationName(string  $var) : $this

Name of the location to be displayed.

Generated from protobuf field string location_name = 1;

Parameters

string $var

Returns

$this

getLatlng()

getLatlng() : \Google\Type\LatLng

Position of the location on the map.

Generated from protobuf field .google.type.LatLng latlng = 2;

Returns

\Google\Type\LatLng

setLatlng()

setLatlng(\Google\Type\LatLng  $var) : $this

Position of the location on the map.

Generated from protobuf field .google.type.LatLng latlng = 2;

Parameters

\Google\Type\LatLng $var

Returns

$this