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

Represents Pub/Sub message content describing opportunity updates.

Attributes

  • eventType (type: String.t, default: nil) - Type of event which happened for the opportunity.
  • opportunity (type: String.t, default: nil) - Resource name of the opportunity. Format: opportunities/{opportunity}

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.