Service Client: Google::Cloud::Discoveryengine::V1::LicenseConfigService::LicenseConfigServiceClient
Client stub representing the remote LicenseConfigService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to discoveryengine.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Discoveryengine::V1::LicenseConfigService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/license_config_service.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1::LicenseConfigService;
my $msg = Google::Cloud::Discoveryengine::V1::LicenseConfigService::CreateLicenseConfigRequest->new({
parent => $parent,
license_config => $license_config,
license_config_id => $license_config_id,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1::LicenseConfigService::CreateLicenseConfigRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/license_config_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Discoveryengine::V1::LicenseConfigService::CreateLicenseConfigRequest
Request message for [LicenseConfigService.CreateLicenseConfig][google.cloud.discoveryengine.v1.LicenseConfigService.CreateLicenseConfig] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name, such as `projects/{project}/locations/{location}`.
$msg->license_config()/$msg->license_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::LicenseConfig::LicenseConfig)Required. The [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig] to create.
$msg->license_config_id()/$msg->license_config_id($value)Type:
StringOptional. The ID to use for the [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig], which will become the final component of the [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig]'s resource name. We are using the tier (product edition) name as the license config id such as `search` or `search_and_assistant`.
Google::Cloud::Discoveryengine::V1::LicenseConfigService::UpdateLicenseConfigRequest
Request message for [LicenseConfigService.UpdateLicenseConfig][google.cloud.discoveryengine.v1.LicenseConfigService.UpdateLicenseConfig] method.
Inherits from Protobuf::Message.
Accessors
$msg->license_config()/$msg->license_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::LicenseConfig::LicenseConfig)Required. The [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig] to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Indicates which fields in the provided [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig] to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
Google::Cloud::Discoveryengine::V1::LicenseConfigService::GetLicenseConfigRequest
Request message for [LicenseConfigService.GetLicenseConfig][google.cloud.discoveryengine.v1.LicenseConfigService.GetLicenseConfig] method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Full resource name of [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig], such as `projects/{project}/locations/{location}/licenseConfigs/*`.
If the caller does not have permission to access the [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the requested [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig] does not exist, a NOT_FOUND error is returned.
Google::Cloud::Discoveryengine::V1::LicenseConfigService::ListLicenseConfigsRequest
Request message for [LicenseConfigService.ListLicenseConfigs][google.cloud.discoveryengine.v1.LicenseConfigService.ListLicenseConfigs] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent branch resource name, such as `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Not supported.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Not supported.
$msg->filter()/$msg->filter($value)Type:
StringOptional. The filter to apply to the list results.
The supported fields are:
* `subscription_tier` * `state`Examples:
* `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs.The filter string should be a comma-separated list of field=value pairs.
Google::Cloud::Discoveryengine::V1::LicenseConfigService::ListLicenseConfigsResponse
Response message for [LicenseConfigService.ListLicenseConfigs][google.cloud.discoveryengine.v1.LicenseConfigService.ListLicenseConfigs] method.
Inherits from Protobuf::Message.
Accessors
$msg->license_configs()/$msg->license_configs($value)Type:
Message(Google::Cloud::Discoveryengine::V1::LicenseConfig::LicenseConfig)All the customer's [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig]s.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringNot supported.
Google::Cloud::Discoveryengine::V1::LicenseConfigService::DistributeLicenseConfigRequest
Request message for [LicenseConfigService.DistributeLicenseConfig][google.cloud.discoveryengine.v1.LicenseConfigService.DistributeLicenseConfig] method.
Inherits from Protobuf::Message.
Accessors
$msg->billing_account_license_config()/$msg->billing_account_license_config($value)Type:
StringRequired. Full resource name of [BillingAccountLicenseConfig][].
Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`.
$msg->project_number()/$msg->project_number($value)Type:
Int64Required. The target GCP project number to distribute the license config to.
$msg->location()/$msg->location($value)Type:
StringRequired. The target GCP project region to distribute the license config to.
$msg->license_count()/$msg->license_count($value)Type:
Int64Required. The number of licenses to distribute.
$msg->license_config_id()/$msg->license_config_id($value)Type:
StringOptional. Distribute seats to this license config instead of creating a new one. If not specified, a new license config will be created from the billing account license config.
Google::Cloud::Discoveryengine::V1::LicenseConfigService::DistributeLicenseConfigResponse
Response message for [LicenseConfigService.DistributeLicenseConfig][google.cloud.discoveryengine.v1.LicenseConfigService.DistributeLicenseConfig] method.
Inherits from Protobuf::Message.
Accessors
$msg->license_config()/$msg->license_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::LicenseConfig::LicenseConfig)The updated or created LicenseConfig.
Google::Cloud::Discoveryengine::V1::LicenseConfigService::RetractLicenseConfigRequest
Request message for [LicenseConfigService.RetractLicenseConfig][google.cloud.discoveryengine.v1.LicenseConfigService.RetractLicenseConfig] method.
Inherits from Protobuf::Message.
Accessors
$msg->billing_account_license_config()/$msg->billing_account_license_config($value)Type:
StringRequired. Full resource name of [BillingAccountLicenseConfig][].
Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`.
$msg->license_config()/$msg->license_config($value)Type:
StringRequired. Full resource name of [LicenseConfig][google.cloud.discoveryengine.v1.LicenseConfig].
Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`.
$msg->full_retract()/$msg->full_retract($value)Type:
BoolOptional. If set to true, retract the entire license config. Otherwise, retract the specified license count.
$msg->license_count()/$msg->license_count($value)Type:
Int64Optional. The number of licenses to retract. Only used when full_retract is false.
Google::Cloud::Discoveryengine::V1::LicenseConfigService::RetractLicenseConfigResponse
Response message for [LicenseConfigService.RetractLicenseConfig][google.cloud.discoveryengine.v1.LicenseConfigService.RetractLicenseConfig] method.
Inherits from Protobuf::Message.
Accessors
$msg->license_config()/$msg->license_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::LicenseConfig::LicenseConfig)The updated LicenseConfig.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::LicenseConfigService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.