Cloud Channel V1 API - Class Google::Cloud::Channel::V1::SubscriberEvent (v1.3.0)

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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#customer_event

def customer_event() -> ::Google::Cloud::Channel::V1::CustomerEvent
Returns
  • (::Google::Cloud::Channel::V1::CustomerEvent) — Customer event sent as part of Pub/Sub event to partners.

    Note: The following fields are mutually exclusive: customer_event, entitlement_event. If a field in that set is populated, all other fields in the set will automatically be cleared.

#customer_event=

def customer_event=(value) -> ::Google::Cloud::Channel::V1::CustomerEvent
Parameter
  • value (::Google::Cloud::Channel::V1::CustomerEvent) — Customer event sent as part of Pub/Sub event to partners.

    Note: The following fields are mutually exclusive: customer_event, entitlement_event. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Channel::V1::CustomerEvent) — Customer event sent as part of Pub/Sub event to partners.

    Note: The following fields are mutually exclusive: customer_event, entitlement_event. If a field in that set is populated, all other fields in the set will automatically be cleared.

#entitlement_event

def entitlement_event() -> ::Google::Cloud::Channel::V1::EntitlementEvent
Returns
  • (::Google::Cloud::Channel::V1::EntitlementEvent) — Entitlement event sent as part of Pub/Sub event to partners.

    Note: The following fields are mutually exclusive: entitlement_event, customer_event. If a field in that set is populated, all other fields in the set will automatically be cleared.

#entitlement_event=

def entitlement_event=(value) -> ::Google::Cloud::Channel::V1::EntitlementEvent
Parameter
  • value (::Google::Cloud::Channel::V1::EntitlementEvent) — Entitlement event sent as part of Pub/Sub event to partners.

    Note: The following fields are mutually exclusive: entitlement_event, customer_event. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Channel::V1::EntitlementEvent) — Entitlement event sent as part of Pub/Sub event to partners.

    Note: The following fields are mutually exclusive: entitlement_event, customer_event. If a field in that set is populated, all other fields in the set will automatically be cleared.