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_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::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_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::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_DENIED
error is returned.If the Document to update does not exist and allow_missing is not set, a
NOT_FOUND
error is returned.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
- (::Google::Protobuf::FieldMask) — Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
- value (::Google::Protobuf::FieldMask) — Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.
- (::Google::Protobuf::FieldMask) — Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.