\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
$position
$relative_item
N/A
No private methods found
No private properties found
N/A

Properties

$position

$position : 

Type of position, for a media or enrichment item.

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

Type

$relative_item

$relative_item : 

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.

}

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

getPosition()

getPosition() : integer

Type of position, for a media or enrichment item.

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

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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;

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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;

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

$this

getRelativeItem()

getRelativeItem() : string

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor (2).phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

string