Class JobsResource.CreateRequest
Creates a job and returns it.
Inheritance
JobsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.YouTubeReporting.v1
Assembly: Google.Apis.YouTubeReporting.v1.dll
Syntax
public class JobsResource.CreateRequest : YouTubeReportingBaseServiceRequest<Job>, IClientServiceRequest<Job>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Job)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Job body)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Job | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTubeReporting.v1.Data.Job>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTubeReporting.v1.Data.Job>.MethodName
OnBehalfOfContentOwner
The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).
Declaration
[RequestParameter("onBehalfOfContentOwner", RequestParameterType.Query)]
public virtual string OnBehalfOfContentOwner { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTubeReporting.v1.Data.Job>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTubeReporting.v1.Data.Job>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()