$upload_token
$upload_token :
Token identifying the media bytes that have been uploaded to Google.
Generated from protobuf field string upload_token = 1;
A simple media item to be created in Google Photos via an upload token.
Generated from protobuf message google.photos.library.v1.SimpleMediaItem
$file_name :
File name with extension of the media item. This is shown to the user in Google Photos. The file name specified during the <a href="https://developers.google.com/photos/library/guides/upload-media">byte upload process</a> is ignored if this field is set. The file name, including the file extension, shouldn't be more than 255 characters. This is an optional field.
Generated from protobuf field string file_name = 2;
__construct(array $data = NULL)
Constructor.
array | $data | { Optional. Data for populating the Message object.
} |
getUploadToken() : string
Token identifying the media bytes that have been uploaded to Google.
Generated from protobuf field string upload_token = 1;
setUploadToken(string $var) : $this
Token identifying the media bytes that have been uploaded to Google.
Generated from protobuf field string upload_token = 1;
string | $var |
getFileName() : string
File name with extension of the media item. This is shown to the user in Google Photos. The file name specified during the <a href="https://developers.google.com/photos/library/guides/upload-media">byte upload process</a> is ignored if this field is set. The file name, including the file extension, shouldn't be more than 255 characters. This is an optional field.
Generated from protobuf field string file_name = 2;
setFileName(string $var) : $this
File name with extension of the media item. This is shown to the user in Google Photos. The file name specified during the <a href="https://developers.google.com/photos/library/guides/upload-media">byte upload process</a> is ignored if this field is set. The file name, including the file extension, shouldn't be more than 255 characters. This is an optional field.
Generated from protobuf field string file_name = 2;
string | $var |