Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::UpdateDocumentRequest.
Request message for DocumentService.UpdateDocument method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_missing
def allow_missing() -> ::Boolean
#allow_missing=
def allow_missing=(value) -> ::Boolean
#document
def document() -> ::Google::Cloud::DiscoveryEngine::V1::Document
-
(::Google::Cloud::DiscoveryEngine::V1::Document) — Required. The document to update/create.
If the caller does not have permission to update the Document, regardless of whether or not it exists, a
PERMISSION_DENIED
error is returned.If the Document to update does not exist and allow_missing is not set, a
NOT_FOUND
error is returned.
#document=
def document=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Document
-
value (::Google::Cloud::DiscoveryEngine::V1::Document) — Required. The document to update/create.
If the caller does not have permission to update the Document, regardless of whether or not it exists, a
PERMISSION_DENIED
error is returned.If the Document to update does not exist and allow_missing is not set, a
NOT_FOUND
error is returned.
-
(::Google::Cloud::DiscoveryEngine::V1::Document) — Required. The document to update/create.
If the caller does not have permission to update the Document, regardless of whether or not it exists, a
PERMISSION_DENIED
error is returned.If the Document to update does not exist and allow_missing is not set, a
NOT_FOUND
error is returned.