class GroupItems extends Resource (View source)

The "groupItems" collection of methods.

Typical usage is:

 $youtubeAnalyticsService = new Google\Service\YouTubeAnalytics(...);
 $groupItems = $youtubeAnalyticsService->groupItems;

Methods

delete(array $optParams = [])

Removes an item from a group. (groupItems.delete)

insert(GroupItem $postBody, array $optParams = [])

Creates a group item. (groupItems.insert)

listGroupItems(array $optParams = [])

Returns a collection of group items that match the API request parameters.

Details

EmptyResponse delete(array $optParams = [])

Removes an item from a group. (groupItems.delete)

Parameters

array $optParams

Optional parameters.

Return Value

EmptyResponse

Exceptions

Exception

GroupItem insert(GroupItem $postBody, array $optParams = [])

Creates a group item. (groupItems.insert)

Parameters

GroupItem $postBody
array $optParams

Optional parameters.

Return Value

GroupItem

Exceptions

Exception

ListGroupItemsResponse listGroupItems(array $optParams = [])

Returns a collection of group items that match the API request parameters.

(groupItems.listGroupItems)

Parameters

array $optParams

Optional parameters.

Return Value

ListGroupItemsResponse

Exceptions

Exception