NAME

Google::Cloud::Discoveryengine::V1::LicenseConfig - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/license_config.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1::LicenseConfig;

my $msg = Google::Cloud::Discoveryengine::V1::LicenseConfig::LicenseConfig->new({
    name => $name,
    license_count => $license_count,
    subscription_tier => $subscription_tier,
    state => $state,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/license_config.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::LicenseConfig::LicenseConfig

Information about users' licenses.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`

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

    Type: Int64

    Required. Number of licenses purchased.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1::SubscriptionTier)

    Required. Subscription tier information for the license config.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1::LicenseConfig::State)

    Output only. The state of the license config.

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

    Type: Bool

    Optional. Whether the license config should be auto renewed when it reaches the end date.

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

    Type: Message (Google::Type::Date::Date)

    Required. The start date.

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

    Type: Message (Google::Type::Date::Date)

    Optional. The planed end date.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1::SubscriptionTerm)

    Required. Subscription term.

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

    Type: Bool

    Optional. Whether the license config is for free trial.

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

    Type: Bool

    Output only. Whether the license config is for Gemini bundle.

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

    Type: Bool

    Output only. Indication of whether the subscription is terminated earlier than the expiration date.

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

    Type: Message (Google::Type::Date::Date)

    Output only. The date when the subscription is terminated earlier than the expiration date.

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

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

    Optional. Timestamp of the most recent user-initiated update (seat count change or subscription term change). Unlike `update_time`, this field is only stamped when a customer explicitly updates the license (e.g. via the UI), and is not touched by system-driven writes (subscription pipeline, BALC propagation, etc.).

Enum: LicenseConfig::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • EXPIRED => 2

  • NOT_STARTED => 3

  • WITHDRAWN => 4

  • DEACTIVATING => 5

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::LicenseConfig::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.