Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SubscriberEvent
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1SubscriberEvent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb
Overview
Represents information which resellers will get as part of notification from Cloud Pub/Sub.
Instance Attribute Summary collapse
-
#customer_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1CustomerEvent
Represents Pub/Sub message content describing customer update.
-
#entitlement_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1EntitlementEvent
Represents Pub/Sub message content describing entitlement update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1SubscriberEvent
constructor
A new instance of GoogleCloudChannelV1SubscriberEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1SubscriberEvent
Returns a new instance of GoogleCloudChannelV1SubscriberEvent.
2044 2045 2046 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2044 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1CustomerEvent
Represents Pub/Sub message content describing customer update.
Corresponds to the JSON property customerEvent
2037 2038 2039 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2037 def customer_event @customer_event end |
#entitlement_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1EntitlementEvent
Represents Pub/Sub message content describing entitlement update.
Corresponds to the JSON property entitlementEvent
2042 2043 2044 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2042 def entitlement_event @entitlement_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2049 2050 2051 2052 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2049 def update!(**args) @customer_event = args[:customer_event] if args.key?(:customer_event) @entitlement_event = args[:entitlement_event] if args.key?(:entitlement_event) end |