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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.