Files
threshold/internal/proto/local/controller/api/resources/hosts/v1/host.proto
T
Jeff Mitchell 13056e1f51 Migrate host resources to hosts package (#15)
Migrate host resources to hosts package and some other minor changes
2020-05-01 18:05:54 -04:00

36 lines
948 B
Protocol Buffer

syntax = "proto3";
package controller.api.resources.hosts.v1;
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/hosts;hosts";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
// Host contains all fields related to a Host resource
message Host {
// Canonical path of the resource from the API's base URI
// Output only.
string path = 1;
// The type of the resource, to help differentiate schemas
string type = 2;
// Friendly name, if set
google.protobuf.StringValue friendly_name = 3;
// The time this host was created
// Ouput only.
google.protobuf.Timestamp created_time = 4;
// The time this host was last updated
// Output only.
google.protobuf.Timestamp updated_time = 5;
// Whether the host is disabled
google.protobuf.BoolValue disabled = 6;
// The address (DNS or IP name) used to reach the host
google.protobuf.StringValue address = 7;
}