\Google\Photos\Library\V1AddEnrichmentToAlbumRequest

Request to add an enrichment to a specific album at a specific position.

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

Summary

Methods
Properties
Constants
__construct()
getAlbumId()
setAlbumId()
getNewEnrichmentItem()
setNewEnrichmentItem()
getAlbumPosition()
setAlbumPosition()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$album_id
$new_enrichment_item
$album_position
N/A

Properties

$album_id

$album_id : 

Identifier of the album where the enrichment is to be added.

Generated from protobuf field string album_id = 1;

Type

$new_enrichment_item

$new_enrichment_item : 

The enrichment to be added.

Generated from protobuf field .google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;

Type

$album_position

$album_position : 

The position in the album where the enrichment is to be inserted.

Generated from protobuf field .google.photos.library.v1.AlbumPosition album_position = 3;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type string $album_id
      Identifier of the album where the enrichment is to be added.
@type \Google\Photos\Library\V1\NewEnrichmentItem $new_enrichment_item
      The enrichment to be added.
@type \Google\Photos\Library\V1\AlbumPosition $album_position
      The position in the album where the enrichment is to be inserted.

}

getAlbumId()

getAlbumId() : string

Identifier of the album where the enrichment is to be added.

Generated from protobuf field string album_id = 1;

Returns

string

setAlbumId()

setAlbumId(string  $var) : $this

Identifier of the album where the enrichment is to be added.

Generated from protobuf field string album_id = 1;

Parameters

string $var

Returns

$this

getNewEnrichmentItem()

getNewEnrichmentItem() : \Google\Photos\Library\V1\NewEnrichmentItem

The enrichment to be added.

Generated from protobuf field .google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;

Returns

\Google\Photos\Library\V1\NewEnrichmentItem

setNewEnrichmentItem()

setNewEnrichmentItem(\Google\Photos\Library\V1\NewEnrichmentItem  $var) : $this

The enrichment to be added.

Generated from protobuf field .google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;

Parameters

\Google\Photos\Library\V1\NewEnrichmentItem $var

Returns

$this

getAlbumPosition()

getAlbumPosition() : \Google\Photos\Library\V1\AlbumPosition

The position in the album where the enrichment is to be inserted.

Generated from protobuf field .google.photos.library.v1.AlbumPosition album_position = 3;

Returns

\Google\Photos\Library\V1\AlbumPosition

setAlbumPosition()

setAlbumPosition(\Google\Photos\Library\V1\AlbumPosition  $var) : $this

The position in the album where the enrichment is to be inserted.

Generated from protobuf field .google.photos.library.v1.AlbumPosition album_position = 3;

Parameters

\Google\Photos\Library\V1\AlbumPosition $var

Returns

$this