message UserPropertyParams { // Required. // The data type of the user property. // Only BOOLEAN, STRING and INTEGER are supported. Any other value returns INVALID_ARGUMENT. DataFieldType data_type = 1;}enum DataFieldType { UNSPECIFIED_DATA_FIELD_TYPE = 0; INTEGER = 1; DOUBLE = 2; STRING = 3; BOOLEAN = 4; TIMESTAMP_SECONDS = 5; INTEGER_LIST = 6; DOUBLE_LIST = 7; STRING_LIST = 8;}
message InsertDataFieldRequest { // Required. // Numeric project id. string project_id = 1; // Required. // Must be snake_case, matching ^[a-z](?:[a-z0-9_]*[a-z0-9])?$, with a maximum length of 256 characters. // This name is the key used as a contextual attribute in GetTreatments. string name = 2; // Required. // Exactly one source must be set. oneof source { UserPropertyParams user_property = 3; }}message InsertDataFieldResponse { // The registered DataField (or the pre-existing one, if it already existed). DataFieldPb data_field = 1;}