$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) : mixed
Constructor.
array | $data | { Optional. Data for populating the Message object.
} |
getIsWriteable() : bool
[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(bool $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;
bool | $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 |
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 |