Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig.
Information about users' licenses.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#auto_renew
def auto_renew() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether the license config should be auto renewed when it reaches the end date.
#auto_renew=
def auto_renew=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether the license config should be auto renewed when it reaches the end date.
Returns
- (::Boolean) — Optional. Whether the license config should be auto renewed when it reaches the end date.
#early_terminated
def early_terminated() -> ::Boolean
Returns
- (::Boolean) — Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
#early_termination_date
def early_termination_date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Output only. The date when the subscription is terminated earlier than the expiration date.
#end_date
def end_date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Optional. The planed end date.
#end_date=
def end_date=(value) -> ::Google::Type::Date
Parameter
- value (::Google::Type::Date) — Optional. The planed end date.
Returns
- (::Google::Type::Date) — Optional. The planed end date.
#free_trial
def free_trial() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether the license config is for free trial.
#free_trial=
def free_trial=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether the license config is for free trial.
Returns
- (::Boolean) — Optional. Whether the license config is for free trial.
#gemini_bundle
def gemini_bundle() -> ::Boolean
Returns
- (::Boolean) — Output only. Whether the license config is for Gemini bundle.
#license_count
def license_count() -> ::Integer
Returns
- (::Integer) — Required. Number of licenses purchased.
#license_count=
def license_count=(value) -> ::Integer
Parameter
- value (::Integer) — Required. Number of licenses purchased.
Returns
- (::Integer) — Required. Number of licenses purchased.
#name
def name() -> ::String
Returns
-
(::String) — Immutable. Identifier. The fully qualified resource name of the license
config. Format:
projects/{project}/locations/{location}/licenseConfigs/{license_config}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Immutable. Identifier. The fully qualified resource name of the license
config. Format:
projects/{project}/locations/{location}/licenseConfigs/{license_config}
Returns
-
(::String) — Immutable. Identifier. The fully qualified resource name of the license
config. Format:
projects/{project}/locations/{location}/licenseConfigs/{license_config}
#start_date
def start_date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Required. The start date.
#start_date=
def start_date=(value) -> ::Google::Type::Date
Parameter
- value (::Google::Type::Date) — Required. The start date.
Returns
- (::Google::Type::Date) — Required. The start date.
#state
def state() -> ::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig::State
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig::State) — Output only. The state of the license config.
#subscription_term
def subscription_term() -> ::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTerm
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTerm) — Required. Subscription term.
#subscription_term=
def subscription_term=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTerm
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTerm) — Required. Subscription term.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTerm) — Required. Subscription term.
#subscription_tier
def subscription_tier() -> ::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTier
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTier) — Required. Subscription tier information for the license config.
#subscription_tier=
def subscription_tier=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTier
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTier) — Required. Subscription tier information for the license config.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTier) — Required. Subscription tier information for the license config.