Subscriptions
class Subscriptions extends Resource (View source)
The "subscriptions" collection of methods.
Typical usage is:
$youtubeService = new Google\Service\YouTube(...);
$subscriptions = $youtubeService->subscriptions;
Methods
delete(string $id, array $optParams = [])
Deletes a resource. (subscriptions.delete)
insert(string|array $part, Subscription $postBody, array $optParams = [])
Inserts a new resource into this collection. (subscriptions.insert)
listSubscriptions(string|array $part, array $optParams = [])
Retrieves a list of resources, possibly filtered.
Details
delete(string $id, array $optParams = [])
Deletes a resource. (subscriptions.delete)
Subscription
insert(string|array $part, Subscription $postBody, array $optParams = [])
Inserts a new resource into this collection. (subscriptions.insert)
SubscriptionListResponse
listSubscriptions(string|array $part, array $optParams = [])
Retrieves a list of resources, possibly filtered.
(subscriptions.listSubscriptions)