Google Cloud Channel V1 Client - Class SubscriberEvent (1.0.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 Cloud Pub/Sub.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ customer_event
Google\Cloud\Channel\V1\CustomerEvent

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

↳ entitlement_event
Google\Cloud\Channel\V1\EntitlementEvent

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

getCustomerEvent

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

Generated from protobuf field .google.cloud.channel.v1.CustomerEvent customer_event = 1;

Returns
Type
Description

hasCustomerEvent

setCustomerEvent

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

Generated from protobuf field .google.cloud.channel.v1.CustomerEvent customer_event = 1;

Parameter
Name
Description
Returns
Type
Description
$this

getEntitlementEvent

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

Generated from protobuf field .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;

Returns
Type
Description

hasEntitlementEvent

setEntitlementEvent

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

Generated from protobuf field .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;

Parameter
Name
Description
Returns
Type
Description
$this

getEvent

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: