Class GoogleCloudChannelV1alpha1Entitlement
An entitlement is a representation of a customer's ability to use a service.
Implements
Inherited Members
Namespace: Google.Apis.Cloudchannel.v1.Data
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class GoogleCloudChannelV1alpha1Entitlement : IDirectResponseSchema
Properties
AssignedUnits
The current number of users that are assigned a license for the product defined in
provisioned_service.skuId. Read-only. Deprecated: Use parameters
instead.
Declaration
[JsonProperty("assignedUnits")]
public virtual int? AssignedUnits { get; set; }
Property Value
Type | Description |
---|---|
int? |
AssociationInfo
Association information to other entitlements.
Declaration
[JsonProperty("associationInfo")]
public virtual GoogleCloudChannelV1alpha1AssociationInfo AssociationInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudChannelV1alpha1AssociationInfo |
BillingAccount
Optional. The billing account resource name that is used to pay for this entitlement.
Declaration
[JsonProperty("billingAccount")]
public virtual string BillingAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
ChannelPartnerId
Cloud Identity ID of a channel partner who will be the direct reseller for the customer's order. This field
is generally used in 2-tier ordering, where the order is placed by a top-level distributor on behalf of
their channel partner or reseller. Required for distributors. Deprecated: channel_partner_id
has been
moved to the Customer.
Declaration
[JsonProperty("channelPartnerId")]
public virtual string ChannelPartnerId { get; set; }
Property Value
Type | Description |
---|---|
string |
CommitmentSettings
Commitment settings for a commitment-based Offer. Required for commitment based offers.
Declaration
[JsonProperty("commitmentSettings")]
public virtual GoogleCloudChannelV1alpha1CommitmentSettings CommitmentSettings { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudChannelV1alpha1CommitmentSettings |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time at which the entitlement is created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxUnits
Maximum number of units for a non commitment-based Offer, such as Flexible, Trial or Free entitlements. For
commitment-based entitlements, this is a read-only field, which only the internal support team can update.
Deprecated: Use parameters
instead.
Declaration
[JsonProperty("maxUnits")]
public virtual int? MaxUnits { get; set; }
Property Value
Type | Description |
---|---|
int? |
Name
Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NumUnits
Number of units for a commitment-based Offer. For example, for seat-based Offers, this would be the number
of seats; for license-based Offers, this would be the number of licenses. Required for creating
commitment-based Offers. Deprecated: Use parameters
instead.
Declaration
[JsonProperty("numUnits")]
public virtual int? NumUnits { get; set; }
Property Value
Type | Description |
---|---|
int? |
Offer
Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.
Declaration
[JsonProperty("offer")]
public virtual string Offer { get; set; }
Property Value
Type | Description |
---|---|
string |
Parameters
Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions. For Google Workspace, the following Parameters may be accepted as input:
- max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
Declaration
[JsonProperty("parameters")]
public virtual IList<GoogleCloudChannelV1alpha1Parameter> Parameters { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudChannelV1alpha1Parameter> |
PriceReferenceId
Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.
Declaration
[JsonProperty("priceReferenceId")]
public virtual string PriceReferenceId { get; set; }
Property Value
Type | Description |
---|---|
string |
ProvisionedService
Output only. Service provisioning details for the entitlement.
Declaration
[JsonProperty("provisionedService")]
public virtual GoogleCloudChannelV1alpha1ProvisionedService ProvisionedService { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudChannelV1alpha1ProvisionedService |
ProvisioningState
Output only. Current provisioning state of the entitlement.
Declaration
[JsonProperty("provisioningState")]
public virtual string ProvisioningState { get; set; }
Property Value
Type | Description |
---|---|
string |
PurchaseOrderId
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.
Declaration
[JsonProperty("purchaseOrderId")]
public virtual string PurchaseOrderId { get; set; }
Property Value
Type | Description |
---|---|
string |
SuspensionReasons
Output only. Enumerable of all current suspension reasons for an entitlement.
Declaration
[JsonProperty("suspensionReasons")]
public virtual IList<string> SuspensionReasons { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
TrialSettings
Output only. Settings for trial offers.
Declaration
[JsonProperty("trialSettings")]
public virtual GoogleCloudChannelV1alpha1TrialSettings TrialSettings { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudChannelV1alpha1TrialSettings |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. The time at which the entitlement is updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |