Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::Entitlement.
An entitlement is a representation of a customer's ability to use a service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#association_info
def association_info() -> ::Google::Cloud::Channel::V1::AssociationInfo
- (::Google::Cloud::Channel::V1::AssociationInfo) — Association information to other entitlements.
#association_info=
def association_info=(value) -> ::Google::Cloud::Channel::V1::AssociationInfo
- value (::Google::Cloud::Channel::V1::AssociationInfo) — Association information to other entitlements.
- (::Google::Cloud::Channel::V1::AssociationInfo) — Association information to other entitlements.
#commitment_settings
def commitment_settings() -> ::Google::Cloud::Channel::V1::CommitmentSettings
- (::Google::Cloud::Channel::V1::CommitmentSettings) — Commitment settings for a commitment-based Offer. Required for commitment based offers.
#commitment_settings=
def commitment_settings=(value) -> ::Google::Cloud::Channel::V1::CommitmentSettings
- value (::Google::Cloud::Channel::V1::CommitmentSettings) — Commitment settings for a commitment-based Offer. Required for commitment based offers.
- (::Google::Cloud::Channel::V1::CommitmentSettings) — Commitment settings for a commitment-based Offer. Required for commitment based offers.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time at which the entitlement is created.
#name
def name() -> ::String
- (::String) — Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
#offer
def offer() -> ::String
- (::String) — Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.
#offer=
def offer=(value) -> ::String
- value (::String) — Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.
- (::String) — Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.
#parameters
def parameters() -> ::Array<::Google::Cloud::Channel::V1::Parameter>
-
(::Array<::Google::Cloud::Channel::V1::Parameter>) —
Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions.
The response may include the following output-only Parameters:
assigned_units: The number of licenses assigned to users.
max_units: The maximum assignable units for a flexible offer.
num_units: The total commitment for commitment-based offers.
#parameters=
def parameters=(value) -> ::Array<::Google::Cloud::Channel::V1::Parameter>
-
value (::Array<::Google::Cloud::Channel::V1::Parameter>) —
Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions.
The response may include the following output-only Parameters:
assigned_units: The number of licenses assigned to users.
max_units: The maximum assignable units for a flexible offer.
num_units: The total commitment for commitment-based offers.
-
(::Array<::Google::Cloud::Channel::V1::Parameter>) —
Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions.
The response may include the following output-only Parameters:
assigned_units: The number of licenses assigned to users.
max_units: The maximum assignable units for a flexible offer.
num_units: The total commitment for commitment-based offers.
#provisioned_service
def provisioned_service() -> ::Google::Cloud::Channel::V1::ProvisionedService
- (::Google::Cloud::Channel::V1::ProvisionedService) — Output only. Service provisioning details for the entitlement.
#provisioning_state
def provisioning_state() -> ::Google::Cloud::Channel::V1::Entitlement::ProvisioningState
- (::Google::Cloud::Channel::V1::Entitlement::ProvisioningState) — Output only. Current provisioning state of the entitlement.
#purchase_order_id
def purchase_order_id() -> ::String
- (::String) — Optional. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given, it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. This is only supported for Google Workspace entitlements.
#purchase_order_id=
def purchase_order_id=(value) -> ::String
- value (::String) — Optional. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given, it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. This is only supported for Google Workspace entitlements.
- (::String) — Optional. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given, it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. This is only supported for Google Workspace entitlements.
#suspension_reasons
def suspension_reasons() -> ::Array<::Google::Cloud::Channel::V1::Entitlement::SuspensionReason>
- (::Array<::Google::Cloud::Channel::V1::Entitlement::SuspensionReason>) — Output only. Enumerable of all current suspension reasons for an entitlement.
#trial_settings
def trial_settings() -> ::Google::Cloud::Channel::V1::TrialSettings
- (::Google::Cloud::Channel::V1::TrialSettings) — Output only. Settings for trial offers.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time at which the entitlement is updated.