Class AgenciesResource.ReportsResource.RunRequest
Initiates the execution of an existing report asynchronously. Users can get the report by polling this
operation using OperationsService.GetOperation. Poll every 5 seconds initially, with an exponential
backoff. Once a report is complete, the operation will contain a RunReportResponse in its response
field containing a report_result that can be passed to the FetchReportResultRows method to retrieve
the report data.
Inheritance
AgenciesResource.ReportsResource.RunRequest
Inherited Members
Namespace: Google.Apis.AgenciesAndBrands.v1
Assembly: Google.Apis.AgenciesAndBrands.v1.dll
Syntax
public class AgenciesResource.ReportsResource.RunRequest : AgenciesAndBrandsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RunRequest(IClientService, RunReportRequest, string)
Constructs a new Run request.
Declaration
public RunRequest(IClientService service, RunReportRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RunReportRequest | body | |
| string | name |
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
Name
Required. The report to run. Format: agencies/{account_id}/reports/{report_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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()