syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "google/protobuf/timestamp.proto"; message ServiceInstance { string id = 1; oneof owner { string owner_user_id = 2; } string service_id = 3; string plan_id = 4; repeated string device_ids = 5; repeated string ssh_key_ids = 6; optional string image_id = 7; map metadata = 8; map private_metadata = 9; google.protobuf.Timestamp created_at = 10; string created_by_user_id = 11; optional google.protobuf.Timestamp deleted_at = 12; optional string deleted_by_user_id = 13; optional google.protobuf.Timestamp updated_at = 14; optional string updated_by_user_id = 15; optional string stripe_subscription_id = 16; repeated string endpoint_ids = 17; optional string dashboard_url = 18; }