Service Client: Google::Cloud::Discoveryengine::V1beta::UserLicenseService::UserLicenseServiceClient

Client stub representing the remote UserLicenseService 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::V1beta::UserLicenseService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/user_license_service.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::UserLicenseService;

my $msg = Google::Cloud::Discoveryengine::V1beta::UserLicenseService::ListUserLicensesRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1beta::UserLicenseService::ListUserLicensesRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/user_license_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::V1beta::UserLicenseService::ListUserLicensesRequest

Request message for [UserLicenseService.ListUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent [UserStore][google.cloud.discoveryengine.v1beta.UserStore] resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50.

    If this field is negative, an INVALID_ARGUMENT error is returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter for the list request.

    Supported fields:

    * `license_assignment_state` * `user_principal` * Examples:

    * `license_assignment_state = ASSIGNED` to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. * `user_principal = user1@example.com` to list user license for `user1@example.com`.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. The order in which the [UserLicense][google.cloud.discoveryengine.v1beta.UserLicense]s are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a " desc" suffix. Redundant space characters in the syntax are insignificant.

    Supported fields (only `user_principal` is supported for now):

    * `user_principal`

    If not set, the default ordering is by `user_principal`.

    Examples:

    * `user_principal` to order by `user_principal` in ascending order. * `user_principal desc` to order by `user_principal` in descending order.

Google::Cloud::Discoveryengine::V1beta::UserLicenseService::ListUserLicensesResponse

Response message for [UserLicenseService.ListUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses].

Inherits from Protobuf::Message.

Accessors

  • $msg->user_licenses() / $msg->user_licenses($value)

    Type: Message (Google::Cloud::Discoveryengine::V1beta::UserLicense::UserLicense)

    All the customer's [UserLicense][google.cloud.discoveryengine.v1beta.UserLicense]s.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Discoveryengine::V1beta::UserLicenseService::ListLicenseConfigsUsageStatsRequest

Request message for [UserLicenseService.ListLicenseConfigsUsageStats][google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent branch resource name, such as `projects/{project}/locations/{location}/userStores/{user_store_id}`.

Google::Cloud::Discoveryengine::V1beta::UserLicenseService::ListLicenseConfigsUsageStatsResponse

Response message for [UserLicenseService.ListLicenseConfigsUsageStats][google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1beta::UserLicenseService::BatchUpdateUserLicensesRequest

Request message for [UserLicenseService.BatchUpdateUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.BatchUpdateUserLicenses] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->inline_source() / $msg->inline_source($value)

    Type: Message (Google::Cloud::Discoveryengine::V1beta::UserLicenseService::BatchUpdateUserLicensesRequest::InlineSource)

    The inline source for the input content for document embeddings.

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent [UserStore][google.cloud.discoveryengine.v1beta.UserStore] resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.

  • $msg->delete_unassigned_user_licenses() / $msg->delete_unassigned_user_licenses($value)

    Type: Bool

    Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state.

Google::Cloud::Discoveryengine::V1beta::UserLicenseService::BatchUpdateUserLicensesMetadata

Metadata related to the progress of the [UserLicenseService.BatchUpdateUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.BatchUpdateUserLicenses] operation. This will be returned by the google.longrunning.Operation.metadata field.

Inherits from Protobuf::Message.

Accessors

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Operation create time.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Operation last update time. If the operation is done, this is also the finish time.

  • $msg->success_count() / $msg->success_count($value)

    Type: Int64

    Count of user licenses successfully updated.

  • $msg->failure_count() / $msg->failure_count($value)

    Type: Int64

    Count of user licenses that failed to be updated.

Google::Cloud::Discoveryengine::V1beta::UserLicenseService::BatchUpdateUserLicensesResponse

Response message for [UserLicenseService.BatchUpdateUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.BatchUpdateUserLicenses] method.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1beta::UserLicenseService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.