ReaderRevenueSubscriptionLinking
import { ReaderRevenueSubscriptionLinking } from "https://googleapis.deno.dev/v1/readerrevenuesubscriptionlinking:v1.ts";
readerrevenuesubscriptionlinking.googleapis.com API.
§Methods
Removes a publication reader, effectively severing the association with a
Google user. If force
is set to true, any entitlements for this reader
will also be deleted. (Otherwise, the request will only work if the reader
has no entitlements.) - If the reader does not exist, return NOT_FOUND. -
Return FAILED_PRECONDITION if the force field is false (or unset) and
entitlements are present.
Required. The resource name of the reader. Format: publications/{publication_id}/readers/{ppid}
Gets the reader entitlements for a publication reader. - Returns PERMISSION_DENIED if the caller does not have access. - Returns NOT_FOUND if the reader does not exist.
Required. The name of the reader entitlements to retrieve. Format: publications/{publication_id}/readers/{reader_id}/entitlements
Updates the reader entitlements for a publication reader. The entire reader entitlements will be overwritten by the new reader entitlements in the payload, like a PUT. - Returns PERMISSION_DENIED if the caller does not have access. - Returns NOT_FOUND if the reader does not exist.
Output only. The resource name of the singleton.