Method: projects.locations.scopes.get

Mendapatkan detail satu Cakupan.

Permintaan HTTP

GET https://observability.googleapis.com/v1/{name=projects/*/locations/*/scopes/*}

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
name

string

Wajib. Nama resource. Formatnya adalah:

projects/{project}/locations/{location}/scopes/{scope}

Kolom {location} harus ditetapkan ke global. Kolom {scope} harus ditetapkan ke _Default.

Isi permintaan

Isi permintaan harus kosong.

Isi respons

Jika berhasil, isi respons akan berisi instance Scope.

Cakupan otorisasi

Memerlukan cakupan OAuth berikut:

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

Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.

Izin IAM

Memerlukan izin IAM berikut pada resource name:

  • observability.scopes.get

Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.