Reference documentation and code samples for the Google Cloud Service Control V1 Client class ReportRequest.
Request message for the Report method.
Generated from protobuf message google.api.servicecontrol.v1.ReportRequest
Namespace
Google \ Cloud \ ServiceControl \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ service_name
string
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.
Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See ReportResponse.report_errors for partial failure behavior.
↳ service_config_id
string
Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.
getServiceName
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com".
Typically the service should report one operation per request.
Putting multiple operations into a single request is allowed, but should
be used only when multiple operations are natually available at the time
of the report.
There is no limit on the number of operations in the same ReportRequest,
however the ReportRequest size should be no larger than 1MB. See
ReportResponse.report_errors
for partial failure behavior.
Typically the service should report one operation per request.
Putting multiple operations into a single request is allowed, but should
be used only when multiple operations are natually available at the time
of the report.
There is no limit on the number of operations in the same ReportRequest,
however the ReportRequest size should be no larger than 1MB. See
ReportResponse.report_errors
for partial failure behavior.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Service Control V1 Client - Class ReportRequest (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-service-control/latest/V1.ReportRequest)\n- [2.0.3](/php/docs/reference/cloud-service-control/2.0.3/V1.ReportRequest)\n- [1.4.4](/php/docs/reference/cloud-service-control/1.4.4/V1.ReportRequest)\n- [1.3.0](/php/docs/reference/cloud-service-control/1.3.0/V1.ReportRequest)\n- [1.2.1](/php/docs/reference/cloud-service-control/1.2.1/V1.ReportRequest)\n- [1.1.1](/php/docs/reference/cloud-service-control/1.1.1/V1.ReportRequest)\n- [1.0.6](/php/docs/reference/cloud-service-control/1.0.6/V1.ReportRequest) \nReference documentation and code samples for the Google Cloud Service Control V1 Client class ReportRequest.\n\nRequest message for the Report method.\n\nGenerated from protobuf message `google.api.servicecontrol.v1.ReportRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ServiceControl \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getServiceName\n\nThe service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee\n[google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)\nfor the definition of a service name.\n\n### setServiceName\n\nThe service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee\n[google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)\nfor the definition of a service name.\n\n### getOperations\n\nOperations to be reported.\n\nTypically the service should report one operation per request.\nPutting multiple operations into a single request is allowed, but should\nbe used only when multiple operations are natually available at the time\nof the report.\nThere is no limit on the number of operations in the same ReportRequest,\nhowever the ReportRequest size should be no larger than 1MB. See\n[ReportResponse.report_errors](/php/docs/reference/cloud-service-control/latest/V1.ReportResponse#_Google_Cloud_ServiceControl_V1_ReportResponse__getReportErrors__)\nfor partial failure behavior.\n\n### setOperations\n\nOperations to be reported.\n\nTypically the service should report one operation per request.\nPutting multiple operations into a single request is allowed, but should\nbe used only when multiple operations are natually available at the time\nof the report.\nThere is no limit on the number of operations in the same ReportRequest,\nhowever the ReportRequest size should be no larger than 1MB. See\n[ReportResponse.report_errors](/php/docs/reference/cloud-service-control/latest/V1.ReportResponse#_Google_Cloud_ServiceControl_V1_ReportResponse__getReportErrors__)\nfor partial failure behavior.\n\n### getServiceConfigId\n\nSpecifies which version of service config should be used to process the\nrequest.\n\nIf unspecified or no matching version can be found, the\nlatest one will be used.\n\n### setServiceConfigId\n\nSpecifies which version of service config should be used to process the\nrequest.\n\nIf unspecified or no matching version can be found, the\nlatest one will be used."]]