observation tags proto messages
This commit is contained in:
51 files changed
+458
-454
No files matched your search
@@ -100,7 +100,7 @@ service AccountService {
|
||||
}
|
||||
|
||||
message GetAccountRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetAccountResponse {
|
||||
@@ -108,7 +108,7 @@ message GetAccountResponse {
|
||||
}
|
||||
|
||||
message ListAccountsRequest {
|
||||
string auth_method_id = 1 [json_name = "auth_method_id"]; // @gotags: `class:"public"`
|
||||
string auth_method_id = 1 [json_name = "auth_method_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"sensitive"`
|
||||
}
|
||||
|
||||
@@ -121,12 +121,12 @@ message CreateAccountRequest {
|
||||
}
|
||||
|
||||
message CreateAccountResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.accounts.v1.Account item = 2;
|
||||
}
|
||||
|
||||
message UpdateAccountRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.accounts.v1.Account item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
|
||||
}
|
||||
@@ -136,16 +136,16 @@ message UpdateAccountResponse {
|
||||
}
|
||||
|
||||
message DeleteAccountRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteAccountResponse {}
|
||||
|
||||
message SetPasswordRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
uint32 version = 2; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string password = 3; // @gotags: `class:"secret"`
|
||||
}
|
||||
|
||||
@@ -154,10 +154,10 @@ message SetPasswordResponse {
|
||||
}
|
||||
|
||||
message ChangePasswordRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
uint32 version = 2; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string current_password = 3 [json_name = "current_password"]; // @gotags: `class:"secret"`
|
||||
string new_password = 4 [json_name = "new_password"]; // @gotags: `class:"secret"`
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ service AuthMethodService {
|
||||
}
|
||||
|
||||
message GetAuthMethodRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetAuthMethodResponse {
|
||||
@@ -104,7 +104,7 @@ message GetAuthMethodResponse {
|
||||
}
|
||||
|
||||
message ListAuthMethodsRequest {
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -118,12 +118,12 @@ message CreateAuthMethodRequest {
|
||||
}
|
||||
|
||||
message CreateAuthMethodResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.authmethods.v1.AuthMethod item = 2;
|
||||
}
|
||||
|
||||
message UpdateAuthMethodRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.authmethods.v1.AuthMethod item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
|
||||
}
|
||||
@@ -133,7 +133,7 @@ message UpdateAuthMethodResponse {
|
||||
}
|
||||
|
||||
message DeleteAuthMethodRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteAuthMethodResponse {}
|
||||
@@ -194,7 +194,7 @@ message LdapLoginAttributes {
|
||||
|
||||
message AuthenticateRequest {
|
||||
// The ID of the Auth Method in the system that should be used for authentication.
|
||||
string auth_method_id = 1 [json_name = "auth_method_id"]; // @gotags: `class:"public"`
|
||||
string auth_method_id = 1 [json_name = "auth_method_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
// This can be "cookie" or "token". If not provided, "token" will be used. "cookie" activates a split-cookie method where the token is split partially between http-only and regular cookies in order
|
||||
// to keep it safe from rogue JS in the browser. Deprecated, use "type" instead.
|
||||
string token_type = 2 [
|
||||
@@ -203,7 +203,7 @@ message AuthenticateRequest {
|
||||
]; // @gotags: `class:"public"`
|
||||
// This can be "cookie" or "token". If not provided, "token" will be used. "cookie" activates a split-cookie method where the token is split partially between http-only and regular cookies in order
|
||||
// to keep it safe from rogue JS in the browser.
|
||||
string type = 6 [json_name = "type"]; // @gotags: `class:"public"`
|
||||
string type = 6 [json_name = "type"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
oneof attrs {
|
||||
// Attributes are passed to the Auth Method; the valid keys and values depend on the type of Auth Method as well as the command.
|
||||
google.protobuf.Struct attributes = 4;
|
||||
@@ -227,7 +227,7 @@ message AuthenticateResponse {
|
||||
reserved 1, 2; // Old item and token_type
|
||||
reserved "item", "token_type";
|
||||
// The type of the token returned. Either "cookie" or "token".
|
||||
string type = 3; // @gotags: `class:"public"`
|
||||
string type = 3; // @gotags: `class:"public" eventstream:"observation"`
|
||||
oneof attrs {
|
||||
// Valid keys and values depend on the type of Auth Method as well as the command.
|
||||
google.protobuf.Struct attributes = 4 [json_name = "attributes"];
|
||||
|
||||
@@ -113,7 +113,7 @@ service GroupService {
|
||||
}
|
||||
|
||||
message GetGroupRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetGroupResponse {
|
||||
@@ -121,7 +121,7 @@ message GetGroupResponse {
|
||||
}
|
||||
|
||||
message ListGroupsRequest {
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -135,12 +135,12 @@ message CreateGroupRequest {
|
||||
}
|
||||
|
||||
message CreateGroupResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.groups.v1.Group item = 2;
|
||||
}
|
||||
|
||||
message UpdateGroupRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.groups.v1.Group item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
|
||||
}
|
||||
@@ -150,17 +150,17 @@ message UpdateGroupResponse {
|
||||
}
|
||||
|
||||
message DeleteGroupRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteGroupResponse {}
|
||||
|
||||
message AddGroupMembersRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string member_ids = 3 [json_name = "member_ids"]; // @gotags: `class:"public"`
|
||||
repeated string member_ids = 3 [json_name = "member_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message AddGroupMembersResponse {
|
||||
@@ -168,11 +168,11 @@ message AddGroupMembersResponse {
|
||||
}
|
||||
|
||||
message SetGroupMembersRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string member_ids = 3 [json_name = "member_ids"]; // @gotags: `class:"public"`
|
||||
repeated string member_ids = 3 [json_name = "member_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message SetGroupMembersResponse {
|
||||
@@ -180,11 +180,11 @@ message SetGroupMembersResponse {
|
||||
}
|
||||
|
||||
message RemoveGroupMembersRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string member_ids = 3 [json_name = "member_ids"]; // @gotags: `class:"public"`
|
||||
repeated string member_ids = 3 [json_name = "member_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message RemoveGroupMembersResponse {
|
||||
|
||||
@@ -74,7 +74,7 @@ service HostCatalogService {
|
||||
}
|
||||
|
||||
message GetHostCatalogRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetHostCatalogResponse {
|
||||
@@ -82,7 +82,7 @@ message GetHostCatalogResponse {
|
||||
}
|
||||
|
||||
message ListHostCatalogsRequest {
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -99,12 +99,12 @@ message CreateHostCatalogRequest {
|
||||
}
|
||||
|
||||
message CreateHostCatalogResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
api.resources.hostcatalogs.v1.HostCatalog item = 2;
|
||||
}
|
||||
|
||||
message UpdateHostCatalogRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
api.resources.hostcatalogs.v1.HostCatalog item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3;
|
||||
}
|
||||
@@ -114,7 +114,7 @@ message UpdateHostCatalogResponse {
|
||||
}
|
||||
|
||||
message DeleteHostCatalogRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteHostCatalogResponse {}
|
||||
@@ -76,7 +76,7 @@ service ManagedGroupService {
|
||||
}
|
||||
|
||||
message GetManagedGroupRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetManagedGroupResponse {
|
||||
@@ -84,7 +84,7 @@ message GetManagedGroupResponse {
|
||||
}
|
||||
|
||||
message ListManagedGroupsRequest {
|
||||
string auth_method_id = 1 [json_name = "auth_method_id"]; // @gotags: `class:"public"`
|
||||
string auth_method_id = 1 [json_name = "auth_method_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ message CreateManagedGroupResponse {
|
||||
}
|
||||
|
||||
message UpdateManagedGroupRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.managedgroups.v1.ManagedGroup item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
|
||||
}
|
||||
@@ -112,7 +112,7 @@ message UpdateManagedGroupResponse {
|
||||
}
|
||||
|
||||
message DeleteManagedGroupRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteManagedGroupResponse {}
|
||||
@@ -155,7 +155,7 @@ service RoleService {
|
||||
}
|
||||
|
||||
message GetRoleRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetRoleResponse {
|
||||
@@ -163,7 +163,7 @@ message GetRoleResponse {
|
||||
}
|
||||
|
||||
message ListRolesRequest {
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -182,7 +182,7 @@ message CreateRoleResponse {
|
||||
}
|
||||
|
||||
message UpdateRoleRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.roles.v1.Role item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
|
||||
}
|
||||
@@ -192,17 +192,17 @@ message UpdateRoleResponse {
|
||||
}
|
||||
|
||||
message DeleteRoleRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteRoleResponse {}
|
||||
|
||||
message AddRolePrincipalsRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string principal_ids = 3 [json_name = "principal_ids"]; // @gotags: `class:"public"`
|
||||
repeated string principal_ids = 3 [json_name = "principal_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message AddRolePrincipalsResponse {
|
||||
@@ -210,11 +210,11 @@ message AddRolePrincipalsResponse {
|
||||
}
|
||||
|
||||
message SetRolePrincipalsRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string principal_ids = 3 [json_name = "principal_ids"]; // @gotags: `class:"public"`
|
||||
repeated string principal_ids = 3 [json_name = "principal_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message SetRolePrincipalsResponse {
|
||||
@@ -222,11 +222,11 @@ message SetRolePrincipalsResponse {
|
||||
}
|
||||
|
||||
message RemoveRolePrincipalsRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string principal_ids = 3 [json_name = "principal_ids"]; // @gotags: `class:"public"`
|
||||
repeated string principal_ids = 3 [json_name = "principal_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message RemoveRolePrincipalsResponse {
|
||||
|
||||
@@ -112,7 +112,7 @@ service ScopeService {
|
||||
}
|
||||
|
||||
message GetScopeRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetScopeResponse {
|
||||
@@ -120,7 +120,7 @@ message GetScopeResponse {
|
||||
}
|
||||
|
||||
message ListScopesRequest {
|
||||
string scope_id = 1; // @gotags: `class:"public"`
|
||||
string scope_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -136,12 +136,12 @@ message CreateScopeRequest {
|
||||
}
|
||||
|
||||
message CreateScopeResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.scopes.v1.Scope item = 2;
|
||||
}
|
||||
|
||||
message UpdateScopeRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.scopes.v1.Scope item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
|
||||
}
|
||||
@@ -151,7 +151,7 @@ message UpdateScopeResponse {
|
||||
}
|
||||
|
||||
message DeleteScopeRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteScopeResponse {}
|
||||
|
||||
@@ -47,7 +47,7 @@ service SessionService {
|
||||
}
|
||||
|
||||
message GetSessionRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetSessionResponse {
|
||||
@@ -55,12 +55,12 @@ message GetSessionResponse {
|
||||
}
|
||||
|
||||
message ListSessionsRequest {
|
||||
string scope_id = 1; // @gotags: `class:"public"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
string scope_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
// Experimental. By default only non-terminated (i.e. pending, active, canceling) are returned.
|
||||
// Set this option to include terminated sessions as well.
|
||||
bool include_terminated = 40 [json_name = "include_terminated"]; // @gotags: `class:"public"`
|
||||
bool include_terminated = 40 [json_name = "include_terminated"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message ListSessionsResponse {
|
||||
@@ -68,7 +68,7 @@ message ListSessionsResponse {
|
||||
}
|
||||
|
||||
message CancelSessionRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
uint32 version = 2; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ service TargetService {
|
||||
}
|
||||
|
||||
message GetTargetRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetTargetResponse {
|
||||
@@ -195,8 +195,8 @@ message GetTargetResponse {
|
||||
}
|
||||
|
||||
message ListTargetsRequest {
|
||||
string scope_id = 1; // @gotags: `class:"public"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
string scope_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
@@ -209,12 +209,12 @@ message CreateTargetRequest {
|
||||
}
|
||||
|
||||
message CreateTargetResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.targets.v1.Target item = 2;
|
||||
}
|
||||
|
||||
message UpdateTargetRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.targets.v1.Target item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
|
||||
}
|
||||
@@ -224,17 +224,17 @@ message UpdateTargetResponse {
|
||||
}
|
||||
|
||||
message DeleteTargetRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteTargetResponse {}
|
||||
|
||||
message AddTargetHostSourcesRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string host_source_ids = 3 [json_name = "host_source_ids"]; // @gotags: `class:"public"`
|
||||
repeated string host_source_ids = 3 [json_name = "host_source_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message AddTargetHostSourcesResponse {
|
||||
@@ -242,11 +242,11 @@ message AddTargetHostSourcesResponse {
|
||||
}
|
||||
|
||||
message SetTargetHostSourcesRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string host_source_ids = 3 [json_name = "host_source_ids"]; // @gotags: `class:"public"`
|
||||
repeated string host_source_ids = 3 [json_name = "host_source_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message SetTargetHostSourcesResponse {
|
||||
@@ -254,11 +254,11 @@ message SetTargetHostSourcesResponse {
|
||||
}
|
||||
|
||||
message RemoveTargetHostSourcesRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string host_source_ids = 3 [json_name = "host_source_ids"]; // @gotags: `class:"public"`
|
||||
repeated string host_source_ids = 3 [json_name = "host_source_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message RemoveTargetHostSourcesResponse {
|
||||
@@ -356,19 +356,19 @@ message RemoveTargetCredentialSourcesResponse {
|
||||
|
||||
message AuthorizeSessionRequest {
|
||||
// The ID of the target. Required unless some combination of scope_id/scope_name and name are set.
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The name of the target. When using this, scope_id or scope_name must be set.
|
||||
string name = 3; // @gotags: `class:"public"`
|
||||
|
||||
// The scope ID containing the target, if specifying the target by name.
|
||||
string scope_id = 4; // @gotags: `class:"public"`
|
||||
string scope_id = 4; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The scope name containing the target, if specifying the target by name.
|
||||
string scope_name = 5; // @gotags: `class:"public"`
|
||||
|
||||
// An optional parameter allowing specification of the particular Host within the Target's configured Host Sets to connect to during this Session.
|
||||
string host_id = 2 [json_name = "host_id"]; // @gotags: `class:"public"`
|
||||
string host_id = 2 [json_name = "host_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message AuthorizeSessionResponse {
|
||||
|
||||
@@ -118,7 +118,7 @@ service UserService {
|
||||
}
|
||||
|
||||
message GetUserRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetUserResponse {
|
||||
@@ -126,7 +126,7 @@ message GetUserResponse {
|
||||
}
|
||||
|
||||
message ListUsersRequest {
|
||||
string scope_id = 1; // @gotags: `class:"public"`
|
||||
string scope_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"sensitive"`
|
||||
}
|
||||
@@ -140,12 +140,12 @@ message CreateUserRequest {
|
||||
}
|
||||
|
||||
message CreateUserResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.users.v1.User item = 2;
|
||||
}
|
||||
|
||||
message UpdateUserRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.users.v1.User item = 2;
|
||||
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
|
||||
}
|
||||
@@ -155,16 +155,16 @@ message UpdateUserResponse {
|
||||
}
|
||||
|
||||
message DeleteUserRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteUserResponse {}
|
||||
|
||||
message AddUserAccountsRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The version ensures the User hasn't changed since it was last retrieved and if it has the request will fail.
|
||||
uint32 version = 2; // @gotags: `class:"public"`
|
||||
repeated string account_ids = 3 [json_name = "account_ids"]; // @gotags: `class:"public"`
|
||||
repeated string account_ids = 3 [json_name = "account_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message AddUserAccountsResponse {
|
||||
@@ -172,10 +172,10 @@ message AddUserAccountsResponse {
|
||||
}
|
||||
|
||||
message SetUserAccountsRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The version ensures the User hasn't changed since it was last retrieved and if it has the request will fail.
|
||||
uint32 version = 2; // @gotags: `class:"public"`
|
||||
repeated string account_ids = 3 [json_name = "account_ids"]; // @gotags: `class:"public"`
|
||||
repeated string account_ids = 3 [json_name = "account_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message SetUserAccountsResponse {
|
||||
@@ -183,10 +183,10 @@ message SetUserAccountsResponse {
|
||||
}
|
||||
|
||||
message RemoveUserAccountsRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The version ensures the User hasn't changed since it was last retrieved and if it has the request will fail.
|
||||
uint32 version = 2; // @gotags: `class:"public"`
|
||||
repeated string account_ids = 3 [json_name = "account_ids"]; // @gotags: `class:"public"`
|
||||
repeated string account_ids = 3 [json_name = "account_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message RemoveUserAccountsResponse {
|
||||
|
||||
@@ -143,7 +143,7 @@ service WorkerService {
|
||||
}
|
||||
|
||||
message GetWorkerRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetWorkerResponse {
|
||||
@@ -151,7 +151,7 @@ message GetWorkerResponse {
|
||||
}
|
||||
|
||||
message ListWorkersRequest {
|
||||
string scope_id = 1; // @gotags: `class:"public"`
|
||||
string scope_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
|
||||
string filter = 30 [json_name = "filter"]; // @gotags: `class:"sensitive"`
|
||||
}
|
||||
@@ -165,7 +165,7 @@ message CreateWorkerLedRequest {
|
||||
}
|
||||
|
||||
message CreateWorkerLedResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.workers.v1.Worker item = 2;
|
||||
}
|
||||
|
||||
@@ -174,7 +174,7 @@ message CreateControllerLedRequest {
|
||||
}
|
||||
|
||||
message CreateControllerLedResponse {
|
||||
string uri = 1; // @gotags: `class:"public"`
|
||||
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
resources.workers.v1.Worker item = 2;
|
||||
}
|
||||
|
||||
@@ -195,7 +195,7 @@ message DeleteWorkerRequest {
|
||||
message DeleteWorkerResponse {}
|
||||
|
||||
message AddWorkerTagsRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
@@ -207,7 +207,7 @@ message AddWorkerTagsResponse {
|
||||
}
|
||||
|
||||
message SetWorkerTagsRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
@@ -219,7 +219,7 @@ message SetWorkerTagsResponse {
|
||||
}
|
||||
|
||||
message RemoveWorkerTagsRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
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"`
|
||||
|
||||
Reference in new issue
Block a user