Class CustomersResource.BatchJobsResource.RunRequest
Runs the batch job. The Operation.metadata field type is BatchJobMetadata. When finished, the long running operation will not contain errors or a response. Instead, use ListBatchJobResults to get the results of the job. List of thrown errors: AuthenticationError AuthorizationError BatchJobError HeaderError InternalError QuotaError RequestError
Inheritance
CustomersResource.BatchJobsResource.RunRequest
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.BatchJobsResource.RunRequest : SA360BaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
RunRequest(IClientService, GoogleAdsSearchads360V23ServicesRunBatchJobRequest, string)
Constructs a new Run request.
Declaration
public RunRequest(IClientService service, GoogleAdsSearchads360V23ServicesRunBatchJobRequest body, string resourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAdsSearchads360V23ServicesRunBatchJobRequest | body | |
| string | resourceName |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ResourceName
Required. The resource name of the BatchJob to run.
Declaration
[RequestParameter("resourceName", RequestParameterType.Path)]
public virtual string ResourceName { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Run parameter list.
Declaration
protected override void InitParameters()