Method: projects.locations.licenseConfigs.create

LicenseConfig を作成します

HTTP リクエスト

POST https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*}/licenseConfigs

この URL では gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
parent

string

必須。親リソース名(projects/{project}/locations/{location} など)。

クエリ パラメータ

パラメータ
licenseConfigId

string

省略可。LicenseConfig に使用する ID。LicenseConfig のリソース名の最終的なコンポーネントになります。ライセンス構成 ID として、階層(プロダクト エディション)名(searchsearch_and_assistant など)を使用しています。

リクエストの本文

リクエストの本文には LicenseConfig のインスタンスが含まれます。

レスポンスの本文

成功した場合、レスポンスの本文には、新しく作成された LicenseConfig のインスタンスが含まれます。

認可スコープ

次の OAuth スコープのいずれかが必要です。

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

詳細については、Authentication Overview をご覧ください。

IAM 権限

parent リソースに対する次の IAM 権限が必要です。

  • discoveryengine.licenseConfigs.create

詳細については、IAM のドキュメントをご覧ください。