proto_docs/google/longrunning/operations.rb in google-cloud-workflows-v1beta-0.1.1 vs proto_docs/google/longrunning/operations.rb in google-cloud-workflows-v1beta-0.2.0

- old
+ new

@@ -23,21 +23,21 @@ # network API call. # @!attribute [rw] name # @return [::String] # The server-assigned name, which is only unique within the same service that # originally returns it. If you use the default HTTP mapping, the - # `name` should have the format of `operations/some/unique/name`. + # `name` should be a resource name ending with `operations/{unique_id}`. # @!attribute [rw] metadata # @return [::Google::Protobuf::Any] # Service-specific metadata associated with the operation. It typically # contains progress information and common metadata such as create time. # Some services might not provide such metadata. Any method that returns a # long-running operation should document the metadata type, if any. # @!attribute [rw] done # @return [::Boolean] # If the value is `false`, it means the operation is still in progress. - # If true, the operation is completed, and either `error` or `response` is + # 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. # @!attribute [rw] response @@ -65,11 +65,11 @@ end # The request message for Operations.ListOperations. # @!attribute [rw] name # @return [::String] - # The name of the operation collection. + # The name of the operation's parent resource. # @!attribute [rw] filter # @return [::String] # The standard list filter. # @!attribute [rw] page_size # @return [::Integer] @@ -106,9 +106,23 @@ # The request message for Operations.DeleteOperation. # @!attribute [rw] name # @return [::String] # The name of the operation resource to be deleted. class DeleteOperationRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request message for Operations.WaitOperation. + # @!attribute [rw] name + # @return [::String] + # The name of the operation resource to wait on. + # @!attribute [rw] timeout + # @return [::Google::Protobuf::Duration] + # The maximum duration to wait before timing out. If left blank, the wait + # will be at most the time permitted by the underlying HTTP/RPC protocol. + # If RPC context deadline is also specified, the shorter one will be used. + class WaitOperationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A message representing the message types used by a long-running operation.