Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::UpdateDocumentRequest (v0.7.0)

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
Returns
  • (::Boolean) — If set to true, and the Document is not found, a new Document will be created.

#allow_missing=

def allow_missing=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, and the Document is not found, a new Document will be created.
Returns
  • (::Boolean) — If set to true, and the Document is not found, a new Document will be created.

#document

def document() -> ::Google::Cloud::DiscoveryEngine::V1::Document
Returns

#document=

def document=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Document
Parameter
Returns

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::FieldMask) — Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields.

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::Google::Protobuf::FieldMask) — Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields.
Returns
  • (::Google::Protobuf::FieldMask) — Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields.