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

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.
  • opportunityEvent (type: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1OpportunityEvent.t, default: nil) - Opportunity event sent as part of Pub/Sub event to partners/integrators.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@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,
    opportunityEvent:
      GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1OpportunityEvent.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.