class Myconfig extends Resource (View source)

The "myconfig" collection of methods.

Typical usage is:

 $booksService = new Google\Service\Books(...);
 $myconfig = $booksService->myconfig;

Methods

getUserSettings(array $optParams = [])

Gets the current settings for the user. (myconfig.getUserSettings)

releaseDownloadAccess(string $cpksver, string|array $volumeIds, array $optParams = [])

Release downloaded content access restriction.

requestAccess(string $cpksver, string $nonce, string $source, string $volumeId, array $optParams = [])

Request concurrent and download access restrictions. (myconfig.requestAccess)

syncVolumeLicenses(string $cpksver, string $nonce, string $source, array $optParams = [])

Request downloaded content access for specified volumes on the My eBooks shelf. (myconfig.syncVolumeLicenses)

updateUserSettings(Usersettings $postBody, array $optParams = [])

Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub- objects will retain the existing value. (myconfig.updateUserSettings)

Details

Usersettings getUserSettings(array $optParams = [])

Gets the current settings for the user. (myconfig.getUserSettings)

Parameters

array $optParams

Optional parameters.

Return Value

Usersettings

Exceptions

Exception

DownloadAccesses releaseDownloadAccess(string $cpksver, string|array $volumeIds, array $optParams = [])

Release downloaded content access restriction.

(myconfig.releaseDownloadAccess)

Parameters

string $cpksver

The device/version ID from which to release the restriction.

string|array $volumeIds

The volume(s) to release restrictions for.

array $optParams

Optional parameters.

Return Value

DownloadAccesses

Exceptions

Exception

RequestAccessData requestAccess(string $cpksver, string $nonce, string $source, string $volumeId, array $optParams = [])

Request concurrent and download access restrictions. (myconfig.requestAccess)

Parameters

string $cpksver

The device/version ID from which to request the restrictions.

string $nonce

The client nonce value.

string $source

String to identify the originator of this request.

string $volumeId

The volume to request concurrent/download restrictions for.

array $optParams

Optional parameters.

Return Value

RequestAccessData

Exceptions

Exception

Volumes syncVolumeLicenses(string $cpksver, string $nonce, string $source, array $optParams = [])

Request downloaded content access for specified volumes on the My eBooks shelf. (myconfig.syncVolumeLicenses)

Parameters

string $cpksver

The device/version ID from which to release the restriction.

string $nonce

The client nonce value.

string $source

String to identify the originator of this request.

array $optParams

Optional parameters.

Return Value

Volumes

Exceptions

Exception

Usersettings updateUserSettings(Usersettings $postBody, array $optParams = [])

Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub- objects will retain the existing value. (myconfig.updateUserSettings)

Parameters

Usersettings $postBody
array $optParams

Optional parameters.

Return Value

Usersettings

Exceptions

Exception