Add additional observation tags, remove from version and authorized_action
This commit is contained in:
28 files changed
+50
-50
No files matched your search
@@ -48,7 +48,7 @@ message Account {
|
||||
|
||||
// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
|
||||
// The mutation will fail if the version does not match the latest known good version.
|
||||
uint32 version = 70; // @gotags: `class:"public" eventstream:"observation"`
|
||||
uint32 version = 70; // @gotags: `class:"public"`
|
||||
|
||||
// The type of this Account.
|
||||
string type = 80; // @gotags: `class:"public" eventstream:"observation"`
|
||||
@@ -86,7 +86,7 @@ message Account {
|
||||
repeated string managed_group_ids = 110 [json_name = "managed_group_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The available actions on this resource for this user.
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
// Attributes associated only with Accounts with type "password".
|
||||
|
||||
@@ -85,7 +85,7 @@ message AuthMethod {
|
||||
bool is_primary = 110 [json_name = "is_primary"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The available actions on this resource for this user.
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The authorized actions for the scope's collections.
|
||||
map<string, google.protobuf.ListValue> authorized_collection_actions = 310 [json_name = "authorized_collection_actions"]; // classified as public via taggable implementation
|
||||
|
||||
@@ -66,5 +66,5 @@ message Group {
|
||||
repeated Member members = 100;
|
||||
|
||||
// Output only. The available actions on this resource for this user.
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -80,7 +80,7 @@ message HostCatalog {
|
||||
string secrets_hmac = 120; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The available actions on this resource for this user.
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The authorized actions for the scope's collections.
|
||||
map<string, google.protobuf.ListValue> authorized_collection_actions = 310 [json_name = "authorized_collection_actions"]; // classified as public via taggable implementation
|
||||
|
||||
@@ -18,13 +18,13 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
// Host contains all fields related to a Host resource
|
||||
message Host {
|
||||
// Output only. The ID of the Host.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The Host Catalog of which this Host is a part.
|
||||
string host_catalog_id = 20 [
|
||||
json_name = "host_catalog_id",
|
||||
(custom_options.v1.subtype_source_id) = true
|
||||
]; // @gotags: `class:"public"`
|
||||
]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this resource.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
@@ -51,20 +51,20 @@ message Host {
|
||||
]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The time this resource was created.
|
||||
google.protobuf.Timestamp created_time = 60 [json_name = "created_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp created_time = 60 [json_name = "created_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The time this resource was last updated.
|
||||
google.protobuf.Timestamp updated_time = 70 [json_name = "updated_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp updated_time = 70 [json_name = "updated_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
|
||||
// The mutation will fail if the version does not match the latest known good version.
|
||||
uint32 version = 80; // @gotags: `class:"public"`
|
||||
|
||||
// The type of the resource.
|
||||
string type = 90; // @gotags: `class:"public"`
|
||||
string type = 90; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. A list of Host Sets containing this Host.
|
||||
repeated string host_set_ids = 100 [json_name = "host_set_ids"]; // @gotags: `class:"public"`
|
||||
repeated string host_set_ids = 100 [json_name = "host_set_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
oneof attrs {
|
||||
// The attributes that are applicable to the specific Host type.
|
||||
|
||||
@@ -145,7 +145,7 @@ message SetPasswordRequest {
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
// Version is used to ensure this resource has not changed.
|
||||
// The mutation will fail if the version does not match the latest known good version.
|
||||
uint32 version = 2; // @gotags: `class:"public" eventstream:"observation"`
|
||||
uint32 version = 2; // @gotags: `class:"public"`
|
||||
string password = 3; // @gotags: `class:"secret"`
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ message ChangePasswordRequest {
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
// Version is used to ensure this resource has not changed.
|
||||
// The mutation will fail if the version does not match the latest known good version.
|
||||
uint32 version = 2; // @gotags: `class:"public" eventstream:"observation"`
|
||||
uint32 version = 2; // @gotags: `class:"public"`
|
||||
string current_password = 3 [json_name = "current_password"]; // @gotags: `class:"secret"`
|
||||
string new_password = 4 [json_name = "new_password"]; // @gotags: `class:"secret"`
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ message GetAuthMethodResponse {
|
||||
|
||||
message ListAuthMethodsRequest {
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ message GetGroupResponse {
|
||||
|
||||
message ListGroupsRequest {
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ message GetHostCatalogResponse {
|
||||
|
||||
message ListHostCatalogsRequest {
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ service HostService {
|
||||
}
|
||||
|
||||
message GetHostRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetHostResponse {
|
||||
@@ -84,7 +84,7 @@ message GetHostResponse {
|
||||
}
|
||||
|
||||
message ListHostsRequest {
|
||||
string host_catalog_id = 1 [json_name = "host_catalog_id"]; // @gotags: `class:"public"`
|
||||
string host_catalog_id = 1 [json_name = "host_catalog_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
@@ -97,12 +97,12 @@ message CreateHostRequest {
|
||||
}
|
||||
|
||||
message CreateHostResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
api.resources.hosts.v1.Host item = 2;
|
||||
}
|
||||
|
||||
message UpdateHostRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
api.resources.hosts.v1.Host item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
|
||||
}
|
||||
@@ -112,7 +112,7 @@ message UpdateHostResponse {
|
||||
}
|
||||
|
||||
message DeleteHostRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteHostResponse {}
|
||||
@@ -164,7 +164,7 @@ message GetRoleResponse {
|
||||
|
||||
message ListRolesRequest {
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ message GetScopeResponse {
|
||||
|
||||
message ListScopesRequest {
|
||||
string scope_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ message GetUserResponse {
|
||||
|
||||
message ListUsersRequest {
|
||||
string scope_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"sensitive"`
|
||||
}
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ message GetWorkerResponse {
|
||||
|
||||
message ListWorkersRequest {
|
||||
string scope_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"sensitive"`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user