Method: projects.locations.userStores.licenseConfigsUsageStats.list

Mencantumkan semua LicenseConfigUsageStats yang terkait dengan project.

Permintaan HTTP

GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/userStores/*}/licenseConfigsUsageStats

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
parent

string

Wajib. Nama resource cabang induk, seperti projects/{project}/locations/{location}/userStores/{userStoreId}.

Isi permintaan

Isi permintaan harus kosong.

Isi respons

Pesan respons untuk metode [UserLicenseService.ListLicenseConfigUsageStats][].

Jika berhasil, isi respons memuat data dengan struktur berikut:

Representasi JSON
{
  "licenseConfigUsageStats": [
    {
      object (LicenseConfigUsageStats)
    }
  ]
}
Kolom
licenseConfigUsageStats[]

object (LicenseConfigUsageStats)

Semua LicenseConfigUsageStats pelanggan.

Cakupan otorisasi

Memerlukan salah satu cakupan OAuth berikut:

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

Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.

Izin IAM

Memerlukan izin IAM berikut pada resource parent:

  • discoveryengine.userStores.listUserLicenses

Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.

LicenseConfigUsageStats

Statistik tentang lisensi pengguna.

Representasi JSON
{
  "licenseConfig": string,
  "usedLicenseCount": string
}
Kolom
licenseConfig

string

Wajib. Nama LicenseConfig.

usedLicenseCount

string (int64 format)

Wajib. Jumlah lisensi yang digunakan.