Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ChannelPartnerEvent
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ChannelPartnerEvent
- 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 Pub/Sub messages about updates to a Channel Partner. You can retrieve updated values through the ChannelPartnerLinks API.
Instance Attribute Summary collapse
-
#channel_partner ⇒ String
Resource name for the Channel Partner Link.
-
#event_type ⇒ String
Type of event which happened for the channel partner.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1alpha1ChannelPartnerEvent
constructor
A new instance of GoogleCloudChannelV1alpha1ChannelPartnerEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1alpha1ChannelPartnerEvent
Returns a new instance of GoogleCloudChannelV1alpha1ChannelPartnerEvent.
3826 3827 3828 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3826 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_partner ⇒ String
Resource name for the Channel Partner Link. Channel_partner uses the format:
accounts/account_id
/channelPartnerLinks/channel_partner_id
Corresponds to the JSON property channelPartner
3819 3820 3821 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3819 def channel_partner @channel_partner end |
#event_type ⇒ String
Type of event which happened for the channel partner.
Corresponds to the JSON property eventType
3824 3825 3826 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3824 def event_type @event_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3831 3832 3833 3834 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3831 def update!(**args) @channel_partner = args[:channel_partner] if args.key?(:channel_partner) @event_type = args[:event_type] if args.key?(:event_type) end |