observation tags proto messages
This commit is contained in:
51 files changed
+458
-454
No files matched your search
@@ -33,7 +33,7 @@ type GetAccountRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetAccountRequest) Reset() {
|
||||
@@ -127,7 +127,7 @@ type ListAccountsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
AuthMethodId string `protobuf:"bytes,1,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
AuthMethodId string `protobuf:"bytes,1,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
|
||||
}
|
||||
|
||||
@@ -276,7 +276,7 @@ type CreateAccountResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *accounts.Account `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
}
|
||||
|
||||
@@ -331,7 +331,7 @@ type UpdateAccountRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *accounts.Account `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
@@ -441,7 +441,7 @@ type DeleteAccountRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *DeleteAccountRequest) Reset() {
|
||||
@@ -526,10 +526,10 @@ type SetPasswordRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty" class:"secret"` // @gotags: `class:"secret"`
|
||||
}
|
||||
|
||||
@@ -638,10 +638,10 @@ type ChangePasswordRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
CurrentPassword string `protobuf:"bytes,3,opt,name=current_password,proto3" json:"current_password,omitempty" class:"secret"` // @gotags: `class:"secret"`
|
||||
NewPassword string `protobuf:"bytes,4,opt,name=new_password,proto3" json:"new_password,omitempty" class:"secret"` // @gotags: `class:"secret"`
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ type GetAuthMethodRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetAuthMethodRequest) Reset() {
|
||||
@@ -130,7 +130,7 @@ type ListAuthMethodsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -287,7 +287,7 @@ type CreateAuthMethodResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *authmethods.AuthMethod `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
}
|
||||
|
||||
@@ -342,7 +342,7 @@ type UpdateAuthMethodRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *authmethods.AuthMethod `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
@@ -452,7 +452,7 @@ type DeleteAuthMethodRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *DeleteAuthMethodRequest) Reset() {
|
||||
@@ -919,7 +919,7 @@ type AuthenticateRequest struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// The ID of the Auth Method in the system that should be used for authentication.
|
||||
AuthMethodId string `protobuf:"bytes,1,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
AuthMethodId string `protobuf:"bytes,1,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
//
|
||||
@@ -927,7 +927,7 @@ type AuthenticateRequest struct {
|
||||
TokenType string `protobuf:"bytes,2,opt,name=token_type,proto3" json:"token_type,omitempty" class:"public"` // @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.
|
||||
Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// Types that are assignable to Attrs:
|
||||
//
|
||||
// *AuthenticateRequest_Attributes
|
||||
@@ -1100,7 +1100,7 @@ type AuthenticateResponse struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// The type of the token returned. Either "cookie" or "token".
|
||||
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// Types that are assignable to Attrs:
|
||||
//
|
||||
// *AuthenticateResponse_Attributes
|
||||
|
||||
@@ -32,7 +32,7 @@ type GetGroupRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetGroupRequest) Reset() {
|
||||
@@ -126,7 +126,7 @@ type ListGroupsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -283,7 +283,7 @@ type CreateGroupResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *groups.Group `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
}
|
||||
|
||||
@@ -338,7 +338,7 @@ type UpdateGroupRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *groups.Group `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
@@ -448,7 +448,7 @@ type DeleteGroupRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *DeleteGroupRequest) Reset() {
|
||||
@@ -533,11 +533,11 @@ type AddGroupMembersRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
MemberIds []string `protobuf:"bytes,3,rep,name=member_ids,proto3" json:"member_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
MemberIds []string `protobuf:"bytes,3,rep,name=member_ids,proto3" json:"member_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *AddGroupMembersRequest) Reset() {
|
||||
@@ -645,11 +645,11 @@ type SetGroupMembersRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
MemberIds []string `protobuf:"bytes,3,rep,name=member_ids,proto3" json:"member_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
MemberIds []string `protobuf:"bytes,3,rep,name=member_ids,proto3" json:"member_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *SetGroupMembersRequest) Reset() {
|
||||
@@ -757,11 +757,11 @@ type RemoveGroupMembersRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
MemberIds []string `protobuf:"bytes,3,rep,name=member_ids,proto3" json:"member_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
MemberIds []string `protobuf:"bytes,3,rep,name=member_ids,proto3" json:"member_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *RemoveGroupMembersRequest) Reset() {
|
||||
|
||||
@@ -33,7 +33,7 @@ type GetHostCatalogRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetHostCatalogRequest) Reset() {
|
||||
@@ -127,7 +127,7 @@ type ListHostCatalogsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -294,7 +294,7 @@ type CreateHostCatalogResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *hostcatalogs.HostCatalog `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ type UpdateHostCatalogRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *hostcatalogs.HostCatalog `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
@@ -459,7 +459,7 @@ type DeleteHostCatalogRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *DeleteHostCatalogRequest) Reset() {
|
||||
|
||||
@@ -33,7 +33,7 @@ type GetManagedGroupRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetManagedGroupRequest) Reset() {
|
||||
@@ -127,7 +127,7 @@ type ListManagedGroupsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
AuthMethodId string `protobuf:"bytes,1,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
AuthMethodId string `protobuf:"bytes,1,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
@@ -331,7 +331,7 @@ type UpdateManagedGroupRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *managedgroups.ManagedGroup `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
@@ -441,7 +441,7 @@ type DeleteManagedGroupRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *DeleteManagedGroupRequest) Reset() {
|
||||
|
||||
@@ -32,7 +32,7 @@ type GetRoleRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetRoleRequest) Reset() {
|
||||
@@ -126,7 +126,7 @@ type ListRolesRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -338,7 +338,7 @@ type UpdateRoleRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *roles.Role `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
@@ -448,7 +448,7 @@ type DeleteRoleRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *DeleteRoleRequest) Reset() {
|
||||
@@ -533,11 +533,11 @@ type AddRolePrincipalsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
PrincipalIds []string `protobuf:"bytes,3,rep,name=principal_ids,proto3" json:"principal_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
PrincipalIds []string `protobuf:"bytes,3,rep,name=principal_ids,proto3" json:"principal_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *AddRolePrincipalsRequest) Reset() {
|
||||
@@ -645,11 +645,11 @@ type SetRolePrincipalsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
PrincipalIds []string `protobuf:"bytes,3,rep,name=principal_ids,proto3" json:"principal_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
PrincipalIds []string `protobuf:"bytes,3,rep,name=principal_ids,proto3" json:"principal_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *SetRolePrincipalsRequest) Reset() {
|
||||
@@ -757,11 +757,11 @@ type RemoveRolePrincipalsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
PrincipalIds []string `protobuf:"bytes,3,rep,name=principal_ids,proto3" json:"principal_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
PrincipalIds []string `protobuf:"bytes,3,rep,name=principal_ids,proto3" json:"principal_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *RemoveRolePrincipalsRequest) Reset() {
|
||||
|
||||
@@ -32,7 +32,7 @@ type GetScopeRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetScopeRequest) Reset() {
|
||||
@@ -126,7 +126,7 @@ type ListScopesRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -299,7 +299,7 @@ type CreateScopeResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *scopes.Scope `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
}
|
||||
|
||||
@@ -354,7 +354,7 @@ type UpdateScopeRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *scopes.Scope `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
@@ -464,7 +464,7 @@ type DeleteScopeRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *DeleteScopeRequest) Reset() {
|
||||
|
||||
@@ -31,7 +31,7 @@ type GetSessionRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetSessionRequest) Reset() {
|
||||
@@ -125,12 +125,12 @@ type ListSessionsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @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.
|
||||
IncludeTerminated bool `protobuf:"varint,40,opt,name=include_terminated,proto3" json:"include_terminated,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
IncludeTerminated bool `protobuf:"varint,40,opt,name=include_terminated,proto3" json:"include_terminated,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *ListSessionsRequest) Reset() {
|
||||
@@ -245,7 +245,7 @@ type CancelSessionRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ type GetTargetRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetTargetRequest) Reset() {
|
||||
@@ -127,8 +127,8 @@ type ListTargetsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ type CreateTargetResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *targets.Target `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
}
|
||||
|
||||
@@ -339,7 +339,7 @@ type UpdateTargetRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *targets.Target `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
@@ -449,7 +449,7 @@ type DeleteTargetRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *DeleteTargetRequest) Reset() {
|
||||
@@ -534,11 +534,11 @@ type AddTargetHostSourcesRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostSourceIds []string `protobuf:"bytes,3,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostSourceIds []string `protobuf:"bytes,3,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *AddTargetHostSourcesRequest) Reset() {
|
||||
@@ -646,11 +646,11 @@ type SetTargetHostSourcesRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostSourceIds []string `protobuf:"bytes,3,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostSourceIds []string `protobuf:"bytes,3,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *SetTargetHostSourcesRequest) Reset() {
|
||||
@@ -758,11 +758,11 @@ type RemoveTargetHostSourcesRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostSourceIds []string `protobuf:"bytes,3,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostSourceIds []string `protobuf:"bytes,3,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *RemoveTargetHostSourcesRequest) Reset() {
|
||||
@@ -1281,15 +1281,15 @@ type AuthorizeSessionRequest struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// The ID of the target. Required unless some combination of scope_id/scope_name and name are set.
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The name of the target. When using this, scope_id or scope_name must be set.
|
||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// The scope ID containing the target, if specifying the target by name.
|
||||
ScopeId string `protobuf:"bytes,4,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,4,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The scope name containing the target, if specifying the target by name.
|
||||
ScopeName string `protobuf:"bytes,5,opt,name=scope_name,json=scopeName,proto3" json:"scope_name,omitempty" class:"public"` // @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.
|
||||
HostId string `protobuf:"bytes,2,opt,name=host_id,proto3" json:"host_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostId string `protobuf:"bytes,2,opt,name=host_id,proto3" json:"host_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *AuthorizeSessionRequest) Reset() {
|
||||
|
||||
@@ -32,7 +32,7 @@ type GetUserRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetUserRequest) Reset() {
|
||||
@@ -126,7 +126,7 @@ type ListUsersRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
|
||||
}
|
||||
@@ -283,7 +283,7 @@ type CreateUserResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *users.User `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
}
|
||||
|
||||
@@ -338,7 +338,7 @@ type UpdateUserRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *users.User `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
@@ -448,7 +448,7 @@ type DeleteUserRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *DeleteUserRequest) Reset() {
|
||||
@@ -533,10 +533,10 @@ type AddUserAccountsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
AccountIds []string `protobuf:"bytes,3,rep,name=account_ids,proto3" json:"account_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
AccountIds []string `protobuf:"bytes,3,rep,name=account_ids,proto3" json:"account_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *AddUserAccountsRequest) Reset() {
|
||||
@@ -644,10 +644,10 @@ type SetUserAccountsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
AccountIds []string `protobuf:"bytes,3,rep,name=account_ids,proto3" json:"account_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
AccountIds []string `protobuf:"bytes,3,rep,name=account_ids,proto3" json:"account_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *SetUserAccountsRequest) Reset() {
|
||||
@@ -755,10 +755,10 @@ type RemoveUserAccountsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
AccountIds []string `protobuf:"bytes,3,rep,name=account_ids,proto3" json:"account_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
AccountIds []string `protobuf:"bytes,3,rep,name=account_ids,proto3" json:"account_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *RemoveUserAccountsRequest) Reset() {
|
||||
|
||||
@@ -33,7 +33,7 @@ type GetWorkerRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *GetWorkerRequest) Reset() {
|
||||
@@ -127,7 +127,7 @@ type ListWorkersRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
|
||||
}
|
||||
@@ -284,7 +284,7 @@ type CreateWorkerLedResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *workers.Worker `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
}
|
||||
|
||||
@@ -386,7 +386,7 @@ type CreateControllerLedResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Item *workers.Worker `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
}
|
||||
|
||||
@@ -636,7 +636,7 @@ type AddWorkerTagsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
@@ -748,7 +748,7 @@ type SetWorkerTagsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
@@ -860,7 +860,7 @@ type RemoveWorkerTagsRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @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.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
|
||||
@@ -86,7 +86,7 @@ type ServerWorkerStatus struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Id of the worker.
|
||||
PublicId string `protobuf:"bytes,10,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
PublicId string `protobuf:"bytes,10,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// Name of the resource (optional)
|
||||
Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// Description of the resource (optional)
|
||||
@@ -98,9 +98,9 @@ type ServerWorkerStatus struct {
|
||||
// The key id for this worker, if applicable (optional)
|
||||
KeyId string `protobuf:"bytes,50,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// The version of Boundary the worker binary is running
|
||||
ReleaseVersion string `protobuf:"bytes,60,opt,name=release_version,proto3" json:"release_version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ReleaseVersion string `protobuf:"bytes,60,opt,name=release_version,proto3" json:"release_version,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The state of the worker, to indicate if the worker is active or in shutdown.
|
||||
OperationalState string `protobuf:"bytes,70,opt,name=operational_state,json=operationalState,proto3" json:"operational_state,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
OperationalState string `protobuf:"bytes,70,opt,name=operational_state,json=operationalState,proto3" json:"operational_state,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *ServerWorkerStatus) Reset() {
|
||||
|
||||
@@ -328,7 +328,7 @@ type Connection struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Status CONNECTIONSTATUS `protobuf:"varint,2,opt,name=status,proto3,enum=controller.servers.services.v1.CONNECTIONSTATUS" json:"status,omitempty"`
|
||||
BytesUp int64 `protobuf:"varint,3,opt,name=bytes_up,json=bytesUp,proto3" json:"bytes_up,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
BytesDown int64 `protobuf:"varint,4,opt,name=bytes_down,json=bytesDown,proto3" json:"bytes_down,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
@@ -399,7 +399,7 @@ type SessionJobInfo struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Status SESSIONSTATUS `protobuf:"varint,2,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty"`
|
||||
Connections []*Connection `protobuf:"bytes,3,rep,name=connections,proto3" json:"connections,omitempty"`
|
||||
ProcessingError SessionProcessingError `protobuf:"varint,4,opt,name=processing_error,json=processingError,proto3,enum=controller.servers.services.v1.SessionProcessingError" json:"processing_error,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
@@ -470,7 +470,7 @@ type MonitorSessionJobInfo struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Status SESSIONSTATUS `protobuf:"varint,2,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ProcessingError SessionProcessingError `protobuf:"varint,3,opt,name=processing_error,json=processingError,proto3,enum=controller.servers.services.v1.SessionProcessingError" json:"processing_error,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -1014,7 +1014,7 @@ type StatusResponse struct {
|
||||
CalculatedUpstreams []*UpstreamServer `protobuf:"bytes,30,rep,name=calculated_upstreams,json=calculatedUpstreams,proto3" json:"calculated_upstreams,omitempty"`
|
||||
// The ID of the worker which made the request. The worker can send this value in subsequent requests so the
|
||||
// controller does not need to do a database lookup for the id using the name field.
|
||||
WorkerId string `protobuf:"bytes,40,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
WorkerId string `protobuf:"bytes,40,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// Of the worker key identifiers provided in the request, these are the ones
|
||||
// which are authorized to remain connected.
|
||||
// This is deprecated. Use authorized_downstream_workers instead. This
|
||||
|
||||
@@ -32,10 +32,10 @@ type LookupSessionRequest struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// The session ID from the client
|
||||
SessionId string `protobuf:"bytes,10,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
SessionId string `protobuf:"bytes,10,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The id of the requesting worker, used for filtering to ensure this worker
|
||||
// can handle this session
|
||||
WorkerId string `protobuf:"bytes,20,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
WorkerId string `protobuf:"bytes,20,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *LookupSessionRequest) Reset() {
|
||||
@@ -95,14 +95,14 @@ type LookupSessionResponse struct {
|
||||
TofuToken string `protobuf:"bytes,20,opt,name=tofu_token,json=tofuToken,proto3" json:"tofu_token,omitempty" class:"secret"` // @gotags: `class:"secret"`
|
||||
Version uint32 `protobuf:"varint,30,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Endpoint string `protobuf:"bytes,40,opt,name=endpoint,proto3" json:"endpoint,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Expiration *timestamppb.Timestamp `protobuf:"bytes,50,opt,name=expiration,proto3" json:"expiration,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Status SESSIONSTATUS `protobuf:"varint,60,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Expiration *timestamppb.Timestamp `protobuf:"bytes,50,opt,name=expiration,proto3" json:"expiration,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Status SESSIONSTATUS `protobuf:"varint,60,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
ConnectionLimit int32 `protobuf:"varint,70,opt,name=connection_limit,json=connectionLimit,proto3" json:"connection_limit,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ConnectionsLeft int32 `protobuf:"varint,80,opt,name=connections_left,json=connectionsLeft,proto3" json:"connections_left,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostId string `protobuf:"bytes,90,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostSetId string `protobuf:"bytes,100,opt,name=host_set_id,json=hostSetId,proto3" json:"host_set_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
TargetId string `protobuf:"bytes,110,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
UserId string `protobuf:"bytes,120,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
HostId string `protobuf:"bytes,90,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
HostSetId string `protobuf:"bytes,100,opt,name=host_set_id,json=hostSetId,proto3" json:"host_set_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
TargetId string `protobuf:"bytes,110,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
UserId string `protobuf:"bytes,120,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// credentials is deprecated on this response message. Instead use the
|
||||
// credentials field inside the ProtocolContext message.
|
||||
//
|
||||
@@ -251,10 +251,10 @@ type ActivateSessionRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
SessionId string `protobuf:"bytes,10,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
SessionId string `protobuf:"bytes,10,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
TofuToken string `protobuf:"bytes,20,opt,name=tofu_token,json=tofuToken,proto3" json:"tofu_token,omitempty" class:"secret"` // @gotags: `class:"secret"`
|
||||
Version uint32 `protobuf:"varint,30,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Status SESSIONSTATUS `protobuf:"varint,50,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Status SESSIONSTATUS `protobuf:"varint,50,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *ActivateSessionRequest) Reset() {
|
||||
@@ -322,7 +322,7 @@ type ActivateSessionResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Status SESSIONSTATUS `protobuf:"varint,10,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Status SESSIONSTATUS `protobuf:"varint,10,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *ActivateSessionResponse) Reset() {
|
||||
@@ -369,7 +369,7 @@ type CancelSessionRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
SessionId string `protobuf:"bytes,10,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
SessionId string `protobuf:"bytes,10,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *CancelSessionRequest) Reset() {
|
||||
@@ -416,7 +416,7 @@ type CancelSessionResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Status SESSIONSTATUS `protobuf:"varint,10,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Status SESSIONSTATUS `protobuf:"varint,10,opt,name=status,proto3,enum=controller.servers.services.v1.SESSIONSTATUS" json:"status,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *CancelSessionResponse) Reset() {
|
||||
@@ -463,8 +463,8 @@ type AuthorizeConnectionRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
SessionId string `protobuf:"bytes,10,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
WorkerId string `protobuf:"bytes,20,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
SessionId string `protobuf:"bytes,10,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
WorkerId string `protobuf:"bytes,20,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *AuthorizeConnectionRequest) Reset() {
|
||||
@@ -518,8 +518,8 @@ type AuthorizeConnectionResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ConnectionId string `protobuf:"bytes,10,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Status CONNECTIONSTATUS `protobuf:"varint,20,opt,name=status,proto3,enum=controller.servers.services.v1.CONNECTIONSTATUS" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ConnectionId string `protobuf:"bytes,10,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
Status CONNECTIONSTATUS `protobuf:"varint,20,opt,name=status,proto3,enum=controller.servers.services.v1.CONNECTIONSTATUS" json:"status,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
ConnectionsLeft int32 `protobuf:"varint,30,opt,name=connections_left,json=connectionsLeft,proto3" json:"connections_left,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// protocol_context contains information specific to the protocol being
|
||||
// proxied. This is not needed to be set for tcp sessions.
|
||||
@@ -600,12 +600,12 @@ type ConnectConnectionRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ConnectionId string `protobuf:"bytes,10,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ConnectionId string `protobuf:"bytes,10,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
ClientTcpAddress string `protobuf:"bytes,20,opt,name=client_tcp_address,json=clientTcpAddress,proto3" json:"client_tcp_address,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ClientTcpPort uint32 `protobuf:"varint,30,opt,name=client_tcp_port,json=clientTcpPort,proto3" json:"client_tcp_port,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
EndpointTcpAddress string `protobuf:"bytes,40,opt,name=endpoint_tcp_address,json=endpointTcpAddress,proto3" json:"endpoint_tcp_address,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
EndpointTcpPort uint32 `protobuf:"varint,50,opt,name=endpoint_tcp_port,json=endpointTcpPort,proto3" json:"endpoint_tcp_port,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Type string `protobuf:"bytes,60,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Type string `protobuf:"bytes,60,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// user_client_ip is the user's client ip for the connection as determined by
|
||||
// the inbound http request handler
|
||||
UserClientIp string `protobuf:"bytes,70,opt,name=user_client_ip,json=userClientIp,proto3" json:"user_client_ip,omitempty" class:"public"` // @gotags: `class:"public"
|
||||
@@ -697,7 +697,7 @@ type ConnectConnectionResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Status CONNECTIONSTATUS `protobuf:"varint,10,opt,name=status,proto3,enum=controller.servers.services.v1.CONNECTIONSTATUS" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Status CONNECTIONSTATUS `protobuf:"varint,10,opt,name=status,proto3,enum=controller.servers.services.v1.CONNECTIONSTATUS" json:"status,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *ConnectConnectionResponse) Reset() {
|
||||
@@ -744,7 +744,7 @@ type CloseConnectionRequestData struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ConnectionId string `protobuf:"bytes,10,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ConnectionId string `protobuf:"bytes,10,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
BytesUp int64 `protobuf:"varint,20,opt,name=bytes_up,json=bytesUp,proto3" json:"bytes_up,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
BytesDown int64 `protobuf:"varint,30,opt,name=bytes_down,json=bytesDown,proto3" json:"bytes_down,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Reason string `protobuf:"bytes,40,opt,name=reason,proto3" json:"reason,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
@@ -815,7 +815,7 @@ type CloseConnectionRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
CloseRequestData []*CloseConnectionRequestData `protobuf:"bytes,10,rep,name=close_request_data,json=closeRequestData,proto3" json:"close_request_data,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
CloseRequestData []*CloseConnectionRequestData `protobuf:"bytes,10,rep,name=close_request_data,json=closeRequestData,proto3" json:"close_request_data,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *CloseConnectionRequest) Reset() {
|
||||
@@ -863,7 +863,7 @@ type CloseConnectionResponseData struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ConnectionId string `protobuf:"bytes,10,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
|
||||
Status CONNECTIONSTATUS `protobuf:"varint,20,opt,name=status,proto3,enum=controller.servers.services.v1.CONNECTIONSTATUS" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Status CONNECTIONSTATUS `protobuf:"varint,20,opt,name=status,proto3,enum=controller.servers.services.v1.CONNECTIONSTATUS" json:"status,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *CloseConnectionResponseData) Reset() {
|
||||
@@ -917,7 +917,7 @@ type CloseConnectionResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
CloseResponseData []*CloseConnectionResponseData `protobuf:"bytes,10,rep,name=close_response_data,json=closeResponseData,proto3" json:"close_response_data,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
CloseResponseData []*CloseConnectionResponseData `protobuf:"bytes,10,rep,name=close_response_data,json=closeResponseData,proto3" json:"close_response_data,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
func (x *CloseConnectionResponse) Reset() {
|
||||
|
||||
@@ -17,7 +17,7 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
// Account contains all fields related to an Account resource
|
||||
message Account {
|
||||
// Output only. The ID of the Account.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for the Account.
|
||||
resources.scopes.v1.ScopeInfo scope = 20;
|
||||
@@ -41,23 +41,23 @@ message Account {
|
||||
]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The time this resource was created.
|
||||
google.protobuf.Timestamp created_time = 50 [json_name = "created_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp created_time = 50 [json_name = "created_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The time this resource was last updated.
|
||||
google.protobuf.Timestamp updated_time = 60 [json_name = "updated_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp updated_time = 60 [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 = 70; // @gotags: `class:"public"`
|
||||
uint32 version = 70; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The type of this Account.
|
||||
string type = 80; // @gotags: `class:"public"`
|
||||
string type = 80; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The ID of the Auth Method that is associated with this Account.
|
||||
string auth_method_id = 90 [
|
||||
json_name = "auth_method_id",
|
||||
(custom_options.v1.subtype_source_id) = true
|
||||
]; // @gotags: `class:"public"`
|
||||
]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
oneof attrs {
|
||||
// The attributes that are applicable for the specific Account type.
|
||||
@@ -83,10 +83,10 @@ message Account {
|
||||
}
|
||||
|
||||
// Output only. managed_group_ids indicates IDs of the managed groups that currently contain this account
|
||||
repeated string managed_group_ids = 110 [json_name = "managed_group_ids"]; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
// Attributes associated only with Accounts with type "password".
|
||||
|
||||
@@ -18,10 +18,10 @@ option (custom_options.v1.domain) = "auth";
|
||||
// AuthMethod contains all fields related to an Auth Method resource
|
||||
message AuthMethod {
|
||||
// Output only. The ID of the Auth Method.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The ID of the Scope of which this Auth Method is a part.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this Auth method.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
@@ -45,17 +45,17 @@ message AuthMethod {
|
||||
]; // @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 Auth Method type.
|
||||
string type = 90; // @gotags: `class:"public"`
|
||||
string type = 90; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
oneof attrs {
|
||||
// The attributes that are applicable for the specific Auth Method type.
|
||||
@@ -82,10 +82,10 @@ message AuthMethod {
|
||||
|
||||
// Output only. Whether this auth method is the primary auth method for it's scope.
|
||||
// To change this value update the primary_auth_method_id field on the scope.
|
||||
bool is_primary = 110 [json_name = "is_primary"]; // @gotags: `class:"public"`
|
||||
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"`
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// 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
|
||||
|
||||
@@ -14,19 +14,19 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
|
||||
message Member {
|
||||
// Output only. The ID of the member.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Scope ID of the member.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
// Group contains all fields related to a Group resource
|
||||
message Group {
|
||||
// Output only. The ID of the Group.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The ID of the scope of which this Group is a part.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this Group.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
@@ -50,21 +50,21 @@ message Group {
|
||||
]; // @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"`
|
||||
|
||||
// Output only. Contains the list of member IDs in this Group.
|
||||
repeated string member_ids = 90 [json_name = "member_ids"]; // @gotags: `class:"public"`
|
||||
repeated string member_ids = 90 [json_name = "member_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The members of this 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"`
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
@@ -17,10 +17,10 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
// HostCatalog manages Hosts and Host Sets
|
||||
message HostCatalog {
|
||||
// Output only. The ID of the host.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The ID of the Scope of which this Host Catalog is a part.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this resource.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
@@ -29,7 +29,7 @@ message HostCatalog {
|
||||
string plugin_id = 34 [
|
||||
json_name = "plugin_id",
|
||||
(custom_options.v1.generate_sdk_option) = true
|
||||
]; // @gotags: `class:"public"`
|
||||
]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Plugin information for this resource.
|
||||
resources.plugins.v1.PluginInfo plugin = 35;
|
||||
@@ -53,17 +53,17 @@ message HostCatalog {
|
||||
]; // @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 Host Catalog.
|
||||
string type = 90; // @gotags: `class:"public"`
|
||||
string type = 90; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
oneof attrs {
|
||||
// Attributes specific to the catalog type.
|
||||
@@ -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"`
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// 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
|
||||
|
||||
@@ -17,7 +17,7 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
// ManagedGroup contains all fields related to an ManagedGroup resource
|
||||
message ManagedGroup {
|
||||
// Output only. The ID of the ManagedGroup.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for the ManagedGroup.
|
||||
resources.scopes.v1.ScopeInfo scope = 20;
|
||||
@@ -41,23 +41,23 @@ message ManagedGroup {
|
||||
]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The time this resource was created.
|
||||
google.protobuf.Timestamp created_time = 50 [json_name = "created_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp created_time = 50 [json_name = "created_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The time this resource was last updated.
|
||||
google.protobuf.Timestamp updated_time = 60 [json_name = "updated_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp updated_time = 60 [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 = 70; // @gotags: `class:"public"`
|
||||
|
||||
// The type of this ManagedGroup.
|
||||
string type = 80; // @gotags: `class:"public"`
|
||||
string type = 80; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The ID of the Auth Method that is associated with this ManagedGroup.
|
||||
string auth_method_id = 90 [
|
||||
json_name = "auth_method_id",
|
||||
(custom_options.v1.subtype_source_id) = true
|
||||
]; // @gotags: `class:"public"`
|
||||
]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
oneof attrs {
|
||||
// The attributes that are applicable for the specific ManagedGroup type.
|
||||
@@ -78,7 +78,7 @@ message ManagedGroup {
|
||||
}
|
||||
|
||||
// Output only. The IDs of the current set of members (accounts) that are associated with this ManagedGroup.
|
||||
repeated string member_ids = 110 [json_name = "member_ids"]; // @gotags: `class:"public"`
|
||||
repeated string member_ids = 110 [json_name = "member_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"`
|
||||
|
||||
@@ -14,13 +14,13 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
|
||||
message Principal {
|
||||
// Output only. The ID of the principal.
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The type of the principal.
|
||||
string type = 2; // @gotags: `class:"public"`
|
||||
string type = 2; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Scope of the principal.
|
||||
string scope_id = 3 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 3 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GrantJson {
|
||||
@@ -52,10 +52,10 @@ message Grant {
|
||||
// Role contains all fields related to a Role resource
|
||||
message Role {
|
||||
// Output only. The ID of the Role.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The ID of the Scope containing this Role.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this resource.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
@@ -79,10 +79,10 @@ message Role {
|
||||
]; // @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.
|
||||
@@ -96,10 +96,10 @@ message Role {
|
||||
this: "grant_scope_id"
|
||||
that: "GrantScopeId"
|
||||
}
|
||||
]; // @gotags: `class:"public"`
|
||||
]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The IDs (only) of principals that are assigned to this role.
|
||||
repeated string principal_ids = 100 [json_name = "principal_ids"]; // @gotags: `class:"public"`
|
||||
repeated string principal_ids = 100 [json_name = "principal_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The principals that are assigned to this role.
|
||||
repeated Principal principals = 110;
|
||||
|
||||
@@ -14,10 +14,10 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
|
||||
message ScopeInfo {
|
||||
// Output only. The ID of the Scope.
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The type of the Scope.
|
||||
string type = 2; // @gotags: `class:"public"`
|
||||
string type = 2; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The name of the Scope, if any.
|
||||
string name = 3; // @gotags: `class:"public"`
|
||||
@@ -26,16 +26,16 @@ message ScopeInfo {
|
||||
string description = 4; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The ID of the parent Scope, if any. This field will be empty if this is the "global" scope.
|
||||
string parent_scope_id = 5 [json_name = "parent_scope_id"]; // @gotags: `class:"public"`
|
||||
string parent_scope_id = 5 [json_name = "parent_scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
// Scope contains all fields related to a Scope resource
|
||||
message Scope {
|
||||
// Output only. The ID of the Scope.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The ID of the Scope this resource is in. If this is the "global" Scope this field will be empty.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this resource.
|
||||
ScopeInfo scope = 30;
|
||||
@@ -59,17 +59,17 @@ message Scope {
|
||||
]; // @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"`
|
||||
|
||||
// The ID of the primary auth method for this scope. A primary auth method
|
||||
// is allowed to vivify users when new accounts are created and is the source for the users account info
|
||||
@@ -80,7 +80,7 @@ message Scope {
|
||||
this: "primary_auth_method_id"
|
||||
that: "PrimaryAuthMethodId"
|
||||
}
|
||||
]; // @gotags: `class:"public"`
|
||||
]; // @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"`
|
||||
|
||||
@@ -12,13 +12,13 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
|
||||
message SessionState {
|
||||
// The status of the Session, e.g. "pending", "active", "canceling", "terminated".
|
||||
string status = 10; // @gotags: `class:"public"`
|
||||
string status = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The time the Session entered this state.
|
||||
google.protobuf.Timestamp start_time = 20 [json_name = "start_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp start_time = 20 [json_name = "start_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The time the Session stopped being in this state.
|
||||
google.protobuf.Timestamp end_time = 30 [json_name = "end_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp end_time = 30 [json_name = "end_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
// Connection contains information about a specific connection in a session
|
||||
@@ -55,43 +55,43 @@ message Session {
|
||||
reserved "worker_info";
|
||||
|
||||
// Output only. The ID of the Session.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The ID of the Target that created this Session.
|
||||
string target_id = 20 [json_name = "target_id"]; // @gotags: `class:"public"`
|
||||
string target_id = 20 [json_name = "target_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this resource.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
|
||||
// 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 when canceling this Session to ensure that the operation is acting on a known session state.
|
||||
uint32 version = 80; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. Type of the Session (e.g. tcp).
|
||||
string type = 90; // @gotags: `class:"public"`
|
||||
string type = 90; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. After this time the connection will be expired, e.g. forcefully terminated.
|
||||
google.protobuf.Timestamp expiration_time = 100 [json_name = "expiration_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp expiration_time = 100 [json_name = "expiration_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The ID of the Auth Token used to authenticate.
|
||||
string auth_token_id = 110 [json_name = "auth_token_id"]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The ID of the User that requested the Session.
|
||||
string user_id = 120 [json_name = "user_id"]; // @gotags: `class:"public"`
|
||||
string user_id = 120 [json_name = "user_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Host Set sourcing the Host for this Session.
|
||||
string host_set_id = 130 [json_name = "host_set_id"]; // @gotags: `class:"public"`
|
||||
string host_set_id = 130 [json_name = "host_set_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Host used by the Session.
|
||||
string host_id = 140 [json_name = "host_id"]; // @gotags: `class:"public"`
|
||||
string host_id = 140 [json_name = "host_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Scope of the Session.
|
||||
string scope_id = 150 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 150 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The endpoint of the Session; that is, the address to which the worker is proxying data.
|
||||
string endpoint = 160; // @gotags: `class:"public"`
|
||||
@@ -100,13 +100,13 @@ message Session {
|
||||
repeated SessionState states = 170;
|
||||
|
||||
// Output only. The current status of this Session.
|
||||
string status = 180; // @gotags: `class:"public"`
|
||||
string status = 180; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The certificate generated for the session. Raw DER bytes.
|
||||
bytes certificate = 200; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. If the session is terminated, this provides a short description as to why.
|
||||
string termination_reason = 210 [json_name = "termination_reason"]; // @gotags: `class:"public"`
|
||||
string termination_reason = 210 [json_name = "termination_reason"]; // @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"`
|
||||
|
||||
@@ -16,10 +16,10 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
|
||||
message HostSource {
|
||||
// Output only. The ID of the Host Set.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Host Catalog to which this Host Source belongs.
|
||||
string host_catalog_id = 20 [json_name = "host_catalog_id"]; // @gotags: `class:"public"`
|
||||
string host_catalog_id = 20 [json_name = "host_catalog_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CredentialSource {
|
||||
@@ -72,10 +72,10 @@ message SessionCredential {
|
||||
// Target contains all fields related to a Target resource
|
||||
message Target {
|
||||
// Output only. The ID of the resource.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The Scope of of this resource. This must be defined for creation of this resource, but is otherwise output only.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this resource.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
@@ -99,20 +99,20 @@ message Target {
|
||||
]; // @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 Target.
|
||||
string type = 90; // @gotags: `class:"public"`
|
||||
string type = 90; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The IDs of the Host Sources associated with this Target.
|
||||
repeated string host_source_ids = 420 [json_name = "host_source_ids"]; // @gotags: `class:"public"`
|
||||
repeated string host_source_ids = 420 [json_name = "host_source_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Host Sources associated with this Target.
|
||||
repeated HostSource host_sources = 430 [json_name = "host_sources"];
|
||||
@@ -297,7 +297,7 @@ message SshTargetAttributes {
|
||||
this: "attributes.enable_session_recording"
|
||||
that: "EnableSessionRecording"
|
||||
}
|
||||
]; // @gotags: `class:"public"`
|
||||
]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
// WorkerInfo contains information about workers, returned in to the client in SessionAuthorization
|
||||
@@ -309,19 +309,19 @@ message WorkerInfo {
|
||||
// SessionAuthorizationData contains the fields needed by the proxy command to connect to a worker. It is marshaled inside the SessionAuthorization message.
|
||||
message SessionAuthorizationData {
|
||||
// Output only. The ID of the session.
|
||||
string session_id = 10 [json_name = "session_id"]; // @gotags: `class:"public"`
|
||||
string session_id = 10 [json_name = "session_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The ID of the Target authorizing this session.
|
||||
string target_id = 20 [json_name = "target_id"]; // @gotags: `class:"public"`
|
||||
string target_id = 20 [json_name = "target_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this the Target that authorized this session.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
|
||||
// Output only. The time this resource was created.
|
||||
google.protobuf.Timestamp created_time = 40 [json_name = "created_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp created_time = 40 [json_name = "created_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Type of the session (e.g. tcp, ssh, etc.).
|
||||
string type = 80; // @gotags: `class:"public"`
|
||||
string type = 80; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The connection limit being applied to this session. -1 means unlimited. This is not actually enforced on the client side but it provides for better listener handling by including it.
|
||||
int32 connection_limit = 90 [json_name = "connection_limit"];
|
||||
@@ -333,7 +333,7 @@ message SessionAuthorizationData {
|
||||
bytes private_key = 130 [json_name = "private_key"]; // @gotags: `class:"secret"`
|
||||
|
||||
// Output only. The host ID...not used for security purposes, but for some special command handling (e.g. ssh host key aliasing).
|
||||
string host_id = 140; // @gotags: `class:"public"`
|
||||
string host_id = 140; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The endpoint, for some special command handling.
|
||||
string endpoint = 141; // @gotags: `class:"public"`
|
||||
@@ -348,28 +348,28 @@ message SessionAuthorizationData {
|
||||
// SessionAuthorization contains all fields related to authorization for a Session. It's in the Targets package because it's returned by a Target's authorize action.
|
||||
message SessionAuthorization {
|
||||
// Output only. The ID of the Session.
|
||||
string session_id = 10 [json_name = "session_id"]; // @gotags: `class:"public"`
|
||||
string session_id = 10 [json_name = "session_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The ID of the Target authorizing this Session.
|
||||
string target_id = 20 [json_name = "target_id"]; // @gotags: `class:"public"`
|
||||
string target_id = 20 [json_name = "target_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this resource.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
|
||||
// Output only. The time this resource was created.
|
||||
google.protobuf.Timestamp created_time = 40 [json_name = "created_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp created_time = 40 [json_name = "created_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The User for which this Session was authorized.
|
||||
string user_id = 50 [json_name = "user_id"]; // @gotags: `class:"public"`
|
||||
string user_id = 50 [json_name = "user_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Host Set containing the Host being used for this Session.
|
||||
string host_set_id = 60 [json_name = "host_set_id"]; // @gotags: `class:"public"`
|
||||
string host_set_id = 60 [json_name = "host_set_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Host whose address is being used as the endpoint for this Session.
|
||||
string host_id = 70 [json_name = "host_id"]; // @gotags: `class:"public"`
|
||||
string host_id = 70 [json_name = "host_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Type of the Session (e.g. tcp, ssh, etc.).
|
||||
string type = 80; // @gotags: `class:"public"`
|
||||
string type = 80; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The marshaled SessionAuthorizationData message containing all information that the proxy needs.
|
||||
string authorization_token = 90 [json_name = "authorization_token"]; // @gotags: `class:"secret"`
|
||||
|
||||
@@ -14,19 +14,19 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
|
||||
message Account {
|
||||
// Output only. The ID of the Account.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Scope containing the Account.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
// User contains all fields related to a User resource
|
||||
message User {
|
||||
// Output only. The ID of the User.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The ID of the Scope this resource is in.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this resource.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
@@ -50,17 +50,17 @@ message User {
|
||||
]; // @gotags: `class:"sensitive"`
|
||||
|
||||
// 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"`
|
||||
|
||||
// Output only. Contains the list of Account IDs linked to this User.
|
||||
repeated string account_ids = 90 [json_name = "account_ids"]; // @gotags: `class:"public"`
|
||||
repeated string account_ids = 90 [json_name = "account_ids"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The Accounts linked to this User.
|
||||
repeated Account accounts = 100;
|
||||
@@ -82,5 +82,5 @@ message User {
|
||||
|
||||
// Output only. primary_account_id is a string that maps to the user's account
|
||||
// public_id from the scope's primary auth method
|
||||
string primary_account_id = 140 [json_name = "primary_account_id"]; // @gotags: `class:"public"`
|
||||
string primary_account_id = 140 [json_name = "primary_account_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
@@ -16,10 +16,10 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour
|
||||
// Worker contains all fields related to a Worker resource
|
||||
message Worker {
|
||||
// Output only. The ID of the User.
|
||||
string id = 10; // @gotags: `class:"public"`
|
||||
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The ID of the Scope this resource is in.
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public"`
|
||||
string scope_id = 20 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. Scope information for this resource.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
@@ -45,10 +45,10 @@ message Worker {
|
||||
]; // @gotags: `class:"sensitive"`
|
||||
|
||||
// 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.
|
||||
@@ -67,7 +67,7 @@ message Worker {
|
||||
map<string, google.protobuf.ListValue> config_tags = 130 [json_name = "config_tags"]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The time this worker daemon last reported its status.
|
||||
google.protobuf.Timestamp last_status_time = 140 [json_name = "last_status_time"]; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp last_status_time = 140 [json_name = "last_status_time"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// worker_generated_auth_token is input only. Supports the worker led node
|
||||
// enrollment flow where this credentials token is produced by a worker. This
|
||||
@@ -80,7 +80,7 @@ message Worker {
|
||||
google.protobuf.StringValue controller_generated_activation_token = 151 [json_name = "controller_generated_activation_token"]; // @gotags: `class:"secret"`
|
||||
|
||||
// Output only. The number of connections that this worker is currently handling.
|
||||
google.protobuf.UInt32Value active_connection_count = 160 [json_name = "active_connection_count"]; // @gotags: `class:"public"`
|
||||
google.protobuf.UInt32Value active_connection_count = 160 [json_name = "active_connection_count"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The type of the worker, denoted by how it authenticates: `pki`
|
||||
// or `kms`.
|
||||
@@ -90,10 +90,10 @@ message Worker {
|
||||
map<string, google.protobuf.ListValue> api_tags = 180 [json_name = "api_tags"]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The version of the Boundary binary the worker is running.
|
||||
string release_version = 190 [json_name = "release_version"]; // @gotags: `class:"public"`
|
||||
string release_version = 190 [json_name = "release_version"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The ids of the workers directly connected to this worker.
|
||||
repeated string directly_connected_downstream_workers = 200 [json_name = "directly_connected_downstream_workers"]; // @gotags: `class:"public"`
|
||||
repeated string directly_connected_downstream_workers = 200 [json_name = "directly_connected_downstream_workers"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Output only. The available actions on this resource for the requester.
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`
|
||||
|
||||
@@ -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"`
|
||||
|
||||
@@ -27,7 +27,7 @@ enum CONNECTIONSTATUS {
|
||||
}
|
||||
|
||||
message Connection {
|
||||
string connection_id = 1; // @gotags: `class:"public"`
|
||||
string connection_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
CONNECTIONSTATUS status = 2;
|
||||
int64 bytes_up = 3; // @gotags: `class:"public"`
|
||||
int64 bytes_down = 4; // @gotags: `class:"public"`
|
||||
@@ -42,7 +42,7 @@ enum SESSIONSTATUS {
|
||||
}
|
||||
|
||||
message SessionJobInfo {
|
||||
string session_id = 1; // @gotags: `class:"public"`
|
||||
string session_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
SESSIONSTATUS status = 2;
|
||||
repeated Connection connections = 3;
|
||||
SessionProcessingError processing_error = 4; // @gotags: `class:"public"`
|
||||
@@ -54,7 +54,7 @@ enum SessionProcessingError {
|
||||
}
|
||||
|
||||
message MonitorSessionJobInfo {
|
||||
string session_id = 1; // @gotags: `class:"public"`
|
||||
string session_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
SESSIONSTATUS status = 2; // @gotags: `class:"public"`
|
||||
SessionProcessingError processing_error = 3; // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -173,7 +173,7 @@ message StatusResponse {
|
||||
|
||||
// The ID of the worker which made the request. The worker can send this value in subsequent requests so the
|
||||
// controller does not need to do a database lookup for the id using the name field.
|
||||
string worker_id = 40; // @gotags: `class:"public"`
|
||||
string worker_id = 40; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Of the worker key identifiers provided in the request, these are the ones
|
||||
// which are authorized to remain connected.
|
||||
|
||||
@@ -36,10 +36,10 @@ service SessionService {
|
||||
|
||||
message LookupSessionRequest {
|
||||
// The session ID from the client
|
||||
string session_id = 10; // @gotags: `class:"public"`
|
||||
string session_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The id of the requesting worker, used for filtering to ensure this worker
|
||||
// can handle this session
|
||||
string worker_id = 20; // @gotags: `class:"public"`
|
||||
string worker_id = 20; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
// LookupSessionResponse contains information necessary for a client to
|
||||
@@ -49,14 +49,14 @@ message LookupSessionResponse {
|
||||
string tofu_token = 20; // @gotags: `class:"secret"`
|
||||
uint32 version = 30; // @gotags: `class:"public"`
|
||||
string endpoint = 40; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp expiration = 50; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 60; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp expiration = 50; // @gotags: `class:"public" eventstream:"observation"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 60; // @gotags: `class:"public" eventstream:"observation"`
|
||||
int32 connection_limit = 70; // @gotags: `class:"public"`
|
||||
int32 connections_left = 80; // @gotags: `class:"public"`
|
||||
string host_id = 90; // @gotags: `class:"public"`
|
||||
string host_set_id = 100; // @gotags: `class:"public"`
|
||||
string target_id = 110; // @gotags: `class:"public"`
|
||||
string user_id = 120; // @gotags: `class:"public"`
|
||||
string host_id = 90; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string host_set_id = 100; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string target_id = 110; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string user_id = 120; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// credentials is deprecated on this response message. Instead use the
|
||||
// credentials field inside the ProtocolContext message.
|
||||
@@ -69,32 +69,32 @@ message ActivateSessionRequest {
|
||||
reserved 40;
|
||||
reserved "worker_id";
|
||||
|
||||
string session_id = 10; // @gotags: `class:"public"`
|
||||
string session_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string tofu_token = 20; // @gotags: `class:"secret"`
|
||||
uint32 version = 30; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 50; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 50; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message ActivateSessionResponse {
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 10; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CancelSessionRequest {
|
||||
string session_id = 10; // @gotags: `class:"public"`
|
||||
string session_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CancelSessionResponse {
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 10; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message AuthorizeConnectionRequest {
|
||||
string session_id = 10; // @gotags: `class:"public"`
|
||||
string worker_id = 20; // @gotags: `class:"public"`
|
||||
string session_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string worker_id = 20; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message AuthorizeConnectionResponse {
|
||||
string connection_id = 10; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 20; // @gotags: `class:"public"`
|
||||
string connection_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 20; // @gotags: `class:"public" eventstream:"observation"`
|
||||
int32 connections_left = 30; // @gotags: `class:"public"`
|
||||
|
||||
// protocol_context contains information specific to the protocol being
|
||||
@@ -106,12 +106,12 @@ message AuthorizeConnectionResponse {
|
||||
}
|
||||
|
||||
message ConnectConnectionRequest {
|
||||
string connection_id = 10; // @gotags: `class:"public"`
|
||||
string connection_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string client_tcp_address = 20; // @gotags: `class:"public"`
|
||||
uint32 client_tcp_port = 30; // @gotags: `class:"public"`
|
||||
string endpoint_tcp_address = 40; // @gotags: `class:"public"`
|
||||
uint32 endpoint_tcp_port = 50; // @gotags: `class:"public"`
|
||||
string type = 60; // @gotags: `class:"public"`
|
||||
string type = 60; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// user_client_ip is the user's client ip for the connection as determined by
|
||||
// the inbound http request handler
|
||||
@@ -119,25 +119,25 @@ message ConnectConnectionRequest {
|
||||
}
|
||||
|
||||
message ConnectConnectionResponse {
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 10; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CloseConnectionRequestData {
|
||||
string connection_id = 10; // @gotags: `class:"public"`
|
||||
string connection_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
int64 bytes_up = 20; // @gotags: `class:"public"`
|
||||
int64 bytes_down = 30; // @gotags: `class:"public"`
|
||||
string reason = 40; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
message CloseConnectionRequest {
|
||||
repeated CloseConnectionRequestData close_request_data = 10; // @gotags: `class:"public"`
|
||||
repeated CloseConnectionRequestData close_request_data = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CloseConnectionResponseData {
|
||||
string connection_id = 10;
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 20; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 20; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CloseConnectionResponse {
|
||||
repeated CloseConnectionResponseData close_response_data = 10; // @gotags: `class:"public"`
|
||||
repeated CloseConnectionResponseData close_response_data = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
@@ -16,7 +16,7 @@ message TagPair {
|
||||
// ServerWorkerStatus is the new message used in place of Server to relay status request info.
|
||||
message ServerWorkerStatus {
|
||||
// Id of the worker.
|
||||
string public_id = 10; // @gotags: `class:"public"`
|
||||
string public_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Name of the resource (optional)
|
||||
string name = 20; // @gotags: `class:"public"`
|
||||
@@ -34,8 +34,8 @@ message ServerWorkerStatus {
|
||||
string key_id = 50; // @gotags: `class:"public"`
|
||||
|
||||
// The version of Boundary the worker binary is running
|
||||
string release_version = 60 [json_name = "release_version"]; // @gotags: `class:"public"`
|
||||
string release_version = 60 [json_name = "release_version"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The state of the worker, to indicate if the worker is active or in shutdown.
|
||||
string operational_state = 70; // @gotags: `class:"public"`
|
||||
string operational_state = 70; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
Reference in new issue
Block a user