Class: Google::Apis::ServicecontrolV1::ReportRequest
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::ReportRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicecontrol_v1/classes.rb,
generated/google/apis/servicecontrol_v1/representations.rb,
generated/google/apis/servicecontrol_v1/representations.rb
Overview
Request message for the Report method.
Instance Attribute Summary collapse
-
#operations ⇒ Array<Google::Apis::ServicecontrolV1::Operation>
Operations to be reported.
-
#service_config_id ⇒ String
Specifies which version of service config should be used to process the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportRequest
constructor
A new instance of ReportRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReportRequest
Returns a new instance of ReportRequest
873 874 875 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 873 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operations ⇒ Array<Google::Apis::ServicecontrolV1::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.
If multiple operations are in a single request, the total request size
should be no larger than 1MB. See ReportResponse.report_errors for
partial failure behavior.
Corresponds to the JSON property operations
871 872 873 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 871 def operations @operations end |
#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.
Corresponds to the JSON property serviceConfigId
859 860 861 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 859 def service_config_id @service_config_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
878 879 880 881 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 878 def update!(**args) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @operations = args[:operations] if args.key?(:operations) end |