Method: settings.searchapplications.update
検索アプリケーションを更新します。
注: この API を実行するには、管理者アカウントが必要です。
HTTP リクエスト
PUT https://cloudsearch.googleapis.com/v1/settings/{searchApplication.name=searchapplications/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
searchApplication.name |
string
検索アプリケーションの名前。 形式は searchapplications/{applicationId} とします。
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
settings.searchapplications.patch にのみ適用されます。
マスクを更新して、更新するフィールドを制御します。フィールドパスの例: searchApplication.name 、searchApplication.displayName
updateMask が空でない場合、updateMask で指定されたフィールドのみが更新されます。
updateMask でフィールドを指定していて、searchApplication に値を指定しない場合、そのフィールドはクリアされます。
updateMask が存在しないか空の場合、または値が * の場合、すべてのフィールドが更新されます。
|
リクエスト本文
リクエストの本文には SearchApplication
のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には Operation
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/cloud_search.settings.query
https://www.googleapis.com/auth/cloud_search.settings
https://www.googleapis.com/auth/cloud_search
詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-03 UTC。
[null,null,["最終更新日 2024-09-03 UTC。"],[[["This API updates a Cloud Search application using an HTTP PUT request."],["An admin account and specific authorization scopes (like `cloud_search.settings`) are required."],["The request body should contain the `SearchApplication` object with desired updates."],["A successful response returns an `Operation` object indicating the status of the update."],["You can use `updateMask` to specify the fields you want to update within the `SearchApplication`."]]],[]]