Method: projects.locations.customClasses.get

Mendapatkan kelas kustom.

Permintaan HTTP

GET https://speech.googleapis.com/v1p1beta1/{name=projects/*/locations/*/customClasses/*}

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
name

string

Wajib. Nama class kustom yang akan diambil. Format:

projects/{project}/locations/{location}/customClasses/{customClass}

Otorisasi memerlukan izin IAM berikut pada resource yang ditentukan name:

  • speech.customClasses.get

Isi permintaan

Isi permintaan harus kosong.

Isi respons

Jika berhasil, isi respons akan berisi instance CustomClass.

Cakupan otorisasi

Memerlukan cakupan OAuth berikut:

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

Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.