Class InventorySourceGroupsResource.AssignedInventorySourcesResource
The "assignedInventorySources" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class InventorySourceGroupsResource.AssignedInventorySourcesResource
Constructors
AssignedInventorySourcesResource(IClientService)
Constructs a new resource.
Declaration
public AssignedInventorySourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
BulkEdit(BulkEditAssignedInventorySourcesRequest, long)
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.
Declaration
public virtual InventorySourceGroupsResource.AssignedInventorySourcesResource.BulkEditRequest BulkEdit(BulkEditAssignedInventorySourcesRequest body, long inventorySourceGroupId)
Parameters
Type | Name | Description |
---|---|---|
BulkEditAssignedInventorySourcesRequest | body | The body of the request. |
long | inventorySourceGroupId | Required. The ID of the inventory source group to which the assignments are assigned. |
Returns
Type | Description |
---|---|
InventorySourceGroupsResource.AssignedInventorySourcesResource.BulkEditRequest |
Create(AssignedInventorySource, long)
Creates an assignment between an inventory source and an inventory source group.
Declaration
public virtual InventorySourceGroupsResource.AssignedInventorySourcesResource.CreateRequest Create(AssignedInventorySource body, long inventorySourceGroupId)
Parameters
Type | Name | Description |
---|---|---|
AssignedInventorySource | body | The body of the request. |
long | inventorySourceGroupId | Required. The ID of the inventory source group to which the assignment will be assigned. |
Returns
Type | Description |
---|---|
InventorySourceGroupsResource.AssignedInventorySourcesResource.CreateRequest |
Delete(long, long)
Deletes the assignment between an inventory source and an inventory source group.
Declaration
public virtual InventorySourceGroupsResource.AssignedInventorySourcesResource.DeleteRequest Delete(long inventorySourceGroupId, long assignedInventorySourceId)
Parameters
Type | Name | Description |
---|---|---|
long | inventorySourceGroupId | Required. The ID of the inventory source group to which this assignment is assigned. |
long | assignedInventorySourceId | Required. The ID of the assigned inventory source to delete. |
Returns
Type | Description |
---|---|
InventorySourceGroupsResource.AssignedInventorySourcesResource.DeleteRequest |
List(long)
Lists inventory sources assigned to an inventory source group.
Declaration
public virtual InventorySourceGroupsResource.AssignedInventorySourcesResource.ListRequest List(long inventorySourceGroupId)
Parameters
Type | Name | Description |
---|---|---|
long | inventorySourceGroupId | Required. The ID of the inventory source group to which these assignments are assigned. |
Returns
Type | Description |
---|---|
InventorySourceGroupsResource.AssignedInventorySourcesResource.ListRequest |