\Google\Photos\Library\V1BatchGetMediaItemsResponse

Response to retrieve a list of media items.

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

Summary

Methods
Properties
Constants
__construct()
getMediaItemResults()
setMediaItemResults()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$media_item_results
N/A

Properties

$media_item_results

$media_item_results : 

[Output only] List of media items retrieved.

Note that even if the call to BatchGetMediaItems succeeds, there may have been failures for some media items in the batch. These failures are indicated in each [MediaItemResult.status][google.photos.library.v1.MediaItemResult.status].

Generated from protobuf field repeated .google.photos.library.v1.MediaItemResult media_item_results = 1;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type \Google\Photos\Library\V1\MediaItemResult[]|\Google\Protobuf\Internal\RepeatedField $media_item_results
      [Output only] List of media items retrieved.
      Note that even if the call to BatchGetMediaItems succeeds, there may have
      been failures for some media items in the batch. These failures are
      indicated in each
      [MediaItemResult.status][google.photos.library.v1.MediaItemResult.status].

}

getMediaItemResults()

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

[Output only] List of media items retrieved.

Note that even if the call to BatchGetMediaItems succeeds, there may have been failures for some media items in the batch. These failures are indicated in each [MediaItemResult.status][google.photos.library.v1.MediaItemResult.status].

Generated from protobuf field repeated .google.photos.library.v1.MediaItemResult media_item_results = 1;

Returns

\Google\Protobuf\Internal\RepeatedField

setMediaItemResults()

setMediaItemResults(array<mixed,\Google\Photos\Library\V1\MediaItemResult>|\Google\Protobuf\Internal\RepeatedField  $var) : $this

[Output only] List of media items retrieved.

Note that even if the call to BatchGetMediaItems succeeds, there may have been failures for some media items in the batch. These failures are indicated in each [MediaItemResult.status][google.photos.library.v1.MediaItemResult.status].

Generated from protobuf field repeated .google.photos.library.v1.MediaItemResult media_item_results = 1;

Parameters

array<mixed,\Google\Photos\Library\V1\MediaItemResult>|\Google\Protobuf\Internal\RepeatedField $var

Returns

$this