Class Entitlement (2.0.0)

public sealed class Entitlement : IMessage<Entitlement>, IEquatable<Entitlement>, IDeepCloneable<Entitlement>, IBufferMessage, IMessage

An entitlement is a representation of a customer's ability to use a service.

Inheritance

Object > Entitlement

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

Entitlement()

public Entitlement()

Entitlement(Entitlement)

public Entitlement(Entitlement other)
Parameter
NameDescription
otherEntitlement

Properties

AssociationInfo

public AssociationInfo AssociationInfo { get; set; }

Association information to other entitlements.

Property Value
TypeDescription
AssociationInfo

CommitmentSettings

public CommitmentSettings CommitmentSettings { get; set; }

Commitment settings for a commitment-based Offer. Required for commitment based offers.

Property Value
TypeDescription
CommitmentSettings

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time at which the entitlement is created.

Property Value
TypeDescription
Timestamp

EntitlementName

public EntitlementName EntitlementName { get; set; }

EntitlementName-typed view over the Name resource name property.

Property Value
TypeDescription
EntitlementName

Name

public string Name { get; set; }

Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.

Property Value
TypeDescription
String

Offer

public string Offer { get; set; }

Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.

Property Value
TypeDescription
String

OfferAsOfferName

public OfferName OfferAsOfferName { get; set; }

OfferName-typed view over the Offer resource name property.

Property Value
TypeDescription
OfferName

Parameters

public RepeatedField<Parameter> Parameters { get; }

Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the [Offer.parameter_definitions][google.cloud.channel.v1.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.

Property Value
TypeDescription
RepeatedField<Parameter>

ProvisionedService

public ProvisionedService ProvisionedService { get; set; }

Output only. Service provisioning details for the entitlement.

Property Value
TypeDescription
ProvisionedService

ProvisioningState

public Entitlement.Types.ProvisioningState ProvisioningState { get; set; }

Output only. Current provisioning state of the entitlement.

Property Value
TypeDescription
Entitlement.Types.ProvisioningState

PurchaseOrderId

public string PurchaseOrderId { get; set; }

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.

Property Value
TypeDescription
String

SuspensionReasons

public RepeatedField<Entitlement.Types.SuspensionReason> SuspensionReasons { get; }

Output only. Enumerable of all current suspension reasons for an entitlement.

Property Value
TypeDescription
RepeatedField<Entitlement.Types.SuspensionReason>

TrialSettings

public TrialSettings TrialSettings { get; set; }

Output only. Settings for trial offers.

Property Value
TypeDescription
TrialSettings

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time at which the entitlement is updated.

Property Value
TypeDescription
Timestamp