v1

package
v1.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2025 License: Apache-2.0 Imports: 18 Imported by: 3

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	OrganizationRole_name = map[int32]string{
		0: "ORGANIZATION_ROLE_UNSPECIFIED",
		1: "ORGANIZATION_ROLE_OWNER",
		2: "ORGANIZATION_ROLE_READER",
		3: "ORGANIZATION_ROLE_TENANT_SYSTEM",
	}
	OrganizationRole_value = map[string]int32{
		"ORGANIZATION_ROLE_UNSPECIFIED":   0,
		"ORGANIZATION_ROLE_OWNER":         1,
		"ORGANIZATION_ROLE_READER":        2,
		"ORGANIZATION_ROLE_TENANT_SYSTEM": 3,
	}
)

Enum value maps for OrganizationRole.

View Source
var (
	ProjectRole_name = map[int32]string{
		0: "PROJECT_ROLE_UNSPECIFIED",
		1: "PROJECT_ROLE_OWNER",
		2: "PROJECT_ROLE_MEMBER",
	}
	ProjectRole_value = map[string]int32{
		"PROJECT_ROLE_UNSPECIFIED": 0,
		"PROJECT_ROLE_OWNER":       1,
		"PROJECT_ROLE_MEMBER":      2,
	}
)

Enum value maps for ProjectRole.

View Source
var File_api_v1_user_manager_service_proto protoreflect.FileDescriptor
View Source
var UsersInternalService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "llmariner.users.server.v1.UsersInternalService",
	HandlerType: (*UsersInternalServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListInternalAPIKeys",
			Handler:    _UsersInternalService_ListInternalAPIKeys_Handler,
		},
		{
			MethodName: "ListInternalOrganizations",
			Handler:    _UsersInternalService_ListInternalOrganizations_Handler,
		},
		{
			MethodName: "ListOrganizationUsers",
			Handler:    _UsersInternalService_ListOrganizationUsers_Handler,
		},
		{
			MethodName: "ListProjects",
			Handler:    _UsersInternalService_ListProjects_Handler,
		},
		{
			MethodName: "ListProjectUsers",
			Handler:    _UsersInternalService_ListProjectUsers_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _UsersInternalService_ListUsers_Handler,
		},
		{
			MethodName: "CreateUserInternal",
			Handler:    _UsersInternalService_CreateUserInternal_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/user_manager_service.proto",
}

UsersInternalService_ServiceDesc is the grpc.ServiceDesc for UsersInternalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UsersService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "llmariner.users.server.v1.UsersService",
	HandlerType: (*UsersServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAPIKey",
			Handler:    _UsersService_CreateAPIKey_Handler,
		},
		{
			MethodName: "ListAPIKeys",
			Handler:    _UsersService_ListAPIKeys_Handler,
		},
		{
			MethodName: "DeleteAPIKey",
			Handler:    _UsersService_DeleteAPIKey_Handler,
		},
		{
			MethodName: "UpdateAPIKey",
			Handler:    _UsersService_UpdateAPIKey_Handler,
		},
		{
			MethodName: "CreateProjectAPIKey",
			Handler:    _UsersService_CreateProjectAPIKey_Handler,
		},
		{
			MethodName: "ListProjectAPIKeys",
			Handler:    _UsersService_ListProjectAPIKeys_Handler,
		},
		{
			MethodName: "DeleteProjectAPIKey",
			Handler:    _UsersService_DeleteProjectAPIKey_Handler,
		},
		{
			MethodName: "CreateOrganization",
			Handler:    _UsersService_CreateOrganization_Handler,
		},
		{
			MethodName: "ListOrganizations",
			Handler:    _UsersService_ListOrganizations_Handler,
		},
		{
			MethodName: "DeleteOrganization",
			Handler:    _UsersService_DeleteOrganization_Handler,
		},
		{
			MethodName: "CreateOrganizationUser",
			Handler:    _UsersService_CreateOrganizationUser_Handler,
		},
		{
			MethodName: "ListOrganizationUsers",
			Handler:    _UsersService_ListOrganizationUsers_Handler,
		},
		{
			MethodName: "DeleteOrganizationUser",
			Handler:    _UsersService_DeleteOrganizationUser_Handler,
		},
		{
			MethodName: "CreateProject",
			Handler:    _UsersService_CreateProject_Handler,
		},
		{
			MethodName: "ListProjects",
			Handler:    _UsersService_ListProjects_Handler,
		},
		{
			MethodName: "DeleteProject",
			Handler:    _UsersService_DeleteProject_Handler,
		},
		{
			MethodName: "CreateProjectUser",
			Handler:    _UsersService_CreateProjectUser_Handler,
		},
		{
			MethodName: "ListProjectUsers",
			Handler:    _UsersService_ListProjectUsers_Handler,
		},
		{
			MethodName: "DeleteProjectUser",
			Handler:    _UsersService_DeleteProjectUser_Handler,
		},
		{
			MethodName: "GetUserSelf",
			Handler:    _UsersService_GetUserSelf_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/user_manager_service.proto",
}

UsersService_ServiceDesc is the grpc.ServiceDesc for UsersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterUsersInternalServiceServer

func RegisterUsersInternalServiceServer(s grpc.ServiceRegistrar, srv UsersInternalServiceServer)

func RegisterUsersServiceHandler

func RegisterUsersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUsersServiceHandler registers the http handlers for service UsersService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUsersServiceHandlerClient

func RegisterUsersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UsersServiceClient) error

RegisterUsersServiceHandlerClient registers the http handlers for service UsersService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UsersServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UsersServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UsersServiceClient" to call the correct interceptors.

func RegisterUsersServiceHandlerFromEndpoint

func RegisterUsersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUsersServiceHandlerFromEndpoint is same as RegisterUsersServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUsersServiceHandlerServer

func RegisterUsersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UsersServiceServer) error

RegisterUsersServiceHandlerServer registers the http handlers for service UsersService to "mux". UnaryRPC :call UsersServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUsersServiceHandlerFromEndpoint instead.

func RegisterUsersServiceServer

func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)

Types

type APIKey

type APIKey struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Name   string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// secret is populated only when a new API key is created.
	Secret           string           `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	CreatedAt        int64            `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	User             *User            `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"`
	Organization     *Organization    `protobuf:"bytes,7,opt,name=organization,proto3" json:"organization,omitempty"`
	Project          *Project         `protobuf:"bytes,8,opt,name=project,proto3" json:"project,omitempty"`
	OrganizationRole OrganizationRole `` /* 158-byte string literal not displayed */
	ProjectRole      ProjectRole      `` /* 139-byte string literal not displayed */
	// Indicates whether this API key is excluded from rate limiting
	ExcludedFromRateLimiting bool `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*APIKey) Descriptor deprecated

func (*APIKey) Descriptor() ([]byte, []int)

Deprecated: Use APIKey.ProtoReflect.Descriptor instead.

func (*APIKey) GetCreatedAt

func (x *APIKey) GetCreatedAt() int64

func (*APIKey) GetExcludedFromRateLimiting added in v1.17.0

func (x *APIKey) GetExcludedFromRateLimiting() bool

func (*APIKey) GetId

func (x *APIKey) GetId() string

func (*APIKey) GetName

func (x *APIKey) GetName() string

func (*APIKey) GetObject

func (x *APIKey) GetObject() string

func (*APIKey) GetOrganization

func (x *APIKey) GetOrganization() *Organization

func (*APIKey) GetOrganizationRole added in v0.95.0

func (x *APIKey) GetOrganizationRole() OrganizationRole

func (*APIKey) GetProject

func (x *APIKey) GetProject() *Project

func (*APIKey) GetProjectRole added in v0.95.0

func (x *APIKey) GetProjectRole() ProjectRole

func (*APIKey) GetSecret

func (x *APIKey) GetSecret() string

func (*APIKey) GetUser

func (x *APIKey) GetUser() *User

func (*APIKey) ProtoMessage

func (*APIKey) ProtoMessage()

func (*APIKey) ProtoReflect

func (x *APIKey) ProtoReflect() protoreflect.Message

func (*APIKey) Reset

func (x *APIKey) Reset()

func (*APIKey) String

func (x *APIKey) String() string

type CreateAPIKeyRequest

type CreateAPIKeyRequest struct {
	Name             string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ProjectId        string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	OrganizationId   string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	IsServiceAccount bool   `protobuf:"varint,4,opt,name=is_service_account,json=isServiceAccount,proto3" json:"is_service_account,omitempty"`
	// role is used only for service account keys.
	Role OrganizationRole `protobuf:"varint,5,opt,name=role,proto3,enum=llmariner.users.server.v1.OrganizationRole" json:"role,omitempty"`
	// Indicates whether this API key should be excluded from rate limiting
	ExcludedFromRateLimiting bool `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateAPIKeyRequest) Descriptor deprecated

func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateAPIKeyRequest) GetExcludedFromRateLimiting added in v1.17.0

func (x *CreateAPIKeyRequest) GetExcludedFromRateLimiting() bool

func (*CreateAPIKeyRequest) GetIsServiceAccount added in v1.9.0

func (x *CreateAPIKeyRequest) GetIsServiceAccount() bool

func (*CreateAPIKeyRequest) GetName

func (x *CreateAPIKeyRequest) GetName() string

func (*CreateAPIKeyRequest) GetOrganizationId

func (x *CreateAPIKeyRequest) GetOrganizationId() string

func (*CreateAPIKeyRequest) GetProjectId

func (x *CreateAPIKeyRequest) GetProjectId() string

func (*CreateAPIKeyRequest) GetRole added in v1.9.0

func (*CreateAPIKeyRequest) ProtoMessage

func (*CreateAPIKeyRequest) ProtoMessage()

func (*CreateAPIKeyRequest) ProtoReflect

func (x *CreateAPIKeyRequest) ProtoReflect() protoreflect.Message

func (*CreateAPIKeyRequest) Reset

func (x *CreateAPIKeyRequest) Reset()

func (*CreateAPIKeyRequest) String

func (x *CreateAPIKeyRequest) String() string

type CreateOrganizationRequest

type CreateOrganizationRequest struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrganizationRequest) Descriptor deprecated

func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.

func (*CreateOrganizationRequest) GetTitle

func (x *CreateOrganizationRequest) GetTitle() string

func (*CreateOrganizationRequest) ProtoMessage

func (*CreateOrganizationRequest) ProtoMessage()

func (*CreateOrganizationRequest) ProtoReflect

func (*CreateOrganizationRequest) Reset

func (x *CreateOrganizationRequest) Reset()

func (*CreateOrganizationRequest) String

func (x *CreateOrganizationRequest) String() string

type CreateOrganizationUserRequest

type CreateOrganizationUserRequest struct {
	OrganizationId string           `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	UserId         string           `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Role           OrganizationRole `protobuf:"varint,3,opt,name=role,proto3,enum=llmariner.users.server.v1.OrganizationRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrganizationUserRequest) Descriptor deprecated

func (*CreateOrganizationUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateOrganizationUserRequest.ProtoReflect.Descriptor instead.

func (*CreateOrganizationUserRequest) GetOrganizationId

func (x *CreateOrganizationUserRequest) GetOrganizationId() string

func (*CreateOrganizationUserRequest) GetRole

func (*CreateOrganizationUserRequest) GetUserId

func (x *CreateOrganizationUserRequest) GetUserId() string

func (*CreateOrganizationUserRequest) ProtoMessage

func (*CreateOrganizationUserRequest) ProtoMessage()

func (*CreateOrganizationUserRequest) ProtoReflect

func (*CreateOrganizationUserRequest) Reset

func (x *CreateOrganizationUserRequest) Reset()

func (*CreateOrganizationUserRequest) String

type CreateProjectRequest

type CreateProjectRequest struct {
	Title               string               `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	OrganizationId      string               `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	KubernetesNamespace string               `protobuf:"bytes,3,opt,name=kubernetes_namespace,json=kubernetesNamespace,proto3" json:"kubernetes_namespace,omitempty"`
	Assignments         []*ProjectAssignment `protobuf:"bytes,4,rep,name=assignments,proto3" json:"assignments,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectRequest) Descriptor deprecated

func (*CreateProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetAssignments added in v1.8.0

func (x *CreateProjectRequest) GetAssignments() []*ProjectAssignment

func (*CreateProjectRequest) GetKubernetesNamespace

func (x *CreateProjectRequest) GetKubernetesNamespace() string

func (*CreateProjectRequest) GetOrganizationId

func (x *CreateProjectRequest) GetOrganizationId() string

func (*CreateProjectRequest) GetTitle

func (x *CreateProjectRequest) GetTitle() string

func (*CreateProjectRequest) ProtoMessage

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect

func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message

func (*CreateProjectRequest) Reset

func (x *CreateProjectRequest) Reset()

func (*CreateProjectRequest) String

func (x *CreateProjectRequest) String() string

type CreateProjectUserRequest

type CreateProjectUserRequest struct {
	OrganizationId string      `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	ProjectId      string      `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	UserId         string      `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Role           ProjectRole `protobuf:"varint,4,opt,name=role,proto3,enum=llmariner.users.server.v1.ProjectRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectUserRequest) Descriptor deprecated

func (*CreateProjectUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjectUserRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectUserRequest) GetOrganizationId

func (x *CreateProjectUserRequest) GetOrganizationId() string

func (*CreateProjectUserRequest) GetProjectId

func (x *CreateProjectUserRequest) GetProjectId() string

func (*CreateProjectUserRequest) GetRole

func (*CreateProjectUserRequest) GetUserId

func (x *CreateProjectUserRequest) GetUserId() string

func (*CreateProjectUserRequest) ProtoMessage

func (*CreateProjectUserRequest) ProtoMessage()

func (*CreateProjectUserRequest) ProtoReflect

func (x *CreateProjectUserRequest) ProtoReflect() protoreflect.Message

func (*CreateProjectUserRequest) Reset

func (x *CreateProjectUserRequest) Reset()

func (*CreateProjectUserRequest) String

func (x *CreateProjectUserRequest) String() string

type CreateUserInternalRequest added in v1.1.0

type CreateUserInternalRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// title is used for both orgnization and project.
	Title               string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	UserId              string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	KubernetesNamespace string `protobuf:"bytes,4,opt,name=kubernetes_namespace,json=kubernetesNamespace,proto3" json:"kubernetes_namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserInternalRequest) Descriptor deprecated added in v1.1.0

func (*CreateUserInternalRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserInternalRequest.ProtoReflect.Descriptor instead.

func (*CreateUserInternalRequest) GetKubernetesNamespace added in v1.8.0

func (x *CreateUserInternalRequest) GetKubernetesNamespace() string

func (*CreateUserInternalRequest) GetTenantId added in v1.1.0

func (x *CreateUserInternalRequest) GetTenantId() string

func (*CreateUserInternalRequest) GetTitle added in v1.1.0

func (x *CreateUserInternalRequest) GetTitle() string

func (*CreateUserInternalRequest) GetUserId added in v1.1.0

func (x *CreateUserInternalRequest) GetUserId() string

func (*CreateUserInternalRequest) ProtoMessage added in v1.1.0

func (*CreateUserInternalRequest) ProtoMessage()

func (*CreateUserInternalRequest) ProtoReflect added in v1.1.0

func (*CreateUserInternalRequest) Reset added in v1.1.0

func (x *CreateUserInternalRequest) Reset()

func (*CreateUserInternalRequest) String added in v1.1.0

func (x *CreateUserInternalRequest) String() string

type DeleteAPIKeyRequest

type DeleteAPIKeyRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAPIKeyRequest) Descriptor deprecated

func (*DeleteAPIKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteAPIKeyRequest) GetId

func (x *DeleteAPIKeyRequest) GetId() string

func (*DeleteAPIKeyRequest) ProtoMessage

func (*DeleteAPIKeyRequest) ProtoMessage()

func (*DeleteAPIKeyRequest) ProtoReflect

func (x *DeleteAPIKeyRequest) ProtoReflect() protoreflect.Message

func (*DeleteAPIKeyRequest) Reset

func (x *DeleteAPIKeyRequest) Reset()

func (*DeleteAPIKeyRequest) String

func (x *DeleteAPIKeyRequest) String() string

type DeleteAPIKeyResponse

type DeleteAPIKeyResponse struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object  string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Deleted bool   `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAPIKeyResponse) Descriptor deprecated

func (*DeleteAPIKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteAPIKeyResponse) GetDeleted

func (x *DeleteAPIKeyResponse) GetDeleted() bool

func (*DeleteAPIKeyResponse) GetId

func (x *DeleteAPIKeyResponse) GetId() string

func (*DeleteAPIKeyResponse) GetObject

func (x *DeleteAPIKeyResponse) GetObject() string

func (*DeleteAPIKeyResponse) ProtoMessage

func (*DeleteAPIKeyResponse) ProtoMessage()

func (*DeleteAPIKeyResponse) ProtoReflect

func (x *DeleteAPIKeyResponse) ProtoReflect() protoreflect.Message

func (*DeleteAPIKeyResponse) Reset

func (x *DeleteAPIKeyResponse) Reset()

func (*DeleteAPIKeyResponse) String

func (x *DeleteAPIKeyResponse) String() string

type DeleteOrganizationRequest

type DeleteOrganizationRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOrganizationRequest) Descriptor deprecated

func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationRequest.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationRequest) GetId

func (x *DeleteOrganizationRequest) GetId() string

func (*DeleteOrganizationRequest) ProtoMessage

func (*DeleteOrganizationRequest) ProtoMessage()

func (*DeleteOrganizationRequest) ProtoReflect

func (*DeleteOrganizationRequest) Reset

func (x *DeleteOrganizationRequest) Reset()

func (*DeleteOrganizationRequest) String

func (x *DeleteOrganizationRequest) String() string

type DeleteOrganizationResponse

type DeleteOrganizationResponse struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object  string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Deleted bool   `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOrganizationResponse) Descriptor deprecated

func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationResponse.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationResponse) GetDeleted

func (x *DeleteOrganizationResponse) GetDeleted() bool

func (*DeleteOrganizationResponse) GetId

func (*DeleteOrganizationResponse) GetObject

func (x *DeleteOrganizationResponse) GetObject() string

func (*DeleteOrganizationResponse) ProtoMessage

func (*DeleteOrganizationResponse) ProtoMessage()

func (*DeleteOrganizationResponse) ProtoReflect

func (*DeleteOrganizationResponse) Reset

func (x *DeleteOrganizationResponse) Reset()

func (*DeleteOrganizationResponse) String

func (x *DeleteOrganizationResponse) String() string

type DeleteOrganizationUserRequest

type DeleteOrganizationUserRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	UserId         string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOrganizationUserRequest) Descriptor deprecated

func (*DeleteOrganizationUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationUserRequest) GetOrganizationId

func (x *DeleteOrganizationUserRequest) GetOrganizationId() string

func (*DeleteOrganizationUserRequest) GetUserId

func (x *DeleteOrganizationUserRequest) GetUserId() string

func (*DeleteOrganizationUserRequest) ProtoMessage

func (*DeleteOrganizationUserRequest) ProtoMessage()

func (*DeleteOrganizationUserRequest) ProtoReflect

func (*DeleteOrganizationUserRequest) Reset

func (x *DeleteOrganizationUserRequest) Reset()

func (*DeleteOrganizationUserRequest) String

type DeleteOrganizationUserResponse

type DeleteOrganizationUserResponse struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object  string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Deleted bool   `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOrganizationUserResponse) Descriptor deprecated

func (*DeleteOrganizationUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationUserResponse) GetDeleted

func (x *DeleteOrganizationUserResponse) GetDeleted() bool

func (*DeleteOrganizationUserResponse) GetId

func (*DeleteOrganizationUserResponse) GetObject

func (x *DeleteOrganizationUserResponse) GetObject() string

func (*DeleteOrganizationUserResponse) ProtoMessage

func (*DeleteOrganizationUserResponse) ProtoMessage()

func (*DeleteOrganizationUserResponse) ProtoReflect

func (*DeleteOrganizationUserResponse) Reset

func (x *DeleteOrganizationUserResponse) Reset()

func (*DeleteOrganizationUserResponse) String

type DeleteProjectAPIKeyRequest added in v1.7.0

type DeleteProjectAPIKeyRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ProjectId      string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectAPIKeyRequest) Descriptor deprecated added in v1.7.0

func (*DeleteProjectAPIKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectAPIKeyRequest) GetId added in v1.7.0

func (*DeleteProjectAPIKeyRequest) GetOrganizationId added in v1.7.0

func (x *DeleteProjectAPIKeyRequest) GetOrganizationId() string

func (*DeleteProjectAPIKeyRequest) GetProjectId added in v1.7.0

func (x *DeleteProjectAPIKeyRequest) GetProjectId() string

func (*DeleteProjectAPIKeyRequest) ProtoMessage added in v1.7.0

func (*DeleteProjectAPIKeyRequest) ProtoMessage()

func (*DeleteProjectAPIKeyRequest) ProtoReflect added in v1.7.0

func (*DeleteProjectAPIKeyRequest) Reset added in v1.7.0

func (x *DeleteProjectAPIKeyRequest) Reset()

func (*DeleteProjectAPIKeyRequest) String added in v1.7.0

func (x *DeleteProjectAPIKeyRequest) String() string

type DeleteProjectRequest

type DeleteProjectRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Id             string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectRequest) Descriptor deprecated

func (*DeleteProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetId

func (x *DeleteProjectRequest) GetId() string

func (*DeleteProjectRequest) GetOrganizationId

func (x *DeleteProjectRequest) GetOrganizationId() string

func (*DeleteProjectRequest) ProtoMessage

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect

func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message

func (*DeleteProjectRequest) Reset

func (x *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) String

func (x *DeleteProjectRequest) String() string

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object  string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Deleted bool   `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectResponse) Descriptor deprecated

func (*DeleteProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectResponse) GetDeleted

func (x *DeleteProjectResponse) GetDeleted() bool

func (*DeleteProjectResponse) GetId

func (x *DeleteProjectResponse) GetId() string

func (*DeleteProjectResponse) GetObject

func (x *DeleteProjectResponse) GetObject() string

func (*DeleteProjectResponse) ProtoMessage

func (*DeleteProjectResponse) ProtoMessage()

func (*DeleteProjectResponse) ProtoReflect

func (x *DeleteProjectResponse) ProtoReflect() protoreflect.Message

func (*DeleteProjectResponse) Reset

func (x *DeleteProjectResponse) Reset()

func (*DeleteProjectResponse) String

func (x *DeleteProjectResponse) String() string

type DeleteProjectUserRequest

type DeleteProjectUserRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	ProjectId      string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	UserId         string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectUserRequest) Descriptor deprecated

func (*DeleteProjectUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectUserRequest) GetOrganizationId

func (x *DeleteProjectUserRequest) GetOrganizationId() string

func (*DeleteProjectUserRequest) GetProjectId

func (x *DeleteProjectUserRequest) GetProjectId() string

func (*DeleteProjectUserRequest) GetUserId

func (x *DeleteProjectUserRequest) GetUserId() string

func (*DeleteProjectUserRequest) ProtoMessage

func (*DeleteProjectUserRequest) ProtoMessage()

func (*DeleteProjectUserRequest) ProtoReflect

func (x *DeleteProjectUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteProjectUserRequest) Reset

func (x *DeleteProjectUserRequest) Reset()

func (*DeleteProjectUserRequest) String

func (x *DeleteProjectUserRequest) String() string

type DeleteProjectUserResponse

type DeleteProjectUserResponse struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object  string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Deleted bool   `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectUserResponse) Descriptor deprecated

func (*DeleteProjectUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectUserResponse) GetDeleted

func (x *DeleteProjectUserResponse) GetDeleted() bool

func (*DeleteProjectUserResponse) GetId

func (x *DeleteProjectUserResponse) GetId() string

func (*DeleteProjectUserResponse) GetObject

func (x *DeleteProjectUserResponse) GetObject() string

func (*DeleteProjectUserResponse) ProtoMessage

func (*DeleteProjectUserResponse) ProtoMessage()

func (*DeleteProjectUserResponse) ProtoReflect

func (*DeleteProjectUserResponse) Reset

func (x *DeleteProjectUserResponse) Reset()

func (*DeleteProjectUserResponse) String

func (x *DeleteProjectUserResponse) String() string

type GetUserSelfRequest added in v1.3.0

type GetUserSelfRequest struct {
	// contains filtered or unexported fields
}

func (*GetUserSelfRequest) Descriptor deprecated added in v1.3.0

func (*GetUserSelfRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserSelfRequest.ProtoReflect.Descriptor instead.

func (*GetUserSelfRequest) ProtoMessage added in v1.3.0

func (*GetUserSelfRequest) ProtoMessage()

func (*GetUserSelfRequest) ProtoReflect added in v1.3.0

func (x *GetUserSelfRequest) ProtoReflect() protoreflect.Message

func (*GetUserSelfRequest) Reset added in v1.3.0

func (x *GetUserSelfRequest) Reset()

func (*GetUserSelfRequest) String added in v1.3.0

func (x *GetUserSelfRequest) String() string

type InternalAPIKey

type InternalAPIKey struct {
	ApiKey   *APIKey `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	TenantId string  `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InternalAPIKey) Descriptor deprecated

func (*InternalAPIKey) Descriptor() ([]byte, []int)

Deprecated: Use InternalAPIKey.ProtoReflect.Descriptor instead.

func (*InternalAPIKey) GetApiKey

func (x *InternalAPIKey) GetApiKey() *APIKey

func (*InternalAPIKey) GetTenantId

func (x *InternalAPIKey) GetTenantId() string

func (*InternalAPIKey) ProtoMessage

func (*InternalAPIKey) ProtoMessage()

func (*InternalAPIKey) ProtoReflect

func (x *InternalAPIKey) ProtoReflect() protoreflect.Message

func (*InternalAPIKey) Reset

func (x *InternalAPIKey) Reset()

func (*InternalAPIKey) String

func (x *InternalAPIKey) String() string

type InternalOrganization

type InternalOrganization struct {
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	TenantId     string        `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InternalOrganization) Descriptor deprecated

func (*InternalOrganization) Descriptor() ([]byte, []int)

Deprecated: Use InternalOrganization.ProtoReflect.Descriptor instead.

func (*InternalOrganization) GetOrganization

func (x *InternalOrganization) GetOrganization() *Organization

func (*InternalOrganization) GetTenantId

func (x *InternalOrganization) GetTenantId() string

func (*InternalOrganization) ProtoMessage

func (*InternalOrganization) ProtoMessage()

func (*InternalOrganization) ProtoReflect

func (x *InternalOrganization) ProtoReflect() protoreflect.Message

func (*InternalOrganization) Reset

func (x *InternalOrganization) Reset()

func (*InternalOrganization) String

func (x *InternalOrganization) String() string

type ListAPIKeysRequest

type ListAPIKeysRequest struct {
	// contains filtered or unexported fields
}

func (*ListAPIKeysRequest) Descriptor deprecated

func (*ListAPIKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAPIKeysRequest.ProtoReflect.Descriptor instead.

func (*ListAPIKeysRequest) ProtoMessage

func (*ListAPIKeysRequest) ProtoMessage()

func (*ListAPIKeysRequest) ProtoReflect

func (x *ListAPIKeysRequest) ProtoReflect() protoreflect.Message

func (*ListAPIKeysRequest) Reset

func (x *ListAPIKeysRequest) Reset()

func (*ListAPIKeysRequest) String

func (x *ListAPIKeysRequest) String() string

type ListAPIKeysResponse

type ListAPIKeysResponse struct {
	Object string    `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	Data   []*APIKey `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAPIKeysResponse) Descriptor deprecated

func (*ListAPIKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAPIKeysResponse.ProtoReflect.Descriptor instead.

func (*ListAPIKeysResponse) GetData

func (x *ListAPIKeysResponse) GetData() []*APIKey

func (*ListAPIKeysResponse) GetObject

func (x *ListAPIKeysResponse) GetObject() string

func (*ListAPIKeysResponse) ProtoMessage

func (*ListAPIKeysResponse) ProtoMessage()

func (*ListAPIKeysResponse) ProtoReflect

func (x *ListAPIKeysResponse) ProtoReflect() protoreflect.Message

func (*ListAPIKeysResponse) Reset

func (x *ListAPIKeysResponse) Reset()

func (*ListAPIKeysResponse) String

func (x *ListAPIKeysResponse) String() string

type ListInternalAPIKeysRequest

type ListInternalAPIKeysRequest struct {
	// contains filtered or unexported fields
}

func (*ListInternalAPIKeysRequest) Descriptor deprecated

func (*ListInternalAPIKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInternalAPIKeysRequest.ProtoReflect.Descriptor instead.

func (*ListInternalAPIKeysRequest) ProtoMessage

func (*ListInternalAPIKeysRequest) ProtoMessage()

func (*ListInternalAPIKeysRequest) ProtoReflect

func (*ListInternalAPIKeysRequest) Reset

func (x *ListInternalAPIKeysRequest) Reset()

func (*ListInternalAPIKeysRequest) String

func (x *ListInternalAPIKeysRequest) String() string

type ListInternalAPIKeysResponse

type ListInternalAPIKeysResponse struct {
	ApiKeys []*InternalAPIKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInternalAPIKeysResponse) Descriptor deprecated

func (*ListInternalAPIKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInternalAPIKeysResponse.ProtoReflect.Descriptor instead.

func (*ListInternalAPIKeysResponse) GetApiKeys

func (x *ListInternalAPIKeysResponse) GetApiKeys() []*InternalAPIKey

func (*ListInternalAPIKeysResponse) ProtoMessage

func (*ListInternalAPIKeysResponse) ProtoMessage()

func (*ListInternalAPIKeysResponse) ProtoReflect

func (*ListInternalAPIKeysResponse) Reset

func (x *ListInternalAPIKeysResponse) Reset()

func (*ListInternalAPIKeysResponse) String

func (x *ListInternalAPIKeysResponse) String() string

type ListInternalOrganizationsRequest

type ListInternalOrganizationsRequest struct {
	// contains filtered or unexported fields
}

func (*ListInternalOrganizationsRequest) Descriptor deprecated

func (*ListInternalOrganizationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInternalOrganizationsRequest.ProtoReflect.Descriptor instead.

func (*ListInternalOrganizationsRequest) ProtoMessage

func (*ListInternalOrganizationsRequest) ProtoMessage()

func (*ListInternalOrganizationsRequest) ProtoReflect

func (*ListInternalOrganizationsRequest) Reset

func (*ListInternalOrganizationsRequest) String

type ListInternalOrganizationsResponse

type ListInternalOrganizationsResponse struct {
	Organizations []*InternalOrganization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInternalOrganizationsResponse) Descriptor deprecated

func (*ListInternalOrganizationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInternalOrganizationsResponse.ProtoReflect.Descriptor instead.

func (*ListInternalOrganizationsResponse) GetOrganizations

func (*ListInternalOrganizationsResponse) ProtoMessage

func (*ListInternalOrganizationsResponse) ProtoMessage()

func (*ListInternalOrganizationsResponse) ProtoReflect

func (*ListInternalOrganizationsResponse) Reset

func (*ListInternalOrganizationsResponse) String

type ListOrganizationUsersRequest

type ListOrganizationUsersRequest struct {

	// organization_id must be set for UsersService. It is no-op for UsersInternalService.
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationUsersRequest) Descriptor deprecated

func (*ListOrganizationUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationUsersRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationUsersRequest) GetOrganizationId

func (x *ListOrganizationUsersRequest) GetOrganizationId() string

func (*ListOrganizationUsersRequest) ProtoMessage

func (*ListOrganizationUsersRequest) ProtoMessage()

func (*ListOrganizationUsersRequest) ProtoReflect

func (*ListOrganizationUsersRequest) Reset

func (x *ListOrganizationUsersRequest) Reset()

func (*ListOrganizationUsersRequest) String

type ListOrganizationUsersResponse

type ListOrganizationUsersResponse struct {
	Users []*OrganizationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationUsersResponse) Descriptor deprecated

func (*ListOrganizationUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationUsersResponse.ProtoReflect.Descriptor instead.

func (*ListOrganizationUsersResponse) GetUsers

func (*ListOrganizationUsersResponse) ProtoMessage

func (*ListOrganizationUsersResponse) ProtoMessage()

func (*ListOrganizationUsersResponse) ProtoReflect

func (*ListOrganizationUsersResponse) Reset

func (x *ListOrganizationUsersResponse) Reset()

func (*ListOrganizationUsersResponse) String

type ListOrganizationsRequest

type ListOrganizationsRequest struct {
	IncludeSummary bool `protobuf:"varint,1,opt,name=include_summary,json=includeSummary,proto3" json:"include_summary,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationsRequest) Descriptor deprecated

func (*ListOrganizationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationsRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationsRequest) GetIncludeSummary added in v1.4.0

func (x *ListOrganizationsRequest) GetIncludeSummary() bool

func (*ListOrganizationsRequest) ProtoMessage

func (*ListOrganizationsRequest) ProtoMessage()

func (*ListOrganizationsRequest) ProtoReflect

func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message

func (*ListOrganizationsRequest) Reset

func (x *ListOrganizationsRequest) Reset()

func (*ListOrganizationsRequest) String

func (x *ListOrganizationsRequest) String() string

type ListOrganizationsResponse

type ListOrganizationsResponse struct {
	Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationsResponse) Descriptor deprecated

func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationsResponse.ProtoReflect.Descriptor instead.

func (*ListOrganizationsResponse) GetOrganizations

func (x *ListOrganizationsResponse) GetOrganizations() []*Organization

func (*ListOrganizationsResponse) ProtoMessage

func (*ListOrganizationsResponse) ProtoMessage()

func (*ListOrganizationsResponse) ProtoReflect

func (*ListOrganizationsResponse) Reset

func (x *ListOrganizationsResponse) Reset()

func (*ListOrganizationsResponse) String

func (x *ListOrganizationsResponse) String() string

type ListProjectAPIKeysRequest added in v1.7.0

type ListProjectAPIKeysRequest struct {
	ProjectId      string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectAPIKeysRequest) Descriptor deprecated added in v1.7.0

func (*ListProjectAPIKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectAPIKeysRequest.ProtoReflect.Descriptor instead.

func (*ListProjectAPIKeysRequest) GetOrganizationId added in v1.7.0

func (x *ListProjectAPIKeysRequest) GetOrganizationId() string

func (*ListProjectAPIKeysRequest) GetProjectId added in v1.7.0

func (x *ListProjectAPIKeysRequest) GetProjectId() string

func (*ListProjectAPIKeysRequest) ProtoMessage added in v1.7.0

func (*ListProjectAPIKeysRequest) ProtoMessage()

func (*ListProjectAPIKeysRequest) ProtoReflect added in v1.7.0

func (*ListProjectAPIKeysRequest) Reset added in v1.7.0

func (x *ListProjectAPIKeysRequest) Reset()

func (*ListProjectAPIKeysRequest) String added in v1.7.0

func (x *ListProjectAPIKeysRequest) String() string

type ListProjectUsersRequest

type ListProjectUsersRequest struct {

	// organization_id and project_id must be set for UsersService. It is no-op for UsersInternalService.
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	ProjectId      string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectUsersRequest) Descriptor deprecated

func (*ListProjectUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectUsersRequest.ProtoReflect.Descriptor instead.

func (*ListProjectUsersRequest) GetOrganizationId

func (x *ListProjectUsersRequest) GetOrganizationId() string

func (*ListProjectUsersRequest) GetProjectId

func (x *ListProjectUsersRequest) GetProjectId() string

func (*ListProjectUsersRequest) ProtoMessage

func (*ListProjectUsersRequest) ProtoMessage()

func (*ListProjectUsersRequest) ProtoReflect

func (x *ListProjectUsersRequest) ProtoReflect() protoreflect.Message

func (*ListProjectUsersRequest) Reset

func (x *ListProjectUsersRequest) Reset()

func (*ListProjectUsersRequest) String

func (x *ListProjectUsersRequest) String() string

type ListProjectUsersResponse

type ListProjectUsersResponse struct {
	Users []*ProjectUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectUsersResponse) Descriptor deprecated

func (*ListProjectUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectUsersResponse.ProtoReflect.Descriptor instead.

func (*ListProjectUsersResponse) GetUsers

func (x *ListProjectUsersResponse) GetUsers() []*ProjectUser

func (*ListProjectUsersResponse) ProtoMessage

func (*ListProjectUsersResponse) ProtoMessage()

func (*ListProjectUsersResponse) ProtoReflect

func (x *ListProjectUsersResponse) ProtoReflect() protoreflect.Message

func (*ListProjectUsersResponse) Reset

func (x *ListProjectUsersResponse) Reset()

func (*ListProjectUsersResponse) String

func (x *ListProjectUsersResponse) String() string

type ListProjectsRequest

type ListProjectsRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	IncludeSummary bool   `protobuf:"varint,2,opt,name=include_summary,json=includeSummary,proto3" json:"include_summary,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsRequest) Descriptor deprecated

func (*ListProjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) GetIncludeSummary added in v1.5.0

func (x *ListProjectsRequest) GetIncludeSummary() bool

func (*ListProjectsRequest) GetOrganizationId

func (x *ListProjectsRequest) GetOrganizationId() string

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message

func (*ListProjectsRequest) Reset

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) String

func (x *ListProjectsRequest) String() string

type ListProjectsResponse

type ListProjectsResponse struct {
	Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsResponse) Descriptor deprecated

func (*ListProjectsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetProjects

func (x *ListProjectsResponse) GetProjects() []*Project

func (*ListProjectsResponse) ProtoMessage

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect

func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message

func (*ListProjectsResponse) Reset

func (x *ListProjectsResponse) Reset()

func (*ListProjectsResponse) String

func (x *ListProjectsResponse) String() string

type ListUsersRequest added in v1.11.0

type ListUsersRequest struct {
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated added in v1.11.0

func (*ListUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) ProtoMessage added in v1.11.0

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect added in v1.11.0

func (x *ListUsersRequest) ProtoReflect() protoreflect.Message

func (*ListUsersRequest) Reset added in v1.11.0

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String added in v1.11.0

func (x *ListUsersRequest) String() string

type ListUsersResponse added in v1.11.0

type ListUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated added in v1.11.0

func (*ListUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetUsers added in v1.11.0

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage added in v1.11.0

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect added in v1.11.0

func (x *ListUsersResponse) ProtoReflect() protoreflect.Message

func (*ListUsersResponse) Reset added in v1.11.0

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String added in v1.11.0

func (x *ListUsersResponse) String() string

type Organization

type Organization struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title     string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	CreatedAt int64  `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Summary holds summary information about the organization.
	// This field is filled only when `include_summary` is set to true.
	Summary *Organization_Summary `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

func (*Organization) Descriptor deprecated

func (*Organization) Descriptor() ([]byte, []int)

Deprecated: Use Organization.ProtoReflect.Descriptor instead.

func (*Organization) GetCreatedAt

func (x *Organization) GetCreatedAt() int64

func (*Organization) GetId

func (x *Organization) GetId() string

func (*Organization) GetSummary added in v1.4.0

func (x *Organization) GetSummary() *Organization_Summary

func (*Organization) GetTitle

func (x *Organization) GetTitle() string

func (*Organization) ProtoMessage

func (*Organization) ProtoMessage()

func (*Organization) ProtoReflect

func (x *Organization) ProtoReflect() protoreflect.Message

func (*Organization) Reset

func (x *Organization) Reset()

func (*Organization) String

func (x *Organization) String() string

type OrganizationRole

type OrganizationRole int32
const (
	OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED OrganizationRole = 0
	OrganizationRole_ORGANIZATION_ROLE_OWNER       OrganizationRole = 1
	OrganizationRole_ORGANIZATION_ROLE_READER      OrganizationRole = 2
	// TENANT_SYSTEM role does not follow the OpenAI APIs.
	// This is used for the tenant system component.
	OrganizationRole_ORGANIZATION_ROLE_TENANT_SYSTEM OrganizationRole = 3
)

func (OrganizationRole) Descriptor

func (OrganizationRole) Enum

func (OrganizationRole) EnumDescriptor deprecated

func (OrganizationRole) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrganizationRole.Descriptor instead.

func (OrganizationRole) Number

func (OrganizationRole) String

func (x OrganizationRole) String() string

func (OrganizationRole) Type

type OrganizationUser

type OrganizationUser struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// internal_user_id is populated only for internal gRPC service.
	InternalUserId string           `protobuf:"bytes,4,opt,name=internal_user_id,json=internalUserId,proto3" json:"internal_user_id,omitempty"`
	OrganizationId string           `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Role           OrganizationRole `protobuf:"varint,3,opt,name=role,proto3,enum=llmariner.users.server.v1.OrganizationRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationUser) Descriptor deprecated

func (*OrganizationUser) Descriptor() ([]byte, []int)

Deprecated: Use OrganizationUser.ProtoReflect.Descriptor instead.

func (*OrganizationUser) GetInternalUserId added in v0.89.0

func (x *OrganizationUser) GetInternalUserId() string

func (*OrganizationUser) GetOrganizationId

func (x *OrganizationUser) GetOrganizationId() string

func (*OrganizationUser) GetRole

func (x *OrganizationUser) GetRole() OrganizationRole

func (*OrganizationUser) GetUserId

func (x *OrganizationUser) GetUserId() string

func (*OrganizationUser) ProtoMessage

func (*OrganizationUser) ProtoMessage()

func (*OrganizationUser) ProtoReflect

func (x *OrganizationUser) ProtoReflect() protoreflect.Message

func (*OrganizationUser) Reset

func (x *OrganizationUser) Reset()

func (*OrganizationUser) String

func (x *OrganizationUser) String() string

type Organization_Summary added in v1.4.0

type Organization_Summary struct {

	// project_count is the number of projects in the organization.
	ProjectCount int32 `protobuf:"varint,1,opt,name=project_count,json=projectCount,proto3" json:"project_count,omitempty"`
	// user_count is the number of users in the organization.
	UserCount int32 `protobuf:"varint,2,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`
	// contains filtered or unexported fields
}

func (*Organization_Summary) Descriptor deprecated added in v1.4.0

func (*Organization_Summary) Descriptor() ([]byte, []int)

Deprecated: Use Organization_Summary.ProtoReflect.Descriptor instead.

func (*Organization_Summary) GetProjectCount added in v1.4.0

func (x *Organization_Summary) GetProjectCount() int32

func (*Organization_Summary) GetUserCount added in v1.4.0

func (x *Organization_Summary) GetUserCount() int32

func (*Organization_Summary) ProtoMessage added in v1.4.0

func (*Organization_Summary) ProtoMessage()

func (*Organization_Summary) ProtoReflect added in v1.4.0

func (x *Organization_Summary) ProtoReflect() protoreflect.Message

func (*Organization_Summary) Reset added in v1.4.0

func (x *Organization_Summary) Reset()

func (*Organization_Summary) String added in v1.4.0

func (x *Organization_Summary) String() string

type Project

type Project struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// assignments is the list of assigned clusters and namespaces for the project.
	Assignments []*ProjectAssignment `protobuf:"bytes,7,rep,name=assignments,proto3" json:"assignments,omitempty"`
	// kubernetes_namespace is the namespace where the fine-tuning jobs for the project run.
	KubernetesNamespace string `protobuf:"bytes,3,opt,name=kubernetes_namespace,json=kubernetesNamespace,proto3" json:"kubernetes_namespace,omitempty"`
	OrganizationId      string `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	CreatedAt           int64  `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Summary holds summary information about the project.
	// This field is filled only when `include_summary` is set to true.
	Summary *Project_Summary `protobuf:"bytes,6,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

func (*Project) Descriptor deprecated

func (*Project) Descriptor() ([]byte, []int)

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetAssignments added in v1.8.0

func (x *Project) GetAssignments() []*ProjectAssignment

func (*Project) GetCreatedAt

func (x *Project) GetCreatedAt() int64

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetKubernetesNamespace

func (x *Project) GetKubernetesNamespace() string

func (*Project) GetOrganizationId

func (x *Project) GetOrganizationId() string

func (*Project) GetSummary added in v1.5.0

func (x *Project) GetSummary() *Project_Summary

func (*Project) GetTitle

func (x *Project) GetTitle() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

func (x *Project) ProtoReflect() protoreflect.Message

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProjectAssignment added in v1.8.0

type ProjectAssignment struct {

	// cluster_id specifies a cluster assigned to this project. It is empty
	// when the namespace of any registered clusters is assigned to this project.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// kueue_queue_name is the name of the Kueue queue assigned to this project.
	KueueQueueName string `protobuf:"bytes,3,opt,name=kueue_queue_name,json=kueueQueueName,proto3" json:"kueue_queue_name,omitempty"`
	// node_selector specifies nodes where this project can run its workloads.
	NodeSelector []*ProjectAssignment_NodeSelector `protobuf:"bytes,4,rep,name=node_selector,json=nodeSelector,proto3" json:"node_selector,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectAssignment) Descriptor deprecated added in v1.8.0

func (*ProjectAssignment) Descriptor() ([]byte, []int)

Deprecated: Use ProjectAssignment.ProtoReflect.Descriptor instead.

func (*ProjectAssignment) GetClusterId added in v1.8.1

func (x *ProjectAssignment) GetClusterId() string

func (*ProjectAssignment) GetKueueQueueName added in v1.23.0

func (x *ProjectAssignment) GetKueueQueueName() string

func (*ProjectAssignment) GetNamespace added in v1.8.0

func (x *ProjectAssignment) GetNamespace() string

func (*ProjectAssignment) GetNodeSelector added in v1.23.0

func (x *ProjectAssignment) GetNodeSelector() []*ProjectAssignment_NodeSelector

func (*ProjectAssignment) ProtoMessage added in v1.8.0

func (*ProjectAssignment) ProtoMessage()

func (*ProjectAssignment) ProtoReflect added in v1.8.0

func (x *ProjectAssignment) ProtoReflect() protoreflect.Message

func (*ProjectAssignment) Reset added in v1.8.0

func (x *ProjectAssignment) Reset()

func (*ProjectAssignment) String added in v1.8.0

func (x *ProjectAssignment) String() string

type ProjectAssignment_NodeSelector added in v1.23.0

type ProjectAssignment_NodeSelector struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectAssignment_NodeSelector) Descriptor deprecated added in v1.23.0

func (*ProjectAssignment_NodeSelector) Descriptor() ([]byte, []int)

Deprecated: Use ProjectAssignment_NodeSelector.ProtoReflect.Descriptor instead.

func (*ProjectAssignment_NodeSelector) GetKey added in v1.23.0

func (*ProjectAssignment_NodeSelector) GetValue added in v1.23.0

func (x *ProjectAssignment_NodeSelector) GetValue() string

func (*ProjectAssignment_NodeSelector) ProtoMessage added in v1.23.0

func (*ProjectAssignment_NodeSelector) ProtoMessage()

func (*ProjectAssignment_NodeSelector) ProtoReflect added in v1.23.0

func (*ProjectAssignment_NodeSelector) Reset added in v1.23.0

func (x *ProjectAssignment_NodeSelector) Reset()

func (*ProjectAssignment_NodeSelector) String added in v1.23.0

type ProjectAssignments added in v1.8.0

type ProjectAssignments struct {
	Assignments []*ProjectAssignment `protobuf:"bytes,1,rep,name=assignments,proto3" json:"assignments,omitempty"`
	// contains filtered or unexported fields
}

ProjectAssignemnt is a list of assigned clusters and namespaces for the project. This is used to marshal a repeated field in the proto message so that it can be persisted in a database.

func (*ProjectAssignments) Descriptor deprecated added in v1.8.0

func (*ProjectAssignments) Descriptor() ([]byte, []int)

Deprecated: Use ProjectAssignments.ProtoReflect.Descriptor instead.

func (*ProjectAssignments) GetAssignments added in v1.8.0

func (x *ProjectAssignments) GetAssignments() []*ProjectAssignment

func (*ProjectAssignments) ProtoMessage added in v1.8.0

func (*ProjectAssignments) ProtoMessage()

func (*ProjectAssignments) ProtoReflect added in v1.8.0

func (x *ProjectAssignments) ProtoReflect() protoreflect.Message

func (*ProjectAssignments) Reset added in v1.8.0

func (x *ProjectAssignments) Reset()

func (*ProjectAssignments) String added in v1.8.0

func (x *ProjectAssignments) String() string

type ProjectRole

type ProjectRole int32
const (
	ProjectRole_PROJECT_ROLE_UNSPECIFIED ProjectRole = 0
	ProjectRole_PROJECT_ROLE_OWNER       ProjectRole = 1
	ProjectRole_PROJECT_ROLE_MEMBER      ProjectRole = 2
)

func (ProjectRole) Descriptor

func (ProjectRole) Enum

func (x ProjectRole) Enum() *ProjectRole

func (ProjectRole) EnumDescriptor deprecated

func (ProjectRole) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProjectRole.Descriptor instead.

func (ProjectRole) Number

func (x ProjectRole) Number() protoreflect.EnumNumber

func (ProjectRole) String

func (x ProjectRole) String() string

func (ProjectRole) Type

type ProjectUser

type ProjectUser struct {
	UserId         string      `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ProjectId      string      `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	OrganizationId string      `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Role           ProjectRole `protobuf:"varint,4,opt,name=role,proto3,enum=llmariner.users.server.v1.ProjectRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectUser) Descriptor deprecated

func (*ProjectUser) Descriptor() ([]byte, []int)

Deprecated: Use ProjectUser.ProtoReflect.Descriptor instead.

func (*ProjectUser) GetOrganizationId

func (x *ProjectUser) GetOrganizationId() string

func (*ProjectUser) GetProjectId

func (x *ProjectUser) GetProjectId() string

func (*ProjectUser) GetRole

func (x *ProjectUser) GetRole() ProjectRole

func (*ProjectUser) GetUserId

func (x *ProjectUser) GetUserId() string

func (*ProjectUser) ProtoMessage

func (*ProjectUser) ProtoMessage()

func (*ProjectUser) ProtoReflect

func (x *ProjectUser) ProtoReflect() protoreflect.Message

func (*ProjectUser) Reset

func (x *ProjectUser) Reset()

func (*ProjectUser) String

func (x *ProjectUser) String() string

type Project_Summary added in v1.5.0

type Project_Summary struct {

	// user_count is the number of users in the project.
	UserCount int32 `protobuf:"varint,1,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`
	// contains filtered or unexported fields
}

func (*Project_Summary) Descriptor deprecated added in v1.5.0

func (*Project_Summary) Descriptor() ([]byte, []int)

Deprecated: Use Project_Summary.ProtoReflect.Descriptor instead.

func (*Project_Summary) GetUserCount added in v1.5.0

func (x *Project_Summary) GetUserCount() int32

func (*Project_Summary) ProtoMessage added in v1.5.0

func (*Project_Summary) ProtoMessage()

func (*Project_Summary) ProtoReflect added in v1.5.0

func (x *Project_Summary) ProtoReflect() protoreflect.Message

func (*Project_Summary) Reset added in v1.5.0

func (x *Project_Summary) Reset()

func (*Project_Summary) String added in v1.5.0

func (x *Project_Summary) String() string

type UnimplementedUsersInternalServiceServer

type UnimplementedUsersInternalServiceServer struct {
}

UnimplementedUsersInternalServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUsersInternalServiceServer) CreateUserInternal added in v1.1.0

func (UnimplementedUsersInternalServiceServer) ListInternalAPIKeys

func (UnimplementedUsersInternalServiceServer) ListOrganizationUsers

func (UnimplementedUsersInternalServiceServer) ListProjectUsers

func (UnimplementedUsersInternalServiceServer) ListProjects

func (UnimplementedUsersInternalServiceServer) ListUsers added in v1.11.0

type UnimplementedUsersServiceServer

type UnimplementedUsersServiceServer struct {
}

UnimplementedUsersServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUsersServiceServer) CreateAPIKey

func (UnimplementedUsersServiceServer) CreateOrganization

func (UnimplementedUsersServiceServer) CreateOrganizationUser

func (UnimplementedUsersServiceServer) CreateProject

func (UnimplementedUsersServiceServer) CreateProjectAPIKey added in v1.7.0

func (UnimplementedUsersServiceServer) CreateProjectUser

func (UnimplementedUsersServiceServer) DeleteAPIKey

func (UnimplementedUsersServiceServer) DeleteOrganization

func (UnimplementedUsersServiceServer) DeleteOrganizationUser

func (UnimplementedUsersServiceServer) DeleteProject

func (UnimplementedUsersServiceServer) DeleteProjectAPIKey added in v1.7.0

func (UnimplementedUsersServiceServer) DeleteProjectUser

func (UnimplementedUsersServiceServer) GetUserSelf added in v1.3.0

func (UnimplementedUsersServiceServer) ListAPIKeys

func (UnimplementedUsersServiceServer) ListOrganizations

func (UnimplementedUsersServiceServer) ListProjectAPIKeys added in v1.7.0

func (UnimplementedUsersServiceServer) ListProjectUsers

func (UnimplementedUsersServiceServer) ListProjects

func (UnimplementedUsersServiceServer) UpdateAPIKey added in v1.7.0

type UnsafeUsersInternalServiceServer

type UnsafeUsersInternalServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUsersInternalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersInternalServiceServer will result in compilation errors.

type UnsafeUsersServiceServer

type UnsafeUsersServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUsersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersServiceServer will result in compilation errors.

type UpdateAPIKeyRequest added in v1.7.0

type UpdateAPIKeyRequest struct {

	// api_key is the API key to update.
	//
	// The key's id is used to identify the key to update.
	ApiKey *APIKey `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAPIKeyRequest) Descriptor deprecated added in v1.7.0

func (*UpdateAPIKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*UpdateAPIKeyRequest) GetApiKey added in v1.7.0

func (x *UpdateAPIKeyRequest) GetApiKey() *APIKey

func (*UpdateAPIKeyRequest) GetUpdateMask added in v1.7.0

func (x *UpdateAPIKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateAPIKeyRequest) ProtoMessage added in v1.7.0

func (*UpdateAPIKeyRequest) ProtoMessage()

func (*UpdateAPIKeyRequest) ProtoReflect added in v1.7.0

func (x *UpdateAPIKeyRequest) ProtoReflect() protoreflect.Message

func (*UpdateAPIKeyRequest) Reset added in v1.7.0

func (x *UpdateAPIKeyRequest) Reset()

func (*UpdateAPIKeyRequest) String added in v1.7.0

func (x *UpdateAPIKeyRequest) String() string

type User

type User struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// internal_id is populated only for internal gRPC service.
	InternalId       string `protobuf:"bytes,2,opt,name=internal_id,json=internalId,proto3" json:"internal_id,omitempty"`
	IsServiceAccount bool   `protobuf:"varint,3,opt,name=is_service_account,json=isServiceAccount,proto3" json:"is_service_account,omitempty"`
	Hidden           bool   `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetHidden added in v1.16.0

func (x *User) GetHidden() bool

func (*User) GetId

func (x *User) GetId() string

func (*User) GetInternalId added in v0.89.0

func (x *User) GetInternalId() string

func (*User) GetIsServiceAccount added in v1.9.0

func (x *User) GetIsServiceAccount() bool

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UsersInternalServiceClient

type UsersInternalServiceClient interface {
	ListInternalAPIKeys(ctx context.Context, in *ListInternalAPIKeysRequest, opts ...grpc.CallOption) (*ListInternalAPIKeysResponse, error)
	ListInternalOrganizations(ctx context.Context, in *ListInternalOrganizationsRequest, opts ...grpc.CallOption) (*ListInternalOrganizationsResponse, error)
	ListOrganizationUsers(ctx context.Context, in *ListOrganizationUsersRequest, opts ...grpc.CallOption) (*ListOrganizationUsersResponse, error)
	ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	ListProjectUsers(ctx context.Context, in *ListProjectUsersRequest, opts ...grpc.CallOption) (*ListProjectUsersResponse, error)
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	CreateUserInternal(ctx context.Context, in *CreateUserInternalRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

UsersInternalServiceClient is the client API for UsersInternalService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UsersInternalServiceServer

UsersInternalServiceServer is the server API for UsersInternalService service. All implementations must embed UnimplementedUsersInternalServiceServer for forward compatibility

type UsersServiceClient

type UsersServiceClient interface {
	CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error)
	ListAPIKeys(ctx context.Context, in *ListAPIKeysRequest, opts ...grpc.CallOption) (*ListAPIKeysResponse, error)
	DeleteAPIKey(ctx context.Context, in *DeleteAPIKeyRequest, opts ...grpc.CallOption) (*DeleteAPIKeyResponse, error)
	UpdateAPIKey(ctx context.Context, in *UpdateAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error)
	// TODO(kenji): Remove the follwoing three RPC endpoints in favor of "/v1/api_keys".
	CreateProjectAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error)
	ListProjectAPIKeys(ctx context.Context, in *ListProjectAPIKeysRequest, opts ...grpc.CallOption) (*ListAPIKeysResponse, error)
	DeleteProjectAPIKey(ctx context.Context, in *DeleteProjectAPIKeyRequest, opts ...grpc.CallOption) (*DeleteAPIKeyResponse, error)
	CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*Organization, error)
	ListOrganizations(ctx context.Context, in *ListOrganizationsRequest, opts ...grpc.CallOption) (*ListOrganizationsResponse, error)
	DeleteOrganization(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*DeleteOrganizationResponse, error)
	CreateOrganizationUser(ctx context.Context, in *CreateOrganizationUserRequest, opts ...grpc.CallOption) (*OrganizationUser, error)
	ListOrganizationUsers(ctx context.Context, in *ListOrganizationUsersRequest, opts ...grpc.CallOption) (*ListOrganizationUsersResponse, error)
	DeleteOrganizationUser(ctx context.Context, in *DeleteOrganizationUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*Project, error)
	ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error)
	CreateProjectUser(ctx context.Context, in *CreateProjectUserRequest, opts ...grpc.CallOption) (*ProjectUser, error)
	ListProjectUsers(ctx context.Context, in *ListProjectUsersRequest, opts ...grpc.CallOption) (*ListProjectUsersResponse, error)
	DeleteProjectUser(ctx context.Context, in *DeleteProjectUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetUserSelf(ctx context.Context, in *GetUserSelfRequest, opts ...grpc.CallOption) (*User, error)
}

UsersServiceClient is the client API for UsersService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UsersServiceServer

type UsersServiceServer interface {
	CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*APIKey, error)
	ListAPIKeys(context.Context, *ListAPIKeysRequest) (*ListAPIKeysResponse, error)
	DeleteAPIKey(context.Context, *DeleteAPIKeyRequest) (*DeleteAPIKeyResponse, error)
	UpdateAPIKey(context.Context, *UpdateAPIKeyRequest) (*APIKey, error)
	// TODO(kenji): Remove the follwoing three RPC endpoints in favor of "/v1/api_keys".
	CreateProjectAPIKey(context.Context, *CreateAPIKeyRequest) (*APIKey, error)
	ListProjectAPIKeys(context.Context, *ListProjectAPIKeysRequest) (*ListAPIKeysResponse, error)
	DeleteProjectAPIKey(context.Context, *DeleteProjectAPIKeyRequest) (*DeleteAPIKeyResponse, error)
	CreateOrganization(context.Context, *CreateOrganizationRequest) (*Organization, error)
	ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error)
	DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
	CreateOrganizationUser(context.Context, *CreateOrganizationUserRequest) (*OrganizationUser, error)
	ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)
	DeleteOrganizationUser(context.Context, *DeleteOrganizationUserRequest) (*emptypb.Empty, error)
	CreateProject(context.Context, *CreateProjectRequest) (*Project, error)
	ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
	DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error)
	CreateProjectUser(context.Context, *CreateProjectUserRequest) (*ProjectUser, error)
	ListProjectUsers(context.Context, *ListProjectUsersRequest) (*ListProjectUsersResponse, error)
	DeleteProjectUser(context.Context, *DeleteProjectUserRequest) (*emptypb.Empty, error)
	GetUserSelf(context.Context, *GetUserSelfRequest) (*User, error)
	// contains filtered or unexported methods
}

UsersServiceServer is the server API for UsersService service. All implementations must embed UnimplementedUsersServiceServer for forward compatibility

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL