proto_docs/google/longrunning/operations.rb in google-cloud-security_center-v1p1beta1-0.15.0 vs proto_docs/google/longrunning/operations.rb in google-cloud-security_center-v1p1beta1-0.16.0
- old
+ new
@@ -38,19 +38,23 @@
# If `true`, the operation is completed, and either `error` or `response` is
# available.
# @!attribute [rw] error
# @return [::Google::Rpc::Status]
# The error result of the operation in case of failure or cancellation.
+ #
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
# @!attribute [rw] response
# @return [::Google::Protobuf::Any]
# The normal, successful response of the operation. If the original
# method returns no data on success, such as `Delete`, the response is
# `google.protobuf.Empty`. If the original method is standard
# `Get`/`Create`/`Update`, the response should be the resource. For other
# methods, the response should have the type `XxxResponse`, where `Xxx`
# is the original method name. For example, if the original method name
# is `TakeSnapshot()`, the inferred response type is
# `TakeSnapshotResponse`.
+ #
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
class Operation
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end