View Source GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1EntitlementEvent (google_api_cloud_channel v0.6.0)

Represents Pub/Sub message content describing entitlement update.

Attributes

  • entitlement (type: String.t, default: nil) - Resource name of an entitlement of the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
  • eventType (type: String.t, default: nil) - Type of event which happened on the entitlement.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1EntitlementEvent{
    entitlement: String.t() | nil,
    eventType: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.