class Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CustomerEvent
Represents Pub/Sub message content describing customer update.
Attributes
customer[RW]
Resource name of the customer. Format: accounts/`account_id`/customers/` customer_id` Corresponds to the JSON property `customer` @return [String]
event_type[RW]
Type of event which happened on the customer. Corresponds to the JSON property `eventType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 2526 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 2531 def update!(**args) @customer = args[:customer] if args.key?(:customer) @event_type = args[:event_type] if args.key?(:event_type) end