google_api_digital_asset_links v0.2.1 GoogleApi.DigitalAssetLinks.V1.Model.AndroidAppAsset View Source

Describes an android app asset.

Attributes

  • certificate (type: GoogleApi.DigitalAssetLinks.V1.Model.CertificateInfo.t, default: nil) - Because there is no global enforcement of package name uniqueness, we also require a signing certificate, which in combination with the package name uniquely identifies an app.

    Some apps' signing keys are rotated, so they may be signed by different keys over time. We treat these as distinct assets, since we use (package name, cert) as the unique ID. This should not normally pose any problems as both versions of the app will make the same or similar statements. Other assets making statements about the app will have to be updated when a key is rotated, however.

    (Note that the syntaxes for publishing and querying for statements contain syntactic sugar to easily let you specify apps that are known by multiple certificates.) REQUIRED

  • packageName (type: String.t, default: nil) - Android App assets are naturally identified by their Java package name. For example, the Google Maps app uses the package name com.google.android.apps.maps. REQUIRED

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.DigitalAssetLinks.V1.Model.AndroidAppAsset{
  certificate: GoogleApi.DigitalAssetLinks.V1.Model.CertificateInfo.t(),
  packageName: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.