class InventorySourceGroupsAssignedInventorySources extends Resource (View source)

The "assignedInventorySources" collection of methods.

Typical usage is:

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

Methods

bulkEdit(string $inventorySourceGroupId, BulkEditAssignedInventorySourcesRequest $postBody, array $optParams = [])

Bulk edits multiple assignments between inventory sources and a single inventory source group. The operation will delete the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.

create(string $inventorySourceGroupId, AssignedInventorySource $postBody, array $optParams = [])

Creates an assignment between an inventory source and an inventory source group. (assignedInventorySources.create)

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

Deletes the assignment between an inventory source and an inventory source group. (assignedInventorySources.delete)

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

Lists inventory sources assigned to an inventory source group.

Details

BulkEditAssignedInventorySourcesResponse bulkEdit(string $inventorySourceGroupId, BulkEditAssignedInventorySourcesRequest $postBody, array $optParams = [])

Bulk edits multiple assignments between inventory sources and a single inventory source group. The operation will delete the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.

(assignedInventorySources.bulkEdit)

Parameters

string $inventorySourceGroupId

Required. The ID of the inventory source group to which the assignments are assigned.

BulkEditAssignedInventorySourcesRequest $postBody
array $optParams

Optional parameters.

Return Value

BulkEditAssignedInventorySourcesResponse

Exceptions

Exception

AssignedInventorySource create(string $inventorySourceGroupId, AssignedInventorySource $postBody, array $optParams = [])

Creates an assignment between an inventory source and an inventory source group. (assignedInventorySources.create)

Parameters

string $inventorySourceGroupId

Required. The ID of the inventory source group to which the assignment will be assigned.

AssignedInventorySource $postBody
array $optParams

Optional parameters.

Return Value

AssignedInventorySource

Exceptions

Exception

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

Deletes the assignment between an inventory source and an inventory source group. (assignedInventorySources.delete)

Parameters

string $inventorySourceGroupId

Required. The ID of the inventory source group to which this assignment is assigned.

string $assignedInventorySourceId

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

array $optParams

Optional parameters.

Return Value

DisplayvideoEmpty

Exceptions

Exception

ListAssignedInventorySourcesResponse listInventorySourceGroupsAssignedInventorySources(string $inventorySourceGroupId, array $optParams = [])

Lists inventory sources assigned to an inventory source group.

(assignedInventorySources.listInventorySourceGroupsAssignedInventorySources)

Parameters

string $inventorySourceGroupId

Required. The ID of the inventory source group to which these assignments are assigned.

array $optParams

Optional parameters.

Return Value

ListAssignedInventorySourcesResponse

Exceptions

Exception