\Google\Photos\Library\V1MapEnrichment

An enrichment containing a map, showing origin and destination locations.

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

Summary

Methods
Properties
Constants
__construct()
getOrigin()
setOrigin()
getDestination()
setDestination()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$origin
$destination
N/A

Properties

$origin

$origin : 

Origin location for this enrichment item.

Generated from protobuf field .google.photos.library.v1.Location origin = 1;

Type

$destination

$destination : 

Destination location for this enrichemt item.

Generated from protobuf field .google.photos.library.v1.Location destination = 2;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type \Google\Photos\Library\V1\Location $origin
      Origin location for this enrichment item.
@type \Google\Photos\Library\V1\Location $destination
      Destination location for this enrichemt item.

}

getOrigin()

getOrigin() : \Google\Photos\Library\V1\Location

Origin location for this enrichment item.

Generated from protobuf field .google.photos.library.v1.Location origin = 1;

Returns

\Google\Photos\Library\V1\Location

setOrigin()

setOrigin(\Google\Photos\Library\V1\Location  $var) : $this

Origin location for this enrichment item.

Generated from protobuf field .google.photos.library.v1.Location origin = 1;

Parameters

\Google\Photos\Library\V1\Location $var

Returns

$this

getDestination()

getDestination() : \Google\Photos\Library\V1\Location

Destination location for this enrichemt item.

Generated from protobuf field .google.photos.library.v1.Location destination = 2;

Returns

\Google\Photos\Library\V1\Location

setDestination()

setDestination(\Google\Photos\Library\V1\Location  $var) : $this

Destination location for this enrichemt item.

Generated from protobuf field .google.photos.library.v1.Location destination = 2;

Parameters

\Google\Photos\Library\V1\Location $var

Returns

$this