public interface UpdateDocumentRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAllowMissing()
public abstract boolean getAllowMissing()
If set to true, and the Document is not found, a new Document will be created.
bool allow_missing = 2;
Type | Description |
boolean | The allowMissing. |
getDocument()
public abstract Document getDocument()
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 document = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Document | The document. |
getDocumentOrBuilder()
public abstract DocumentOrBuilder getDocumentOrBuilder()
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 document = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
DocumentOrBuilder |
hasDocument()
public abstract boolean hasDocument()
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 document = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the document field is set. |