Google Cloud Channel V1 Client - Class SubscriberEvent (1.1.1)

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

Represents information which resellers will get as part of notification from Pub/Sub.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ customer_event Google\Cloud\Channel\V1\CustomerEvent

Customer event sent as part of Pub/Sub event to partners.

↳ entitlement_event Google\Cloud\Channel\V1\EntitlementEvent

Entitlement event sent as part of Pub/Sub event to partners.

getCustomerEvent

Customer event sent as part of Pub/Sub event to partners.

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

hasCustomerEvent

setCustomerEvent

Customer event sent as part of Pub/Sub event to partners.

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

getEntitlementEvent

Entitlement event sent as part of Pub/Sub event to partners.

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

hasEntitlementEvent

setEntitlementEvent

Entitlement event sent as part of Pub/Sub event to partners.

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

getEvent

Returns
TypeDescription
string