$id
$id :
Identifier for the album. This is a persistent identifier that can be used between sessions to identify this album.
Generated from protobuf field string id = 1;
Representation of an album in Google Photos.
Albums are containers for media items. If an album has been shared by the
application, it contains an extra shareInfo
property.
Generated from protobuf message google.photos.types.Album
$is_writeable :
[Output only] True if you can create media items in this album.
This field is based on the scopes granted and permissions of the album. If the scopes are changed or permissions of the album are changed, this field is updated.
Generated from protobuf field bool is_writeable = 4;
$share_info :
[Output only] Information related to shared albums.
This field is only populated if the album is a shared album, the
developer created the album and the user has granted the
photoslibrary.sharing
scope.
Generated from protobuf field .google.photos.types.ShareInfo share_info = 5;
$cover_photo_base_url :
[Output only] A URL to the cover photo's bytes. This shouldn't be used as is. Parameters should be appended to this URL before use. See the [developer documentation](https://developers.google.com/photos/library/guides/access-media-items#base-urls) for a complete list of supported parameters. For example, `'=w2048-h1024'` sets the dimensions of the cover photo to have a width of 2048 px and height of 1024 px.
Generated from protobuf field string cover_photo_base_url = 7;
__construct(array $data = NULL)
Constructor.
array | $data | { Optional. Data for populating the Message object.
} |
getId() : string
Identifier for the album. This is a persistent identifier that can be used between sessions to identify this album.
Generated from protobuf field string id = 1;
setId(string $var) : $this
Identifier for the album. This is a persistent identifier that can be used between sessions to identify this album.
Generated from protobuf field string id = 1;
string | $var |
getTitle() : string
Name of the album displayed to the user in their Google Photos account.
This string shouldn't be more than 500 characters.
Generated from protobuf field string title = 2;
setTitle(string $var) : $this
Name of the album displayed to the user in their Google Photos account.
This string shouldn't be more than 500 characters.
Generated from protobuf field string title = 2;
string | $var |
getProductUrl() : string
[Output only] Google Photos URL for the album. The user needs to be signed in to their Google Photos account to access this link.
Generated from protobuf field string product_url = 3;
setProductUrl(string $var) : $this
[Output only] Google Photos URL for the album. The user needs to be signed in to their Google Photos account to access this link.
Generated from protobuf field string product_url = 3;
string | $var |
getIsWriteable() : boolean
[Output only] True if you can create media items in this album.
This field is based on the scopes granted and permissions of the album. If the scopes are changed or permissions of the album are changed, this field is updated.
Generated from protobuf field bool is_writeable = 4;
setIsWriteable(boolean $var) : $this
[Output only] True if you can create media items in this album.
This field is based on the scopes granted and permissions of the album. If the scopes are changed or permissions of the album are changed, this field is updated.
Generated from protobuf field bool is_writeable = 4;
boolean | $var |
getShareInfo() : \Google\Photos\Types\ShareInfo
[Output only] Information related to shared albums.
This field is only populated if the album is a shared album, the
developer created the album and the user has granted the
photoslibrary.sharing
scope.
Generated from protobuf field .google.photos.types.ShareInfo share_info = 5;
setShareInfo(\Google\Photos\Types\ShareInfo $var) : $this
[Output only] Information related to shared albums.
This field is only populated if the album is a shared album, the
developer created the album and the user has granted the
photoslibrary.sharing
scope.
Generated from protobuf field .google.photos.types.ShareInfo share_info = 5;
\Google\Photos\Types\ShareInfo | $var |
getMediaItemsCount() : integer|string
[Output only] The number of media items in the album.
Generated from protobuf field int64 media_items_count = 6;
setMediaItemsCount(integer|string $var) : $this
[Output only] The number of media items in the album.
Generated from protobuf field int64 media_items_count = 6;
integer|string | $var |
getCoverPhotoBaseUrl() : string
[Output only] A URL to the cover photo's bytes. This shouldn't be used as is. Parameters should be appended to this URL before use. See the [developer documentation](https://developers.google.com/photos/library/guides/access-media-items#base-urls) for a complete list of supported parameters. For example, `'=w2048-h1024'` sets the dimensions of the cover photo to have a width of 2048 px and height of 1024 px.
Generated from protobuf field string cover_photo_base_url = 7;
setCoverPhotoBaseUrl(string $var) : $this
[Output only] A URL to the cover photo's bytes. This shouldn't be used as is. Parameters should be appended to this URL before use. See the [developer documentation](https://developers.google.com/photos/library/guides/access-media-items#base-urls) for a complete list of supported parameters. For example, `'=w2048-h1024'` sets the dimensions of the cover photo to have a width of 2048 px and height of 1024 px.
Generated from protobuf field string cover_photo_base_url = 7;
string | $var |
getCoverPhotoMediaItemId() : string
Identifier for the media item associated with the cover photo.
Generated from protobuf field string cover_photo_media_item_id = 8;
setCoverPhotoMediaItemId(string $var) : $this
Identifier for the media item associated with the cover photo.
Generated from protobuf field string cover_photo_media_item_id = 8;
string | $var |