View Source GoogleApi.AndroidManagement.V1.Model.ExternalData (google_api_android_management v0.48.2)

Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash.

Attributes

  • sha256Hash (type: String.t, default: nil) - The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data.
  • url (type: String.t, default: nil) - The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidManagement.V1.Model.ExternalData{
  sha256Hash: String.t() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.