Google Cloud Channel V1 Client - Class EntitlementChange (1.5.0)

Reference documentation and code samples for the Google Cloud Channel V1 Client class EntitlementChange.

Change event entry for Entitlement order history

Generated from protobuf message google.cloud.channel.v1.EntitlementChange

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ suspension_reason int

Suspension reason for the Entitlement.

↳ cancellation_reason int

Cancellation reason for the Entitlement.

↳ activation_reason int

The Entitlement's activation reason

↳ other_change_reason string

e.g. purchase_number change reason, entered by CRS.

↳ entitlement string

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

↳ offer string

Required. Resource name of the Offer at the time of change. Takes the form: accounts/{account_id}/offers/{offer_id}.

↳ provisioned_service Google\Cloud\Channel\V1\ProvisionedService

Service provisioned for an Entitlement.

↳ change_type int

The change action type.

↳ create_time Google\Protobuf\Timestamp

The submitted time of the change.

↳ operator_type int

Operator type responsible for the change.

↳ parameters array<Google\Cloud\Channel\V1\Parameter>

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
TypeDescription
int

hasSuspensionReason

setSuspensionReason

Suspension reason for the Entitlement.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCancellationReason

Cancellation reason for the Entitlement.

Returns
TypeDescription
int

hasCancellationReason

setCancellationReason

Cancellation reason for the Entitlement.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getActivationReason

The Entitlement's activation reason

Returns
TypeDescription
int

hasActivationReason

setActivationReason

The Entitlement's activation reason

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getOtherChangeReason

e.g. purchase_number change reason, entered by CRS.

Returns
TypeDescription
string

hasOtherChangeReason

setOtherChangeReason

e.g. purchase_number change reason, entered by CRS.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntitlement

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

Returns
TypeDescription
string

setEntitlement

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOffer

Required. Resource name of the Offer at the time of change.

Takes the form: accounts/{account_id}/offers/{offer_id}.

Returns
TypeDescription
string

setOffer

Required. Resource name of the Offer at the time of change.

Takes the form: accounts/{account_id}/offers/{offer_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProvisionedService

Service provisioned for an Entitlement.

Returns
TypeDescription
Google\Cloud\Channel\V1\ProvisionedService|null

hasProvisionedService

clearProvisionedService

setProvisionedService

Service provisioned for an Entitlement.

Parameter
NameDescription
var Google\Cloud\Channel\V1\ProvisionedService
Returns
TypeDescription
$this

getChangeType

The change action type.

Returns
TypeDescription
int

setChangeType

The change action type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

The submitted time of the change.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The submitted time of the change.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getOperatorType

Operator type responsible for the change.

Returns
TypeDescription
int

setOperatorType

Operator type responsible for the change.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getParameters

Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setParameters

Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.

Parameter
NameDescription
var array<Google\Cloud\Channel\V1\Parameter>
Returns
TypeDescription
$this

getOperator

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.

Returns
TypeDescription
string

setOperator

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getChangeReason

Returns
TypeDescription
string