\Google\Photos\Library\V1AlbumPosition

Specifies a position in an album.

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

Summary

Methods
Properties
Constants
__construct()
getPosition()
setPosition()
getRelativeMediaItemId()
setRelativeMediaItemId()
getRelativeEnrichmentItemId()
setRelativeEnrichmentItemId()
getRelativeItem()
No public properties found
No constants found
No protected methods found
$relative_item
N/A
No private methods found
$position
N/A

Properties

$relative_item

$relative_item : 

Type

$position

$position : 

Type of position, for a media or enrichment item.

Generated from protobuf field .google.photos.library.v1.AlbumPosition.PositionType position = 1;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type int $position
      Type of position, for a media or enrichment item.
@type string $relative_media_item_id
      The media item to which the position is relative to.
      Only used when position type is AFTER_MEDIA_ITEM.
@type string $relative_enrichment_item_id
      The enrichment item to which the position is relative to.
      Only used when position type is AFTER_ENRICHMENT_ITEM.

}

getPosition()

getPosition() : integer

Type of position, for a media or enrichment item.

Generated from protobuf field .google.photos.library.v1.AlbumPosition.PositionType position = 1;

Returns

integer

setPosition()

setPosition(integer  $var) : $this

Type of position, for a media or enrichment item.

Generated from protobuf field .google.photos.library.v1.AlbumPosition.PositionType position = 1;

Parameters

integer $var

Returns

$this

getRelativeMediaItemId()

getRelativeMediaItemId() : string

The media item to which the position is relative to.

Only used when position type is AFTER_MEDIA_ITEM.

Generated from protobuf field string relative_media_item_id = 2;

Returns

string

setRelativeMediaItemId()

setRelativeMediaItemId(string  $var) : $this

The media item to which the position is relative to.

Only used when position type is AFTER_MEDIA_ITEM.

Generated from protobuf field string relative_media_item_id = 2;

Parameters

string $var

Returns

$this

getRelativeEnrichmentItemId()

getRelativeEnrichmentItemId() : string

The enrichment item to which the position is relative to.

Only used when position type is AFTER_ENRICHMENT_ITEM.

Generated from protobuf field string relative_enrichment_item_id = 3;

Returns

string

setRelativeEnrichmentItemId()

setRelativeEnrichmentItemId(string  $var) : $this

The enrichment item to which the position is relative to.

Only used when position type is AFTER_ENRICHMENT_ITEM.

Generated from protobuf field string relative_enrichment_item_id = 3;

Parameters

string $var

Returns

$this

getRelativeItem()

getRelativeItem() : string

Returns

string