Show / Hide Table of Contents

Class InventorySourcesResource

The "inventorySources" collection of methods.

Inheritance
System.Object
InventorySourcesResource
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 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, Int64)

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.

System.Int64 inventorySourceId

Required. The ID of inventory source to update.

Returns
Type Description
InventorySourcesResource.EditInventorySourceReadWriteAccessorsRequest

Get(Int64)

Gets an inventory source.

Declaration
public virtual InventorySourcesResource.GetRequest Get(long inventorySourceId)
Parameters
Type Name Description
System.Int64 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, Int64)

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.

System.Int64 inventorySourceId

Output only. The unique ID of the inventory source. Assigned by the system.

Returns
Type Description
InventorySourcesResource.PatchRequest
In This Article
Back to top Generated by DocFX