Show / Hide Table of Contents

Class ServicesResource.ReportRequest

Reports operation results to Google Service Control, such as logs and metrics. It should be called after an operation is completed. If feasible, the client should aggregate reporting data for up to 5 seconds to reduce API traffic. Limiting aggregation to 5 seconds is to reduce data loss during client crashes. Clients should carefully choose the aggregation time window to avoid data loss risk more than 0.01% for business and compliance reasons. NOTE: the ReportRequest has the size limit (wire-format byte size) of 1MB. This method requires the servicemanagement.services.report permission on the specified service. For more information, see Google Cloud IAM.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ReportResponse>
ServiceControlBaseServiceRequest<ReportResponse>
ServicesResource.ReportRequest
Implements
IClientServiceRequest<ReportResponse>
IClientServiceRequest
Inherited Members
ServiceControlBaseServiceRequest<ReportResponse>.Xgafv
ServiceControlBaseServiceRequest<ReportResponse>.AccessToken
ServiceControlBaseServiceRequest<ReportResponse>.Alt
ServiceControlBaseServiceRequest<ReportResponse>.Callback
ServiceControlBaseServiceRequest<ReportResponse>.Fields
ServiceControlBaseServiceRequest<ReportResponse>.Key
ServiceControlBaseServiceRequest<ReportResponse>.OauthToken
ServiceControlBaseServiceRequest<ReportResponse>.PrettyPrint
ServiceControlBaseServiceRequest<ReportResponse>.QuotaUser
ServiceControlBaseServiceRequest<ReportResponse>.UploadType
ServiceControlBaseServiceRequest<ReportResponse>.UploadProtocol
ClientServiceRequest<ReportResponse>.Execute()
ClientServiceRequest<ReportResponse>.ExecuteAsStream()
ClientServiceRequest<ReportResponse>.ExecuteAsync()
ClientServiceRequest<ReportResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ReportResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ReportResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ReportResponse>.CreateRequest(bool?)
ClientServiceRequest<ReportResponse>.GenerateRequestUri()
ClientServiceRequest<ReportResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ReportResponse>.ETagAction
ClientServiceRequest<ReportResponse>.ModifyRequest
ClientServiceRequest<ReportResponse>.ValidateParameters
ClientServiceRequest<ReportResponse>.ApiVersion
ClientServiceRequest<ReportResponse>.RequestParameters
ClientServiceRequest<ReportResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceControl.v1
Assembly: Google.Apis.ServiceControl.v1.dll
Syntax
public class ServicesResource.ReportRequest : ServiceControlBaseServiceRequest<ReportResponse>, IClientServiceRequest<ReportResponse>, IClientServiceRequest

Constructors

ReportRequest(IClientService, ReportRequest, string)

Constructs a new Report request.

Declaration
public ReportRequest(IClientService service, ReportRequest body, string serviceName)
Parameters
Type Name Description
IClientService service
ReportRequest body
string serviceName

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ReportResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ReportResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ReportResponse>.RestPath

ServiceName

The service name as specified in its service configuration. For example, "pubsub.googleapis.com". See google.api.Service for the definition of a service name.

Declaration
[RequestParameter("serviceName", RequestParameterType.Path)]
public virtual string ServiceName { get; }
Property Value
Type Description
string

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<ReportResponse>.GetBody()

InitParameters()

Initializes Report parameter list.

Declaration
protected override void InitParameters()
Overrides
ServiceControlBaseServiceRequest<ReportResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX