Class: Google::Cloud::ServiceControl::V1::ReportResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/api/servicecontrol/v1/service_controller.rb

Overview

Response message for the Report method.

Defined Under Namespace

Classes: ReportError

Instance Attribute Summary collapse

Instance Attribute Details

#report_errors::Array<::Google::Cloud::ServiceControl::V1::ReportResponse::ReportError>

Returns 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.

Returns:

  • (::Array<::Google::Cloud::ServiceControl::V1::ReportResponse::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.


194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# File 'proto_docs/google/api/servicecontrol/v1/service_controller.rb', line 194

class ReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the processing error of one
  # {::Google::Cloud::ServiceControl::V1::Operation Operation} in the request.
  # @!attribute [rw] operation_id
  #   @return [::String]
  #     The
  #     {::Google::Cloud::ServiceControl::V1::Operation#operation_id Operation.operation_id}
  #     value from the request.
  # @!attribute [rw] status
  #   @return [::Google::Rpc::Status]
  #     Details of the error when processing the
  #     {::Google::Cloud::ServiceControl::V1::Operation Operation}.
  class ReportError
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#service_config_id::String

Returns The actual config id used to process the request.

Returns:

  • (::String)

    The actual config id used to process the request.



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# File 'proto_docs/google/api/servicecontrol/v1/service_controller.rb', line 194

class ReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the processing error of one
  # {::Google::Cloud::ServiceControl::V1::Operation Operation} in the request.
  # @!attribute [rw] operation_id
  #   @return [::String]
  #     The
  #     {::Google::Cloud::ServiceControl::V1::Operation#operation_id Operation.operation_id}
  #     value from the request.
  # @!attribute [rw] status
  #   @return [::Google::Rpc::Status]
  #     Details of the error when processing the
  #     {::Google::Cloud::ServiceControl::V1::Operation Operation}.
  class ReportError
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#service_rollout_id::String

Returns The current service rollout id used to process the request.

Returns:

  • (::String)

    The current service rollout id used to process the request.



194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# File 'proto_docs/google/api/servicecontrol/v1/service_controller.rb', line 194

class ReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the processing error of one
  # {::Google::Cloud::ServiceControl::V1::Operation Operation} in the request.
  # @!attribute [rw] operation_id
  #   @return [::String]
  #     The
  #     {::Google::Cloud::ServiceControl::V1::Operation#operation_id Operation.operation_id}
  #     value from the request.
  # @!attribute [rw] status
  #   @return [::Google::Rpc::Status]
  #     Details of the error when processing the
  #     {::Google::Cloud::ServiceControl::V1::Operation Operation}.
  class ReportError
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end