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 \ V1Methods
__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, |
↳ operations |
array<Google\Cloud\ServiceControl\V1\Operation>
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"
.
See google.api.Service for the definition of a service name.
Returns | |
---|---|
Type | Description |
string |
setServiceName
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getOperations
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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setOperations
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.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\ServiceControl\V1\Operation>
|
Returns | |
---|---|
Type | Description |
$this |
getServiceConfigId
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.
Returns | |
---|---|
Type | Description |
string |
setServiceConfigId
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |