$upload_token
$upload_token :
The upload token used to create this new media item.
Generated from protobuf field string upload_token = 1;
Result of creating a new media item.
Generated from protobuf message google.photos.library.v1.NewMediaItemResult
__construct(array $data = NULL)
Constructor.
array | $data | { Optional. Data for populating the Message object.
} |
getUploadToken() : string
The upload token used to create this new media item.
Generated from protobuf field string upload_token = 1;
setUploadToken(string $var) : $this
The upload token used to create this new media item.
Generated from protobuf field string upload_token = 1;
string | $var |
getStatus() : \Google\Rpc\Status
If an error occurred during the creation of this media item, this field is populated with information related to the error. For details regarding this field, see <a href="#Status">Status</a>.
Generated from protobuf field .google.rpc.Status status = 2;
setStatus(\Google\Rpc\Status $var) : $this
If an error occurred during the creation of this media item, this field is populated with information related to the error. For details regarding this field, see <a href="#Status">Status</a>.
Generated from protobuf field .google.rpc.Status status = 2;
\Google\Rpc\Status | $var |
getMediaItem() : \Google\Photos\Types\MediaItem
Media item created with the upload token. It's populated if no errors occurred and the media item was created successfully.
Generated from protobuf field .google.photos.types.MediaItem media_item = 3;
setMediaItem(\Google\Photos\Types\MediaItem $var) : $this
Media item created with the upload token. It's populated if no errors occurred and the media item was created successfully.
Generated from protobuf field .google.photos.types.MediaItem media_item = 3;
\Google\Photos\Types\MediaItem | $var |