Class: Google::Apis::ServicecontrolV1::ReportResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportResponse

Returns a new instance of ReportResponse.



1830
1831
1832
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1830

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#report_errorsArray<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



1818
1819
1820
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1818

def report_errors
  @report_errors
end

#service_config_idString

The actual config id used to process the request. Corresponds to the JSON property serviceConfigId

Returns:

  • (String)


1823
1824
1825
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1823

def service_config_id
  @service_config_id
end

#service_rollout_idString

The current service rollout id used to process the request. Corresponds to the JSON property serviceRolloutId

Returns:

  • (String)


1828
1829
1830
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1828

def service_rollout_id
  @service_rollout_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1835
1836
1837
1838
1839
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1835

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