View Source GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1SubscriberEvent (google_api_cloud_channel v0.9.0)

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

Attributes

  • channelPartnerEvent (type: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1ChannelPartnerEvent.t, default: nil) - Channel Partner event sent as part of Pub/Sub event to partners.
  • customerEvent (type: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1CustomerEvent.t, default: nil) - Customer event sent as part of Pub/Sub event to partners.
  • entitlementEvent (type: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1EntitlementEvent.t, default: nil) - Entitlement event sent as part of Pub/Sub event to partners.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1SubscriberEvent{
    channelPartnerEvent:
      GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1ChannelPartnerEvent.t()
      | nil,
    customerEvent:
      GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1CustomerEvent.t()
      | nil,
    entitlementEvent:
      GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1EntitlementEvent.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.