Method: projects.locations.collections.engines.assistants.cannedQueries.patch

Memperbarui CannedQuery.

Permintaan HTTP

PATCH https://discoveryengine.googleapis.com/v1alpha/{cannedQuery.name=projects/*/locations/*/collections/*/engines/*/assistants/*/cannedQueries/*}

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
cannedQuery.name

string

Tidak dapat diubah. Nama resource kueri standar. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{cannedQuery}

Harus berupa string berenkode UTF-8 dengan batas panjang 1.024 karakter.

Parameter kueri

Parameter
updateMask

string (FieldMask format)

Daftar kolom yang akan diperbarui.

Ini adalah comma-separated list berisi nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo".

Isi permintaan

Isi permintaan memuat instance CannedQuery.

Isi respons

Jika berhasil, isi respons akan berisi instance CannedQuery.

Cakupan otorisasi

Memerlukan salah satu cakupan OAuth berikut:

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

Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.