Method: projects.locations.indexEndpoints.deployIndex

Men-deploy Indeks ke IndexEndpoint.

Permintaan HTTP

POST https://visionai.googleapis.com/v1/{indexEndpoint=projects/*/locations/*/indexEndpoints/*}:deployIndex

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
indexEndpoint

string

Wajib. IndexEndpoint tempat indeks di-deploy. Format: projects/{project}/locations/{location}/indexEndpoints/{indexEndpoint}

Isi permintaan

Isi permintaan memuat data dengan struktur berikut:

Representasi JSON
{
  "deployedIndex": {
    object (DeployedIndex)
  }
}
Kolom
deployedIndex

object (DeployedIndex)

Wajib. Indeks yang akan di-deploy.

Isi respons

Jika berhasil, isi respons akan berisi instance Operation.

Cakupan otorisasi

Memerlukan cakupan OAuth berikut:

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

Untuk mengetahui informasi selengkapnya, lihat Ringkasan Autentikasi.

Izin IAM

Memerlukan izin IAM berikut pada resource indexEndpoint:

  • visionai.indexEndpoints.deploy

Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.