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
}
フィールド
name

string

変更不可。ID。請求先アカウントのライセンス構成の完全修飾リソース名。形式: 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

出力専用。対応する SubV3 サブスクリプション名。

subscriptionTier

enum (SubscriptionTier)

必須。サブスクリプションの階層。

subscriptionTerm

enum (SubscriptionTerm)

必須。サブスクリプションの期間。

startDate

object (Date)

必須。サブスクリプションの開始日。

endDate

object (Date)

省略可。サブスクリプションの予定終了日。

state

enum (State)

出力専用。BillingAccountLicenseConfig の状態。

autoRenew

boolean

BillingAccountLicenseConfig が終了日に達したときに自動更新されるかどうか。

procurementEntitlementId

string

定期購入の調達利用資格 ID。

subscriptionDisplayName

string

サブスクリプションの表示名。

geminiBundle

boolean

ライセンス構成が Gemini バンドル用かどうか。

状態

BillingAccountLicenseConfig 状態の列挙。

列挙型
STATE_UNSPECIFIED BillingAccountLicenseConfig が存在しません。デフォルト値。使用しないでください。
ACTIVE BillingAccountLicenseConfig が有効で、使用されています。
EXPIRED BillingAccountLicenseConfig の有効期限が切れています。
NOT_STARTED BillingAccountLicenseConfig がまだ開始されておらず、開始日が将来の日付になっています。

メソッド

distributeLicenseConfig

請求先アカウント レベルからプロジェクト レベルに LicenseConfig を分配します。

get

BillingAccountLicenseConfig を取得します。

list

指定された請求先アカウントのすべての BillingAccountLicenseConfig をリスト表示します。

retractLicenseConfig

このメソッドは、請求先アカウント側から呼び出され、指定されたプロジェクトから LicenseConfig を請求先アカウントに戻します。