Method: billingAccounts.billingAccountLicenseConfigs.retractLicenseConfig

이 메서드는 결제 계정 측에서 호출되어 지정된 프로젝트의 LicenseConfig을 결제 계정으로 다시 가져옵니다.

HTTP 요청

POST https://discoveryengine.googleapis.com/v1alpha/{billingAccountLicenseConfig=billingAccounts/*/billingAccountLicenseConfigs/*}:retractLicenseConfig

URL은 gRPC 트랜스코딩 문법을 사용합니다.

경로 매개변수

파라미터
billingAccountLicenseConfig

string

필수 항목입니다. BillingAccountLicenseConfig의 전체 리소스 이름입니다.

형식은 billingAccounts/{billingAccount}/billingAccountLicenseConfigs/{billingAccountLicenseConfigId}입니다.

요청 본문

요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.

JSON 표현
{
  "licenseConfig": string,
  "fullRetract": boolean,
  "licenseCount": string
}
필드
licenseConfig

string

필수 항목입니다. LicenseConfig의 전체 리소스 이름입니다.

형식은 projects/{project}/locations/{location}/licenseConfigs/{licenseConfigId}입니다.

fullRetract

boolean

(선택사항) true로 설정하면 전체 라이선스 구성을 철회합니다. 그렇지 않으면 지정된 라이선스 수를 철회합니다.

licenseCount

string (int64 format)

(선택사항) 취소할 라이선스 수입니다. fullRetract가 false인 경우에만 사용됩니다.

응답 본문

LicenseConfigService.RetractLicenseConfig 메서드의 응답 메시지입니다.

성공한 경우 응답 본문은 다음과 같은 구조의 데이터를 포함합니다.

JSON 표현
{
  "licenseConfig": {
    object (LicenseConfig)
  }
}
필드
licenseConfig

object (LicenseConfig)

업데이트된 LicenseConfig입니다.

승인 범위

다음 OAuth 범위 중 하나가 필요합니다.

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

자세한 내용은 Authentication Overview에서 확인하세요.

IAM 권한

billingAccountLicenseConfig 리소스에 대해서는 다음 IAM 권한이 필요합니다.

  • discoveryengine.billingAccountLicenseConfigs.retract

자세한 내용은 IAM 문서를 참조하세요.