\Google\Photos\Library\V1DateFilter

This filter defines the allowed dates or date ranges for the media returned.

It's possible to pick a set of specific dates and a set of date ranges.

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

Summary

Methods
Properties
Constants
__construct()
getDates()
setDates()
getRanges()
setRanges()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$dates
$ranges
N/A

Properties

$dates

$dates : 

List of dates that match the media items' creation date. A maximum of 5 dates can be included per request.

Generated from protobuf field repeated .google.type.Date dates = 1;

Type

$ranges

$ranges : 

List of dates ranges that match the media items' creation date. A maximum of 5 dates ranges can be included per request.

Generated from protobuf field repeated .google.photos.types.DateRange ranges = 2;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type \Google\Type\Date[]|\Google\Protobuf\Internal\RepeatedField $dates
      List of dates that match the media items' creation date. A maximum of
      5 dates can be included per request.
@type \Google\Photos\Types\DateRange[]|\Google\Protobuf\Internal\RepeatedField $ranges
      List of dates ranges that match the media items' creation date. A
      maximum of 5 dates ranges can be included per request.

}

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

getDates()

getDates() : \Google\Protobuf\Internal\RepeatedField

List of dates that match the media items' creation date. A maximum of 5 dates can be included per request.

Generated from protobuf field repeated .google.type.Date dates = 1;

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

Returns

\Google\Protobuf\Internal\RepeatedField

setDates()

setDates(array<mixed,\Google\Type\Date>|\Google\Protobuf\Internal\RepeatedField  $var) : $this

List of dates that match the media items' creation date. A maximum of 5 dates can be included per request.

Generated from protobuf field repeated .google.type.Date dates = 1;

Parameters

array<mixed,\Google\Type\Date>|\Google\Protobuf\Internal\RepeatedField $var
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.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.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

$this

getRanges()

getRanges() : \Google\Protobuf\Internal\RepeatedField

List of dates ranges that match the media items' creation date. A maximum of 5 dates ranges can be included per request.

Generated from protobuf field repeated .google.photos.types.DateRange ranges = 2;

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

Returns

\Google\Protobuf\Internal\RepeatedField

setRanges()

setRanges(array<mixed,\Google\Photos\Types\DateRange>|\Google\Protobuf\Internal\RepeatedField  $var) : $this

List of dates ranges that match the media items' creation date. A maximum of 5 dates ranges can be included per request.

Generated from protobuf field repeated .google.photos.types.DateRange ranges = 2;

Parameters

array<mixed,\Google\Photos\Types\DateRange>|\Google\Protobuf\Internal\RepeatedField $var
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.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.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

$this