Class InventorySourcesResource
The "inventorySources" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class InventorySourcesResource
Constructors
InventorySourcesResource(IClientService)
Constructs a new resource.
Declaration
public InventorySourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(InventorySource)
Creates a new inventory source. Returns the newly created inventory source if successful.
Declaration
public virtual InventorySourcesResource.CreateRequest Create(InventorySource body)
Parameters
Type | Name | Description |
---|---|---|
InventorySource | body | The body of the request. |
Returns
Type | Description |
---|---|
InventorySourcesResource.CreateRequest |
EditInventorySourceReadWriteAccessors(EditInventorySourceReadWriteAccessorsRequest, long)
Edits read/write accessors of an inventory source. Returns the updated read_write_accessors for the inventory source.
Declaration
public virtual InventorySourcesResource.EditInventorySourceReadWriteAccessorsRequest EditInventorySourceReadWriteAccessors(EditInventorySourceReadWriteAccessorsRequest body, long inventorySourceId)
Parameters
Type | Name | Description |
---|---|---|
EditInventorySourceReadWriteAccessorsRequest | body | The body of the request. |
long | inventorySourceId | Required. The ID of inventory source to update. |
Returns
Type | Description |
---|---|
InventorySourcesResource.EditInventorySourceReadWriteAccessorsRequest |
Get(long)
Gets an inventory source.
Declaration
public virtual InventorySourcesResource.GetRequest Get(long inventorySourceId)
Parameters
Type | Name | Description |
---|---|---|
long | inventorySourceId | Required. The ID of the inventory source to fetch. |
Returns
Type | Description |
---|---|
InventorySourcesResource.GetRequest |
List()
Lists inventory sources that are accessible to the current user. The order is defined by the order_by
parameter. If a filter by entity_status is not specified, inventory sources with entity status
ENTITY_STATUS_ARCHIVED
will not be included in the results.
Declaration
public virtual InventorySourcesResource.ListRequest List()
Returns
Type | Description |
---|---|
InventorySourcesResource.ListRequest |
Patch(InventorySource, long)
Updates an existing inventory source. Returns the updated inventory source if successful.
Declaration
public virtual InventorySourcesResource.PatchRequest Patch(InventorySource body, long inventorySourceId)
Parameters
Type | Name | Description |
---|---|---|
InventorySource | body | The body of the request. |
long | inventorySourceId | Output only. The unique ID of the inventory source. Assigned by the system. |
Returns
Type | Description |
---|---|
InventorySourcesResource.PatchRequest |