Class: Google::Apis::ServicecontrolV1::ReportResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::ReportResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicecontrol_v1/classes.rb,
lib/google/apis/servicecontrol_v1/representations.rb,
lib/google/apis/servicecontrol_v1/representations.rb
Overview
Response message for the Report method.
Instance Attribute Summary collapse
-
#report_errors ⇒ Array<Google::Apis::ServicecontrolV1::ReportError>
Partial failures, one for each
Operationin the request that failed processing. -
#service_config_id ⇒ String
The actual config id used to process the request.
-
#service_rollout_id ⇒ String
The current service rollout id used to process the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportResponse
constructor
A new instance of ReportResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportResponse
Returns a new instance of ReportResponse.
1893 1894 1895 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1893 def initialize(**args) update!(**args) end |
Instance Attribute Details
#report_errors ⇒ Array<Google::Apis::ServicecontrolV1::ReportError>
Partial failures, one for each Operation in the request that failed
processing. There are three possible combinations of the RPC status: 1. The
combination of a successful RPC status and an empty report_errors list
indicates a complete success where all Operations in the request are
processed successfully. 2. The combination of a successful RPC status and a
non-empty report_errors list indicates a partial success where some
Operations in the request succeeded. Each Operation that failed processing
has a corresponding item in this list. 3. A failed RPC status indicates a
general non-deterministic failure. When this happens, it's impossible to know
which of the 'Operations' in the request succeeded or failed.
Corresponds to the JSON property reportErrors
1881 1882 1883 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1881 def report_errors @report_errors end |
#service_config_id ⇒ String
The actual config id used to process the request.
Corresponds to the JSON property serviceConfigId
1886 1887 1888 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1886 def service_config_id @service_config_id end |
#service_rollout_id ⇒ String
The current service rollout id used to process the request.
Corresponds to the JSON property serviceRolloutId
1891 1892 1893 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1891 def service_rollout_id @service_rollout_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1898 1899 1900 1901 1902 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1898 def update!(**args) @report_errors = args[:report_errors] if args.key?(:report_errors) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @service_rollout_id = args[:service_rollout_id] if args.key?(:service_rollout_id) end |