REST Resource: billingAccounts.billingAccountLicenseConfigs

משאב: BillingAccountLicenseConfig

מידע על הגדרות רישיון ברמת החשבון לחיוב.

ייצוג ב-JSON
{
  "name": string,
  "licenseCount": string,
  "licenseConfigDistributions": {
    string: string,
    ...
  },
  "subscriptionName": string,
  "subscriptionTier": enum (SubscriptionTier),
  "subscriptionTerm": enum (SubscriptionTerm),
  "startDate": {
    object (Date)
  },
  "endDate": {
    object (Date)
  },
  "state": enum (State),
  "autoRenew": boolean,
  "procurementEntitlementId": string,
  "subscriptionDisplayName": string,
  "geminiBundle": boolean,
  "earlyTerminated": boolean,
  "earlyTerminationDate": {
    object (Date)
  }
}
שדות
name

string

אי אפשר לשנות. מזהה. השם המלא של המשאב של הגדרת הרישיון בחשבון לחיוב. פורמט: billingAccounts/{billingAccount}/billingAccountLicenseConfigs/{billingAccountLicenseConfig}

licenseCount

string (int64 format)

חובה. מספר הרישיונות שנרכשו במסגרת הגדרת הרישיונות בחשבון החיוב הזה.

licenseConfigDistributions

map (key: string, value: string (int64 format))

מיפוי של שמות LicenseConfig למספר הרישיונות שהוקצו לכל אחד מהם.

המפתח הוא השם המלא של המשאב LicenseConfig, למשל projects/{project}/locations/{location}/licenseConfigs/{licenseConfig}. הערך הוא מספר הרישיונות שהוקצו לו.

subscriptionName

string

פלט בלבד. השם של המינוי התואם בגרסה 3 של Sub.

subscriptionTier

enum (SubscriptionTier)

חובה. רמת המינוי.

subscriptionTerm

enum (SubscriptionTerm)

חובה. תקופת המינוי.

startDate

object (Date)

חובה. תאריך התחלת המינוי.

endDate

object (Date)

זה שינוי אופציונלי. תאריך הסיום המתוכנן של המינוי.

state

enum (State)

פלט בלבד. המצב של BillingAccountLicenseConfig.

autoRenew

boolean

האם ה-BillingAccountLicenseConfig מתחדש אוטומטית כשהוא מגיע לתאריך הסיום.

procurementEntitlementId

string

מזהה הזכאות לרכישה של המינוי.

subscriptionDisplayName

string

השם המוצג של המינוי.

geminiBundle

boolean

האם הגדרת הרישיון היא לחבילת Gemini.

earlyTerminated

boolean

ציון אם המינוי הסתיים לפני תאריך התפוגה. התהליך הזה מסתיים בדרך כלל על ידי צינור הנתונים ברגע שהמינוי מסתיים ב-subsv3.

earlyTerminationDate

object (Date)

התאריך שבו המינוי מסתיים לפני תאריך התפוגה.

מדינה

ספירת מצבים של BillingAccountLicenseConfig.

טיפוסים בני מנייה (enum)
STATE_UNSPECIFIED ה-BillingAccountLicenseConfig לא קיים. ערך ברירת המחדל. אין להשתמש בו.
ACTIVE ה-BillingAccountLicenseConfig פעיל ונמצא בשימוש.
EXPIRED פג התוקף של BillingAccountLicenseConfig.
NOT_STARTED התאריך של BillingAccountLicenseConfig עוד לא הגיע, והוא מוגדר בעתיד.
DEACTIVATING ה-BillingAccountLicenseConfig נמצא בתקופת חסד. המינוי הסתיים, בגלל סיום מוקדם או בגלל שהגיע לתאריך הסיום שלו, אבל הלקוח שומר על הגישה לזמן מוגבל. הסטטוס משתנה ל-EXPIRED (פג תוקף) כשתקופת החסד מסתיימת.

Methods

distributeLicenseConfig

מפיץ LicenseConfig מרמת החשבון לחיוב לרמת הפרויקט.

get

הפונקציה מחזירה BillingAccountLicenseConfig.

list

מפרטת את כל BillingAccountLicenseConfigs בחשבון לחיוב נתון.

retractLicenseConfig

השיטה הזו מופעלת מצד החשבון לחיוב כדי לבטל את הקישור של LicenseConfig מהפרויקט שצוין בחזרה לחשבון לחיוב.