Class AccountsResource.NetworkReportResource.GenerateRequest
Generates an AdMob Network report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.
Inheritance
AccountsResource.NetworkReportResource.GenerateRequest
Inherited Members
Namespace: Google.Apis.AdMob.v1
Assembly: Google.Apis.AdMob.v1.dll
Syntax
public class AccountsResource.NetworkReportResource.GenerateRequest : AdMobBaseServiceRequest<GenerateNetworkReportResponse[]>, IClientServiceRequest<GenerateNetworkReportResponse[]>, IClientServiceRequest
Constructors
GenerateRequest(IClientService, GenerateNetworkReportRequest, string)
Constructs a new Generate request.
Declaration
public GenerateRequest(IClientService service, GenerateNetworkReportRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GenerateNetworkReportRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdMob.v1.Data.GenerateNetworkReportResponse[]>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdMob.v1.Data.GenerateNetworkReportResponse[]>.MethodName
Parent
Resource name of the account to generate the report for. Example: accounts/pub-9876543210987654
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
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.AdMob.v1.Data.GenerateNetworkReportResponse[]>.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.AdMob.v1.Data.GenerateNetworkReportResponse[]>.GetBody()
InitParameters()
Initializes Generate parameter list.
Declaration
protected override void InitParameters()