lib/google/cloud/dialogflow/v2/documents/client.rb in google-cloud-dialogflow-v2-0.11.1 vs lib/google/cloud/dialogflow/v2/documents/client.rb in google-cloud-dialogflow-v2-0.11.2
- old
+ new
@@ -308,13 +308,17 @@
end
##
# Creates a new document.
#
- # Operation <response: {::Google::Cloud::Dialogflow::V2::Document Document},
- # metadata: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}>
+ # This method is a [long-running
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
+ # The returned `Operation` type has the following method-specific fields:
#
+ # - `metadata`: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
+ # - `response`: {::Google::Cloud::Dialogflow::V2::Document Document}
+ #
# @overload create_document(request, options = nil)
# Pass arguments to `create_document` via a request object, either of type
# {::Google::Cloud::Dialogflow::V2::CreateDocumentRequest} or an equivalent Hash.
#
# @param request [::Google::Cloud::Dialogflow::V2::CreateDocumentRequest, ::Hash]
@@ -384,13 +388,18 @@
end
##
# Deletes the specified document.
#
- # Operation <response: {::Google::Protobuf::Empty google.protobuf.Empty},
- # metadata: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}>
+ # This method is a [long-running
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
+ # The returned `Operation` type has the following method-specific fields:
#
+ # - `metadata`: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
+ # - `response`: An [Empty
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
+ #
# @overload delete_document(request, options = nil)
# Pass arguments to `delete_document` via a request object, either of type
# {::Google::Cloud::Dialogflow::V2::DeleteDocumentRequest} or an equivalent Hash.
#
# @param request [::Google::Cloud::Dialogflow::V2::DeleteDocumentRequest, ::Hash]
@@ -458,13 +467,17 @@
end
##
# Updates the specified document.
#
- # Operation <response: {::Google::Cloud::Dialogflow::V2::Document Document},
- # metadata: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}>
+ # This method is a [long-running
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
+ # The returned `Operation` type has the following method-specific fields:
#
+ # - `metadata`: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
+ # - `response`: {::Google::Cloud::Dialogflow::V2::Document Document}
+ #
# @overload update_document(request, options = nil)
# Pass arguments to `update_document` via a request object, either of type
# {::Google::Cloud::Dialogflow::V2::UpdateDocumentRequest} or an equivalent Hash.
#
# @param request [::Google::Cloud::Dialogflow::V2::UpdateDocumentRequest, ::Hash]
@@ -537,14 +550,18 @@
# Reloads the specified document from its specified source, content_uri or
# content. The previously loaded content of the document will be deleted.
# Note: Even when the content of the document has not changed, there still
# may be side effects because of internal implementation changes.
#
+ # This method is a [long-running
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
+ # The returned `Operation` type has the following method-specific fields:
+ #
+ # - `metadata`: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
+ # - `response`: {::Google::Cloud::Dialogflow::V2::Document Document}
+ #
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
- #
- # Operation <response: {::Google::Cloud::Dialogflow::V2::Document Document},
- # metadata: {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}>
#
# @overload reload_document(request, options = nil)
# Pass arguments to `reload_document` via a request object, either of type
# {::Google::Cloud::Dialogflow::V2::ReloadDocumentRequest} or an equivalent Hash.
#