Class InventorySourceGroupsResource.CreateRequest
Creates a new inventory source group. Returns the newly created inventory source group if successful.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<InventorySourceGroup>
InventorySourceGroupsResource.CreateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<InventorySourceGroup>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
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 CreateRequest : DisplayVideoBaseServiceRequest<InventorySourceGroup>, IClientServiceRequest<InventorySourceGroup>, IClientServiceRequest
Constructors
CreateRequest(IClientService, InventorySourceGroup)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, InventorySourceGroup body)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
InventorySourceGroup | body |
Properties
AdvertiserId
The ID of the advertiser that owns the inventory source group. The parent partner will not have access to this group.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Query)]
public virtual long? AdvertiserId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.MethodName
PartnerId
The ID of the partner that owns the inventory source group. Only this partner will have write access to this group. Only advertisers to which this group is explicitly shared will have read access to this group.
Declaration
[RequestParameter("partnerId", RequestParameterType.Query)]
public virtual long? PartnerId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.DisplayVideo.v1.DisplayVideoBaseServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest