# Class EntitlementChange (1.28.0)

1.28.0 (latest) 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.2 1.21.0 1.20.1 1.19.0 1.18.5 1.17.1 1.15.1 1.14.0 1.13.0 1.12.1 1.11.0 1.10.0 1.9.3 1.8.1 1.7.1 1.6.3 1.5.0 1.4.0 1.3.2 1.2.3 1.1.1 1.0.0 0.3.0 0.2.1 0.1.0

    EntitlementChange(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Change event entry for Entitlement order history

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `suspension_reason` | `https://docs.cloud.google.com/python/docs/reference/cloudchannel/latest/google.cloud.channel_v1.types.Entitlement.SuspensionReason` Suspension reason for the Entitlement. This field is a member of `oneof`_ `change_reason`. |
| `cancellation_reason` | `https://docs.cloud.google.com/python/docs/reference/cloudchannel/latest/google.cloud.channel_v1.types.EntitlementChange.CancellationReason` Cancellation reason for the Entitlement. This field is a member of `oneof`_ `change_reason`. |
| `activation_reason` | `https://docs.cloud.google.com/python/docs/reference/cloudchannel/latest/google.cloud.channel_v1.types.EntitlementChange.ActivationReason` The Entitlement's activation reason This field is a member of `oneof`_ `change_reason`. |
| `other_change_reason` | `str` e.g. purchase_number change reason, entered by CRS. This field is a member of `oneof`_ `change_reason`. |
| `entitlement` | `str` Required. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} |
| `offer` | `str` Required. Resource name of the Offer at the time of change. Takes the form: accounts/{account_id}/offers/{offer_id}. |
| `provisioned_service` | `https://docs.cloud.google.com/python/docs/reference/cloudchannel/latest/google.cloud.channel_v1.types.ProvisionedService` Service provisioned for an Entitlement. |
| `change_type` | `https://docs.cloud.google.com/python/docs/reference/cloudchannel/latest/google.cloud.channel_v1.types.EntitlementChange.ChangeType` The change action type. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` The submitted time of the change. |
| `operator_type` | `https://docs.cloud.google.com/python/docs/reference/cloudchannel/latest/google.cloud.channel_v1.types.EntitlementChange.OperatorType` Operator type responsible for the change. |
| `parameters` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/cloudchannel/latest/google.cloud.channel_v1.types.Parameter]` Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc. |
| `operator` | `str` 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. |

## Classes

### ActivationReason

    ActivationReason(value)

The Entitlement's activation reason

### CancellationReason

    CancellationReason(value)

Cancellation reason for the entitlement

### ChangeType

    ChangeType(value)

Specifies the type of change action

### OperatorType

    OperatorType(value)

Specifies the type of operator responsible for the change