Class QueriesResource.RunRequest
Runs an existing query to generate a report.
Inheritance
QueriesResource.RunRequest
Inherited Members
Namespace: Google.Apis.DoubleClickBidManager.v2
Assembly: Google.Apis.DoubleClickBidManager.v2.dll
Syntax
public class QueriesResource.RunRequest : DoubleClickBidManagerBaseServiceRequest<Report>, IClientServiceRequest<Report>, IClientServiceRequest
Constructors
RunRequest(IClientService, RunQueryRequest, long)
Constructs a new Run request.
Declaration
public RunRequest(IClientService service, RunQueryRequest body, long queryId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RunQueryRequest | body | |
long | queryId |
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
QueryId
Required. The ID of the query to run.
Declaration
[RequestParameter("queryId", RequestParameterType.Path)]
public virtual long QueryId { get; }
Property Value
Type | Description |
---|---|
long |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Synchronous
Whether the query should be run synchronously. When true
, the request won't return until the resulting
report has finished running. This parameter is false
by default. Setting this parameter to true
is
not recommended.
Declaration
[RequestParameter("synchronous", RequestParameterType.Query)]
public virtual bool? Synchronous { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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()