View Source GoogleApi.ContentWarehouse.V1.Model.PeoplestackFlexorgsProtoInternalExternal (google_api_content_warehouse v0.4.0)

Attributes

  • application (type: String.t, default: nil) - All evaluations are done within the context of a given application, e.g., "Gmail" and should not be reused in other apps.
  • stateStatus (type: list(GoogleApi.ContentWarehouse.V1.Model.PeoplestackFlexorgsProtoInternalExternalStateStatus.t), default: nil) - * There can be multiple states based on the context: 1. AUTOCOMPLETE + Gmail - context 1 2. AUTOCOMPLETE + Chat/Dynamite - context 2 3. "SOME OTHER ACTION" + Gmail - context 3 A client should identify whether a patrticular context is present in the list and only if one is found - use the state that goes alogn with the context, otherwise the client should default to whatever is the safe assumption about "internality/externality" the application should be making (likely, consider everything not explicitly "internal" as "external").

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.PeoplestackFlexorgsProtoInternalExternal{
    application: String.t() | nil,
    stateStatus:
      [
        GoogleApi.ContentWarehouse.V1.Model.PeoplestackFlexorgsProtoInternalExternalStateStatus.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.