syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "onprem/user/v1/account.proto"; import "onprem/user/v1/api_key.proto"; import "onprem/user/v1/chassis.proto"; import "onprem/user/v1/chassis_type.proto"; import "onprem/user/v1/data_source.proto"; import "onprem/user/v1/device.proto"; import "onprem/user/v1/device_type.proto"; import "onprem/user/v1/error.proto"; import "onprem/user/v1/facility.proto"; import "onprem/user/v1/file_group.proto"; import "onprem/user/v1/hat.proto"; import "onprem/user/v1/hat_type.proto"; import "onprem/user/v1/lambda.proto"; import "onprem/user/v1/lambda_trigger_type.proto"; import "onprem/user/v1/plan.proto"; import "onprem/user/v1/role.proto"; import "onprem/user/v1/service.proto"; import "onprem/user/v1/ssh_key.proto"; import "onprem/user/v1/tag.proto"; import "onprem/user/v1/team.proto"; import "onprem/user/v1/template.proto"; message ImportRequest { bool dry_run = 1; repeated ChassisType chassis_types = 2; repeated DeviceType device_types = 3; repeated HatType hat_types = 4; repeated Service services = 5; repeated Plan plans = 6; repeated LambdaTriggerType lambda_trigger_types = 7; repeated Tag tags = 8; repeated Role roles = 9; repeated Lambda lambdas = 10; repeated ApiKey api_keys = 11; repeated Chassis chasses = 12; repeated Device devices = 13; repeated Facility facilities = 14; reserved 15; repeated FileGroup file_groups = 16; reserved 17; repeated Hat hats = 18; reserved 19; reserved 20; repeated SshKey ssh_keys = 21; repeated Team teams = 22; repeated Account accounts = 23; repeated DataSource data_sources = 24; repeated Template templates = 25; } message ImportResponse { message Adds { repeated string chassis_type_ids = 1; repeated string device_type_ids = 2; repeated string hat_type_ids = 3; repeated string service_ids = 4; repeated string plan_ids = 5; repeated string lambda_trigger_type_ids = 6; repeated string tag_ids = 7; repeated string role_ids = 8; repeated string lambda_ids = 9; repeated string api_key_ids = 10; repeated string chassis_ids = 11; repeated string device_ids = 12; repeated string facility_ids = 13; reserved 14; repeated string file_group_ids = 15; reserved 16; repeated string hat_ids = 17; reserved 18, 19; repeated string ssh_key_ids = 20; repeated string team_ids = 21; repeated string account_ids = 22; repeated string data_source_ids = 23; repeated string template_ids = 24; } message Deletes { repeated string chassis_type_ids = 1; repeated string device_type_ids = 2; repeated string hat_type_ids = 3; repeated string service_ids = 4; repeated string plan_ids = 5; repeated string lambda_trigger_type_ids = 6; repeated string tag_ids = 7; repeated string role_ids = 8; repeated string lambda_ids = 9; repeated string api_key_ids = 10; repeated string chassis_ids = 11; repeated string device_ids = 12; repeated string facility_ids = 13; reserved 14; repeated string file_group_ids = 15; reserved 16; repeated string hat_ids = 17; reserved 18, 19; repeated string ssh_key_ids = 20; repeated string team_ids = 21; repeated string account_ids = 22; repeated string data_source_ids = 23; repeated string template_ids = 24; } message Updates { repeated string chassis_type_ids = 1; repeated string device_type_ids = 2; repeated string hat_type_ids = 3; repeated string service_ids = 4; repeated string plan_ids = 5; repeated string lambda_trigger_type_ids = 6; repeated string tag_ids = 7; repeated string role_ids = 8; repeated string lambda_ids = 9; repeated string api_key_ids = 10; repeated string chassis_ids = 11; repeated string device_ids = 12; repeated string facility_ids = 13; reserved 14; repeated string file_group_ids = 15; reserved 16; repeated string hat_ids = 17; reserved 18; reserved 19; repeated string ssh_key_ids = 20; repeated string team_ids = 21; repeated string account_ids = 22; repeated string data_source_ids = 23; repeated string template_ids = 24; } message ValidationErrors { map chassis_type_errors = 1; map device_type_errors = 2; map hat_type_errors = 3; map service_errors = 4; map plan_errors = 5; map lambda_trigger_type_errors = 6; map tag_errors = 7; map role_errors = 8; map lambda_errors = 9; map api_key_errors = 10; map chassis_errors = 11; map device_errors = 12; map facility_errors = 13; reserved 14; map file_group_errors = 15; reserved 16; map hat_errors = 17; reserved 18; reserved 19; map ssh_key_errors = 20; map team_errors = 21; map account_errors = 22; map data_source_errors = 23; map template_errors = 24; } bool dry_run = 1; Adds adds = 2; Deletes deletes = 3; Updates updates = 4; ValidationErrors validation_errors = 5; }