lib/google/cloud/dialogflow/v2/documents/client.rb in google-cloud-dialogflow-v2-0.20.0 vs lib/google/cloud/dialogflow/v2/documents/client.rb in google-cloud-dialogflow-v2-0.21.0
- old
+ new
@@ -26,11 +26,12 @@
module V2
module Documents
##
# Client for the Documents service.
#
- # Service for managing knowledge {::Google::Cloud::Dialogflow::V2::Document Documents}.
+ # Service for managing knowledge
+ # {::Google::Cloud::Dialogflow::V2::Document Documents}.
#
class Client
include Paths
# @private
@@ -389,11 +390,12 @@
#
# 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}
+ # - `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.
@@ -495,12 +497,14 @@
#
# 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::ImportDocumentsResponse ImportDocumentsResponse}
+ # - `metadata`:
+ # {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
+ # - `response`:
+ # {::Google::Cloud::Dialogflow::V2::ImportDocumentsResponse ImportDocumentsResponse}
#
# @overload import_documents(request, options = nil)
# Pass arguments to `import_documents` via a request object, either of type
# {::Google::Cloud::Dialogflow::V2::ImportDocumentsRequest} or an equivalent Hash.
#
@@ -609,11 +613,12 @@
#
# 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}
+ # - `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
@@ -712,11 +717,12 @@
#
# 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}
+ # - `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.
@@ -819,11 +825,12 @@
#
# 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}
+ # - `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`.
#
@@ -845,21 +852,21 @@
# @param name [::String]
# Required. The name of the document to reload.
# Format: `projects/<Project ID>/locations/<Location
# ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`
# @param content_uri [::String]
- # Optional. The path of gcs source file for reloading document content. For now,
- # only gcs uri is supported.
+ # Optional. The path of gcs source file for reloading document content. For
+ # now, only gcs uri is supported.
#
# For documents stored in Google Cloud Storage, these URIs must have
# the form `gs://<bucket-name>/<object-name>`.
# @param import_gcs_custom_metadata [::Boolean]
# Optional. Whether to import custom metadata from Google Cloud Storage.
# Only valid when the document source is Google Cloud Storage URI.
# @param smart_messaging_partial_update [::Boolean]
- # Optional. When enabled, the reload request is to apply partial update to the smart
- # messaging allowlist.
+ # Optional. When enabled, the reload request is to apply partial update to
+ # the smart messaging allowlist.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
# @yieldparam operation [::GRPC::ActiveCall::Operation]
#
@@ -937,10 +944,11 @@
#
# 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}
+ # - `metadata`:
+ # {::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata KnowledgeOperationMetadata}
# - `response`: {::Google::Cloud::Dialogflow::V2::Document Document}
#
# @overload export_document(request, options = nil)
# Pass arguments to `export_document` via a request object, either of type
# {::Google::Cloud::Dialogflow::V2::ExportDocumentRequest} or an equivalent Hash.