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
Namespace
Google \ Cloud \ Channel \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ customer_event |
CustomerEvent
Customer event sent as part of Pub/Sub event to partners. |
↳ entitlement_event |
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 | |
|---|---|
| Type | Description |
CustomerEvent|null |
|
hasCustomerEvent
setCustomerEvent
Customer event sent as part of Pub/Sub event to partners.
| Parameter | |
|---|---|
| Name | Description |
var |
CustomerEvent
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntitlementEvent
Entitlement event sent as part of Pub/Sub event to partners.
| Returns | |
|---|---|
| Type | Description |
EntitlementEvent|null |
|
hasEntitlementEvent
setEntitlementEvent
Entitlement event sent as part of Pub/Sub event to partners.
| Parameter | |
|---|---|
| Name | Description |
var |
EntitlementEvent
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEvent
| Returns | |
|---|---|
| Type | Description |
string |
|