public function report($serviceName, Google_Service_ServiceControl_ReportRequest $postBody, $optParams = array())
  {
    $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('report', array($params), "Google_Service_ServiceControl_ReportResponse");
  }
public function report($serviceName, Google_Service_ServiceControl_ReportRequest $postBody, $optParams = array())
  {
    $params = array('serviceName' => $serviceName, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('report', array($params), "Google_Service_ServiceControl_ReportResponse");
  }
public function report ( $ serviceName , Google_Service_ServiceControl_ReportRequest $ postBody , $ optParams = array ( ) ) { $ params = array ( 'serviceName' => $ serviceName , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'report' , array ( $ params ) , "Google_Service_ServiceControl_ReportResponse" ) ; }
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 of 1MB.

This method requires the `servicemanagement.services.report` permission on
the specified service. For more information, see [Google Cloud
IAM](https://cloud.google.com/iam). (services.report)

@param string $serviceName The service name as specified in its service
configuration. For example, `"pubsub.googleapis.com"`.

See [google.api.Service](https://cloud.google.com/service-
management/reference/rpc/google.api#google.api.Service) for the definition of
a service name.
@param Google_Service_ServiceControl_ReportRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_ServiceControl_ReportResponse
Reports operation results to Google Service Control such as logs and metrics . It should be called after an operation is completed .