Class: Google::Cloud::DiscoveryEngine::V1::UpdateDocumentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/document_service.rb

Overview

Request message for DocumentService.UpdateDocument method.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_missing::Boolean

Returns 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.



154
155
156
157
# File 'proto_docs/google/cloud/discoveryengine/v1/document_service.rb', line 154

class UpdateDocumentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#document::Google::Cloud::DiscoveryEngine::V1::Document

Returns 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.

Returns:



154
155
156
157
# File 'proto_docs/google/cloud/discoveryengine/v1/document_service.rb', line 154

class UpdateDocumentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end