public interface UpdateDocumentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowMissing()
If set to true, and the
[Document][google.cloud.discoveryengine.v1beta.Document] is not found, a
new [Document][google.cloud.discoveryengine.v1beta.Document] will be
created.
|
Document |
getDocument()
Required.
|
DocumentOrBuilder |
getDocumentOrBuilder()
Required.
|
boolean |
hasDocument()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasDocument()
Required. The document to update/create. If the caller does not have permission to update the [Document][google.cloud.discoveryengine.v1beta.Document], regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the [Document][google.cloud.discoveryengine.v1beta.Document] to update does not exist and [allow_missing][google.cloud.discoveryengine.v1beta.UpdateDocumentRequest.allow_missing] is not set, a `NOT_FOUND` error is returned.
.google.cloud.discoveryengine.v1beta.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Document getDocument()
Required. The document to update/create. If the caller does not have permission to update the [Document][google.cloud.discoveryengine.v1beta.Document], regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the [Document][google.cloud.discoveryengine.v1beta.Document] to update does not exist and [allow_missing][google.cloud.discoveryengine.v1beta.UpdateDocumentRequest.allow_missing] is not set, a `NOT_FOUND` error is returned.
.google.cloud.discoveryengine.v1beta.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
DocumentOrBuilder getDocumentOrBuilder()
Required. The document to update/create. If the caller does not have permission to update the [Document][google.cloud.discoveryengine.v1beta.Document], regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the [Document][google.cloud.discoveryengine.v1beta.Document] to update does not exist and [allow_missing][google.cloud.discoveryengine.v1beta.UpdateDocumentRequest.allow_missing] is not set, a `NOT_FOUND` error is returned.
.google.cloud.discoveryengine.v1beta.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
boolean getAllowMissing()
If set to true, and the [Document][google.cloud.discoveryengine.v1beta.Document] is not found, a new [Document][google.cloud.discoveryengine.v1beta.Document] will be created.
bool allow_missing = 2;Copyright © 2024 Google LLC. All rights reserved.