Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::Document- (::Google::Cloud::DiscoveryEngine::V1beta::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_DENIEDerror is returned.If the Document to update does not exist and allow_missing is not set, a
NOT_FOUNDerror is returned.
#document=
def document=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Document- value (::Google::Cloud::DiscoveryEngine::V1beta::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_DENIEDerror is returned.If the Document to update does not exist and allow_missing is not set, a
NOT_FOUNDerror is returned.
- (::Google::Cloud::DiscoveryEngine::V1beta::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_DENIEDerror is returned.If the Document to update does not exist and allow_missing is not set, a
NOT_FOUNDerror is returned.