Method: projects.locations.collections.dataStores.updateDocumentProcessingConfig

DocumentProcessingConfig を更新します。DocumentProcessingConfigDataStore のシングルトン リソースです。DataStore の作成時は空です。このメソッドの最初の呼び出しで DocumentProcessingConfig が設定されます。

HTTP リクエスト

PATCH https://discoveryengine.googleapis.com/v1alpha/{documentProcessingConfig.name=projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig}

この URL では gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
documentProcessingConfig.name

string

ドキュメント処理構成の完全なリソース名。形式: projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig

クエリ パラメータ

パラメータ
updateMask

string (FieldMask format)

指定された DocumentProcessingConfig で更新するフィールドを示します。サポートされているフィールドは次のとおりです。

  • DocumentProcessingConfig.ocr_config

設定しない場合、サポートされているすべてのフィールドが更新されます。

完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo"

リクエストの本文

リクエストの本文には DocumentProcessingConfig のインスタンスが含まれます。

レスポンスの本文

成功した場合、レスポンスの本文には DocumentProcessingConfig のインスタンスが含まれます。

認可スコープ

次の OAuth スコープのいずれかが必要です。

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite

詳細については、Authentication Overview をご覧ください。

IAM 権限

name リソースに対する次の IAM 権限が必要です。

  • discoveryengine.documentProcessingConfigs.update

詳細については、IAM のドキュメントをご覧ください。