\Google\Photos\Library\V1NewEnrichmentItem

A new enrichment item to be added to an album, used by the `albums.addEnrichment` call.

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

Summary

Methods
Properties
Constants
__construct()
getTextEnrichment()
setTextEnrichment()
getLocationEnrichment()
setLocationEnrichment()
getMapEnrichment()
setMapEnrichment()
getEnrichment()
No public properties found
No constants found
No protected methods found
$enrichment
N/A
No private methods found
No private properties found
N/A

Properties

$enrichment

$enrichment : 

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type \Google\Photos\Library\V1\TextEnrichment $text_enrichment
      Text to be added to the album.
@type \Google\Photos\Library\V1\LocationEnrichment $location_enrichment
      Location to be added to the album.
@type \Google\Photos\Library\V1\MapEnrichment $map_enrichment
      Map to be added to the album.

}

getTextEnrichment()

getTextEnrichment() : \Google\Photos\Library\V1\TextEnrichment

Text to be added to the album.

Generated from protobuf field .google.photos.library.v1.TextEnrichment text_enrichment = 1;

Returns

\Google\Photos\Library\V1\TextEnrichment

setTextEnrichment()

setTextEnrichment(\Google\Photos\Library\V1\TextEnrichment  $var) : $this

Text to be added to the album.

Generated from protobuf field .google.photos.library.v1.TextEnrichment text_enrichment = 1;

Parameters

\Google\Photos\Library\V1\TextEnrichment $var

Returns

$this

getLocationEnrichment()

getLocationEnrichment() : \Google\Photos\Library\V1\LocationEnrichment

Location to be added to the album.

Generated from protobuf field .google.photos.library.v1.LocationEnrichment location_enrichment = 2;

Returns

\Google\Photos\Library\V1\LocationEnrichment

setLocationEnrichment()

setLocationEnrichment(\Google\Photos\Library\V1\LocationEnrichment  $var) : $this

Location to be added to the album.

Generated from protobuf field .google.photos.library.v1.LocationEnrichment location_enrichment = 2;

Parameters

\Google\Photos\Library\V1\LocationEnrichment $var

Returns

$this

getMapEnrichment()

getMapEnrichment() : \Google\Photos\Library\V1\MapEnrichment

Map to be added to the album.

Generated from protobuf field .google.photos.library.v1.MapEnrichment map_enrichment = 3;

Returns

\Google\Photos\Library\V1\MapEnrichment

setMapEnrichment()

setMapEnrichment(\Google\Photos\Library\V1\MapEnrichment  $var) : $this

Map to be added to the album.

Generated from protobuf field .google.photos.library.v1.MapEnrichment map_enrichment = 3;

Parameters

\Google\Photos\Library\V1\MapEnrichment $var

Returns

$this

getEnrichment()

getEnrichment() : string

Returns

string