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

A rule for automatically choosing a private key and certificate to authenticate the device to a server.


  • packageNames (type: list(String.t), default: nil) - The package names for which outgoing requests are subject to this rule. If no package names are specified, then the rule applies to all packages. For each package name listed, the rule applies to that package and all other packages that shared the same Android UID. The SHA256 hash of the signing key signatures of each package_name will be verified against those provided by Play
  • privateKeyAlias (type: String.t, default: nil) - The alias of the private key to be used.
  • urlPattern (type: String.t, default: nil) - The URL pattern to match against the URL of the outgoing request. The pattern may contain asterisk (*) wildcards. Any URL is matched if unspecified.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.AndroidManagement.V1.Model.ChoosePrivateKeyRule{
  packageNames: [String.t()],
  privateKeyAlias: String.t(),
  urlPattern: String.t()

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.