Class ServicesResource.ReportRequest
Private Preview. This feature is only available for approved services. This method provides telemetry
reporting for services that are integrated with Service
Infrastructure. It reports a list of operations that have
occurred on a service. It must be called after the operations have been executed. For more information, see
Telemetry Reporting. NOTE: The
telemetry reporting has a hard limit of 1000 operations and 1MB per Report call. It is recommended to have
no more than 100 operations per call. This method requires the servicemanagement.services.report
permission on the specified service. For more information, see Service Control API Access
Control.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceControl.v2
Assembly: Google.Apis.ServiceControl.v2.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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
InitParameters()
Initializes Report parameter list.
Declaration
protected override void InitParameters()