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] is be created.
|
Document |
getDocument()
Required.
|
DocumentOrBuilder |
getDocumentOrBuilder()
Required.
|
com.google.protobuf.FieldMask |
getUpdateMask()
Indicates which fields in the provided imported 'document' to update.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Indicates which fields in the provided imported 'document' to update.
|
boolean |
hasDocument()
Required.
|
boolean |
hasUpdateMask()
Indicates which fields in the provided imported 'document' to update.
|
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] is be created.
bool allow_missing = 2;boolean hasUpdateMask()
Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.
.google.protobuf.FieldMask update_mask = 3;com.google.protobuf.FieldMask getUpdateMask()
Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.
.google.protobuf.FieldMask update_mask = 3;com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.
.google.protobuf.FieldMask update_mask = 3;Copyright © 2025 Google LLC. All rights reserved.