Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.
↳ operator
string
Human-readable identifier that shows what operator made a change. When the operator_type is RESELLER, this is the user's email address. For all other operator types, this is empty.
getSuspensionReason
Suspension reason for the Entitlement.
Returns
Type
Description
int
hasSuspensionReason
setSuspensionReason
Suspension reason for the Entitlement.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getCancellationReason
Cancellation reason for the Entitlement.
Returns
Type
Description
int
hasCancellationReason
setCancellationReason
Cancellation reason for the Entitlement.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getActivationReason
The Entitlement's activation reason
Returns
Type
Description
int
hasActivationReason
setActivationReason
The Entitlement's activation reason
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getOtherChangeReason
e.g. purchase_number change reason, entered by CRS.
Returns
Type
Description
string
hasOtherChangeReason
setOtherChangeReason
e.g. purchase_number change reason, entered by CRS.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEntitlement
Required. Resource name of an entitlement in the form:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Returns
Type
Description
string
setEntitlement
Required. Resource name of an entitlement in the form:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getOffer
Required. Resource name of the Offer at the time of change.
Takes the form: accounts/{account_id}/offers/{offer_id}.
Returns
Type
Description
string
setOffer
Required. Resource name of the Offer at the time of change.
Takes the form: accounts/{account_id}/offers/{offer_id}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Channel V1 Client - Class EntitlementChange (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-channel/latest/V1.EntitlementChange)\n- [2.2.0](/php/docs/reference/cloud-channel/2.2.0/V1.EntitlementChange)\n- [2.1.4](/php/docs/reference/cloud-channel/2.1.4/V1.EntitlementChange)\n- [2.0.0](/php/docs/reference/cloud-channel/2.0.0/V1.EntitlementChange)\n- [1.9.5](/php/docs/reference/cloud-channel/1.9.5/V1.EntitlementChange)\n- [1.8.2](/php/docs/reference/cloud-channel/1.8.2/V1.EntitlementChange)\n- [1.7.0](/php/docs/reference/cloud-channel/1.7.0/V1.EntitlementChange)\n- [1.6.0](/php/docs/reference/cloud-channel/1.6.0/V1.EntitlementChange)\n- [1.5.0](/php/docs/reference/cloud-channel/1.5.0/V1.EntitlementChange)\n- [1.4.0](/php/docs/reference/cloud-channel/1.4.0/V1.EntitlementChange)\n- [1.3.0](/php/docs/reference/cloud-channel/1.3.0/V1.EntitlementChange)\n- [1.2.1](/php/docs/reference/cloud-channel/1.2.1/V1.EntitlementChange)\n- [1.1.1](/php/docs/reference/cloud-channel/1.1.1/V1.EntitlementChange)\n- [1.0.1](/php/docs/reference/cloud-channel/1.0.1/V1.EntitlementChange) \nReference documentation and code samples for the Google Cloud Channel V1 Client class EntitlementChange.\n\nChange event entry for Entitlement order history\n\nGenerated from protobuf message `google.cloud.channel.v1.EntitlementChange`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Channel \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSuspensionReason\n\nSuspension reason for the Entitlement.\n\n### hasSuspensionReason\n\n### setSuspensionReason\n\nSuspension reason for the Entitlement.\n\n### getCancellationReason\n\nCancellation reason for the Entitlement.\n\n### hasCancellationReason\n\n### setCancellationReason\n\nCancellation reason for the Entitlement.\n\n### getActivationReason\n\nThe Entitlement's activation reason\n\n### hasActivationReason\n\n### setActivationReason\n\nThe Entitlement's activation reason\n\n### getOtherChangeReason\n\ne.g. purchase_number change reason, entered by CRS.\n\n### hasOtherChangeReason\n\n### setOtherChangeReason\n\ne.g. purchase_number change reason, entered by CRS.\n\n### getEntitlement\n\nRequired. Resource name of an entitlement in the form:\naccounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}\n\n### setEntitlement\n\nRequired. Resource name of an entitlement in the form:\naccounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}\n\n### getOffer\n\nRequired. Resource name of the Offer at the time of change.\n\nTakes the form: accounts/{account_id}/offers/{offer_id}.\n\n### setOffer\n\nRequired. Resource name of the Offer at the time of change.\n\nTakes the form: accounts/{account_id}/offers/{offer_id}.\n\n### getProvisionedService\n\nService provisioned for an Entitlement.\n\n### hasProvisionedService\n\n### clearProvisionedService\n\n### setProvisionedService\n\nService provisioned for an Entitlement.\n\n### getChangeType\n\nThe change action type.\n\n### setChangeType\n\nThe change action type.\n\n### getCreateTime\n\nThe submitted time of the change.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nThe submitted time of the change.\n\n### getOperatorType\n\nOperator type responsible for the change.\n\n### setOperatorType\n\nOperator type responsible for the change.\n\n### getParameters\n\nExtended parameters, such as:\npurchase_order_number, gcp_details;\ninternal_correlation_id, long_running_operation_id, order_id;\netc.\n\n### setParameters\n\nExtended parameters, such as:\npurchase_order_number, gcp_details;\ninternal_correlation_id, long_running_operation_id, order_id;\netc.\n\n### getOperator\n\nHuman-readable identifier that shows what operator made a change.\n\nWhen the operator_type is RESELLER, this is the user's email address.\nFor all other operator types, this is empty.\n\n### setOperator\n\nHuman-readable identifier that shows what operator made a change.\n\nWhen the operator_type is RESELLER, this is the user's email address.\nFor all other operator types, this is empty.\n\n### getChangeReason"]]