Method: projects.locations.collections.engines.servingConfigs.patch

ServingConfig を更新します。

ServingConfig が存在しない場合は NOT_FOUND エラーを返します。

HTTP リクエスト

PATCH https://discoveryengine.googleapis.com/v1alpha/{servingConfig.name=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}

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

パスパラメータ

パラメータ
servingConfig.name

string

変更不可。完全修飾名 projects/{project}/locations/{location}/collections/{collectionId}/engines/{engineId}/servingConfigs/{servingConfigId}

クエリ パラメータ

パラメータ
updateMask

string (FieldMask format)

指定された ServingConfig で更新するフィールドを示します。以下はサポートされません。

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

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

リクエストの本文

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

レスポンスの本文

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

認可スコープ

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

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

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

IAM 権限

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

  • discoveryengine.servingConfigs.update

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