class InventorySourceGroups extends Resource (View source)

The "inventorySourceGroups" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $inventorySourceGroups = $displayvideoService->inventorySourceGroups;

Methods

create(InventorySourceGroup $postBody, array $optParams = [])

Creates a new inventory source group. Returns the newly created inventory source group if successful. (inventorySourceGroups.create)

delete(string $inventorySourceGroupId, array $optParams = [])

Deletes an inventory source group. (inventorySourceGroups.delete)

get(string $inventorySourceGroupId, array $optParams = [])

Gets an inventory source group. (inventorySourceGroups.get)

listInventorySourceGroups(array $optParams = [])

Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.

patch(string $inventorySourceGroupId, InventorySourceGroup $postBody, array $optParams = [])

Updates an inventory source group. Returns the updated inventory source group if successful. (inventorySourceGroups.patch)

Details

InventorySourceGroup create(InventorySourceGroup $postBody, array $optParams = [])

Creates a new inventory source group. Returns the newly created inventory source group if successful. (inventorySourceGroups.create)

Parameters

InventorySourceGroup $postBody
array $optParams

Optional parameters.

Return Value

InventorySourceGroup

Exceptions

Exception

DisplayvideoEmpty delete(string $inventorySourceGroupId, array $optParams = [])

Deletes an inventory source group. (inventorySourceGroups.delete)

Parameters

string $inventorySourceGroupId

Required. The ID of the inventory source group to delete.

array $optParams

Optional parameters.

Return Value

DisplayvideoEmpty

Exceptions

Exception

InventorySourceGroup get(string $inventorySourceGroupId, array $optParams = [])

Gets an inventory source group. (inventorySourceGroups.get)

Parameters

string $inventorySourceGroupId

Required. The ID of the inventory source group to fetch.

array $optParams

Optional parameters.

Return Value

InventorySourceGroup

Exceptions

Exception

ListInventorySourceGroupsResponse listInventorySourceGroups(array $optParams = [])

Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.

(inventorySourceGroups.listInventorySourceGroups)

Parameters

array $optParams

Optional parameters.

Return Value

ListInventorySourceGroupsResponse

Exceptions

Exception

InventorySourceGroup patch(string $inventorySourceGroupId, InventorySourceGroup $postBody, array $optParams = [])

Updates an inventory source group. Returns the updated inventory source group if successful. (inventorySourceGroups.patch)

Parameters

string $inventorySourceGroupId

Output only. The unique ID of the inventory source group. Assigned by the system.

InventorySourceGroup $postBody
array $optParams

Optional parameters.

Return Value

InventorySourceGroup

Exceptions

Exception