Files
threshold/internal/proto/local/controller/api/resources/groups/v1/group.proto
T
Todd Knight 6ea448a7f3 Adding Groups API endpoint and SDK (#122)
* feat: Add group grpc handler.

* feat: Add group sdk hooks.

* fix:  Adding forgotten generated group sdk file.

* fix:  Fix a copy/paste error in test msg.

* fix:  Correct assert error msg.

* fix: Remove unused proto imports.
2020-06-15 15:22:41 -07:00

33 lines
928 B
Protocol Buffer

syntax = "proto3";
package controller.api.resources.groups.v1;
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/groups;groups";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
// Group contains all fields related to a Group resource
message Group {
// The ID of the Project
// Output only.
string id = 1;
// Optional name for identification purposes
google.protobuf.StringValue name = 2;
// Optional user-set descripton for identification purposes
google.protobuf.StringValue description = 3;
// The time this resource was created
// Output only.
google.protobuf.Timestamp created_time = 4 [json_name="created_time"];
// The time this resource was last updated.
// Output only.
google.protobuf.Timestamp updated_time = 5 [json_name="updated_time"];
// Whether the resource is disabled
google.protobuf.BoolValue disabled = 6;
}