Show / Hide Table of Contents

Class AgenciesResource.ReportsResource

The "reports" collection of methods.

Inheritance
object
AgenciesResource.ReportsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AgenciesAndBrands.v1
Assembly: Google.Apis.AgenciesAndBrands.v1.dll
Syntax
public class AgenciesResource.ReportsResource

Constructors

ReportsResource(IClientService)

Constructs a new resource.

Declaration
public ReportsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Operations

Gets the Operations resource.

Declaration
public virtual AgenciesResource.ReportsResource.OperationsResource Operations { get; }
Property Value
Type Description
AgenciesResource.ReportsResource.OperationsResource

Results

Gets the Results resource.

Declaration
public virtual AgenciesResource.ReportsResource.ResultsResource Results { get; }
Property Value
Type Description
AgenciesResource.ReportsResource.ResultsResource

Methods

Create(Report, string)

Creates a Report object.

Declaration
public virtual AgenciesResource.ReportsResource.CreateRequest Create(Report body, string parent)
Parameters
Type Name Description
Report body

The body of the request.

string parent

Required. The parent resource where this Report will be created. Format: agencies/{account_id}

Returns
Type Description
AgenciesResource.ReportsResource.CreateRequest

Delete(string)

Deletes a Report object.

Declaration
public virtual AgenciesResource.ReportsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name of the report to delete. Format: agencies/{account_id}/reports/{report_id}

Returns
Type Description
AgenciesResource.ReportsResource.DeleteRequest

Get(string)

Retrieves a Report object.

Declaration
public virtual AgenciesResource.ReportsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The resource name of the report. Format: agencies/{account_id}/reports/{report_id}

Returns
Type Description
AgenciesResource.ReportsResource.GetRequest

List(string)

Lists Report objects.

Declaration
public virtual AgenciesResource.ReportsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of reports. Format: agencies/{account_id}

Returns
Type Description
AgenciesResource.ReportsResource.ListRequest

Patch(Report, string)

Updates a Report object.

Declaration
public virtual AgenciesResource.ReportsResource.PatchRequest Patch(Report body, string name)
Parameters
Type Name Description
Report body

The body of the request.

string name

Identifier. The resource name of the report. Report resource name have the form: agencies/{account_id}/reports/{report_id}

Returns
Type Description
AgenciesResource.ReportsResource.PatchRequest

Run(RunReportRequest, string)

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.

Declaration
public virtual AgenciesResource.ReportsResource.RunRequest Run(RunReportRequest body, string name)
Parameters
Type Name Description
RunReportRequest body

The body of the request.

string name

Required. The report to run. Format: agencies/{account_id}/reports/{report_id}

Returns
Type Description
AgenciesResource.ReportsResource.RunRequest
In this article
Back to top Generated by DocFX