Class BillingAccountsResource.BillingAccountLicenseConfigsResource
The "billingAccountLicenseConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class BillingAccountsResource.BillingAccountLicenseConfigsResource
Constructors
BillingAccountLicenseConfigsResource(IClientService)
Constructs a new resource.
Declaration
public BillingAccountLicenseConfigsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
DistributeLicenseConfig(GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest, string)
Distributes a LicenseConfig from billing account level to project level.
Declaration
public virtual BillingAccountsResource.BillingAccountLicenseConfigsResource.DistributeLicenseConfigRequest DistributeLicenseConfig(GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest body, string billingAccountLicenseConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest | body | The body of the request. |
| string | billingAccountLicenseConfig | Required. Full resource name of BillingAccountLicenseConfig. Format:
|
Returns
| Type | Description |
|---|---|
| BillingAccountsResource.BillingAccountLicenseConfigsResource.DistributeLicenseConfigRequest |
Get(string)
Gets a BillingAccountLicenseConfig.
Declaration
public virtual BillingAccountsResource.BillingAccountLicenseConfigsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Full resource name of BillingAccountLicenseConfig. Format:
|
Returns
| Type | Description |
|---|---|
| BillingAccountsResource.BillingAccountLicenseConfigsResource.GetRequest |
List(string)
Lists all BillingAccountLicenseConfigs for a given billing account.
Declaration
public virtual BillingAccountsResource.BillingAccountLicenseConfigsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Format: |
Returns
| Type | Description |
|---|---|
| BillingAccountsResource.BillingAccountLicenseConfigsResource.ListRequest |
RetractLicenseConfig(GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest, string)
This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account.
Declaration
public virtual BillingAccountsResource.BillingAccountLicenseConfigsResource.RetractLicenseConfigRequest RetractLicenseConfig(GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest body, string billingAccountLicenseConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest | body | The body of the request. |
| string | billingAccountLicenseConfig | Required. Full resource name of BillingAccountLicenseConfig. Format:
|
Returns
| Type | Description |
|---|---|
| BillingAccountsResource.BillingAccountLicenseConfigsResource.RetractLicenseConfigRequest |