View Source GoogleApi.ContentWarehouse.V1.Model.AssistantContextAppProviderId (google_api_content_warehouse v0.3.0)

LINT.IfChange Identifier for an application provider. NOTE: AppProviderId contains surface-specific info, such as the Android package name of the application. This was necessary for supporting current use cases that rely on surface-specific info in feature code. Eventually we want to deprecate AppProviderId and fetch surface-specific info in some other way (e.g. in a surface-translation layer). But until then, we may continue extending AppProviderId with other surface-specific info.

Attributes

  • activityClassName (type: String.t, default: nil) - The activity class name. E.g. com.google.android.gm.ui.MailActivityGmail
  • androidPackageName (type: String.t, default: nil) - Unique package name that identifies an Android app of the provider.
  • castAppId (type: String.t, default: nil) - Unique cast app id that identifies a Cast app of the provider.
  • versionCode (type: integer(), default: nil) - Version code of the application.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantContextAppProviderId{
  activityClassName: String.t() | nil,
  androidPackageName: String.t() | nil,
  castAppId: String.t() | nil,
  versionCode: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.