GeostoreUserProto

GoogleApi.ContentWarehouse.V1.Model.GeostoreUserProto


Table of Contents ▼

Jump to a specific part of the page:

Description

UserProto identifies a (human) user of Geo Data. Its primary use is in describing the source of pieces of data (e.g. edits). It could be a simple identifier, but isn't so that we can store it in the clear while still preventing correlation between a user's contribution.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. encryptedGaiaId (type: String.t, default: nil)
    - The user Gaia ID in encrypted form. Wipeout ids take value of "" in bytes.
  2. encryptionKeyName (type: String.t, default: nil)
    - Required. The name of the key used to encrypt the Gaia ID.
  3. keystoreConfigId (type: integer(), default: nil)
    - Required (valid default provided). The config ID of the owner of the above encryption_key_name. This field must be set if the encryption key name is not "mapfacts_gaia_id_encryption_key".
  4. username (type: String.t, default: nil)
    - If possible, writers should set this to a full user email, including the domain. Readers should not assume that this is a well-formed email address. This field may only be set by Atlas, Pushpin and OneRing because they are internal tools which have a PWG exception to store textual usernames in the clear.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreUserProto{
encryptedGaiaId: String.t() | nil,
encryptionKeyName: String.t() | nil,
keystoreConfigId: integer() | nil,
username: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreUserProto