class Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1SubscriberEvent

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

Attributes

customer_event[RW]

Represents Pub/Sub message content describing customer update. Corresponds to the JSON property `customerEvent` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CustomerEvent]

entitlement_event[RW]

Represents Pub/Sub message content describing entitlement update. Corresponds to the JSON property `entitlementEvent` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 2871
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 2876
def update!(**args)
  @customer_event = args[:customer_event] if args.key?(:customer_event)
  @entitlement_event = args[:entitlement_event] if args.key?(:entitlement_event)
end