Class InventorySourceGroupsResource
The "inventorySourceGroups" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class InventorySourceGroupsResource
Constructors
InventorySourceGroupsResource(IClientService)
Constructs a new resource.
Declaration
public InventorySourceGroupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AssignedInventorySources
Gets the AssignedInventorySources resource.
Declaration
public virtual InventorySourceGroupsResource.AssignedInventorySourcesResource AssignedInventorySources { get; }
Property Value
Type | Description |
---|---|
InventorySourceGroupsResource.AssignedInventorySourcesResource |
Methods
Create(InventorySourceGroup)
Creates a new inventory source group. Returns the newly created inventory source group if successful.
Declaration
public virtual InventorySourceGroupsResource.CreateRequest Create(InventorySourceGroup body)
Parameters
Type | Name | Description |
---|---|---|
InventorySourceGroup | body | The body of the request. |
Returns
Type | Description |
---|---|
InventorySourceGroupsResource.CreateRequest |
Delete(long)
Deletes an inventory source group.
Declaration
public virtual InventorySourceGroupsResource.DeleteRequest Delete(long inventorySourceGroupId)
Parameters
Type | Name | Description |
---|---|---|
long | inventorySourceGroupId | Required. The ID of the inventory source group to delete. |
Returns
Type | Description |
---|---|
InventorySourceGroupsResource.DeleteRequest |
Get(long)
Gets an inventory source group.
Declaration
public virtual InventorySourceGroupsResource.GetRequest Get(long inventorySourceGroupId)
Parameters
Type | Name | Description |
---|---|---|
long | inventorySourceGroupId | Required. The ID of the inventory source group to fetch. |
Returns
Type | Description |
---|---|
InventorySourceGroupsResource.GetRequest |
List()
Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.
Declaration
public virtual InventorySourceGroupsResource.ListRequest List()
Returns
Type | Description |
---|---|
InventorySourceGroupsResource.ListRequest |
Patch(InventorySourceGroup, long)
Updates an inventory source group. Returns the updated inventory source group if successful.
Declaration
public virtual InventorySourceGroupsResource.PatchRequest Patch(InventorySourceGroup body, long inventorySourceGroupId)
Parameters
Type | Name | Description |
---|---|---|
InventorySourceGroup | body | The body of the request. |
long | inventorySourceGroupId | Output only. The unique ID of the inventory source group. Assigned by the system. |
Returns
Type | Description |
---|---|
InventorySourceGroupsResource.PatchRequest |