Show / Hide Table of Contents

Class InventorySourceGroupsResource.AssignedInventorySourcesResource

The "assignedInventorySources" collection of methods.

Inheritance
System.Object
InventorySourceGroupsResource.AssignedInventorySourcesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class AssignedInventorySourcesResource

Constructors

AssignedInventorySourcesResource(IClientService)

Constructs a new resource.

Declaration
public AssignedInventorySourcesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

BulkEdit(BulkEditAssignedInventorySourcesRequest, Int64)

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.

System.Int64 inventorySourceGroupId

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

Returns
Type Description
InventorySourceGroupsResource.AssignedInventorySourcesResource.BulkEditRequest

Create(AssignedInventorySource, Int64)

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.

System.Int64 inventorySourceGroupId

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

Returns
Type Description
InventorySourceGroupsResource.AssignedInventorySourcesResource.CreateRequest

Delete(Int64, Int64)

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
System.Int64 inventorySourceGroupId

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

System.Int64 assignedInventorySourceId

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

Returns
Type Description
InventorySourceGroupsResource.AssignedInventorySourcesResource.DeleteRequest

List(Int64)

Lists inventory sources assigned to an inventory source group.

Declaration
public virtual InventorySourceGroupsResource.AssignedInventorySourcesResource.ListRequest List(long inventorySourceGroupId)
Parameters
Type Name Description
System.Int64 inventorySourceGroupId

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

Returns
Type Description
InventorySourceGroupsResource.AssignedInventorySourcesResource.ListRequest
In This Article
Back to top Generated by DocFX