class Google::Apis::ServicecontrolV1::ReportRequest

Request message for the Report method.

Attributes

operations[RW]

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. Corresponds to the JSON property `operations` @return [Array<Google::Apis::ServicecontrolV1::Operation>]

service_config_id[RW]

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. Corresponds to the JSON property `serviceConfigId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/servicecontrol_v1/classes.rb, line 1791
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/servicecontrol_v1/classes.rb, line 1796
def update!(**args)
  @operations = args[:operations] if args.key?(:operations)
  @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
end