Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1SubscriberEvent
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1SubscriberEvent
- 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 Pub/Sub.
Instance Attribute Summary collapse
-
#channel_partner_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ChannelPartnerEvent
Represents Pub/Sub messages about updates to a Channel Partner.
-
#customer_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CustomerEvent
Represents Pub/Sub message content describing customer update.
-
#entitlement_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent
Represents Pub/Sub message content describing entitlement update.
-
#opportunity_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1OpportunityEvent
Represents Pub/Sub message content describing opportunity updates.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1alpha1SubscriberEvent
constructor
A new instance of GoogleCloudChannelV1alpha1SubscriberEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1alpha1SubscriberEvent
Returns a new instance of GoogleCloudChannelV1alpha1SubscriberEvent.
4573 4574 4575 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_partner_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ChannelPartnerEvent
Represents Pub/Sub messages about updates to a Channel Partner. You can
retrieve updated values through the ChannelPartnerLinks API.
Corresponds to the JSON property channelPartnerEvent
4556 4557 4558 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4556 def channel_partner_event @channel_partner_event end |
#customer_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CustomerEvent
Represents Pub/Sub message content describing customer update.
Corresponds to the JSON property customerEvent
4561 4562 4563 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4561 def customer_event @customer_event end |
#entitlement_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent
Represents Pub/Sub message content describing entitlement update.
Corresponds to the JSON property entitlementEvent
4566 4567 4568 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4566 def entitlement_event @entitlement_event end |
#opportunity_event ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1OpportunityEvent
Represents Pub/Sub message content describing opportunity updates.
Corresponds to the JSON property opportunityEvent
4571 4572 4573 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4571 def opportunity_event @opportunity_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4578 4579 4580 4581 4582 4583 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4578 def update!(**args) @channel_partner_event = args[:channel_partner_event] if args.key?(:channel_partner_event) @customer_event = args[:customer_event] if args.key?(:customer_event) @entitlement_event = args[:entitlement_event] if args.key?(:entitlement_event) @opportunity_event = args[:opportunity_event] if args.key?(:opportunity_event) end |