Documentation
¶
Overview ¶
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterActivityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterActivityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivityServiceClient) error
- func RegisterActivityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterActivityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivityServiceServer) error
- func RegisterActivityServiceServer(s grpc.ServiceRegistrar, srv ActivityServiceServer)
- func RegisterAttachmentServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAttachmentServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AttachmentServiceClient) error
- func RegisterAttachmentServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAttachmentServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AttachmentServiceServer) error
- func RegisterAttachmentServiceServer(s grpc.ServiceRegistrar, srv AttachmentServiceServer)
- func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
- func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterIdentityProviderServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIdentityProviderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterIdentityProviderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIdentityProviderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterIdentityProviderServiceServer(s grpc.ServiceRegistrar, srv IdentityProviderServiceServer)
- func RegisterInstanceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterInstanceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InstanceServiceClient) error
- func RegisterInstanceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterInstanceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InstanceServiceServer) error
- func RegisterInstanceServiceServer(s grpc.ServiceRegistrar, srv InstanceServiceServer)
- func RegisterMemoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMemoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MemoServiceClient) error
- func RegisterMemoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMemoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MemoServiceServer) error
- func RegisterMemoServiceServer(s grpc.ServiceRegistrar, srv MemoServiceServer)
- func RegisterShortcutServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterShortcutServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ShortcutServiceClient) error
- func RegisterShortcutServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterShortcutServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ShortcutServiceServer) error
- func RegisterShortcutServiceServer(s grpc.ServiceRegistrar, srv ShortcutServiceServer)
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)deprecated
- func (x *Activity) GetCreateTime() *timestamppb.Timestamp
- func (x *Activity) GetCreator() string
- func (x *Activity) GetLevel() Activity_Level
- func (x *Activity) GetName() string
- func (x *Activity) GetPayload() *ActivityPayload
- func (x *Activity) GetType() Activity_Type
- func (*Activity) ProtoMessage()
- func (x *Activity) ProtoReflect() protoreflect.Message
- func (x *Activity) Reset()
- func (x *Activity) String() string
- type ActivityMemoCommentPayload
- func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityMemoCommentPayload) GetMemo() string
- func (x *ActivityMemoCommentPayload) GetRelatedMemo() string
- func (*ActivityMemoCommentPayload) ProtoMessage()
- func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityMemoCommentPayload) Reset()
- func (x *ActivityMemoCommentPayload) String() string
- type ActivityPayload
- func (*ActivityPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload
- func (x *ActivityPayload) GetPayload() isActivityPayload_Payload
- func (*ActivityPayload) ProtoMessage()
- func (x *ActivityPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityPayload) Reset()
- func (x *ActivityPayload) String() string
- type ActivityPayload_MemoComment
- type ActivityServiceClient
- type ActivityServiceServer
- type Activity_Level
- func (Activity_Level) Descriptor() protoreflect.EnumDescriptor
- func (x Activity_Level) Enum() *Activity_Level
- func (Activity_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x Activity_Level) Number() protoreflect.EnumNumber
- func (x Activity_Level) String() string
- func (Activity_Level) Type() protoreflect.EnumType
- type Activity_Type
- func (Activity_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Activity_Type) Enum() *Activity_Type
- func (Activity_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Activity_Type) Number() protoreflect.EnumNumber
- func (x Activity_Type) String() string
- func (Activity_Type) Type() protoreflect.EnumType
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *Attachment) GetContent() []byte
- func (x *Attachment) GetCreateTime() *timestamppb.Timestamp
- func (x *Attachment) GetExternalLink() string
- func (x *Attachment) GetFilename() string
- func (x *Attachment) GetMemo() string
- func (x *Attachment) GetName() string
- func (x *Attachment) GetSize() int64
- func (x *Attachment) GetType() string
- func (*Attachment) ProtoMessage()
- func (x *Attachment) ProtoReflect() protoreflect.Message
- func (x *Attachment) Reset()
- func (x *Attachment) String() string
- type AttachmentServiceClient
- type AttachmentServiceServer
- type AuthServiceClient
- type AuthServiceServer
- type CreateAttachmentRequest
- func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttachmentRequest) GetAttachment() *Attachment
- func (x *CreateAttachmentRequest) GetAttachmentId() string
- func (*CreateAttachmentRequest) ProtoMessage()
- func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAttachmentRequest) Reset()
- func (x *CreateAttachmentRequest) String() string
- type CreateIdentityProviderRequest
- func (*CreateIdentityProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIdentityProviderRequest) GetIdentityProvider() *IdentityProvider
- func (x *CreateIdentityProviderRequest) GetIdentityProviderId() string
- func (*CreateIdentityProviderRequest) ProtoMessage()
- func (x *CreateIdentityProviderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIdentityProviderRequest) Reset()
- func (x *CreateIdentityProviderRequest) String() string
- type CreateMemoCommentRequest
- func (*CreateMemoCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemoCommentRequest) GetComment() *Memo
- func (x *CreateMemoCommentRequest) GetCommentId() string
- func (x *CreateMemoCommentRequest) GetName() string
- func (*CreateMemoCommentRequest) ProtoMessage()
- func (x *CreateMemoCommentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMemoCommentRequest) Reset()
- func (x *CreateMemoCommentRequest) String() string
- type CreateMemoRequest
- func (*CreateMemoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemoRequest) GetMemo() *Memo
- func (x *CreateMemoRequest) GetMemoId() string
- func (*CreateMemoRequest) ProtoMessage()
- func (x *CreateMemoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMemoRequest) Reset()
- func (x *CreateMemoRequest) String() string
- type CreatePersonalAccessTokenRequest
- func (*CreatePersonalAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePersonalAccessTokenRequest) GetDescription() string
- func (x *CreatePersonalAccessTokenRequest) GetExpiresInDays() int32
- func (x *CreatePersonalAccessTokenRequest) GetParent() string
- func (*CreatePersonalAccessTokenRequest) ProtoMessage()
- func (x *CreatePersonalAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePersonalAccessTokenRequest) Reset()
- func (x *CreatePersonalAccessTokenRequest) String() string
- type CreatePersonalAccessTokenResponse
- func (*CreatePersonalAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePersonalAccessTokenResponse) GetPersonalAccessToken() *PersonalAccessToken
- func (x *CreatePersonalAccessTokenResponse) GetToken() string
- func (*CreatePersonalAccessTokenResponse) ProtoMessage()
- func (x *CreatePersonalAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePersonalAccessTokenResponse) Reset()
- func (x *CreatePersonalAccessTokenResponse) String() string
- type CreateShortcutRequest
- func (*CreateShortcutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateShortcutRequest) GetParent() string
- func (x *CreateShortcutRequest) GetShortcut() *Shortcut
- func (x *CreateShortcutRequest) GetValidateOnly() bool
- func (*CreateShortcutRequest) ProtoMessage()
- func (x *CreateShortcutRequest) ProtoReflect() protoreflect.Message
- func (x *CreateShortcutRequest) Reset()
- func (x *CreateShortcutRequest) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetRequestId() string
- func (x *CreateUserRequest) GetUser() *User
- func (x *CreateUserRequest) GetUserId() string
- func (x *CreateUserRequest) GetValidateOnly() bool
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserWebhookRequest
- func (*CreateUserWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserWebhookRequest) GetParent() string
- func (x *CreateUserWebhookRequest) GetWebhook() *UserWebhook
- func (*CreateUserWebhookRequest) ProtoMessage()
- func (x *CreateUserWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserWebhookRequest) Reset()
- func (x *CreateUserWebhookRequest) String() string
- type DeleteAttachmentRequest
- func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAttachmentRequest) GetName() string
- func (*DeleteAttachmentRequest) ProtoMessage()
- func (x *DeleteAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAttachmentRequest) Reset()
- func (x *DeleteAttachmentRequest) String() string
- type DeleteIdentityProviderRequest
- func (*DeleteIdentityProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIdentityProviderRequest) GetName() string
- func (*DeleteIdentityProviderRequest) ProtoMessage()
- func (x *DeleteIdentityProviderRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIdentityProviderRequest) Reset()
- func (x *DeleteIdentityProviderRequest) String() string
- type DeleteMemoReactionRequest
- func (*DeleteMemoReactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMemoReactionRequest) GetName() string
- func (*DeleteMemoReactionRequest) ProtoMessage()
- func (x *DeleteMemoReactionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMemoReactionRequest) Reset()
- func (x *DeleteMemoReactionRequest) String() string
- type DeleteMemoRequest
- func (*DeleteMemoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMemoRequest) GetForce() bool
- func (x *DeleteMemoRequest) GetName() string
- func (*DeleteMemoRequest) ProtoMessage()
- func (x *DeleteMemoRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMemoRequest) Reset()
- func (x *DeleteMemoRequest) String() string
- type DeletePersonalAccessTokenRequest
- func (*DeletePersonalAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePersonalAccessTokenRequest) GetName() string
- func (*DeletePersonalAccessTokenRequest) ProtoMessage()
- func (x *DeletePersonalAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePersonalAccessTokenRequest) Reset()
- func (x *DeletePersonalAccessTokenRequest) String() string
- type DeleteShortcutRequest
- func (*DeleteShortcutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteShortcutRequest) GetName() string
- func (*DeleteShortcutRequest) ProtoMessage()
- func (x *DeleteShortcutRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteShortcutRequest) Reset()
- func (x *DeleteShortcutRequest) String() string
- type DeleteUserNotificationRequest
- func (*DeleteUserNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserNotificationRequest) GetName() string
- func (*DeleteUserNotificationRequest) ProtoMessage()
- func (x *DeleteUserNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserNotificationRequest) Reset()
- func (x *DeleteUserNotificationRequest) String() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetForce() bool
- func (x *DeleteUserRequest) GetName() string
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- type DeleteUserWebhookRequest
- func (*DeleteUserWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserWebhookRequest) GetName() string
- func (*DeleteUserWebhookRequest) ProtoMessage()
- func (x *DeleteUserWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserWebhookRequest) Reset()
- func (x *DeleteUserWebhookRequest) String() string
- type Direction
- type FieldMapping
- func (*FieldMapping) Descriptor() ([]byte, []int)deprecated
- func (x *FieldMapping) GetAvatarUrl() string
- func (x *FieldMapping) GetDisplayName() string
- func (x *FieldMapping) GetEmail() string
- func (x *FieldMapping) GetIdentifier() string
- func (*FieldMapping) ProtoMessage()
- func (x *FieldMapping) ProtoReflect() protoreflect.Message
- func (x *FieldMapping) Reset()
- func (x *FieldMapping) String() string
- type GetActivityRequest
- func (*GetActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActivityRequest) GetName() string
- func (*GetActivityRequest) ProtoMessage()
- func (x *GetActivityRequest) ProtoReflect() protoreflect.Message
- func (x *GetActivityRequest) Reset()
- func (x *GetActivityRequest) String() string
- type GetAttachmentRequest
- func (*GetAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachmentRequest) GetName() string
- func (*GetAttachmentRequest) ProtoMessage()
- func (x *GetAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttachmentRequest) Reset()
- func (x *GetAttachmentRequest) String() string
- type GetCurrentUserRequest
- type GetCurrentUserResponse
- func (*GetCurrentUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentUserResponse) GetUser() *User
- func (*GetCurrentUserResponse) ProtoMessage()
- func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserResponse) Reset()
- func (x *GetCurrentUserResponse) String() string
- type GetIdentityProviderRequest
- func (*GetIdentityProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityProviderRequest) GetName() string
- func (*GetIdentityProviderRequest) ProtoMessage()
- func (x *GetIdentityProviderRequest) ProtoReflect() protoreflect.Message
- func (x *GetIdentityProviderRequest) Reset()
- func (x *GetIdentityProviderRequest) String() string
- type GetInstanceProfileRequest
- type GetInstanceSettingRequest
- func (*GetInstanceSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceSettingRequest) GetName() string
- func (*GetInstanceSettingRequest) ProtoMessage()
- func (x *GetInstanceSettingRequest) ProtoReflect() protoreflect.Message
- func (x *GetInstanceSettingRequest) Reset()
- func (x *GetInstanceSettingRequest) String() string
- type GetMemoRequest
- type GetShortcutRequest
- func (*GetShortcutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetShortcutRequest) GetName() string
- func (*GetShortcutRequest) ProtoMessage()
- func (x *GetShortcutRequest) ProtoReflect() protoreflect.Message
- func (x *GetShortcutRequest) Reset()
- func (x *GetShortcutRequest) String() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetName() string
- func (x *GetUserRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- type GetUserSettingRequest
- func (*GetUserSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSettingRequest) GetName() string
- func (*GetUserSettingRequest) ProtoMessage()
- func (x *GetUserSettingRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserSettingRequest) Reset()
- func (x *GetUserSettingRequest) String() string
- type GetUserStatsRequest
- func (*GetUserStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserStatsRequest) GetName() string
- func (*GetUserStatsRequest) ProtoMessage()
- func (x *GetUserStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserStatsRequest) Reset()
- func (x *GetUserStatsRequest) String() string
- type IdentityProvider
- func (*IdentityProvider) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityProvider) GetConfig() *IdentityProviderConfig
- func (x *IdentityProvider) GetIdentifierFilter() string
- func (x *IdentityProvider) GetName() string
- func (x *IdentityProvider) GetTitle() string
- func (x *IdentityProvider) GetType() IdentityProvider_Type
- func (*IdentityProvider) ProtoMessage()
- func (x *IdentityProvider) ProtoReflect() protoreflect.Message
- func (x *IdentityProvider) Reset()
- func (x *IdentityProvider) String() string
- type IdentityProviderConfig
- func (*IdentityProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityProviderConfig) GetConfig() isIdentityProviderConfig_Config
- func (x *IdentityProviderConfig) GetOauth2Config() *OAuth2Config
- func (*IdentityProviderConfig) ProtoMessage()
- func (x *IdentityProviderConfig) ProtoReflect() protoreflect.Message
- func (x *IdentityProviderConfig) Reset()
- func (x *IdentityProviderConfig) String() string
- type IdentityProviderConfig_Oauth2Config
- type IdentityProviderServiceClient
- type IdentityProviderServiceServer
- type IdentityProvider_Type
- func (IdentityProvider_Type) Descriptor() protoreflect.EnumDescriptor
- func (x IdentityProvider_Type) Enum() *IdentityProvider_Type
- func (IdentityProvider_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x IdentityProvider_Type) Number() protoreflect.EnumNumber
- func (x IdentityProvider_Type) String() string
- func (IdentityProvider_Type) Type() protoreflect.EnumType
- type InstanceProfile
- func (*InstanceProfile) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceProfile) GetAdmin() *User
- func (x *InstanceProfile) GetDemo() bool
- func (x *InstanceProfile) GetInstanceUrl() string
- func (x *InstanceProfile) GetVersion() string
- func (*InstanceProfile) ProtoMessage()
- func (x *InstanceProfile) ProtoReflect() protoreflect.Message
- func (x *InstanceProfile) Reset()
- func (x *InstanceProfile) String() string
- type InstanceServiceClient
- type InstanceServiceServer
- type InstanceSetting
- func (*InstanceSetting) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSetting) GetGeneralSetting() *InstanceSetting_GeneralSetting
- func (x *InstanceSetting) GetMemoRelatedSetting() *InstanceSetting_MemoRelatedSetting
- func (x *InstanceSetting) GetName() string
- func (x *InstanceSetting) GetStorageSetting() *InstanceSetting_StorageSetting
- func (x *InstanceSetting) GetValue() isInstanceSetting_Value
- func (*InstanceSetting) ProtoMessage()
- func (x *InstanceSetting) ProtoReflect() protoreflect.Message
- func (x *InstanceSetting) Reset()
- func (x *InstanceSetting) String() string
- type InstanceSetting_GeneralSetting
- func (*InstanceSetting_GeneralSetting) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSetting_GeneralSetting) GetAdditionalScript() string
- func (x *InstanceSetting_GeneralSetting) GetAdditionalStyle() string
- func (x *InstanceSetting_GeneralSetting) GetCustomProfile() *InstanceSetting_GeneralSetting_CustomProfile
- func (x *InstanceSetting_GeneralSetting) GetDisallowChangeNickname() bool
- func (x *InstanceSetting_GeneralSetting) GetDisallowChangeUsername() bool
- func (x *InstanceSetting_GeneralSetting) GetDisallowPasswordAuth() bool
- func (x *InstanceSetting_GeneralSetting) GetDisallowUserRegistration() bool
- func (x *InstanceSetting_GeneralSetting) GetWeekStartDayOffset() int32
- func (*InstanceSetting_GeneralSetting) ProtoMessage()
- func (x *InstanceSetting_GeneralSetting) ProtoReflect() protoreflect.Message
- func (x *InstanceSetting_GeneralSetting) Reset()
- func (x *InstanceSetting_GeneralSetting) String() string
- type InstanceSetting_GeneralSetting_
- type InstanceSetting_GeneralSetting_CustomProfile
- func (*InstanceSetting_GeneralSetting_CustomProfile) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSetting_GeneralSetting_CustomProfile) GetDescription() string
- func (x *InstanceSetting_GeneralSetting_CustomProfile) GetLogoUrl() string
- func (x *InstanceSetting_GeneralSetting_CustomProfile) GetTitle() string
- func (*InstanceSetting_GeneralSetting_CustomProfile) ProtoMessage()
- func (x *InstanceSetting_GeneralSetting_CustomProfile) ProtoReflect() protoreflect.Message
- func (x *InstanceSetting_GeneralSetting_CustomProfile) Reset()
- func (x *InstanceSetting_GeneralSetting_CustomProfile) String() string
- type InstanceSetting_Key
- func (InstanceSetting_Key) Descriptor() protoreflect.EnumDescriptor
- func (x InstanceSetting_Key) Enum() *InstanceSetting_Key
- func (InstanceSetting_Key) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstanceSetting_Key) Number() protoreflect.EnumNumber
- func (x InstanceSetting_Key) String() string
- func (InstanceSetting_Key) Type() protoreflect.EnumType
- type InstanceSetting_MemoRelatedSetting
- func (*InstanceSetting_MemoRelatedSetting) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSetting_MemoRelatedSetting) GetContentLengthLimit() int32
- func (x *InstanceSetting_MemoRelatedSetting) GetDisallowPublicVisibility() bool
- func (x *InstanceSetting_MemoRelatedSetting) GetDisplayWithUpdateTime() bool
- func (x *InstanceSetting_MemoRelatedSetting) GetEnableDoubleClickEdit() bool
- func (x *InstanceSetting_MemoRelatedSetting) GetReactions() []string
- func (*InstanceSetting_MemoRelatedSetting) ProtoMessage()
- func (x *InstanceSetting_MemoRelatedSetting) ProtoReflect() protoreflect.Message
- func (x *InstanceSetting_MemoRelatedSetting) Reset()
- func (x *InstanceSetting_MemoRelatedSetting) String() string
- type InstanceSetting_MemoRelatedSetting_
- type InstanceSetting_StorageSetting
- func (*InstanceSetting_StorageSetting) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSetting_StorageSetting) GetFilepathTemplate() string
- func (x *InstanceSetting_StorageSetting) GetS3Config() *InstanceSetting_StorageSetting_S3Config
- func (x *InstanceSetting_StorageSetting) GetStorageType() InstanceSetting_StorageSetting_StorageType
- func (x *InstanceSetting_StorageSetting) GetUploadSizeLimitMb() int64
- func (*InstanceSetting_StorageSetting) ProtoMessage()
- func (x *InstanceSetting_StorageSetting) ProtoReflect() protoreflect.Message
- func (x *InstanceSetting_StorageSetting) Reset()
- func (x *InstanceSetting_StorageSetting) String() string
- type InstanceSetting_StorageSetting_
- type InstanceSetting_StorageSetting_S3Config
- func (*InstanceSetting_StorageSetting_S3Config) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSetting_StorageSetting_S3Config) GetAccessKeyId() string
- func (x *InstanceSetting_StorageSetting_S3Config) GetAccessKeySecret() string
- func (x *InstanceSetting_StorageSetting_S3Config) GetBucket() string
- func (x *InstanceSetting_StorageSetting_S3Config) GetEndpoint() string
- func (x *InstanceSetting_StorageSetting_S3Config) GetRegion() string
- func (x *InstanceSetting_StorageSetting_S3Config) GetUsePathStyle() bool
- func (*InstanceSetting_StorageSetting_S3Config) ProtoMessage()
- func (x *InstanceSetting_StorageSetting_S3Config) ProtoReflect() protoreflect.Message
- func (x *InstanceSetting_StorageSetting_S3Config) Reset()
- func (x *InstanceSetting_StorageSetting_S3Config) String() string
- type InstanceSetting_StorageSetting_StorageType
- func (InstanceSetting_StorageSetting_StorageType) Descriptor() protoreflect.EnumDescriptor
- func (x InstanceSetting_StorageSetting_StorageType) Enum() *InstanceSetting_StorageSetting_StorageType
- func (InstanceSetting_StorageSetting_StorageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstanceSetting_StorageSetting_StorageType) Number() protoreflect.EnumNumber
- func (x InstanceSetting_StorageSetting_StorageType) String() string
- func (InstanceSetting_StorageSetting_StorageType) Type() protoreflect.EnumType
- type ListActivitiesRequest
- func (*ListActivitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListActivitiesRequest) GetPageSize() int32
- func (x *ListActivitiesRequest) GetPageToken() string
- func (*ListActivitiesRequest) ProtoMessage()
- func (x *ListActivitiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListActivitiesRequest) Reset()
- func (x *ListActivitiesRequest) String() string
- type ListActivitiesResponse
- func (*ListActivitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListActivitiesResponse) GetActivities() []*Activity
- func (x *ListActivitiesResponse) GetNextPageToken() string
- func (*ListActivitiesResponse) ProtoMessage()
- func (x *ListActivitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListActivitiesResponse) Reset()
- func (x *ListActivitiesResponse) String() string
- type ListAllUserStatsRequest
- type ListAllUserStatsResponse
- func (*ListAllUserStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllUserStatsResponse) GetStats() []*UserStats
- func (*ListAllUserStatsResponse) ProtoMessage()
- func (x *ListAllUserStatsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAllUserStatsResponse) Reset()
- func (x *ListAllUserStatsResponse) String() string
- type ListAttachmentsRequest
- func (*ListAttachmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttachmentsRequest) GetFilter() string
- func (x *ListAttachmentsRequest) GetOrderBy() string
- func (x *ListAttachmentsRequest) GetPageSize() int32
- func (x *ListAttachmentsRequest) GetPageToken() string
- func (*ListAttachmentsRequest) ProtoMessage()
- func (x *ListAttachmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAttachmentsRequest) Reset()
- func (x *ListAttachmentsRequest) String() string
- type ListAttachmentsResponse
- func (*ListAttachmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttachmentsResponse) GetAttachments() []*Attachment
- func (x *ListAttachmentsResponse) GetNextPageToken() string
- func (x *ListAttachmentsResponse) GetTotalSize() int32
- func (*ListAttachmentsResponse) ProtoMessage()
- func (x *ListAttachmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAttachmentsResponse) Reset()
- func (x *ListAttachmentsResponse) String() string
- type ListIdentityProvidersRequest
- func (*ListIdentityProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListIdentityProvidersRequest) ProtoMessage()
- func (x *ListIdentityProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *ListIdentityProvidersRequest) Reset()
- func (x *ListIdentityProvidersRequest) String() string
- type ListIdentityProvidersResponse
- func (*ListIdentityProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIdentityProvidersResponse) GetIdentityProviders() []*IdentityProvider
- func (*ListIdentityProvidersResponse) ProtoMessage()
- func (x *ListIdentityProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *ListIdentityProvidersResponse) Reset()
- func (x *ListIdentityProvidersResponse) String() string
- type ListMemoAttachmentsRequest
- func (*ListMemoAttachmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoAttachmentsRequest) GetName() string
- func (x *ListMemoAttachmentsRequest) GetPageSize() int32
- func (x *ListMemoAttachmentsRequest) GetPageToken() string
- func (*ListMemoAttachmentsRequest) ProtoMessage()
- func (x *ListMemoAttachmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemoAttachmentsRequest) Reset()
- func (x *ListMemoAttachmentsRequest) String() string
- type ListMemoAttachmentsResponse
- func (*ListMemoAttachmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoAttachmentsResponse) GetAttachments() []*Attachment
- func (x *ListMemoAttachmentsResponse) GetNextPageToken() string
- func (*ListMemoAttachmentsResponse) ProtoMessage()
- func (x *ListMemoAttachmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemoAttachmentsResponse) Reset()
- func (x *ListMemoAttachmentsResponse) String() string
- type ListMemoCommentsRequest
- func (*ListMemoCommentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoCommentsRequest) GetName() string
- func (x *ListMemoCommentsRequest) GetOrderBy() string
- func (x *ListMemoCommentsRequest) GetPageSize() int32
- func (x *ListMemoCommentsRequest) GetPageToken() string
- func (*ListMemoCommentsRequest) ProtoMessage()
- func (x *ListMemoCommentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemoCommentsRequest) Reset()
- func (x *ListMemoCommentsRequest) String() string
- type ListMemoCommentsResponse
- func (*ListMemoCommentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoCommentsResponse) GetMemos() []*Memo
- func (x *ListMemoCommentsResponse) GetNextPageToken() string
- func (x *ListMemoCommentsResponse) GetTotalSize() int32
- func (*ListMemoCommentsResponse) ProtoMessage()
- func (x *ListMemoCommentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemoCommentsResponse) Reset()
- func (x *ListMemoCommentsResponse) String() string
- type ListMemoReactionsRequest
- func (*ListMemoReactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoReactionsRequest) GetName() string
- func (x *ListMemoReactionsRequest) GetPageSize() int32
- func (x *ListMemoReactionsRequest) GetPageToken() string
- func (*ListMemoReactionsRequest) ProtoMessage()
- func (x *ListMemoReactionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemoReactionsRequest) Reset()
- func (x *ListMemoReactionsRequest) String() string
- type ListMemoReactionsResponse
- func (*ListMemoReactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoReactionsResponse) GetNextPageToken() string
- func (x *ListMemoReactionsResponse) GetReactions() []*Reaction
- func (x *ListMemoReactionsResponse) GetTotalSize() int32
- func (*ListMemoReactionsResponse) ProtoMessage()
- func (x *ListMemoReactionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemoReactionsResponse) Reset()
- func (x *ListMemoReactionsResponse) String() string
- type ListMemoRelationsRequest
- func (*ListMemoRelationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoRelationsRequest) GetName() string
- func (x *ListMemoRelationsRequest) GetPageSize() int32
- func (x *ListMemoRelationsRequest) GetPageToken() string
- func (*ListMemoRelationsRequest) ProtoMessage()
- func (x *ListMemoRelationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemoRelationsRequest) Reset()
- func (x *ListMemoRelationsRequest) String() string
- type ListMemoRelationsResponse
- func (*ListMemoRelationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoRelationsResponse) GetNextPageToken() string
- func (x *ListMemoRelationsResponse) GetRelations() []*MemoRelation
- func (*ListMemoRelationsResponse) ProtoMessage()
- func (x *ListMemoRelationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemoRelationsResponse) Reset()
- func (x *ListMemoRelationsResponse) String() string
- type ListMemosRequest
- func (*ListMemosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemosRequest) GetFilter() string
- func (x *ListMemosRequest) GetOrderBy() string
- func (x *ListMemosRequest) GetPageSize() int32
- func (x *ListMemosRequest) GetPageToken() string
- func (x *ListMemosRequest) GetShowDeleted() bool
- func (x *ListMemosRequest) GetState() State
- func (*ListMemosRequest) ProtoMessage()
- func (x *ListMemosRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemosRequest) Reset()
- func (x *ListMemosRequest) String() string
- type ListMemosResponse
- func (*ListMemosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemosResponse) GetMemos() []*Memo
- func (x *ListMemosResponse) GetNextPageToken() string
- func (*ListMemosResponse) ProtoMessage()
- func (x *ListMemosResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemosResponse) Reset()
- func (x *ListMemosResponse) String() string
- type ListPersonalAccessTokensRequest
- func (*ListPersonalAccessTokensRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPersonalAccessTokensRequest) GetPageSize() int32
- func (x *ListPersonalAccessTokensRequest) GetPageToken() string
- func (x *ListPersonalAccessTokensRequest) GetParent() string
- func (*ListPersonalAccessTokensRequest) ProtoMessage()
- func (x *ListPersonalAccessTokensRequest) ProtoReflect() protoreflect.Message
- func (x *ListPersonalAccessTokensRequest) Reset()
- func (x *ListPersonalAccessTokensRequest) String() string
- type ListPersonalAccessTokensResponse
- func (*ListPersonalAccessTokensResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPersonalAccessTokensResponse) GetNextPageToken() string
- func (x *ListPersonalAccessTokensResponse) GetPersonalAccessTokens() []*PersonalAccessToken
- func (x *ListPersonalAccessTokensResponse) GetTotalSize() int32
- func (*ListPersonalAccessTokensResponse) ProtoMessage()
- func (x *ListPersonalAccessTokensResponse) ProtoReflect() protoreflect.Message
- func (x *ListPersonalAccessTokensResponse) Reset()
- func (x *ListPersonalAccessTokensResponse) String() string
- type ListShortcutsRequest
- func (*ListShortcutsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListShortcutsRequest) GetParent() string
- func (*ListShortcutsRequest) ProtoMessage()
- func (x *ListShortcutsRequest) ProtoReflect() protoreflect.Message
- func (x *ListShortcutsRequest) Reset()
- func (x *ListShortcutsRequest) String() string
- type ListShortcutsResponse
- func (*ListShortcutsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListShortcutsResponse) GetShortcuts() []*Shortcut
- func (*ListShortcutsResponse) ProtoMessage()
- func (x *ListShortcutsResponse) ProtoReflect() protoreflect.Message
- func (x *ListShortcutsResponse) Reset()
- func (x *ListShortcutsResponse) String() string
- type ListUserNotificationsRequest
- func (*ListUserNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserNotificationsRequest) GetFilter() string
- func (x *ListUserNotificationsRequest) GetPageSize() int32
- func (x *ListUserNotificationsRequest) GetPageToken() string
- func (x *ListUserNotificationsRequest) GetParent() string
- func (*ListUserNotificationsRequest) ProtoMessage()
- func (x *ListUserNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserNotificationsRequest) Reset()
- func (x *ListUserNotificationsRequest) String() string
- type ListUserNotificationsResponse
- func (*ListUserNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserNotificationsResponse) GetNextPageToken() string
- func (x *ListUserNotificationsResponse) GetNotifications() []*UserNotification
- func (*ListUserNotificationsResponse) ProtoMessage()
- func (x *ListUserNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserNotificationsResponse) Reset()
- func (x *ListUserNotificationsResponse) String() string
- type ListUserSettingsRequest
- func (*ListUserSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserSettingsRequest) GetPageSize() int32
- func (x *ListUserSettingsRequest) GetPageToken() string
- func (x *ListUserSettingsRequest) GetParent() string
- func (*ListUserSettingsRequest) ProtoMessage()
- func (x *ListUserSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserSettingsRequest) Reset()
- func (x *ListUserSettingsRequest) String() string
- type ListUserSettingsResponse
- func (*ListUserSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserSettingsResponse) GetNextPageToken() string
- func (x *ListUserSettingsResponse) GetSettings() []*UserSetting
- func (x *ListUserSettingsResponse) GetTotalSize() int32
- func (*ListUserSettingsResponse) ProtoMessage()
- func (x *ListUserSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserSettingsResponse) Reset()
- func (x *ListUserSettingsResponse) String() string
- type ListUserWebhooksRequest
- func (*ListUserWebhooksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserWebhooksRequest) GetParent() string
- func (*ListUserWebhooksRequest) ProtoMessage()
- func (x *ListUserWebhooksRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserWebhooksRequest) Reset()
- func (x *ListUserWebhooksRequest) String() string
- type ListUserWebhooksResponse
- func (*ListUserWebhooksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserWebhooksResponse) GetWebhooks() []*UserWebhook
- func (*ListUserWebhooksResponse) ProtoMessage()
- func (x *ListUserWebhooksResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserWebhooksResponse) Reset()
- func (x *ListUserWebhooksResponse) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetFilter() string
- func (x *ListUsersRequest) GetPageSize() int32
- func (x *ListUsersRequest) GetPageToken() string
- func (x *ListUsersRequest) GetShowDeleted() bool
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetTotalSize() int32
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetLatitude() float64
- func (x *Location) GetLongitude() float64
- func (x *Location) GetPlaceholder() string
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type Memo
- func (*Memo) Descriptor() ([]byte, []int)deprecated
- func (x *Memo) GetAttachments() []*Attachment
- func (x *Memo) GetContent() string
- func (x *Memo) GetCreateTime() *timestamppb.Timestamp
- func (x *Memo) GetCreator() string
- func (x *Memo) GetDisplayTime() *timestamppb.Timestamp
- func (x *Memo) GetLocation() *Location
- func (x *Memo) GetName() string
- func (x *Memo) GetParent() string
- func (x *Memo) GetPinned() bool
- func (x *Memo) GetProperty() *Memo_Property
- func (x *Memo) GetReactions() []*Reaction
- func (x *Memo) GetRelations() []*MemoRelation
- func (x *Memo) GetSnippet() string
- func (x *Memo) GetState() State
- func (x *Memo) GetTags() []string
- func (x *Memo) GetUpdateTime() *timestamppb.Timestamp
- func (x *Memo) GetVisibility() Visibility
- func (*Memo) ProtoMessage()
- func (x *Memo) ProtoReflect() protoreflect.Message
- func (x *Memo) Reset()
- func (x *Memo) String() string
- type MemoRelation
- func (*MemoRelation) Descriptor() ([]byte, []int)deprecated
- func (x *MemoRelation) GetMemo() *MemoRelation_Memo
- func (x *MemoRelation) GetRelatedMemo() *MemoRelation_Memo
- func (x *MemoRelation) GetType() MemoRelation_Type
- func (*MemoRelation) ProtoMessage()
- func (x *MemoRelation) ProtoReflect() protoreflect.Message
- func (x *MemoRelation) Reset()
- func (x *MemoRelation) String() string
- type MemoRelation_Memo
- func (*MemoRelation_Memo) Descriptor() ([]byte, []int)deprecated
- func (x *MemoRelation_Memo) GetName() string
- func (x *MemoRelation_Memo) GetSnippet() string
- func (*MemoRelation_Memo) ProtoMessage()
- func (x *MemoRelation_Memo) ProtoReflect() protoreflect.Message
- func (x *MemoRelation_Memo) Reset()
- func (x *MemoRelation_Memo) String() string
- type MemoRelation_Type
- func (MemoRelation_Type) Descriptor() protoreflect.EnumDescriptor
- func (x MemoRelation_Type) Enum() *MemoRelation_Type
- func (MemoRelation_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x MemoRelation_Type) Number() protoreflect.EnumNumber
- func (x MemoRelation_Type) String() string
- func (MemoRelation_Type) Type() protoreflect.EnumType
- type MemoServiceClient
- type MemoServiceServer
- type Memo_Property
- func (*Memo_Property) Descriptor() ([]byte, []int)deprecated
- func (x *Memo_Property) GetHasCode() bool
- func (x *Memo_Property) GetHasIncompleteTasks() bool
- func (x *Memo_Property) GetHasLink() bool
- func (x *Memo_Property) GetHasTaskList() bool
- func (*Memo_Property) ProtoMessage()
- func (x *Memo_Property) ProtoReflect() protoreflect.Message
- func (x *Memo_Property) Reset()
- func (x *Memo_Property) String() string
- type OAuth2Config
- func (*OAuth2Config) Descriptor() ([]byte, []int)deprecated
- func (x *OAuth2Config) GetAuthUrl() string
- func (x *OAuth2Config) GetClientId() string
- func (x *OAuth2Config) GetClientSecret() string
- func (x *OAuth2Config) GetFieldMapping() *FieldMapping
- func (x *OAuth2Config) GetScopes() []string
- func (x *OAuth2Config) GetTokenUrl() string
- func (x *OAuth2Config) GetUserInfoUrl() string
- func (*OAuth2Config) ProtoMessage()
- func (x *OAuth2Config) ProtoReflect() protoreflect.Message
- func (x *OAuth2Config) Reset()
- func (x *OAuth2Config) String() string
- type PageToken
- type PersonalAccessToken
- func (*PersonalAccessToken) Descriptor() ([]byte, []int)deprecated
- func (x *PersonalAccessToken) GetCreatedAt() *timestamppb.Timestamp
- func (x *PersonalAccessToken) GetDescription() string
- func (x *PersonalAccessToken) GetExpiresAt() *timestamppb.Timestamp
- func (x *PersonalAccessToken) GetLastUsedAt() *timestamppb.Timestamp
- func (x *PersonalAccessToken) GetName() string
- func (*PersonalAccessToken) ProtoMessage()
- func (x *PersonalAccessToken) ProtoReflect() protoreflect.Message
- func (x *PersonalAccessToken) Reset()
- func (x *PersonalAccessToken) String() string
- type Reaction
- func (*Reaction) Descriptor() ([]byte, []int)deprecated
- func (x *Reaction) GetContentId() string
- func (x *Reaction) GetCreateTime() *timestamppb.Timestamp
- func (x *Reaction) GetCreator() string
- func (x *Reaction) GetName() string
- func (x *Reaction) GetReactionType() string
- func (*Reaction) ProtoMessage()
- func (x *Reaction) ProtoReflect() protoreflect.Message
- func (x *Reaction) Reset()
- func (x *Reaction) String() string
- type RefreshTokenRequest
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenResponse) GetAccessToken() string
- func (x *RefreshTokenResponse) GetExpiresAt() *timestamppb.Timestamp
- func (*RefreshTokenResponse) ProtoMessage()
- func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenResponse) Reset()
- func (x *RefreshTokenResponse) String() string
- type SetMemoAttachmentsRequest
- func (*SetMemoAttachmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMemoAttachmentsRequest) GetAttachments() []*Attachment
- func (x *SetMemoAttachmentsRequest) GetName() string
- func (*SetMemoAttachmentsRequest) ProtoMessage()
- func (x *SetMemoAttachmentsRequest) ProtoReflect() protoreflect.Message
- func (x *SetMemoAttachmentsRequest) Reset()
- func (x *SetMemoAttachmentsRequest) String() string
- type SetMemoRelationsRequest
- func (*SetMemoRelationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMemoRelationsRequest) GetName() string
- func (x *SetMemoRelationsRequest) GetRelations() []*MemoRelation
- func (*SetMemoRelationsRequest) ProtoMessage()
- func (x *SetMemoRelationsRequest) ProtoReflect() protoreflect.Message
- func (x *SetMemoRelationsRequest) Reset()
- func (x *SetMemoRelationsRequest) String() string
- type Shortcut
- func (*Shortcut) Descriptor() ([]byte, []int)deprecated
- func (x *Shortcut) GetFilter() string
- func (x *Shortcut) GetName() string
- func (x *Shortcut) GetTitle() string
- func (*Shortcut) ProtoMessage()
- func (x *Shortcut) ProtoReflect() protoreflect.Message
- func (x *Shortcut) Reset()
- func (x *Shortcut) String() string
- type ShortcutServiceClient
- type ShortcutServiceServer
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInRequest) GetCredentials() isSignInRequest_Credentials
- func (x *SignInRequest) GetPasswordCredentials() *SignInRequest_PasswordCredentials
- func (x *SignInRequest) GetSsoCredentials() *SignInRequest_SSOCredentials
- func (*SignInRequest) ProtoMessage()
- func (x *SignInRequest) ProtoReflect() protoreflect.Message
- func (x *SignInRequest) Reset()
- func (x *SignInRequest) String() string
- type SignInRequest_PasswordCredentials
- func (*SignInRequest_PasswordCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *SignInRequest_PasswordCredentials) GetPassword() string
- func (x *SignInRequest_PasswordCredentials) GetUsername() string
- func (*SignInRequest_PasswordCredentials) ProtoMessage()
- func (x *SignInRequest_PasswordCredentials) ProtoReflect() protoreflect.Message
- func (x *SignInRequest_PasswordCredentials) Reset()
- func (x *SignInRequest_PasswordCredentials) String() string
- type SignInRequest_PasswordCredentials_
- type SignInRequest_SSOCredentials
- func (*SignInRequest_SSOCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *SignInRequest_SSOCredentials) GetCode() string
- func (x *SignInRequest_SSOCredentials) GetCodeVerifier() string
- func (x *SignInRequest_SSOCredentials) GetIdpId() int32
- func (x *SignInRequest_SSOCredentials) GetRedirectUri() string
- func (*SignInRequest_SSOCredentials) ProtoMessage()
- func (x *SignInRequest_SSOCredentials) ProtoReflect() protoreflect.Message
- func (x *SignInRequest_SSOCredentials) Reset()
- func (x *SignInRequest_SSOCredentials) String() string
- type SignInRequest_SsoCredentials
- type SignInResponse
- func (*SignInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignInResponse) GetAccessToken() string
- func (x *SignInResponse) GetAccessTokenExpiresAt() *timestamppb.Timestamp
- func (x *SignInResponse) GetUser() *User
- func (*SignInResponse) ProtoMessage()
- func (x *SignInResponse) ProtoReflect() protoreflect.Message
- func (x *SignInResponse) Reset()
- func (x *SignInResponse) String() string
- type SignOutRequest
- type State
- type UnimplementedActivityServiceServer
- type UnimplementedAttachmentServiceServer
- func (UnimplementedAttachmentServiceServer) CreateAttachment(context.Context, *CreateAttachmentRequest) (*Attachment, error)
- func (UnimplementedAttachmentServiceServer) DeleteAttachment(context.Context, *DeleteAttachmentRequest) (*emptypb.Empty, error)
- func (UnimplementedAttachmentServiceServer) GetAttachment(context.Context, *GetAttachmentRequest) (*Attachment, error)
- func (UnimplementedAttachmentServiceServer) ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)
- func (UnimplementedAttachmentServiceServer) UpdateAttachment(context.Context, *UpdateAttachmentRequest) (*Attachment, error)
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserResponse, error)
- func (UnimplementedAuthServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
- func (UnimplementedAuthServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
- func (UnimplementedAuthServiceServer) SignOut(context.Context, *SignOutRequest) (*emptypb.Empty, error)
- type UnimplementedIdentityProviderServiceServer
- func (UnimplementedIdentityProviderServiceServer) CreateIdentityProvider(context.Context, *CreateIdentityProviderRequest) (*IdentityProvider, error)
- func (UnimplementedIdentityProviderServiceServer) DeleteIdentityProvider(context.Context, *DeleteIdentityProviderRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentityProviderServiceServer) GetIdentityProvider(context.Context, *GetIdentityProviderRequest) (*IdentityProvider, error)
- func (UnimplementedIdentityProviderServiceServer) ListIdentityProviders(context.Context, *ListIdentityProvidersRequest) (*ListIdentityProvidersResponse, error)
- func (UnimplementedIdentityProviderServiceServer) UpdateIdentityProvider(context.Context, *UpdateIdentityProviderRequest) (*IdentityProvider, error)
- type UnimplementedInstanceServiceServer
- func (UnimplementedInstanceServiceServer) GetInstanceProfile(context.Context, *GetInstanceProfileRequest) (*InstanceProfile, error)
- func (UnimplementedInstanceServiceServer) GetInstanceSetting(context.Context, *GetInstanceSettingRequest) (*InstanceSetting, error)
- func (UnimplementedInstanceServiceServer) UpdateInstanceSetting(context.Context, *UpdateInstanceSettingRequest) (*InstanceSetting, error)
- type UnimplementedMemoServiceServer
- func (UnimplementedMemoServiceServer) CreateMemo(context.Context, *CreateMemoRequest) (*Memo, error)
- func (UnimplementedMemoServiceServer) CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*Memo, error)
- func (UnimplementedMemoServiceServer) DeleteMemo(context.Context, *DeleteMemoRequest) (*emptypb.Empty, error)
- func (UnimplementedMemoServiceServer) DeleteMemoReaction(context.Context, *DeleteMemoReactionRequest) (*emptypb.Empty, error)
- func (UnimplementedMemoServiceServer) GetMemo(context.Context, *GetMemoRequest) (*Memo, error)
- func (UnimplementedMemoServiceServer) ListMemoAttachments(context.Context, *ListMemoAttachmentsRequest) (*ListMemoAttachmentsResponse, error)
- func (UnimplementedMemoServiceServer) ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error)
- func (UnimplementedMemoServiceServer) ListMemoReactions(context.Context, *ListMemoReactionsRequest) (*ListMemoReactionsResponse, error)
- func (UnimplementedMemoServiceServer) ListMemoRelations(context.Context, *ListMemoRelationsRequest) (*ListMemoRelationsResponse, error)
- func (UnimplementedMemoServiceServer) ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error)
- func (UnimplementedMemoServiceServer) SetMemoAttachments(context.Context, *SetMemoAttachmentsRequest) (*emptypb.Empty, error)
- func (UnimplementedMemoServiceServer) SetMemoRelations(context.Context, *SetMemoRelationsRequest) (*emptypb.Empty, error)
- func (UnimplementedMemoServiceServer) UpdateMemo(context.Context, *UpdateMemoRequest) (*Memo, error)
- func (UnimplementedMemoServiceServer) UpsertMemoReaction(context.Context, *UpsertMemoReactionRequest) (*Reaction, error)
- type UnimplementedShortcutServiceServer
- func (UnimplementedShortcutServiceServer) CreateShortcut(context.Context, *CreateShortcutRequest) (*Shortcut, error)
- func (UnimplementedShortcutServiceServer) DeleteShortcut(context.Context, *DeleteShortcutRequest) (*emptypb.Empty, error)
- func (UnimplementedShortcutServiceServer) GetShortcut(context.Context, *GetShortcutRequest) (*Shortcut, error)
- func (UnimplementedShortcutServiceServer) ListShortcuts(context.Context, *ListShortcutsRequest) (*ListShortcutsResponse, error)
- func (UnimplementedShortcutServiceServer) UpdateShortcut(context.Context, *UpdateShortcutRequest) (*Shortcut, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) CreatePersonalAccessToken(context.Context, *CreatePersonalAccessTokenRequest) (*CreatePersonalAccessTokenResponse, error)
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*User, error)
- func (UnimplementedUserServiceServer) CreateUserWebhook(context.Context, *CreateUserWebhookRequest) (*UserWebhook, error)
- func (UnimplementedUserServiceServer) DeletePersonalAccessToken(context.Context, *DeletePersonalAccessTokenRequest) (*emptypb.Empty, error)
- func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
- func (UnimplementedUserServiceServer) DeleteUserNotification(context.Context, *DeleteUserNotificationRequest) (*emptypb.Empty, error)
- func (UnimplementedUserServiceServer) DeleteUserWebhook(context.Context, *DeleteUserWebhookRequest) (*emptypb.Empty, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*User, error)
- func (UnimplementedUserServiceServer) GetUserSetting(context.Context, *GetUserSettingRequest) (*UserSetting, error)
- func (UnimplementedUserServiceServer) GetUserStats(context.Context, *GetUserStatsRequest) (*UserStats, error)
- func (UnimplementedUserServiceServer) ListAllUserStats(context.Context, *ListAllUserStatsRequest) (*ListAllUserStatsResponse, error)
- func (UnimplementedUserServiceServer) ListPersonalAccessTokens(context.Context, *ListPersonalAccessTokensRequest) (*ListPersonalAccessTokensResponse, error)
- func (UnimplementedUserServiceServer) ListUserNotifications(context.Context, *ListUserNotificationsRequest) (*ListUserNotificationsResponse, error)
- func (UnimplementedUserServiceServer) ListUserSettings(context.Context, *ListUserSettingsRequest) (*ListUserSettingsResponse, error)
- func (UnimplementedUserServiceServer) ListUserWebhooks(context.Context, *ListUserWebhooksRequest) (*ListUserWebhooksResponse, error)
- func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
- func (UnimplementedUserServiceServer) UpdateUserNotification(context.Context, *UpdateUserNotificationRequest) (*UserNotification, error)
- func (UnimplementedUserServiceServer) UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UserSetting, error)
- func (UnimplementedUserServiceServer) UpdateUserWebhook(context.Context, *UpdateUserWebhookRequest) (*UserWebhook, error)
- type UnsafeActivityServiceServer
- type UnsafeAttachmentServiceServer
- type UnsafeAuthServiceServer
- type UnsafeIdentityProviderServiceServer
- type UnsafeInstanceServiceServer
- type UnsafeMemoServiceServer
- type UnsafeShortcutServiceServer
- type UnsafeUserServiceServer
- type UpdateAttachmentRequest
- func (*UpdateAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAttachmentRequest) GetAttachment() *Attachment
- func (x *UpdateAttachmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAttachmentRequest) ProtoMessage()
- func (x *UpdateAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAttachmentRequest) Reset()
- func (x *UpdateAttachmentRequest) String() string
- type UpdateIdentityProviderRequest
- func (*UpdateIdentityProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIdentityProviderRequest) GetIdentityProvider() *IdentityProvider
- func (x *UpdateIdentityProviderRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateIdentityProviderRequest) ProtoMessage()
- func (x *UpdateIdentityProviderRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIdentityProviderRequest) Reset()
- func (x *UpdateIdentityProviderRequest) String() string
- type UpdateInstanceSettingRequest
- func (*UpdateInstanceSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInstanceSettingRequest) GetSetting() *InstanceSetting
- func (x *UpdateInstanceSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateInstanceSettingRequest) ProtoMessage()
- func (x *UpdateInstanceSettingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInstanceSettingRequest) Reset()
- func (x *UpdateInstanceSettingRequest) String() string
- type UpdateMemoRequest
- func (*UpdateMemoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMemoRequest) GetMemo() *Memo
- func (x *UpdateMemoRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateMemoRequest) ProtoMessage()
- func (x *UpdateMemoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMemoRequest) Reset()
- func (x *UpdateMemoRequest) String() string
- type UpdateShortcutRequest
- func (*UpdateShortcutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateShortcutRequest) GetShortcut() *Shortcut
- func (x *UpdateShortcutRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateShortcutRequest) ProtoMessage()
- func (x *UpdateShortcutRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateShortcutRequest) Reset()
- func (x *UpdateShortcutRequest) String() string
- type UpdateUserNotificationRequest
- func (*UpdateUserNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserNotificationRequest) GetNotification() *UserNotification
- func (x *UpdateUserNotificationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateUserNotificationRequest) ProtoMessage()
- func (x *UpdateUserNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserNotificationRequest) Reset()
- func (x *UpdateUserNotificationRequest) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetAllowMissing() bool
- func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserRequest) GetUser() *User
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserSettingRequest
- func (*UpdateUserSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserSettingRequest) GetSetting() *UserSetting
- func (x *UpdateUserSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateUserSettingRequest) ProtoMessage()
- func (x *UpdateUserSettingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingRequest) Reset()
- func (x *UpdateUserSettingRequest) String() string
- type UpdateUserWebhookRequest
- func (*UpdateUserWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserWebhookRequest) GetWebhook() *UserWebhook
- func (*UpdateUserWebhookRequest) ProtoMessage()
- func (x *UpdateUserWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserWebhookRequest) Reset()
- func (x *UpdateUserWebhookRequest) String() string
- type UpsertMemoReactionRequest
- func (*UpsertMemoReactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertMemoReactionRequest) GetName() string
- func (x *UpsertMemoReactionRequest) GetReaction() *Reaction
- func (*UpsertMemoReactionRequest) ProtoMessage()
- func (x *UpsertMemoReactionRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertMemoReactionRequest) Reset()
- func (x *UpsertMemoReactionRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatarUrl() string
- func (x *User) GetCreateTime() *timestamppb.Timestamp
- func (x *User) GetDescription() string
- func (x *User) GetDisplayName() string
- func (x *User) GetEmail() string
- func (x *User) GetName() string
- func (x *User) GetPassword() string
- func (x *User) GetRole() User_Role
- func (x *User) GetState() State
- func (x *User) GetUpdateTime() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserNotification
- func (*UserNotification) Descriptor() ([]byte, []int)deprecated
- func (x *UserNotification) GetActivityId() int32
- func (x *UserNotification) GetCreateTime() *timestamppb.Timestamp
- func (x *UserNotification) GetName() string
- func (x *UserNotification) GetSender() string
- func (x *UserNotification) GetStatus() UserNotification_Status
- func (x *UserNotification) GetType() UserNotification_Type
- func (*UserNotification) ProtoMessage()
- func (x *UserNotification) ProtoReflect() protoreflect.Message
- func (x *UserNotification) Reset()
- func (x *UserNotification) String() string
- type UserNotification_Status
- func (UserNotification_Status) Descriptor() protoreflect.EnumDescriptor
- func (x UserNotification_Status) Enum() *UserNotification_Status
- func (UserNotification_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserNotification_Status) Number() protoreflect.EnumNumber
- func (x UserNotification_Status) String() string
- func (UserNotification_Status) Type() protoreflect.EnumType
- type UserNotification_Type
- func (UserNotification_Type) Descriptor() protoreflect.EnumDescriptor
- func (x UserNotification_Type) Enum() *UserNotification_Type
- func (UserNotification_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserNotification_Type) Number() protoreflect.EnumNumber
- func (x UserNotification_Type) String() string
- func (UserNotification_Type) Type() protoreflect.EnumType
- type UserServiceClient
- type UserServiceServer
- type UserSetting
- func (*UserSetting) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetting) GetGeneralSetting() *UserSetting_GeneralSetting
- func (x *UserSetting) GetName() string
- func (x *UserSetting) GetValue() isUserSetting_Value
- func (x *UserSetting) GetWebhooksSetting() *UserSetting_WebhooksSetting
- func (*UserSetting) ProtoMessage()
- func (x *UserSetting) ProtoReflect() protoreflect.Message
- func (x *UserSetting) Reset()
- func (x *UserSetting) String() string
- type UserSetting_GeneralSetting
- func (*UserSetting_GeneralSetting) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetting_GeneralSetting) GetLocale() string
- func (x *UserSetting_GeneralSetting) GetMemoVisibility() string
- func (x *UserSetting_GeneralSetting) GetTheme() string
- func (*UserSetting_GeneralSetting) ProtoMessage()
- func (x *UserSetting_GeneralSetting) ProtoReflect() protoreflect.Message
- func (x *UserSetting_GeneralSetting) Reset()
- func (x *UserSetting_GeneralSetting) String() string
- type UserSetting_GeneralSetting_
- type UserSetting_Key
- func (UserSetting_Key) Descriptor() protoreflect.EnumDescriptor
- func (x UserSetting_Key) Enum() *UserSetting_Key
- func (UserSetting_Key) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSetting_Key) Number() protoreflect.EnumNumber
- func (x UserSetting_Key) String() string
- func (UserSetting_Key) Type() protoreflect.EnumType
- type UserSetting_WebhooksSetting
- func (*UserSetting_WebhooksSetting) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetting_WebhooksSetting) GetWebhooks() []*UserWebhook
- func (*UserSetting_WebhooksSetting) ProtoMessage()
- func (x *UserSetting_WebhooksSetting) ProtoReflect() protoreflect.Message
- func (x *UserSetting_WebhooksSetting) Reset()
- func (x *UserSetting_WebhooksSetting) String() string
- type UserSetting_WebhooksSetting_
- type UserStats
- func (*UserStats) Descriptor() ([]byte, []int)deprecated
- func (x *UserStats) GetMemoDisplayTimestamps() []*timestamppb.Timestamp
- func (x *UserStats) GetMemoTypeStats() *UserStats_MemoTypeStats
- func (x *UserStats) GetName() string
- func (x *UserStats) GetPinnedMemos() []string
- func (x *UserStats) GetTagCount() map[string]int32
- func (x *UserStats) GetTotalMemoCount() int32
- func (*UserStats) ProtoMessage()
- func (x *UserStats) ProtoReflect() protoreflect.Message
- func (x *UserStats) Reset()
- func (x *UserStats) String() string
- type UserStats_MemoTypeStats
- func (*UserStats_MemoTypeStats) Descriptor() ([]byte, []int)deprecated
- func (x *UserStats_MemoTypeStats) GetCodeCount() int32
- func (x *UserStats_MemoTypeStats) GetLinkCount() int32
- func (x *UserStats_MemoTypeStats) GetTodoCount() int32
- func (x *UserStats_MemoTypeStats) GetUndoCount() int32
- func (*UserStats_MemoTypeStats) ProtoMessage()
- func (x *UserStats_MemoTypeStats) ProtoReflect() protoreflect.Message
- func (x *UserStats_MemoTypeStats) Reset()
- func (x *UserStats_MemoTypeStats) String() string
- type UserWebhook
- func (*UserWebhook) Descriptor() ([]byte, []int)deprecated
- func (x *UserWebhook) GetCreateTime() *timestamppb.Timestamp
- func (x *UserWebhook) GetDisplayName() string
- func (x *UserWebhook) GetName() string
- func (x *UserWebhook) GetUpdateTime() *timestamppb.Timestamp
- func (x *UserWebhook) GetUrl() string
- func (*UserWebhook) ProtoMessage()
- func (x *UserWebhook) ProtoReflect() protoreflect.Message
- func (x *UserWebhook) Reset()
- func (x *UserWebhook) String() string
- type User_Role
- type Visibility
Constants ¶
const ( ActivityService_ListActivities_FullMethodName = "/memos.api.v1.ActivityService/ListActivities" ActivityService_GetActivity_FullMethodName = "/memos.api.v1.ActivityService/GetActivity" )
const ( AttachmentService_CreateAttachment_FullMethodName = "/memos.api.v1.AttachmentService/CreateAttachment" AttachmentService_ListAttachments_FullMethodName = "/memos.api.v1.AttachmentService/ListAttachments" AttachmentService_GetAttachment_FullMethodName = "/memos.api.v1.AttachmentService/GetAttachment" AttachmentService_UpdateAttachment_FullMethodName = "/memos.api.v1.AttachmentService/UpdateAttachment" AttachmentService_DeleteAttachment_FullMethodName = "/memos.api.v1.AttachmentService/DeleteAttachment" )
const ( AuthService_GetCurrentUser_FullMethodName = "/memos.api.v1.AuthService/GetCurrentUser" AuthService_SignIn_FullMethodName = "/memos.api.v1.AuthService/SignIn" AuthService_SignOut_FullMethodName = "/memos.api.v1.AuthService/SignOut" AuthService_RefreshToken_FullMethodName = "/memos.api.v1.AuthService/RefreshToken" )
const ( IdentityProviderService_ListIdentityProviders_FullMethodName = "/memos.api.v1.IdentityProviderService/ListIdentityProviders" IdentityProviderService_GetIdentityProvider_FullMethodName = "/memos.api.v1.IdentityProviderService/GetIdentityProvider" IdentityProviderService_CreateIdentityProvider_FullMethodName = "/memos.api.v1.IdentityProviderService/CreateIdentityProvider" IdentityProviderService_UpdateIdentityProvider_FullMethodName = "/memos.api.v1.IdentityProviderService/UpdateIdentityProvider" IdentityProviderService_DeleteIdentityProvider_FullMethodName = "/memos.api.v1.IdentityProviderService/DeleteIdentityProvider" )
const ( InstanceService_GetInstanceProfile_FullMethodName = "/memos.api.v1.InstanceService/GetInstanceProfile" InstanceService_GetInstanceSetting_FullMethodName = "/memos.api.v1.InstanceService/GetInstanceSetting" InstanceService_UpdateInstanceSetting_FullMethodName = "/memos.api.v1.InstanceService/UpdateInstanceSetting" )
const ( MemoService_CreateMemo_FullMethodName = "/memos.api.v1.MemoService/CreateMemo" MemoService_ListMemos_FullMethodName = "/memos.api.v1.MemoService/ListMemos" MemoService_GetMemo_FullMethodName = "/memos.api.v1.MemoService/GetMemo" MemoService_UpdateMemo_FullMethodName = "/memos.api.v1.MemoService/UpdateMemo" MemoService_DeleteMemo_FullMethodName = "/memos.api.v1.MemoService/DeleteMemo" MemoService_SetMemoAttachments_FullMethodName = "/memos.api.v1.MemoService/SetMemoAttachments" MemoService_ListMemoAttachments_FullMethodName = "/memos.api.v1.MemoService/ListMemoAttachments" MemoService_SetMemoRelations_FullMethodName = "/memos.api.v1.MemoService/SetMemoRelations" MemoService_ListMemoRelations_FullMethodName = "/memos.api.v1.MemoService/ListMemoRelations" MemoService_CreateMemoComment_FullMethodName = "/memos.api.v1.MemoService/CreateMemoComment" MemoService_ListMemoComments_FullMethodName = "/memos.api.v1.MemoService/ListMemoComments" MemoService_ListMemoReactions_FullMethodName = "/memos.api.v1.MemoService/ListMemoReactions" MemoService_UpsertMemoReaction_FullMethodName = "/memos.api.v1.MemoService/UpsertMemoReaction" MemoService_DeleteMemoReaction_FullMethodName = "/memos.api.v1.MemoService/DeleteMemoReaction" )
const ( ShortcutService_ListShortcuts_FullMethodName = "/memos.api.v1.ShortcutService/ListShortcuts" ShortcutService_GetShortcut_FullMethodName = "/memos.api.v1.ShortcutService/GetShortcut" ShortcutService_CreateShortcut_FullMethodName = "/memos.api.v1.ShortcutService/CreateShortcut" ShortcutService_UpdateShortcut_FullMethodName = "/memos.api.v1.ShortcutService/UpdateShortcut" ShortcutService_DeleteShortcut_FullMethodName = "/memos.api.v1.ShortcutService/DeleteShortcut" )
const ( UserService_ListUsers_FullMethodName = "/memos.api.v1.UserService/ListUsers" UserService_GetUser_FullMethodName = "/memos.api.v1.UserService/GetUser" UserService_CreateUser_FullMethodName = "/memos.api.v1.UserService/CreateUser" UserService_UpdateUser_FullMethodName = "/memos.api.v1.UserService/UpdateUser" UserService_DeleteUser_FullMethodName = "/memos.api.v1.UserService/DeleteUser" UserService_ListAllUserStats_FullMethodName = "/memos.api.v1.UserService/ListAllUserStats" UserService_GetUserStats_FullMethodName = "/memos.api.v1.UserService/GetUserStats" UserService_GetUserSetting_FullMethodName = "/memos.api.v1.UserService/GetUserSetting" UserService_UpdateUserSetting_FullMethodName = "/memos.api.v1.UserService/UpdateUserSetting" UserService_ListUserSettings_FullMethodName = "/memos.api.v1.UserService/ListUserSettings" UserService_ListPersonalAccessTokens_FullMethodName = "/memos.api.v1.UserService/ListPersonalAccessTokens" UserService_CreatePersonalAccessToken_FullMethodName = "/memos.api.v1.UserService/CreatePersonalAccessToken" UserService_DeletePersonalAccessToken_FullMethodName = "/memos.api.v1.UserService/DeletePersonalAccessToken" UserService_ListUserWebhooks_FullMethodName = "/memos.api.v1.UserService/ListUserWebhooks" UserService_CreateUserWebhook_FullMethodName = "/memos.api.v1.UserService/CreateUserWebhook" UserService_UpdateUserWebhook_FullMethodName = "/memos.api.v1.UserService/UpdateUserWebhook" UserService_DeleteUserWebhook_FullMethodName = "/memos.api.v1.UserService/DeleteUserWebhook" UserService_ListUserNotifications_FullMethodName = "/memos.api.v1.UserService/ListUserNotifications" UserService_UpdateUserNotification_FullMethodName = "/memos.api.v1.UserService/UpdateUserNotification" UserService_DeleteUserNotification_FullMethodName = "/memos.api.v1.UserService/DeleteUserNotification" )
Variables ¶
var ( Activity_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "MEMO_COMMENT", } Activity_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "MEMO_COMMENT": 1, } )
Enum value maps for Activity_Type.
var ( Activity_Level_name = map[int32]string{ 0: "LEVEL_UNSPECIFIED", 1: "INFO", 2: "WARN", 3: "ERROR", } Activity_Level_value = map[string]int32{ "LEVEL_UNSPECIFIED": 0, "INFO": 1, "WARN": 2, "ERROR": 3, } )
Enum value maps for Activity_Level.
var ( State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "NORMAL", 2: "ARCHIVED", } State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "NORMAL": 1, "ARCHIVED": 2, } )
Enum value maps for State.
var ( Direction_name = map[int32]string{ 0: "DIRECTION_UNSPECIFIED", 1: "ASC", 2: "DESC", } Direction_value = map[string]int32{ "DIRECTION_UNSPECIFIED": 0, "ASC": 1, "DESC": 2, } )
Enum value maps for Direction.
var ( IdentityProvider_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "OAUTH2", } IdentityProvider_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "OAUTH2": 1, } )
Enum value maps for IdentityProvider_Type.
var ( InstanceSetting_Key_name = map[int32]string{ 0: "KEY_UNSPECIFIED", 1: "GENERAL", 2: "STORAGE", 3: "MEMO_RELATED", } InstanceSetting_Key_value = map[string]int32{ "KEY_UNSPECIFIED": 0, "GENERAL": 1, "STORAGE": 2, "MEMO_RELATED": 3, } )
Enum value maps for InstanceSetting_Key.
var ( InstanceSetting_StorageSetting_StorageType_name = map[int32]string{ 0: "STORAGE_TYPE_UNSPECIFIED", 1: "DATABASE", 2: "LOCAL", 3: "S3", } InstanceSetting_StorageSetting_StorageType_value = map[string]int32{ "STORAGE_TYPE_UNSPECIFIED": 0, "DATABASE": 1, "LOCAL": 2, "S3": 3, } )
Enum value maps for InstanceSetting_StorageSetting_StorageType.
var ( Visibility_name = map[int32]string{ 0: "VISIBILITY_UNSPECIFIED", 1: "PRIVATE", 2: "PROTECTED", 3: "PUBLIC", } Visibility_value = map[string]int32{ "VISIBILITY_UNSPECIFIED": 0, "PRIVATE": 1, "PROTECTED": 2, "PUBLIC": 3, } )
Enum value maps for Visibility.
var ( MemoRelation_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "REFERENCE", 2: "COMMENT", } MemoRelation_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "REFERENCE": 1, "COMMENT": 2, } )
Enum value maps for MemoRelation_Type.
var ( User_Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 2: "ADMIN", 3: "USER", } User_Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "ADMIN": 2, "USER": 3, } )
Enum value maps for User_Role.
var ( UserSetting_Key_name = map[int32]string{ 0: "KEY_UNSPECIFIED", 1: "GENERAL", 4: "WEBHOOKS", } UserSetting_Key_value = map[string]int32{ "KEY_UNSPECIFIED": 0, "GENERAL": 1, "WEBHOOKS": 4, } )
Enum value maps for UserSetting_Key.
var ( UserNotification_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "UNREAD", 2: "ARCHIVED", } UserNotification_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "UNREAD": 1, "ARCHIVED": 2, } )
Enum value maps for UserNotification_Status.
var ( UserNotification_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "MEMO_COMMENT", } UserNotification_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "MEMO_COMMENT": 1, } )
Enum value maps for UserNotification_Type.
var ActivityService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v1.ActivityService", HandlerType: (*ActivityServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListActivities", Handler: _ActivityService_ListActivities_Handler, }, { MethodName: "GetActivity", Handler: _ActivityService_GetActivity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/activity_service.proto", }
ActivityService_ServiceDesc is the grpc.ServiceDesc for ActivityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AttachmentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v1.AttachmentService", HandlerType: (*AttachmentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateAttachment", Handler: _AttachmentService_CreateAttachment_Handler, }, { MethodName: "ListAttachments", Handler: _AttachmentService_ListAttachments_Handler, }, { MethodName: "GetAttachment", Handler: _AttachmentService_GetAttachment_Handler, }, { MethodName: "UpdateAttachment", Handler: _AttachmentService_UpdateAttachment_Handler, }, { MethodName: "DeleteAttachment", Handler: _AttachmentService_DeleteAttachment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/attachment_service.proto", }
AttachmentService_ServiceDesc is the grpc.ServiceDesc for AttachmentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v1.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCurrentUser", Handler: _AuthService_GetCurrentUser_Handler, }, { MethodName: "SignIn", Handler: _AuthService_SignIn_Handler, }, { MethodName: "SignOut", Handler: _AuthService_SignOut_Handler, }, { MethodName: "RefreshToken", Handler: _AuthService_RefreshToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/auth_service.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_v1_activity_service_proto protoreflect.FileDescriptor
var File_api_v1_attachment_service_proto protoreflect.FileDescriptor
var File_api_v1_auth_service_proto protoreflect.FileDescriptor
var File_api_v1_common_proto protoreflect.FileDescriptor
var File_api_v1_idp_service_proto protoreflect.FileDescriptor
var File_api_v1_instance_service_proto protoreflect.FileDescriptor
var File_api_v1_memo_service_proto protoreflect.FileDescriptor
var File_api_v1_shortcut_service_proto protoreflect.FileDescriptor
var File_api_v1_user_service_proto protoreflect.FileDescriptor
var IdentityProviderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v1.IdentityProviderService", HandlerType: (*IdentityProviderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListIdentityProviders", Handler: _IdentityProviderService_ListIdentityProviders_Handler, }, { MethodName: "GetIdentityProvider", Handler: _IdentityProviderService_GetIdentityProvider_Handler, }, { MethodName: "CreateIdentityProvider", Handler: _IdentityProviderService_CreateIdentityProvider_Handler, }, { MethodName: "UpdateIdentityProvider", Handler: _IdentityProviderService_UpdateIdentityProvider_Handler, }, { MethodName: "DeleteIdentityProvider", Handler: _IdentityProviderService_DeleteIdentityProvider_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/idp_service.proto", }
IdentityProviderService_ServiceDesc is the grpc.ServiceDesc for IdentityProviderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var InstanceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v1.InstanceService", HandlerType: (*InstanceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetInstanceProfile", Handler: _InstanceService_GetInstanceProfile_Handler, }, { MethodName: "GetInstanceSetting", Handler: _InstanceService_GetInstanceSetting_Handler, }, { MethodName: "UpdateInstanceSetting", Handler: _InstanceService_UpdateInstanceSetting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/instance_service.proto", }
InstanceService_ServiceDesc is the grpc.ServiceDesc for InstanceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MemoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v1.MemoService", HandlerType: (*MemoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateMemo", Handler: _MemoService_CreateMemo_Handler, }, { MethodName: "ListMemos", Handler: _MemoService_ListMemos_Handler, }, { MethodName: "GetMemo", Handler: _MemoService_GetMemo_Handler, }, { MethodName: "UpdateMemo", Handler: _MemoService_UpdateMemo_Handler, }, { MethodName: "DeleteMemo", Handler: _MemoService_DeleteMemo_Handler, }, { MethodName: "SetMemoAttachments", Handler: _MemoService_SetMemoAttachments_Handler, }, { MethodName: "ListMemoAttachments", Handler: _MemoService_ListMemoAttachments_Handler, }, { MethodName: "SetMemoRelations", Handler: _MemoService_SetMemoRelations_Handler, }, { MethodName: "ListMemoRelations", Handler: _MemoService_ListMemoRelations_Handler, }, { MethodName: "CreateMemoComment", Handler: _MemoService_CreateMemoComment_Handler, }, { MethodName: "ListMemoComments", Handler: _MemoService_ListMemoComments_Handler, }, { MethodName: "ListMemoReactions", Handler: _MemoService_ListMemoReactions_Handler, }, { MethodName: "UpsertMemoReaction", Handler: _MemoService_UpsertMemoReaction_Handler, }, { MethodName: "DeleteMemoReaction", Handler: _MemoService_DeleteMemoReaction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/memo_service.proto", }
MemoService_ServiceDesc is the grpc.ServiceDesc for MemoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ShortcutService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v1.ShortcutService", HandlerType: (*ShortcutServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListShortcuts", Handler: _ShortcutService_ListShortcuts_Handler, }, { MethodName: "GetShortcut", Handler: _ShortcutService_GetShortcut_Handler, }, { MethodName: "CreateShortcut", Handler: _ShortcutService_CreateShortcut_Handler, }, { MethodName: "UpdateShortcut", Handler: _ShortcutService_UpdateShortcut_Handler, }, { MethodName: "DeleteShortcut", Handler: _ShortcutService_DeleteShortcut_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/shortcut_service.proto", }
ShortcutService_ServiceDesc is the grpc.ServiceDesc for ShortcutService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListUsers", Handler: _UserService_ListUsers_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserService_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _UserService_DeleteUser_Handler, }, { MethodName: "ListAllUserStats", Handler: _UserService_ListAllUserStats_Handler, }, { MethodName: "GetUserStats", Handler: _UserService_GetUserStats_Handler, }, { MethodName: "GetUserSetting", Handler: _UserService_GetUserSetting_Handler, }, { MethodName: "UpdateUserSetting", Handler: _UserService_UpdateUserSetting_Handler, }, { MethodName: "ListUserSettings", Handler: _UserService_ListUserSettings_Handler, }, { MethodName: "ListPersonalAccessTokens", Handler: _UserService_ListPersonalAccessTokens_Handler, }, { MethodName: "CreatePersonalAccessToken", Handler: _UserService_CreatePersonalAccessToken_Handler, }, { MethodName: "DeletePersonalAccessToken", Handler: _UserService_DeletePersonalAccessToken_Handler, }, { MethodName: "ListUserWebhooks", Handler: _UserService_ListUserWebhooks_Handler, }, { MethodName: "CreateUserWebhook", Handler: _UserService_CreateUserWebhook_Handler, }, { MethodName: "UpdateUserWebhook", Handler: _UserService_UpdateUserWebhook_Handler, }, { MethodName: "DeleteUserWebhook", Handler: _UserService_DeleteUserWebhook_Handler, }, { MethodName: "ListUserNotifications", Handler: _UserService_ListUserNotifications_Handler, }, { MethodName: "UpdateUserNotification", Handler: _UserService_UpdateUserNotification_Handler, }, { MethodName: "DeleteUserNotification", Handler: _UserService_DeleteUserNotification_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/user_service.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterActivityServiceHandler ¶
func RegisterActivityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterActivityServiceHandler registers the http handlers for service ActivityService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterActivityServiceHandlerClient ¶
func RegisterActivityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivityServiceClient) error
RegisterActivityServiceHandlerClient registers the http handlers for service ActivityService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ActivityServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ActivityServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ActivityServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterActivityServiceHandlerFromEndpoint ¶
func RegisterActivityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterActivityServiceHandlerFromEndpoint is same as RegisterActivityServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterActivityServiceHandlerServer ¶
func RegisterActivityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivityServiceServer) error
RegisterActivityServiceHandlerServer registers the http handlers for service ActivityService to "mux". UnaryRPC :call ActivityServiceServer 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 RegisterActivityServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterActivityServiceServer ¶
func RegisterActivityServiceServer(s grpc.ServiceRegistrar, srv ActivityServiceServer)
func RegisterAttachmentServiceHandler ¶ added in v0.25.0
func RegisterAttachmentServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAttachmentServiceHandler registers the http handlers for service AttachmentService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAttachmentServiceHandlerClient ¶ added in v0.25.0
func RegisterAttachmentServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AttachmentServiceClient) error
RegisterAttachmentServiceHandlerClient registers the http handlers for service AttachmentService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AttachmentServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AttachmentServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AttachmentServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterAttachmentServiceHandlerFromEndpoint ¶ added in v0.25.0
func RegisterAttachmentServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAttachmentServiceHandlerFromEndpoint is same as RegisterAttachmentServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAttachmentServiceHandlerServer ¶ added in v0.25.0
func RegisterAttachmentServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AttachmentServiceServer) error
RegisterAttachmentServiceHandlerServer registers the http handlers for service AttachmentService to "mux". UnaryRPC :call AttachmentServiceServer 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 RegisterAttachmentServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterAttachmentServiceServer ¶ added in v0.25.0
func RegisterAttachmentServiceServer(s grpc.ServiceRegistrar, srv AttachmentServiceServer)
func RegisterAuthServiceHandler ¶
func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuthServiceHandler registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthServiceHandlerClient ¶
func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
RegisterAuthServiceHandlerClient registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterAuthServiceHandlerFromEndpoint ¶
func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthServiceHandlerServer ¶
func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux". UnaryRPC :call AuthServiceServer 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 RegisterAuthServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterIdentityProviderServiceHandler ¶
func RegisterIdentityProviderServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIdentityProviderServiceHandler registers the http handlers for service IdentityProviderService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIdentityProviderServiceHandlerClient ¶
func RegisterIdentityProviderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdentityProviderServiceClient) error
RegisterIdentityProviderServiceHandlerClient registers the http handlers for service IdentityProviderService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IdentityProviderServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IdentityProviderServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IdentityProviderServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterIdentityProviderServiceHandlerFromEndpoint ¶
func RegisterIdentityProviderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIdentityProviderServiceHandlerFromEndpoint is same as RegisterIdentityProviderServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIdentityProviderServiceHandlerServer ¶
func RegisterIdentityProviderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdentityProviderServiceServer) error
RegisterIdentityProviderServiceHandlerServer registers the http handlers for service IdentityProviderService to "mux". UnaryRPC :call IdentityProviderServiceServer 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 RegisterIdentityProviderServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterIdentityProviderServiceServer ¶
func RegisterIdentityProviderServiceServer(s grpc.ServiceRegistrar, srv IdentityProviderServiceServer)
func RegisterInstanceServiceHandler ¶ added in v0.25.3
func RegisterInstanceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterInstanceServiceHandler registers the http handlers for service InstanceService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterInstanceServiceHandlerClient ¶ added in v0.25.3
func RegisterInstanceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InstanceServiceClient) error
RegisterInstanceServiceHandlerClient registers the http handlers for service InstanceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InstanceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InstanceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InstanceServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterInstanceServiceHandlerFromEndpoint ¶ added in v0.25.3
func RegisterInstanceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterInstanceServiceHandlerFromEndpoint is same as RegisterInstanceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterInstanceServiceHandlerServer ¶ added in v0.25.3
func RegisterInstanceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InstanceServiceServer) error
RegisterInstanceServiceHandlerServer registers the http handlers for service InstanceService to "mux". UnaryRPC :call InstanceServiceServer 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 RegisterInstanceServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterInstanceServiceServer ¶ added in v0.25.3
func RegisterInstanceServiceServer(s grpc.ServiceRegistrar, srv InstanceServiceServer)
func RegisterMemoServiceHandler ¶
func RegisterMemoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMemoServiceHandler registers the http handlers for service MemoService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMemoServiceHandlerClient ¶
func RegisterMemoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MemoServiceClient) error
RegisterMemoServiceHandlerClient registers the http handlers for service MemoService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MemoServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MemoServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MemoServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterMemoServiceHandlerFromEndpoint ¶
func RegisterMemoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMemoServiceHandlerFromEndpoint is same as RegisterMemoServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMemoServiceHandlerServer ¶
func RegisterMemoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MemoServiceServer) error
RegisterMemoServiceHandlerServer registers the http handlers for service MemoService to "mux". UnaryRPC :call MemoServiceServer 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 RegisterMemoServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterMemoServiceServer ¶
func RegisterMemoServiceServer(s grpc.ServiceRegistrar, srv MemoServiceServer)
func RegisterShortcutServiceHandler ¶ added in v0.24.4
func RegisterShortcutServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterShortcutServiceHandler registers the http handlers for service ShortcutService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterShortcutServiceHandlerClient ¶ added in v0.24.4
func RegisterShortcutServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ShortcutServiceClient) error
RegisterShortcutServiceHandlerClient registers the http handlers for service ShortcutService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ShortcutServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ShortcutServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ShortcutServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterShortcutServiceHandlerFromEndpoint ¶ added in v0.24.4
func RegisterShortcutServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterShortcutServiceHandlerFromEndpoint is same as RegisterShortcutServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterShortcutServiceHandlerServer ¶ added in v0.24.4
func RegisterShortcutServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ShortcutServiceServer) error
RegisterShortcutServiceHandlerServer registers the http handlers for service ShortcutService to "mux". UnaryRPC :call ShortcutServiceServer 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 RegisterShortcutServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterShortcutServiceServer ¶ added in v0.24.4
func RegisterShortcutServiceServer(s grpc.ServiceRegistrar, srv ShortcutServiceServer)
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterUserServiceHandlerFromEndpoint ¶
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer 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 RegisterUserServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type Activity ¶
type Activity struct {
// The name of the activity.
// Format: activities/{id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The name of the creator.
// Format: users/{user}
Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
// The type of the activity.
Type Activity_Type `protobuf:"varint,3,opt,name=type,proto3,enum=memos.api.v1.Activity_Type" json:"type,omitempty"`
// The level of the activity.
Level Activity_Level `protobuf:"varint,4,opt,name=level,proto3,enum=memos.api.v1.Activity_Level" json:"level,omitempty"`
// The create time of the activity.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The payload of the activity.
Payload *ActivityPayload `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
func (*Activity) Descriptor
deprecated
func (*Activity) GetCreateTime ¶
func (x *Activity) GetCreateTime() *timestamppb.Timestamp
func (*Activity) GetCreator ¶ added in v0.23.1
func (*Activity) GetLevel ¶
func (x *Activity) GetLevel() Activity_Level
func (*Activity) GetPayload ¶
func (x *Activity) GetPayload() *ActivityPayload
func (*Activity) GetType ¶
func (x *Activity) GetType() Activity_Type
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
func (*Activity) ProtoReflect ¶
func (x *Activity) ProtoReflect() protoreflect.Message
type ActivityMemoCommentPayload ¶
type ActivityMemoCommentPayload struct {
// The memo name of comment.
// Format: memos/{memo}
Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
// The name of related memo.
// Format: memos/{memo}
RelatedMemo string `protobuf:"bytes,2,opt,name=related_memo,json=relatedMemo,proto3" json:"related_memo,omitempty"`
// contains filtered or unexported fields
}
ActivityMemoCommentPayload represents the payload of a memo comment activity.
func (*ActivityMemoCommentPayload) Descriptor
deprecated
func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.
func (*ActivityMemoCommentPayload) GetMemo ¶ added in v0.23.1
func (x *ActivityMemoCommentPayload) GetMemo() string
func (*ActivityMemoCommentPayload) GetRelatedMemo ¶ added in v0.23.1
func (x *ActivityMemoCommentPayload) GetRelatedMemo() string
func (*ActivityMemoCommentPayload) ProtoMessage ¶
func (*ActivityMemoCommentPayload) ProtoMessage()
func (*ActivityMemoCommentPayload) ProtoReflect ¶
func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
func (*ActivityMemoCommentPayload) Reset ¶
func (x *ActivityMemoCommentPayload) Reset()
func (*ActivityMemoCommentPayload) String ¶
func (x *ActivityMemoCommentPayload) String() string
type ActivityPayload ¶
type ActivityPayload struct {
// Types that are valid to be assigned to Payload:
//
// *ActivityPayload_MemoComment
Payload isActivityPayload_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
func (*ActivityPayload) Descriptor
deprecated
func (*ActivityPayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityPayload.ProtoReflect.Descriptor instead.
func (*ActivityPayload) GetMemoComment ¶
func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload
func (*ActivityPayload) GetPayload ¶ added in v0.25.0
func (x *ActivityPayload) GetPayload() isActivityPayload_Payload
func (*ActivityPayload) ProtoMessage ¶
func (*ActivityPayload) ProtoMessage()
func (*ActivityPayload) ProtoReflect ¶
func (x *ActivityPayload) ProtoReflect() protoreflect.Message
func (*ActivityPayload) Reset ¶
func (x *ActivityPayload) Reset()
func (*ActivityPayload) String ¶
func (x *ActivityPayload) String() string
type ActivityPayload_MemoComment ¶ added in v0.25.0
type ActivityPayload_MemoComment struct {
// Memo comment activity payload.
MemoComment *ActivityMemoCommentPayload `protobuf:"bytes,1,opt,name=memo_comment,json=memoComment,proto3,oneof"`
}
type ActivityServiceClient ¶
type ActivityServiceClient interface {
// ListActivities returns a list of activities.
ListActivities(ctx context.Context, in *ListActivitiesRequest, opts ...grpc.CallOption) (*ListActivitiesResponse, error)
// GetActivity returns the activity with the given id.
GetActivity(ctx context.Context, in *GetActivityRequest, opts ...grpc.CallOption) (*Activity, error)
}
ActivityServiceClient is the client API for ActivityService 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.
func NewActivityServiceClient ¶
func NewActivityServiceClient(cc grpc.ClientConnInterface) ActivityServiceClient
type ActivityServiceServer ¶
type ActivityServiceServer interface {
// ListActivities returns a list of activities.
ListActivities(context.Context, *ListActivitiesRequest) (*ListActivitiesResponse, error)
// GetActivity returns the activity with the given id.
GetActivity(context.Context, *GetActivityRequest) (*Activity, error)
// contains filtered or unexported methods
}
ActivityServiceServer is the server API for ActivityService service. All implementations must embed UnimplementedActivityServiceServer for forward compatibility.
type Activity_Level ¶ added in v0.25.0
type Activity_Level int32
Activity levels.
const ( // Unspecified level. Activity_LEVEL_UNSPECIFIED Activity_Level = 0 // Info level. Activity_INFO Activity_Level = 1 // Warn level. Activity_WARN Activity_Level = 2 // Error level. Activity_ERROR Activity_Level = 3 )
func (Activity_Level) Descriptor ¶ added in v0.25.0
func (Activity_Level) Descriptor() protoreflect.EnumDescriptor
func (Activity_Level) Enum ¶ added in v0.25.0
func (x Activity_Level) Enum() *Activity_Level
func (Activity_Level) EnumDescriptor
deprecated
added in
v0.25.0
func (Activity_Level) EnumDescriptor() ([]byte, []int)
Deprecated: Use Activity_Level.Descriptor instead.
func (Activity_Level) Number ¶ added in v0.25.0
func (x Activity_Level) Number() protoreflect.EnumNumber
func (Activity_Level) String ¶ added in v0.25.0
func (x Activity_Level) String() string
func (Activity_Level) Type ¶ added in v0.25.0
func (Activity_Level) Type() protoreflect.EnumType
type Activity_Type ¶ added in v0.25.0
type Activity_Type int32
Activity types.
const ( // Unspecified type. Activity_TYPE_UNSPECIFIED Activity_Type = 0 // Memo comment activity. Activity_MEMO_COMMENT Activity_Type = 1 )
func (Activity_Type) Descriptor ¶ added in v0.25.0
func (Activity_Type) Descriptor() protoreflect.EnumDescriptor
func (Activity_Type) Enum ¶ added in v0.25.0
func (x Activity_Type) Enum() *Activity_Type
func (Activity_Type) EnumDescriptor
deprecated
added in
v0.25.0
func (Activity_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Activity_Type.Descriptor instead.
func (Activity_Type) Number ¶ added in v0.25.0
func (x Activity_Type) Number() protoreflect.EnumNumber
func (Activity_Type) String ¶ added in v0.25.0
func (x Activity_Type) String() string
func (Activity_Type) Type ¶ added in v0.25.0
func (Activity_Type) Type() protoreflect.EnumType
type Attachment ¶ added in v0.25.0
type Attachment struct {
// The name of the attachment.
// Format: attachments/{attachment}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The filename of the attachment.
Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
// Input only. The content of the attachment.
Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
// Optional. The external link of the attachment.
ExternalLink string `protobuf:"bytes,5,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"`
// The MIME type of the attachment.
Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
// Output only. The size of the attachment in bytes.
Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
// Optional. The related memo. Refer to `Memo.name`.
// Format: memos/{memo}
Memo *string `protobuf:"bytes,8,opt,name=memo,proto3,oneof" json:"memo,omitempty"`
// contains filtered or unexported fields
}
func (*Attachment) Descriptor
deprecated
added in
v0.25.0
func (*Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetContent ¶ added in v0.25.0
func (x *Attachment) GetContent() []byte
func (*Attachment) GetCreateTime ¶ added in v0.25.0
func (x *Attachment) GetCreateTime() *timestamppb.Timestamp
func (*Attachment) GetExternalLink ¶ added in v0.25.0
func (x *Attachment) GetExternalLink() string
func (*Attachment) GetFilename ¶ added in v0.25.0
func (x *Attachment) GetFilename() string
func (*Attachment) GetMemo ¶ added in v0.25.0
func (x *Attachment) GetMemo() string
func (*Attachment) GetName ¶ added in v0.25.0
func (x *Attachment) GetName() string
func (*Attachment) GetSize ¶ added in v0.25.0
func (x *Attachment) GetSize() int64
func (*Attachment) GetType ¶ added in v0.25.0
func (x *Attachment) GetType() string
func (*Attachment) ProtoMessage ¶ added in v0.25.0
func (*Attachment) ProtoMessage()
func (*Attachment) ProtoReflect ¶ added in v0.25.0
func (x *Attachment) ProtoReflect() protoreflect.Message
func (*Attachment) Reset ¶ added in v0.25.0
func (x *Attachment) Reset()
func (*Attachment) String ¶ added in v0.25.0
func (x *Attachment) String() string
type AttachmentServiceClient ¶ added in v0.25.0
type AttachmentServiceClient interface {
// CreateAttachment creates a new attachment.
CreateAttachment(ctx context.Context, in *CreateAttachmentRequest, opts ...grpc.CallOption) (*Attachment, error)
// ListAttachments lists all attachments.
ListAttachments(ctx context.Context, in *ListAttachmentsRequest, opts ...grpc.CallOption) (*ListAttachmentsResponse, error)
// GetAttachment returns a attachment by name.
GetAttachment(ctx context.Context, in *GetAttachmentRequest, opts ...grpc.CallOption) (*Attachment, error)
// UpdateAttachment updates a attachment.
UpdateAttachment(ctx context.Context, in *UpdateAttachmentRequest, opts ...grpc.CallOption) (*Attachment, error)
// DeleteAttachment deletes a attachment by name.
DeleteAttachment(ctx context.Context, in *DeleteAttachmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
AttachmentServiceClient is the client API for AttachmentService 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.
func NewAttachmentServiceClient ¶ added in v0.25.0
func NewAttachmentServiceClient(cc grpc.ClientConnInterface) AttachmentServiceClient
type AttachmentServiceServer ¶ added in v0.25.0
type AttachmentServiceServer interface {
// CreateAttachment creates a new attachment.
CreateAttachment(context.Context, *CreateAttachmentRequest) (*Attachment, error)
// ListAttachments lists all attachments.
ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)
// GetAttachment returns a attachment by name.
GetAttachment(context.Context, *GetAttachmentRequest) (*Attachment, error)
// UpdateAttachment updates a attachment.
UpdateAttachment(context.Context, *UpdateAttachmentRequest) (*Attachment, error)
// DeleteAttachment deletes a attachment by name.
DeleteAttachment(context.Context, *DeleteAttachmentRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
AttachmentServiceServer is the server API for AttachmentService service. All implementations must embed UnimplementedAttachmentServiceServer for forward compatibility.
type AuthServiceClient ¶
type AuthServiceClient interface {
// GetCurrentUser returns the authenticated user's information.
// Validates the access token and returns user details.
// Similar to OIDC's /userinfo endpoint.
GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...grpc.CallOption) (*GetCurrentUserResponse, error)
// SignIn authenticates a user with credentials and returns tokens.
// On success, returns an access token and sets a refresh token cookie.
// Supports password-based and SSO authentication methods.
SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error)
// SignOut terminates the user's authentication.
// Revokes the refresh token and clears the authentication cookie.
SignOut(ctx context.Context, in *SignOutRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// RefreshToken exchanges a valid refresh token for a new access token.
// The refresh token is read from the HttpOnly cookie.
// Returns a new short-lived access token.
RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
}
AuthServiceClient is the client API for AuthService 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.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface {
// GetCurrentUser returns the authenticated user's information.
// Validates the access token and returns user details.
// Similar to OIDC's /userinfo endpoint.
GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserResponse, error)
// SignIn authenticates a user with credentials and returns tokens.
// On success, returns an access token and sets a refresh token cookie.
// Supports password-based and SSO authentication methods.
SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
// SignOut terminates the user's authentication.
// Revokes the refresh token and clears the authentication cookie.
SignOut(context.Context, *SignOutRequest) (*emptypb.Empty, error)
// RefreshToken exchanges a valid refresh token for a new access token.
// The refresh token is read from the HttpOnly cookie.
// Returns a new short-lived access token.
RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
// contains filtered or unexported methods
}
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility.
type CreateAttachmentRequest ¶ added in v0.25.0
type CreateAttachmentRequest struct {
// Required. The attachment to create.
Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"`
// Optional. The attachment ID to use for this attachment.
// If empty, a unique ID will be generated.
AttachmentId string `protobuf:"bytes,2,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAttachmentRequest) Descriptor
deprecated
added in
v0.25.0
func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttachmentRequest.ProtoReflect.Descriptor instead.
func (*CreateAttachmentRequest) GetAttachment ¶ added in v0.25.0
func (x *CreateAttachmentRequest) GetAttachment() *Attachment
func (*CreateAttachmentRequest) GetAttachmentId ¶ added in v0.25.0
func (x *CreateAttachmentRequest) GetAttachmentId() string
func (*CreateAttachmentRequest) ProtoMessage ¶ added in v0.25.0
func (*CreateAttachmentRequest) ProtoMessage()
func (*CreateAttachmentRequest) ProtoReflect ¶ added in v0.25.0
func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
func (*CreateAttachmentRequest) Reset ¶ added in v0.25.0
func (x *CreateAttachmentRequest) Reset()
func (*CreateAttachmentRequest) String ¶ added in v0.25.0
func (x *CreateAttachmentRequest) String() string
type CreateIdentityProviderRequest ¶
type CreateIdentityProviderRequest struct {
// Required. The identity provider to create.
IdentityProvider *IdentityProvider `protobuf:"bytes,1,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
// Optional. The ID to use for the identity provider, which will become the final component of the resource name.
// If not provided, the system will generate one.
IdentityProviderId string `protobuf:"bytes,2,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateIdentityProviderRequest) Descriptor
deprecated
func (*CreateIdentityProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIdentityProviderRequest.ProtoReflect.Descriptor instead.
func (*CreateIdentityProviderRequest) GetIdentityProvider ¶
func (x *CreateIdentityProviderRequest) GetIdentityProvider() *IdentityProvider
func (*CreateIdentityProviderRequest) GetIdentityProviderId ¶ added in v0.25.0
func (x *CreateIdentityProviderRequest) GetIdentityProviderId() string
func (*CreateIdentityProviderRequest) ProtoMessage ¶
func (*CreateIdentityProviderRequest) ProtoMessage()
func (*CreateIdentityProviderRequest) ProtoReflect ¶
func (x *CreateIdentityProviderRequest) ProtoReflect() protoreflect.Message
func (*CreateIdentityProviderRequest) Reset ¶
func (x *CreateIdentityProviderRequest) Reset()
func (*CreateIdentityProviderRequest) String ¶
func (x *CreateIdentityProviderRequest) String() string
type CreateMemoCommentRequest ¶
type CreateMemoCommentRequest struct {
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The comment to create.
Comment *Memo `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
// Optional. The comment ID to use.
CommentId string `protobuf:"bytes,3,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateMemoCommentRequest) Descriptor
deprecated
func (*CreateMemoCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateMemoCommentRequest) GetComment ¶
func (x *CreateMemoCommentRequest) GetComment() *Memo
func (*CreateMemoCommentRequest) GetCommentId ¶ added in v0.25.0
func (x *CreateMemoCommentRequest) GetCommentId() string
func (*CreateMemoCommentRequest) GetName ¶
func (x *CreateMemoCommentRequest) GetName() string
func (*CreateMemoCommentRequest) ProtoMessage ¶
func (*CreateMemoCommentRequest) ProtoMessage()
func (*CreateMemoCommentRequest) ProtoReflect ¶
func (x *CreateMemoCommentRequest) ProtoReflect() protoreflect.Message
func (*CreateMemoCommentRequest) Reset ¶
func (x *CreateMemoCommentRequest) Reset()
func (*CreateMemoCommentRequest) String ¶
func (x *CreateMemoCommentRequest) String() string
type CreateMemoRequest ¶
type CreateMemoRequest struct {
// Required. The memo to create.
Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
// Optional. The memo ID to use for this memo.
// If empty, a unique ID will be generated.
MemoId string `protobuf:"bytes,2,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateMemoRequest) Descriptor
deprecated
func (*CreateMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoRequest.ProtoReflect.Descriptor instead.
func (*CreateMemoRequest) GetMemo ¶ added in v0.24.0
func (x *CreateMemoRequest) GetMemo() *Memo
func (*CreateMemoRequest) GetMemoId ¶ added in v0.25.0
func (x *CreateMemoRequest) GetMemoId() string
func (*CreateMemoRequest) ProtoMessage ¶
func (*CreateMemoRequest) ProtoMessage()
func (*CreateMemoRequest) ProtoReflect ¶
func (x *CreateMemoRequest) ProtoReflect() protoreflect.Message
func (*CreateMemoRequest) Reset ¶
func (x *CreateMemoRequest) Reset()
func (*CreateMemoRequest) String ¶
func (x *CreateMemoRequest) String() string
type CreatePersonalAccessTokenRequest ¶ added in v0.26.0
type CreatePersonalAccessTokenRequest struct {
// Required. The parent resource where this token will be created.
// Format: users/{user}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Description of the personal access token.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Expiration duration in days (0 = never expires).
ExpiresInDays int32 `protobuf:"varint,3,opt,name=expires_in_days,json=expiresInDays,proto3" json:"expires_in_days,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePersonalAccessTokenRequest) Descriptor
deprecated
added in
v0.26.0
func (*CreatePersonalAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*CreatePersonalAccessTokenRequest) GetDescription ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenRequest) GetDescription() string
func (*CreatePersonalAccessTokenRequest) GetExpiresInDays ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenRequest) GetExpiresInDays() int32
func (*CreatePersonalAccessTokenRequest) GetParent ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenRequest) GetParent() string
func (*CreatePersonalAccessTokenRequest) ProtoMessage ¶ added in v0.26.0
func (*CreatePersonalAccessTokenRequest) ProtoMessage()
func (*CreatePersonalAccessTokenRequest) ProtoReflect ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*CreatePersonalAccessTokenRequest) Reset ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenRequest) Reset()
func (*CreatePersonalAccessTokenRequest) String ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenRequest) String() string
type CreatePersonalAccessTokenResponse ¶ added in v0.26.0
type CreatePersonalAccessTokenResponse struct {
// The personal access token metadata.
PersonalAccessToken *PersonalAccessToken `protobuf:"bytes,1,opt,name=personal_access_token,json=personalAccessToken,proto3" json:"personal_access_token,omitempty"`
// The actual token value - only returned on creation.
// This is the only time the token value will be visible.
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePersonalAccessTokenResponse) Descriptor
deprecated
added in
v0.26.0
func (*CreatePersonalAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePersonalAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*CreatePersonalAccessTokenResponse) GetPersonalAccessToken ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenResponse) GetPersonalAccessToken() *PersonalAccessToken
func (*CreatePersonalAccessTokenResponse) GetToken ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenResponse) GetToken() string
func (*CreatePersonalAccessTokenResponse) ProtoMessage ¶ added in v0.26.0
func (*CreatePersonalAccessTokenResponse) ProtoMessage()
func (*CreatePersonalAccessTokenResponse) ProtoReflect ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*CreatePersonalAccessTokenResponse) Reset ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenResponse) Reset()
func (*CreatePersonalAccessTokenResponse) String ¶ added in v0.26.0
func (x *CreatePersonalAccessTokenResponse) String() string
type CreateShortcutRequest ¶ added in v0.24.0
type CreateShortcutRequest struct {
// Required. The parent resource where this shortcut will be created.
// Format: users/{user}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The shortcut to create.
Shortcut *Shortcut `protobuf:"bytes,2,opt,name=shortcut,proto3" json:"shortcut,omitempty"`
// Optional. If set, validate the request, but do not actually create the shortcut.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
func (*CreateShortcutRequest) Descriptor
deprecated
added in
v0.24.0
func (*CreateShortcutRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateShortcutRequest.ProtoReflect.Descriptor instead.
func (*CreateShortcutRequest) GetParent ¶ added in v0.24.0
func (x *CreateShortcutRequest) GetParent() string
func (*CreateShortcutRequest) GetShortcut ¶ added in v0.24.0
func (x *CreateShortcutRequest) GetShortcut() *Shortcut
func (*CreateShortcutRequest) GetValidateOnly ¶ added in v0.24.0
func (x *CreateShortcutRequest) GetValidateOnly() bool
func (*CreateShortcutRequest) ProtoMessage ¶ added in v0.24.0
func (*CreateShortcutRequest) ProtoMessage()
func (*CreateShortcutRequest) ProtoReflect ¶ added in v0.24.0
func (x *CreateShortcutRequest) ProtoReflect() protoreflect.Message
func (*CreateShortcutRequest) Reset ¶ added in v0.24.0
func (x *CreateShortcutRequest) Reset()
func (*CreateShortcutRequest) String ¶ added in v0.24.0
func (x *CreateShortcutRequest) String() string
type CreateUserRequest ¶
type CreateUserRequest struct {
// Required. The user to create.
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// Optional. The user ID to use for this user.
// If empty, a unique ID will be generated.
// Must match the pattern [a-z0-9-]+
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// Optional. If set, validate the request but don't actually create the user.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. An idempotency token that can be used to ensure that multiple
// requests to create a user have the same result.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetRequestId ¶ added in v0.25.0
func (x *CreateUserRequest) GetRequestId() string
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) GetUserId ¶ added in v0.25.0
func (x *CreateUserRequest) GetUserId() string
func (*CreateUserRequest) GetValidateOnly ¶ added in v0.25.0
func (x *CreateUserRequest) GetValidateOnly() bool
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserWebhookRequest ¶ added in v0.25.1
type CreateUserWebhookRequest struct {
// The parent user resource.
// Format: users/{user}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The webhook to create.
Webhook *UserWebhook `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserWebhookRequest) Descriptor
deprecated
added in
v0.25.1
func (*CreateUserWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserWebhookRequest.ProtoReflect.Descriptor instead.
func (*CreateUserWebhookRequest) GetParent ¶ added in v0.25.1
func (x *CreateUserWebhookRequest) GetParent() string
func (*CreateUserWebhookRequest) GetWebhook ¶ added in v0.25.1
func (x *CreateUserWebhookRequest) GetWebhook() *UserWebhook
func (*CreateUserWebhookRequest) ProtoMessage ¶ added in v0.25.1
func (*CreateUserWebhookRequest) ProtoMessage()
func (*CreateUserWebhookRequest) ProtoReflect ¶ added in v0.25.1
func (x *CreateUserWebhookRequest) ProtoReflect() protoreflect.Message
func (*CreateUserWebhookRequest) Reset ¶ added in v0.25.1
func (x *CreateUserWebhookRequest) Reset()
func (*CreateUserWebhookRequest) String ¶ added in v0.25.1
func (x *CreateUserWebhookRequest) String() string
type DeleteAttachmentRequest ¶ added in v0.25.0
type DeleteAttachmentRequest struct {
// Required. The attachment name of the attachment to delete.
// Format: attachments/{attachment}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteAttachmentRequest) Descriptor
deprecated
added in
v0.25.0
func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAttachmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteAttachmentRequest) GetName ¶ added in v0.25.0
func (x *DeleteAttachmentRequest) GetName() string
func (*DeleteAttachmentRequest) ProtoMessage ¶ added in v0.25.0
func (*DeleteAttachmentRequest) ProtoMessage()
func (*DeleteAttachmentRequest) ProtoReflect ¶ added in v0.25.0
func (x *DeleteAttachmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteAttachmentRequest) Reset ¶ added in v0.25.0
func (x *DeleteAttachmentRequest) Reset()
func (*DeleteAttachmentRequest) String ¶ added in v0.25.0
func (x *DeleteAttachmentRequest) String() string
type DeleteIdentityProviderRequest ¶
type DeleteIdentityProviderRequest struct {
// Required. The resource name of the identity provider to delete.
// Format: identity-providers/{idp}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteIdentityProviderRequest) Descriptor
deprecated
func (*DeleteIdentityProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIdentityProviderRequest.ProtoReflect.Descriptor instead.
func (*DeleteIdentityProviderRequest) GetName ¶
func (x *DeleteIdentityProviderRequest) GetName() string
func (*DeleteIdentityProviderRequest) ProtoMessage ¶
func (*DeleteIdentityProviderRequest) ProtoMessage()
func (*DeleteIdentityProviderRequest) ProtoReflect ¶
func (x *DeleteIdentityProviderRequest) ProtoReflect() protoreflect.Message
func (*DeleteIdentityProviderRequest) Reset ¶
func (x *DeleteIdentityProviderRequest) Reset()
func (*DeleteIdentityProviderRequest) String ¶
func (x *DeleteIdentityProviderRequest) String() string
type DeleteMemoReactionRequest ¶
type DeleteMemoReactionRequest struct {
// Required. The resource name of the reaction to delete.
// Format: memos/{memo}/reactions/{reaction}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteMemoReactionRequest) Descriptor
deprecated
func (*DeleteMemoReactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemoReactionRequest.ProtoReflect.Descriptor instead.
func (*DeleteMemoReactionRequest) GetName ¶ added in v0.25.0
func (x *DeleteMemoReactionRequest) GetName() string
func (*DeleteMemoReactionRequest) ProtoMessage ¶
func (*DeleteMemoReactionRequest) ProtoMessage()
func (*DeleteMemoReactionRequest) ProtoReflect ¶
func (x *DeleteMemoReactionRequest) ProtoReflect() protoreflect.Message
func (*DeleteMemoReactionRequest) Reset ¶
func (x *DeleteMemoReactionRequest) Reset()
func (*DeleteMemoReactionRequest) String ¶
func (x *DeleteMemoReactionRequest) String() string
type DeleteMemoRequest ¶
type DeleteMemoRequest struct {
// Required. The resource name of the memo to delete.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set to true, the memo will be deleted even if it has associated data.
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteMemoRequest) Descriptor
deprecated
func (*DeleteMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemoRequest.ProtoReflect.Descriptor instead.
func (*DeleteMemoRequest) GetForce ¶ added in v0.25.0
func (x *DeleteMemoRequest) GetForce() bool
func (*DeleteMemoRequest) GetName ¶
func (x *DeleteMemoRequest) GetName() string
func (*DeleteMemoRequest) ProtoMessage ¶
func (*DeleteMemoRequest) ProtoMessage()
func (*DeleteMemoRequest) ProtoReflect ¶
func (x *DeleteMemoRequest) ProtoReflect() protoreflect.Message
func (*DeleteMemoRequest) Reset ¶
func (x *DeleteMemoRequest) Reset()
func (*DeleteMemoRequest) String ¶
func (x *DeleteMemoRequest) String() string
type DeletePersonalAccessTokenRequest ¶ added in v0.26.0
type DeletePersonalAccessTokenRequest struct {
// Required. The resource name of the personal access token to delete.
// Format: users/{user}/personalAccessTokens/{personal_access_token}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*DeletePersonalAccessTokenRequest) Descriptor
deprecated
added in
v0.26.0
func (*DeletePersonalAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*DeletePersonalAccessTokenRequest) GetName ¶ added in v0.26.0
func (x *DeletePersonalAccessTokenRequest) GetName() string
func (*DeletePersonalAccessTokenRequest) ProtoMessage ¶ added in v0.26.0
func (*DeletePersonalAccessTokenRequest) ProtoMessage()
func (*DeletePersonalAccessTokenRequest) ProtoReflect ¶ added in v0.26.0
func (x *DeletePersonalAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*DeletePersonalAccessTokenRequest) Reset ¶ added in v0.26.0
func (x *DeletePersonalAccessTokenRequest) Reset()
func (*DeletePersonalAccessTokenRequest) String ¶ added in v0.26.0
func (x *DeletePersonalAccessTokenRequest) String() string
type DeleteShortcutRequest ¶ added in v0.24.0
type DeleteShortcutRequest struct {
// Required. The resource name of the shortcut to delete.
// Format: users/{user}/shortcuts/{shortcut}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteShortcutRequest) Descriptor
deprecated
added in
v0.24.0
func (*DeleteShortcutRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteShortcutRequest.ProtoReflect.Descriptor instead.
func (*DeleteShortcutRequest) GetName ¶ added in v0.25.0
func (x *DeleteShortcutRequest) GetName() string
func (*DeleteShortcutRequest) ProtoMessage ¶ added in v0.24.0
func (*DeleteShortcutRequest) ProtoMessage()
func (*DeleteShortcutRequest) ProtoReflect ¶ added in v0.24.0
func (x *DeleteShortcutRequest) ProtoReflect() protoreflect.Message
func (*DeleteShortcutRequest) Reset ¶ added in v0.24.0
func (x *DeleteShortcutRequest) Reset()
func (*DeleteShortcutRequest) String ¶ added in v0.24.0
func (x *DeleteShortcutRequest) String() string
type DeleteUserNotificationRequest ¶ added in v0.25.3
type DeleteUserNotificationRequest struct {
// Format: users/{user}/notifications/{notification}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteUserNotificationRequest) Descriptor
deprecated
added in
v0.25.3
func (*DeleteUserNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserNotificationRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserNotificationRequest) GetName ¶ added in v0.25.3
func (x *DeleteUserNotificationRequest) GetName() string
func (*DeleteUserNotificationRequest) ProtoMessage ¶ added in v0.25.3
func (*DeleteUserNotificationRequest) ProtoMessage()
func (*DeleteUserNotificationRequest) ProtoReflect ¶ added in v0.25.3
func (x *DeleteUserNotificationRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserNotificationRequest) Reset ¶ added in v0.25.3
func (x *DeleteUserNotificationRequest) Reset()
func (*DeleteUserNotificationRequest) String ¶ added in v0.25.3
func (x *DeleteUserNotificationRequest) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct {
// Required. The resource name of the user to delete.
// Format: users/{user}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set to true, the user will be deleted even if they have associated data.
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetForce ¶ added in v0.25.0
func (x *DeleteUserRequest) GetForce() bool
func (*DeleteUserRequest) GetName ¶
func (x *DeleteUserRequest) GetName() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserWebhookRequest ¶ added in v0.25.1
type DeleteUserWebhookRequest struct {
// The name of the webhook to delete.
// Format: users/{user}/webhooks/{webhook}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteUserWebhookRequest) Descriptor
deprecated
added in
v0.25.1
func (*DeleteUserWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserWebhookRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserWebhookRequest) GetName ¶ added in v0.25.1
func (x *DeleteUserWebhookRequest) GetName() string
func (*DeleteUserWebhookRequest) ProtoMessage ¶ added in v0.25.1
func (*DeleteUserWebhookRequest) ProtoMessage()
func (*DeleteUserWebhookRequest) ProtoReflect ¶ added in v0.25.1
func (x *DeleteUserWebhookRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserWebhookRequest) Reset ¶ added in v0.25.1
func (x *DeleteUserWebhookRequest) Reset()
func (*DeleteUserWebhookRequest) String ¶ added in v0.25.1
func (x *DeleteUserWebhookRequest) String() string
type Direction ¶ added in v0.24.0
type Direction int32
func (Direction) Descriptor ¶ added in v0.24.0
func (Direction) Descriptor() protoreflect.EnumDescriptor
func (Direction) EnumDescriptor
deprecated
added in
v0.24.0
func (Direction) Number ¶ added in v0.24.0
func (x Direction) Number() protoreflect.EnumNumber
func (Direction) Type ¶ added in v0.24.0
func (Direction) Type() protoreflect.EnumType
type FieldMapping ¶
type FieldMapping struct {
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
// contains filtered or unexported fields
}
func (*FieldMapping) Descriptor
deprecated
func (*FieldMapping) Descriptor() ([]byte, []int)
Deprecated: Use FieldMapping.ProtoReflect.Descriptor instead.
func (*FieldMapping) GetAvatarUrl ¶ added in v0.24.3
func (x *FieldMapping) GetAvatarUrl() string
func (*FieldMapping) GetDisplayName ¶
func (x *FieldMapping) GetDisplayName() string
func (*FieldMapping) GetEmail ¶
func (x *FieldMapping) GetEmail() string
func (*FieldMapping) GetIdentifier ¶
func (x *FieldMapping) GetIdentifier() string
func (*FieldMapping) ProtoMessage ¶
func (*FieldMapping) ProtoMessage()
func (*FieldMapping) ProtoReflect ¶
func (x *FieldMapping) ProtoReflect() protoreflect.Message
func (*FieldMapping) Reset ¶
func (x *FieldMapping) Reset()
func (*FieldMapping) String ¶
func (x *FieldMapping) String() string
type GetActivityRequest ¶
type GetActivityRequest struct {
// The name of the activity.
// Format: activities/{id}, id is the system generated auto-incremented id.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetActivityRequest) Descriptor
deprecated
func (*GetActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActivityRequest.ProtoReflect.Descriptor instead.
func (*GetActivityRequest) GetName ¶ added in v0.22.5
func (x *GetActivityRequest) GetName() string
func (*GetActivityRequest) ProtoMessage ¶
func (*GetActivityRequest) ProtoMessage()
func (*GetActivityRequest) ProtoReflect ¶
func (x *GetActivityRequest) ProtoReflect() protoreflect.Message
func (*GetActivityRequest) Reset ¶
func (x *GetActivityRequest) Reset()
func (*GetActivityRequest) String ¶
func (x *GetActivityRequest) String() string
type GetAttachmentRequest ¶ added in v0.25.0
type GetAttachmentRequest struct {
// Required. The attachment name of the attachment to retrieve.
// Format: attachments/{attachment}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetAttachmentRequest) Descriptor
deprecated
added in
v0.25.0
func (*GetAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.
func (*GetAttachmentRequest) GetName ¶ added in v0.25.0
func (x *GetAttachmentRequest) GetName() string
func (*GetAttachmentRequest) ProtoMessage ¶ added in v0.25.0
func (*GetAttachmentRequest) ProtoMessage()
func (*GetAttachmentRequest) ProtoReflect ¶ added in v0.25.0
func (x *GetAttachmentRequest) ProtoReflect() protoreflect.Message
func (*GetAttachmentRequest) Reset ¶ added in v0.25.0
func (x *GetAttachmentRequest) Reset()
func (*GetAttachmentRequest) String ¶ added in v0.25.0
func (x *GetAttachmentRequest) String() string
type GetCurrentUserRequest ¶ added in v0.26.0
type GetCurrentUserRequest struct {
// contains filtered or unexported fields
}
func (*GetCurrentUserRequest) Descriptor
deprecated
added in
v0.26.0
func (*GetCurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead.
func (*GetCurrentUserRequest) ProtoMessage ¶ added in v0.26.0
func (*GetCurrentUserRequest) ProtoMessage()
func (*GetCurrentUserRequest) ProtoReflect ¶ added in v0.26.0
func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*GetCurrentUserRequest) Reset ¶ added in v0.26.0
func (x *GetCurrentUserRequest) Reset()
func (*GetCurrentUserRequest) String ¶ added in v0.26.0
func (x *GetCurrentUserRequest) String() string
type GetCurrentUserResponse ¶ added in v0.26.0
type GetCurrentUserResponse struct {
// The authenticated user's information.
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*GetCurrentUserResponse) Descriptor
deprecated
added in
v0.26.0
func (*GetCurrentUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserResponse.ProtoReflect.Descriptor instead.
func (*GetCurrentUserResponse) GetUser ¶ added in v0.26.0
func (x *GetCurrentUserResponse) GetUser() *User
func (*GetCurrentUserResponse) ProtoMessage ¶ added in v0.26.0
func (*GetCurrentUserResponse) ProtoMessage()
func (*GetCurrentUserResponse) ProtoReflect ¶ added in v0.26.0
func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message
func (*GetCurrentUserResponse) Reset ¶ added in v0.26.0
func (x *GetCurrentUserResponse) Reset()
func (*GetCurrentUserResponse) String ¶ added in v0.26.0
func (x *GetCurrentUserResponse) String() string
type GetIdentityProviderRequest ¶
type GetIdentityProviderRequest struct {
// Required. The resource name of the identity provider to get.
// Format: identity-providers/{idp}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetIdentityProviderRequest) Descriptor
deprecated
func (*GetIdentityProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityProviderRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityProviderRequest) GetName ¶
func (x *GetIdentityProviderRequest) GetName() string
func (*GetIdentityProviderRequest) ProtoMessage ¶
func (*GetIdentityProviderRequest) ProtoMessage()
func (*GetIdentityProviderRequest) ProtoReflect ¶
func (x *GetIdentityProviderRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityProviderRequest) Reset ¶
func (x *GetIdentityProviderRequest) Reset()
func (*GetIdentityProviderRequest) String ¶
func (x *GetIdentityProviderRequest) String() string
type GetInstanceProfileRequest ¶ added in v0.25.3
type GetInstanceProfileRequest struct {
// contains filtered or unexported fields
}
Request for instance profile.
func (*GetInstanceProfileRequest) Descriptor
deprecated
added in
v0.25.3
func (*GetInstanceProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceProfileRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceProfileRequest) ProtoMessage ¶ added in v0.25.3
func (*GetInstanceProfileRequest) ProtoMessage()
func (*GetInstanceProfileRequest) ProtoReflect ¶ added in v0.25.3
func (x *GetInstanceProfileRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceProfileRequest) Reset ¶ added in v0.25.3
func (x *GetInstanceProfileRequest) Reset()
func (*GetInstanceProfileRequest) String ¶ added in v0.25.3
func (x *GetInstanceProfileRequest) String() string
type GetInstanceSettingRequest ¶ added in v0.25.3
type GetInstanceSettingRequest struct {
// The resource name of the instance setting.
// Format: instance/settings/{setting}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetInstanceSetting method.
func (*GetInstanceSettingRequest) Descriptor
deprecated
added in
v0.25.3
func (*GetInstanceSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceSettingRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceSettingRequest) GetName ¶ added in v0.25.3
func (x *GetInstanceSettingRequest) GetName() string
func (*GetInstanceSettingRequest) ProtoMessage ¶ added in v0.25.3
func (*GetInstanceSettingRequest) ProtoMessage()
func (*GetInstanceSettingRequest) ProtoReflect ¶ added in v0.25.3
func (x *GetInstanceSettingRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceSettingRequest) Reset ¶ added in v0.25.3
func (x *GetInstanceSettingRequest) Reset()
func (*GetInstanceSettingRequest) String ¶ added in v0.25.3
func (x *GetInstanceSettingRequest) String() string
type GetMemoRequest ¶
type GetMemoRequest struct {
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetMemoRequest) Descriptor
deprecated
func (*GetMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMemoRequest.ProtoReflect.Descriptor instead.
func (*GetMemoRequest) GetName ¶
func (x *GetMemoRequest) GetName() string
func (*GetMemoRequest) ProtoMessage ¶
func (*GetMemoRequest) ProtoMessage()
func (*GetMemoRequest) ProtoReflect ¶
func (x *GetMemoRequest) ProtoReflect() protoreflect.Message
func (*GetMemoRequest) Reset ¶
func (x *GetMemoRequest) Reset()
func (*GetMemoRequest) String ¶
func (x *GetMemoRequest) String() string
type GetShortcutRequest ¶ added in v0.25.0
type GetShortcutRequest struct {
// Required. The resource name of the shortcut to retrieve.
// Format: users/{user}/shortcuts/{shortcut}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetShortcutRequest) Descriptor
deprecated
added in
v0.25.0
func (*GetShortcutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetShortcutRequest.ProtoReflect.Descriptor instead.
func (*GetShortcutRequest) GetName ¶ added in v0.25.0
func (x *GetShortcutRequest) GetName() string
func (*GetShortcutRequest) ProtoMessage ¶ added in v0.25.0
func (*GetShortcutRequest) ProtoMessage()
func (*GetShortcutRequest) ProtoReflect ¶ added in v0.25.0
func (x *GetShortcutRequest) ProtoReflect() protoreflect.Message
func (*GetShortcutRequest) Reset ¶ added in v0.25.0
func (x *GetShortcutRequest) Reset()
func (*GetShortcutRequest) String ¶ added in v0.25.0
func (x *GetShortcutRequest) String() string
type GetUserRequest ¶
type GetUserRequest struct {
// Required. The resource name of the user.
// Supports both numeric IDs and username strings:
// - users/{id} (e.g., users/101)
// - users/{username} (e.g., users/steven)
//
// Format: users/{id_or_username}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The fields to return in the response.
// If not specified, all fields are returned.
ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetName ¶
func (x *GetUserRequest) GetName() string
func (*GetUserRequest) GetReadMask ¶ added in v0.25.0
func (x *GetUserRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserSettingRequest ¶
type GetUserSettingRequest struct {
// Required. The resource name of the user setting.
// Format: users/{user}/settings/{setting}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserSettingRequest) Descriptor
deprecated
func (*GetUserSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSettingRequest.ProtoReflect.Descriptor instead.
func (*GetUserSettingRequest) GetName ¶
func (x *GetUserSettingRequest) GetName() string
func (*GetUserSettingRequest) ProtoMessage ¶
func (*GetUserSettingRequest) ProtoMessage()
func (*GetUserSettingRequest) ProtoReflect ¶
func (x *GetUserSettingRequest) ProtoReflect() protoreflect.Message
func (*GetUserSettingRequest) Reset ¶
func (x *GetUserSettingRequest) Reset()
func (*GetUserSettingRequest) String ¶
func (x *GetUserSettingRequest) String() string
type GetUserStatsRequest ¶ added in v0.23.1
type GetUserStatsRequest struct {
// Required. The resource name of the user.
// Format: users/{user}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserStatsRequest) Descriptor
deprecated
added in
v0.23.1
func (*GetUserStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserStatsRequest.ProtoReflect.Descriptor instead.
func (*GetUserStatsRequest) GetName ¶ added in v0.23.1
func (x *GetUserStatsRequest) GetName() string
func (*GetUserStatsRequest) ProtoMessage ¶ added in v0.23.1
func (*GetUserStatsRequest) ProtoMessage()
func (*GetUserStatsRequest) ProtoReflect ¶ added in v0.23.1
func (x *GetUserStatsRequest) ProtoReflect() protoreflect.Message
func (*GetUserStatsRequest) Reset ¶ added in v0.23.1
func (x *GetUserStatsRequest) Reset()
func (*GetUserStatsRequest) String ¶ added in v0.23.1
func (x *GetUserStatsRequest) String() string
type IdentityProvider ¶
type IdentityProvider struct {
// The resource name of the identity provider.
// Format: identity-providers/{idp}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The type of the identity provider.
Type IdentityProvider_Type `protobuf:"varint,2,opt,name=type,proto3,enum=memos.api.v1.IdentityProvider_Type" json:"type,omitempty"`
// Required. The display title of the identity provider.
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
// Optional. Filter applied to user identifiers.
IdentifierFilter string `protobuf:"bytes,4,opt,name=identifier_filter,json=identifierFilter,proto3" json:"identifier_filter,omitempty"`
// Required. Configuration for the identity provider.
Config *IdentityProviderConfig `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*IdentityProvider) Descriptor
deprecated
func (*IdentityProvider) Descriptor() ([]byte, []int)
Deprecated: Use IdentityProvider.ProtoReflect.Descriptor instead.
func (*IdentityProvider) GetConfig ¶
func (x *IdentityProvider) GetConfig() *IdentityProviderConfig
func (*IdentityProvider) GetIdentifierFilter ¶
func (x *IdentityProvider) GetIdentifierFilter() string
func (*IdentityProvider) GetName ¶
func (x *IdentityProvider) GetName() string
func (*IdentityProvider) GetTitle ¶
func (x *IdentityProvider) GetTitle() string
func (*IdentityProvider) GetType ¶
func (x *IdentityProvider) GetType() IdentityProvider_Type
func (*IdentityProvider) ProtoMessage ¶
func (*IdentityProvider) ProtoMessage()
func (*IdentityProvider) ProtoReflect ¶
func (x *IdentityProvider) ProtoReflect() protoreflect.Message
func (*IdentityProvider) Reset ¶
func (x *IdentityProvider) Reset()
func (*IdentityProvider) String ¶
func (x *IdentityProvider) String() string
type IdentityProviderConfig ¶
type IdentityProviderConfig struct {
// Types that are valid to be assigned to Config:
//
// *IdentityProviderConfig_Oauth2Config
Config isIdentityProviderConfig_Config `protobuf_oneof:"config"`
// contains filtered or unexported fields
}
func (*IdentityProviderConfig) Descriptor
deprecated
func (*IdentityProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use IdentityProviderConfig.ProtoReflect.Descriptor instead.
func (*IdentityProviderConfig) GetConfig ¶
func (x *IdentityProviderConfig) GetConfig() isIdentityProviderConfig_Config
func (*IdentityProviderConfig) GetOauth2Config ¶
func (x *IdentityProviderConfig) GetOauth2Config() *OAuth2Config
func (*IdentityProviderConfig) ProtoMessage ¶
func (*IdentityProviderConfig) ProtoMessage()
func (*IdentityProviderConfig) ProtoReflect ¶
func (x *IdentityProviderConfig) ProtoReflect() protoreflect.Message
func (*IdentityProviderConfig) Reset ¶
func (x *IdentityProviderConfig) Reset()
func (*IdentityProviderConfig) String ¶
func (x *IdentityProviderConfig) String() string
type IdentityProviderConfig_Oauth2Config ¶
type IdentityProviderConfig_Oauth2Config struct {
Oauth2Config *OAuth2Config `protobuf:"bytes,1,opt,name=oauth2_config,json=oauth2Config,proto3,oneof"`
}
type IdentityProviderServiceClient ¶
type IdentityProviderServiceClient interface {
// ListIdentityProviders lists identity providers.
ListIdentityProviders(ctx context.Context, in *ListIdentityProvidersRequest, opts ...grpc.CallOption) (*ListIdentityProvidersResponse, error)
// GetIdentityProvider gets an identity provider.
GetIdentityProvider(ctx context.Context, in *GetIdentityProviderRequest, opts ...grpc.CallOption) (*IdentityProvider, error)
// CreateIdentityProvider creates an identity provider.
CreateIdentityProvider(ctx context.Context, in *CreateIdentityProviderRequest, opts ...grpc.CallOption) (*IdentityProvider, error)
// UpdateIdentityProvider updates an identity provider.
UpdateIdentityProvider(ctx context.Context, in *UpdateIdentityProviderRequest, opts ...grpc.CallOption) (*IdentityProvider, error)
// DeleteIdentityProvider deletes an identity provider.
DeleteIdentityProvider(ctx context.Context, in *DeleteIdentityProviderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
IdentityProviderServiceClient is the client API for IdentityProviderService 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.
func NewIdentityProviderServiceClient ¶
func NewIdentityProviderServiceClient(cc grpc.ClientConnInterface) IdentityProviderServiceClient
type IdentityProviderServiceServer ¶
type IdentityProviderServiceServer interface {
// ListIdentityProviders lists identity providers.
ListIdentityProviders(context.Context, *ListIdentityProvidersRequest) (*ListIdentityProvidersResponse, error)
// GetIdentityProvider gets an identity provider.
GetIdentityProvider(context.Context, *GetIdentityProviderRequest) (*IdentityProvider, error)
// CreateIdentityProvider creates an identity provider.
CreateIdentityProvider(context.Context, *CreateIdentityProviderRequest) (*IdentityProvider, error)
// UpdateIdentityProvider updates an identity provider.
UpdateIdentityProvider(context.Context, *UpdateIdentityProviderRequest) (*IdentityProvider, error)
// DeleteIdentityProvider deletes an identity provider.
DeleteIdentityProvider(context.Context, *DeleteIdentityProviderRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
IdentityProviderServiceServer is the server API for IdentityProviderService service. All implementations must embed UnimplementedIdentityProviderServiceServer for forward compatibility.
type IdentityProvider_Type ¶
type IdentityProvider_Type int32
const ( IdentityProvider_TYPE_UNSPECIFIED IdentityProvider_Type = 0 // OAuth2 identity provider. IdentityProvider_OAUTH2 IdentityProvider_Type = 1 )
func (IdentityProvider_Type) Descriptor ¶
func (IdentityProvider_Type) Descriptor() protoreflect.EnumDescriptor
func (IdentityProvider_Type) Enum ¶
func (x IdentityProvider_Type) Enum() *IdentityProvider_Type
func (IdentityProvider_Type) EnumDescriptor
deprecated
func (IdentityProvider_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use IdentityProvider_Type.Descriptor instead.
func (IdentityProvider_Type) Number ¶
func (x IdentityProvider_Type) Number() protoreflect.EnumNumber
func (IdentityProvider_Type) String ¶
func (x IdentityProvider_Type) String() string
func (IdentityProvider_Type) Type ¶
func (IdentityProvider_Type) Type() protoreflect.EnumType
type InstanceProfile ¶ added in v0.25.3
type InstanceProfile struct {
// Version is the current version of instance.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// Demo indicates if the instance is in demo mode.
Demo bool `protobuf:"varint,3,opt,name=demo,proto3" json:"demo,omitempty"`
// Instance URL is the URL of the instance.
InstanceUrl string `protobuf:"bytes,6,opt,name=instance_url,json=instanceUrl,proto3" json:"instance_url,omitempty"`
// The first administrator who set up this instance.
// When null, instance requires initial setup (creating the first admin account).
Admin *User `protobuf:"bytes,7,opt,name=admin,proto3" json:"admin,omitempty"`
// contains filtered or unexported fields
}
Instance profile message containing basic instance information.
func (*InstanceProfile) Descriptor
deprecated
added in
v0.25.3
func (*InstanceProfile) Descriptor() ([]byte, []int)
Deprecated: Use InstanceProfile.ProtoReflect.Descriptor instead.
func (*InstanceProfile) GetAdmin ¶ added in v0.26.0
func (x *InstanceProfile) GetAdmin() *User
func (*InstanceProfile) GetDemo ¶ added in v0.26.0
func (x *InstanceProfile) GetDemo() bool
func (*InstanceProfile) GetInstanceUrl ¶ added in v0.25.3
func (x *InstanceProfile) GetInstanceUrl() string
func (*InstanceProfile) GetVersion ¶ added in v0.25.3
func (x *InstanceProfile) GetVersion() string
func (*InstanceProfile) ProtoMessage ¶ added in v0.25.3
func (*InstanceProfile) ProtoMessage()
func (*InstanceProfile) ProtoReflect ¶ added in v0.25.3
func (x *InstanceProfile) ProtoReflect() protoreflect.Message
func (*InstanceProfile) Reset ¶ added in v0.25.3
func (x *InstanceProfile) Reset()
func (*InstanceProfile) String ¶ added in v0.25.3
func (x *InstanceProfile) String() string
type InstanceServiceClient ¶ added in v0.25.3
type InstanceServiceClient interface {
// Gets the instance profile.
GetInstanceProfile(ctx context.Context, in *GetInstanceProfileRequest, opts ...grpc.CallOption) (*InstanceProfile, error)
// Gets an instance setting.
GetInstanceSetting(ctx context.Context, in *GetInstanceSettingRequest, opts ...grpc.CallOption) (*InstanceSetting, error)
// Updates an instance setting.
UpdateInstanceSetting(ctx context.Context, in *UpdateInstanceSettingRequest, opts ...grpc.CallOption) (*InstanceSetting, error)
}
InstanceServiceClient is the client API for InstanceService 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.
func NewInstanceServiceClient ¶ added in v0.25.3
func NewInstanceServiceClient(cc grpc.ClientConnInterface) InstanceServiceClient
type InstanceServiceServer ¶ added in v0.25.3
type InstanceServiceServer interface {
// Gets the instance profile.
GetInstanceProfile(context.Context, *GetInstanceProfileRequest) (*InstanceProfile, error)
// Gets an instance setting.
GetInstanceSetting(context.Context, *GetInstanceSettingRequest) (*InstanceSetting, error)
// Updates an instance setting.
UpdateInstanceSetting(context.Context, *UpdateInstanceSettingRequest) (*InstanceSetting, error)
// contains filtered or unexported methods
}
InstanceServiceServer is the server API for InstanceService service. All implementations must embed UnimplementedInstanceServiceServer for forward compatibility.
type InstanceSetting ¶ added in v0.25.3
type InstanceSetting struct {
// The name of the instance setting.
// Format: instance/settings/{setting}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Types that are valid to be assigned to Value:
//
// *InstanceSetting_GeneralSetting_
// *InstanceSetting_StorageSetting_
// *InstanceSetting_MemoRelatedSetting_
Value isInstanceSetting_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
An instance setting resource.
func (*InstanceSetting) Descriptor
deprecated
added in
v0.25.3
func (*InstanceSetting) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSetting.ProtoReflect.Descriptor instead.
func (*InstanceSetting) GetGeneralSetting ¶ added in v0.25.3
func (x *InstanceSetting) GetGeneralSetting() *InstanceSetting_GeneralSetting
func (*InstanceSetting) GetMemoRelatedSetting ¶ added in v0.25.3
func (x *InstanceSetting) GetMemoRelatedSetting() *InstanceSetting_MemoRelatedSetting
func (*InstanceSetting) GetName ¶ added in v0.25.3
func (x *InstanceSetting) GetName() string
func (*InstanceSetting) GetStorageSetting ¶ added in v0.25.3
func (x *InstanceSetting) GetStorageSetting() *InstanceSetting_StorageSetting
func (*InstanceSetting) GetValue ¶ added in v0.25.3
func (x *InstanceSetting) GetValue() isInstanceSetting_Value
func (*InstanceSetting) ProtoMessage ¶ added in v0.25.3
func (*InstanceSetting) ProtoMessage()
func (*InstanceSetting) ProtoReflect ¶ added in v0.25.3
func (x *InstanceSetting) ProtoReflect() protoreflect.Message
func (*InstanceSetting) Reset ¶ added in v0.25.3
func (x *InstanceSetting) Reset()
func (*InstanceSetting) String ¶ added in v0.25.3
func (x *InstanceSetting) String() string
type InstanceSetting_GeneralSetting ¶ added in v0.25.3
type InstanceSetting_GeneralSetting struct {
// disallow_user_registration disallows user registration.
DisallowUserRegistration bool `` /* 136-byte string literal not displayed */
// disallow_password_auth disallows password authentication.
DisallowPasswordAuth bool `protobuf:"varint,3,opt,name=disallow_password_auth,json=disallowPasswordAuth,proto3" json:"disallow_password_auth,omitempty"`
// additional_script is the additional script.
AdditionalScript string `protobuf:"bytes,4,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"`
// additional_style is the additional style.
AdditionalStyle string `protobuf:"bytes,5,opt,name=additional_style,json=additionalStyle,proto3" json:"additional_style,omitempty"`
// custom_profile is the custom profile.
CustomProfile *InstanceSetting_GeneralSetting_CustomProfile `protobuf:"bytes,6,opt,name=custom_profile,json=customProfile,proto3" json:"custom_profile,omitempty"`
// week_start_day_offset is the week start day offset from Sunday.
// 0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday
// Default is Sunday.
WeekStartDayOffset int32 `protobuf:"varint,7,opt,name=week_start_day_offset,json=weekStartDayOffset,proto3" json:"week_start_day_offset,omitempty"`
// disallow_change_username disallows changing username.
DisallowChangeUsername bool `` /* 130-byte string literal not displayed */
// disallow_change_nickname disallows changing nickname.
DisallowChangeNickname bool `` /* 130-byte string literal not displayed */
// contains filtered or unexported fields
}
General instance settings configuration.
func (*InstanceSetting_GeneralSetting) Descriptor
deprecated
added in
v0.25.3
func (*InstanceSetting_GeneralSetting) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSetting_GeneralSetting.ProtoReflect.Descriptor instead.
func (*InstanceSetting_GeneralSetting) GetAdditionalScript ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) GetAdditionalScript() string
func (*InstanceSetting_GeneralSetting) GetAdditionalStyle ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) GetAdditionalStyle() string
func (*InstanceSetting_GeneralSetting) GetCustomProfile ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) GetCustomProfile() *InstanceSetting_GeneralSetting_CustomProfile
func (*InstanceSetting_GeneralSetting) GetDisallowChangeNickname ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) GetDisallowChangeNickname() bool
func (*InstanceSetting_GeneralSetting) GetDisallowChangeUsername ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) GetDisallowChangeUsername() bool
func (*InstanceSetting_GeneralSetting) GetDisallowPasswordAuth ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) GetDisallowPasswordAuth() bool
func (*InstanceSetting_GeneralSetting) GetDisallowUserRegistration ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) GetDisallowUserRegistration() bool
func (*InstanceSetting_GeneralSetting) GetWeekStartDayOffset ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) GetWeekStartDayOffset() int32
func (*InstanceSetting_GeneralSetting) ProtoMessage ¶ added in v0.25.3
func (*InstanceSetting_GeneralSetting) ProtoMessage()
func (*InstanceSetting_GeneralSetting) ProtoReflect ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) ProtoReflect() protoreflect.Message
func (*InstanceSetting_GeneralSetting) Reset ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) Reset()
func (*InstanceSetting_GeneralSetting) String ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting) String() string
type InstanceSetting_GeneralSetting_ ¶ added in v0.25.3
type InstanceSetting_GeneralSetting_ struct {
GeneralSetting *InstanceSetting_GeneralSetting `protobuf:"bytes,2,opt,name=general_setting,json=generalSetting,proto3,oneof"`
}
type InstanceSetting_GeneralSetting_CustomProfile ¶ added in v0.25.3
type InstanceSetting_GeneralSetting_CustomProfile struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
LogoUrl string `protobuf:"bytes,3,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"`
// contains filtered or unexported fields
}
Custom profile configuration for instance branding.
func (*InstanceSetting_GeneralSetting_CustomProfile) Descriptor
deprecated
added in
v0.25.3
func (*InstanceSetting_GeneralSetting_CustomProfile) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSetting_GeneralSetting_CustomProfile.ProtoReflect.Descriptor instead.
func (*InstanceSetting_GeneralSetting_CustomProfile) GetDescription ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting_CustomProfile) GetDescription() string
func (*InstanceSetting_GeneralSetting_CustomProfile) GetLogoUrl ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting_CustomProfile) GetLogoUrl() string
func (*InstanceSetting_GeneralSetting_CustomProfile) GetTitle ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting_CustomProfile) GetTitle() string
func (*InstanceSetting_GeneralSetting_CustomProfile) ProtoMessage ¶ added in v0.25.3
func (*InstanceSetting_GeneralSetting_CustomProfile) ProtoMessage()
func (*InstanceSetting_GeneralSetting_CustomProfile) ProtoReflect ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting_CustomProfile) ProtoReflect() protoreflect.Message
func (*InstanceSetting_GeneralSetting_CustomProfile) Reset ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting_CustomProfile) Reset()
func (*InstanceSetting_GeneralSetting_CustomProfile) String ¶ added in v0.25.3
func (x *InstanceSetting_GeneralSetting_CustomProfile) String() string
type InstanceSetting_Key ¶ added in v0.25.3
type InstanceSetting_Key int32
Enumeration of instance setting keys.
const ( InstanceSetting_KEY_UNSPECIFIED InstanceSetting_Key = 0 // GENERAL is the key for general settings. InstanceSetting_GENERAL InstanceSetting_Key = 1 // STORAGE is the key for storage settings. InstanceSetting_STORAGE InstanceSetting_Key = 2 // MEMO_RELATED is the key for memo related settings. InstanceSetting_MEMO_RELATED InstanceSetting_Key = 3 )
func (InstanceSetting_Key) Descriptor ¶ added in v0.25.3
func (InstanceSetting_Key) Descriptor() protoreflect.EnumDescriptor
func (InstanceSetting_Key) Enum ¶ added in v0.25.3
func (x InstanceSetting_Key) Enum() *InstanceSetting_Key
func (InstanceSetting_Key) EnumDescriptor
deprecated
added in
v0.25.3
func (InstanceSetting_Key) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceSetting_Key.Descriptor instead.
func (InstanceSetting_Key) Number ¶ added in v0.25.3
func (x InstanceSetting_Key) Number() protoreflect.EnumNumber
func (InstanceSetting_Key) String ¶ added in v0.25.3
func (x InstanceSetting_Key) String() string
func (InstanceSetting_Key) Type ¶ added in v0.25.3
func (InstanceSetting_Key) Type() protoreflect.EnumType
type InstanceSetting_MemoRelatedSetting ¶ added in v0.25.3
type InstanceSetting_MemoRelatedSetting struct {
// disallow_public_visibility disallows set memo as public visibility.
DisallowPublicVisibility bool `` /* 136-byte string literal not displayed */
// display_with_update_time orders and displays memo with update time.
DisplayWithUpdateTime bool `` /* 129-byte string literal not displayed */
// content_length_limit is the limit of content length. Unit is byte.
ContentLengthLimit int32 `protobuf:"varint,3,opt,name=content_length_limit,json=contentLengthLimit,proto3" json:"content_length_limit,omitempty"`
// enable_double_click_edit enables editing on double click.
EnableDoubleClickEdit bool `` /* 129-byte string literal not displayed */
// reactions is the list of reactions.
Reactions []string `protobuf:"bytes,7,rep,name=reactions,proto3" json:"reactions,omitempty"`
// contains filtered or unexported fields
}
Memo-related instance settings and policies.
func (*InstanceSetting_MemoRelatedSetting) Descriptor
deprecated
added in
v0.25.3
func (*InstanceSetting_MemoRelatedSetting) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSetting_MemoRelatedSetting.ProtoReflect.Descriptor instead.
func (*InstanceSetting_MemoRelatedSetting) GetContentLengthLimit ¶ added in v0.25.3
func (x *InstanceSetting_MemoRelatedSetting) GetContentLengthLimit() int32
func (*InstanceSetting_MemoRelatedSetting) GetDisallowPublicVisibility ¶ added in v0.25.3
func (x *InstanceSetting_MemoRelatedSetting) GetDisallowPublicVisibility() bool
func (*InstanceSetting_MemoRelatedSetting) GetDisplayWithUpdateTime ¶ added in v0.25.3
func (x *InstanceSetting_MemoRelatedSetting) GetDisplayWithUpdateTime() bool
func (*InstanceSetting_MemoRelatedSetting) GetEnableDoubleClickEdit ¶ added in v0.25.3
func (x *InstanceSetting_MemoRelatedSetting) GetEnableDoubleClickEdit() bool
func (*InstanceSetting_MemoRelatedSetting) GetReactions ¶ added in v0.25.3
func (x *InstanceSetting_MemoRelatedSetting) GetReactions() []string
func (*InstanceSetting_MemoRelatedSetting) ProtoMessage ¶ added in v0.25.3
func (*InstanceSetting_MemoRelatedSetting) ProtoMessage()
func (*InstanceSetting_MemoRelatedSetting) ProtoReflect ¶ added in v0.25.3
func (x *InstanceSetting_MemoRelatedSetting) ProtoReflect() protoreflect.Message
func (*InstanceSetting_MemoRelatedSetting) Reset ¶ added in v0.25.3
func (x *InstanceSetting_MemoRelatedSetting) Reset()
func (*InstanceSetting_MemoRelatedSetting) String ¶ added in v0.25.3
func (x *InstanceSetting_MemoRelatedSetting) String() string
type InstanceSetting_MemoRelatedSetting_ ¶ added in v0.25.3
type InstanceSetting_MemoRelatedSetting_ struct {
MemoRelatedSetting *InstanceSetting_MemoRelatedSetting `protobuf:"bytes,4,opt,name=memo_related_setting,json=memoRelatedSetting,proto3,oneof"`
}
type InstanceSetting_StorageSetting ¶ added in v0.25.3
type InstanceSetting_StorageSetting struct {
// storage_type is the storage type.
StorageType InstanceSetting_StorageSetting_StorageType `` /* 156-byte string literal not displayed */
// The template of file path.
// e.g. assets/{timestamp}_{filename}
FilepathTemplate string `protobuf:"bytes,2,opt,name=filepath_template,json=filepathTemplate,proto3" json:"filepath_template,omitempty"`
// The max upload size in megabytes.
UploadSizeLimitMb int64 `protobuf:"varint,3,opt,name=upload_size_limit_mb,json=uploadSizeLimitMb,proto3" json:"upload_size_limit_mb,omitempty"`
// The S3 config.
S3Config *InstanceSetting_StorageSetting_S3Config `protobuf:"bytes,4,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"`
// contains filtered or unexported fields
}
Storage configuration settings for instance attachments.
func (*InstanceSetting_StorageSetting) Descriptor
deprecated
added in
v0.25.3
func (*InstanceSetting_StorageSetting) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSetting_StorageSetting.ProtoReflect.Descriptor instead.
func (*InstanceSetting_StorageSetting) GetFilepathTemplate ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting) GetFilepathTemplate() string
func (*InstanceSetting_StorageSetting) GetS3Config ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting) GetS3Config() *InstanceSetting_StorageSetting_S3Config
func (*InstanceSetting_StorageSetting) GetStorageType ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting) GetStorageType() InstanceSetting_StorageSetting_StorageType
func (*InstanceSetting_StorageSetting) GetUploadSizeLimitMb ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting) GetUploadSizeLimitMb() int64
func (*InstanceSetting_StorageSetting) ProtoMessage ¶ added in v0.25.3
func (*InstanceSetting_StorageSetting) ProtoMessage()
func (*InstanceSetting_StorageSetting) ProtoReflect ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting) ProtoReflect() protoreflect.Message
func (*InstanceSetting_StorageSetting) Reset ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting) Reset()
func (*InstanceSetting_StorageSetting) String ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting) String() string
type InstanceSetting_StorageSetting_ ¶ added in v0.25.3
type InstanceSetting_StorageSetting_ struct {
StorageSetting *InstanceSetting_StorageSetting `protobuf:"bytes,3,opt,name=storage_setting,json=storageSetting,proto3,oneof"`
}
type InstanceSetting_StorageSetting_S3Config ¶ added in v0.25.3
type InstanceSetting_StorageSetting_S3Config struct {
AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
AccessKeySecret string `protobuf:"bytes,2,opt,name=access_key_secret,json=accessKeySecret,proto3" json:"access_key_secret,omitempty"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"`
UsePathStyle bool `protobuf:"varint,6,opt,name=use_path_style,json=usePathStyle,proto3" json:"use_path_style,omitempty"`
// contains filtered or unexported fields
}
S3 configuration for cloud storage backend. Reference: https://developers.cloudflare.com/r2/examples/aws/aws-sdk-go/
func (*InstanceSetting_StorageSetting_S3Config) Descriptor
deprecated
added in
v0.25.3
func (*InstanceSetting_StorageSetting_S3Config) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSetting_StorageSetting_S3Config.ProtoReflect.Descriptor instead.
func (*InstanceSetting_StorageSetting_S3Config) GetAccessKeyId ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting_S3Config) GetAccessKeyId() string
func (*InstanceSetting_StorageSetting_S3Config) GetAccessKeySecret ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting_S3Config) GetAccessKeySecret() string
func (*InstanceSetting_StorageSetting_S3Config) GetBucket ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting_S3Config) GetBucket() string
func (*InstanceSetting_StorageSetting_S3Config) GetEndpoint ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting_S3Config) GetEndpoint() string
func (*InstanceSetting_StorageSetting_S3Config) GetRegion ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting_S3Config) GetRegion() string
func (*InstanceSetting_StorageSetting_S3Config) GetUsePathStyle ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting_S3Config) GetUsePathStyle() bool
func (*InstanceSetting_StorageSetting_S3Config) ProtoMessage ¶ added in v0.25.3
func (*InstanceSetting_StorageSetting_S3Config) ProtoMessage()
func (*InstanceSetting_StorageSetting_S3Config) ProtoReflect ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting_S3Config) ProtoReflect() protoreflect.Message
func (*InstanceSetting_StorageSetting_S3Config) Reset ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting_S3Config) Reset()
func (*InstanceSetting_StorageSetting_S3Config) String ¶ added in v0.25.3
func (x *InstanceSetting_StorageSetting_S3Config) String() string
type InstanceSetting_StorageSetting_StorageType ¶ added in v0.25.3
type InstanceSetting_StorageSetting_StorageType int32
Storage type enumeration for different storage backends.
const ( InstanceSetting_StorageSetting_STORAGE_TYPE_UNSPECIFIED InstanceSetting_StorageSetting_StorageType = 0 // DATABASE is the database storage type. InstanceSetting_StorageSetting_DATABASE InstanceSetting_StorageSetting_StorageType = 1 // LOCAL is the local storage type. InstanceSetting_StorageSetting_LOCAL InstanceSetting_StorageSetting_StorageType = 2 // S3 is the S3 storage type. InstanceSetting_StorageSetting_S3 InstanceSetting_StorageSetting_StorageType = 3 )
func (InstanceSetting_StorageSetting_StorageType) Descriptor ¶ added in v0.25.3
func (InstanceSetting_StorageSetting_StorageType) Descriptor() protoreflect.EnumDescriptor
func (InstanceSetting_StorageSetting_StorageType) EnumDescriptor
deprecated
added in
v0.25.3
func (InstanceSetting_StorageSetting_StorageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceSetting_StorageSetting_StorageType.Descriptor instead.
func (InstanceSetting_StorageSetting_StorageType) Number ¶ added in v0.25.3
func (x InstanceSetting_StorageSetting_StorageType) Number() protoreflect.EnumNumber
func (InstanceSetting_StorageSetting_StorageType) String ¶ added in v0.25.3
func (x InstanceSetting_StorageSetting_StorageType) String() string
func (InstanceSetting_StorageSetting_StorageType) Type ¶ added in v0.25.3
func (InstanceSetting_StorageSetting_StorageType) Type() protoreflect.EnumType
type ListActivitiesRequest ¶ added in v0.25.0
type ListActivitiesRequest struct {
// The maximum number of activities to return.
// The service may return fewer than this value.
// If unspecified, at most 100 activities will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListActivities` call.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListActivitiesRequest) Descriptor
deprecated
added in
v0.25.0
func (*ListActivitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActivitiesRequest.ProtoReflect.Descriptor instead.
func (*ListActivitiesRequest) GetPageSize ¶ added in v0.25.0
func (x *ListActivitiesRequest) GetPageSize() int32
func (*ListActivitiesRequest) GetPageToken ¶ added in v0.25.0
func (x *ListActivitiesRequest) GetPageToken() string
func (*ListActivitiesRequest) ProtoMessage ¶ added in v0.25.0
func (*ListActivitiesRequest) ProtoMessage()
func (*ListActivitiesRequest) ProtoReflect ¶ added in v0.25.0
func (x *ListActivitiesRequest) ProtoReflect() protoreflect.Message
func (*ListActivitiesRequest) Reset ¶ added in v0.25.0
func (x *ListActivitiesRequest) Reset()
func (*ListActivitiesRequest) String ¶ added in v0.25.0
func (x *ListActivitiesRequest) String() string
type ListActivitiesResponse ¶ added in v0.25.0
type ListActivitiesResponse struct {
// The activities.
Activities []*Activity `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"`
// A token to retrieve the next page of results.
// Pass this value in the page_token field in the subsequent call to `ListActivities`
// method to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListActivitiesResponse) Descriptor
deprecated
added in
v0.25.0
func (*ListActivitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListActivitiesResponse.ProtoReflect.Descriptor instead.
func (*ListActivitiesResponse) GetActivities ¶ added in v0.25.0
func (x *ListActivitiesResponse) GetActivities() []*Activity
func (*ListActivitiesResponse) GetNextPageToken ¶ added in v0.25.0
func (x *ListActivitiesResponse) GetNextPageToken() string
func (*ListActivitiesResponse) ProtoMessage ¶ added in v0.25.0
func (*ListActivitiesResponse) ProtoMessage()
func (*ListActivitiesResponse) ProtoReflect ¶ added in v0.25.0
func (x *ListActivitiesResponse) ProtoReflect() protoreflect.Message
func (*ListActivitiesResponse) Reset ¶ added in v0.25.0
func (x *ListActivitiesResponse) Reset()
func (*ListActivitiesResponse) String ¶ added in v0.25.0
func (x *ListActivitiesResponse) String() string
type ListAllUserStatsRequest ¶ added in v0.23.1
type ListAllUserStatsRequest struct {
// contains filtered or unexported fields
}
func (*ListAllUserStatsRequest) Descriptor
deprecated
added in
v0.23.1
func (*ListAllUserStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAllUserStatsRequest.ProtoReflect.Descriptor instead.
func (*ListAllUserStatsRequest) ProtoMessage ¶ added in v0.23.1
func (*ListAllUserStatsRequest) ProtoMessage()
func (*ListAllUserStatsRequest) ProtoReflect ¶ added in v0.23.1
func (x *ListAllUserStatsRequest) ProtoReflect() protoreflect.Message
func (*ListAllUserStatsRequest) Reset ¶ added in v0.23.1
func (x *ListAllUserStatsRequest) Reset()
func (*ListAllUserStatsRequest) String ¶ added in v0.23.1
func (x *ListAllUserStatsRequest) String() string
type ListAllUserStatsResponse ¶ added in v0.23.1
type ListAllUserStatsResponse struct {
// The list of user statistics.
Stats []*UserStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
// contains filtered or unexported fields
}
func (*ListAllUserStatsResponse) Descriptor
deprecated
added in
v0.23.1
func (*ListAllUserStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAllUserStatsResponse.ProtoReflect.Descriptor instead.
func (*ListAllUserStatsResponse) GetStats ¶ added in v0.25.1
func (x *ListAllUserStatsResponse) GetStats() []*UserStats
func (*ListAllUserStatsResponse) ProtoMessage ¶ added in v0.23.1
func (*ListAllUserStatsResponse) ProtoMessage()
func (*ListAllUserStatsResponse) ProtoReflect ¶ added in v0.23.1
func (x *ListAllUserStatsResponse) ProtoReflect() protoreflect.Message
func (*ListAllUserStatsResponse) Reset ¶ added in v0.23.1
func (x *ListAllUserStatsResponse) Reset()
func (*ListAllUserStatsResponse) String ¶ added in v0.23.1
func (x *ListAllUserStatsResponse) String() string
type ListAttachmentsRequest ¶ added in v0.25.0
type ListAttachmentsRequest struct {
// Optional. The maximum number of attachments to return.
// The service may return fewer than this value.
// If unspecified, at most 50 attachments will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListAttachments` call.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter to apply to the list results.
// Example: "mime_type==\"image/png\"" or "filename.contains(\"test\")"
// Supported operators: =, !=, <, <=, >, >=, : (contains), in
// Supported fields: filename, mime_type, create_time, memo
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The order to sort results by.
// Example: "create_time desc" or "filename asc"
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
func (*ListAttachmentsRequest) Descriptor
deprecated
added in
v0.25.0
func (*ListAttachmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentsRequest.ProtoReflect.Descriptor instead.
func (*ListAttachmentsRequest) GetFilter ¶ added in v0.25.0
func (x *ListAttachmentsRequest) GetFilter() string
func (*ListAttachmentsRequest) GetOrderBy ¶ added in v0.25.0
func (x *ListAttachmentsRequest) GetOrderBy() string
func (*ListAttachmentsRequest) GetPageSize ¶ added in v0.25.0
func (x *ListAttachmentsRequest) GetPageSize() int32
func (*ListAttachmentsRequest) GetPageToken ¶ added in v0.25.0
func (x *ListAttachmentsRequest) GetPageToken() string
func (*ListAttachmentsRequest) ProtoMessage ¶ added in v0.25.0
func (*ListAttachmentsRequest) ProtoMessage()
func (*ListAttachmentsRequest) ProtoReflect ¶ added in v0.25.0
func (x *ListAttachmentsRequest) ProtoReflect() protoreflect.Message
func (*ListAttachmentsRequest) Reset ¶ added in v0.25.0
func (x *ListAttachmentsRequest) Reset()
func (*ListAttachmentsRequest) String ¶ added in v0.25.0
func (x *ListAttachmentsRequest) String() string
type ListAttachmentsResponse ¶ added in v0.25.0
type ListAttachmentsResponse struct {
// The list of attachments.
Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The total count of attachments (may be approximate).
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// contains filtered or unexported fields
}
func (*ListAttachmentsResponse) Descriptor
deprecated
added in
v0.25.0
func (*ListAttachmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentsResponse.ProtoReflect.Descriptor instead.
func (*ListAttachmentsResponse) GetAttachments ¶ added in v0.25.0
func (x *ListAttachmentsResponse) GetAttachments() []*Attachment
func (*ListAttachmentsResponse) GetNextPageToken ¶ added in v0.25.0
func (x *ListAttachmentsResponse) GetNextPageToken() string
func (*ListAttachmentsResponse) GetTotalSize ¶ added in v0.25.0
func (x *ListAttachmentsResponse) GetTotalSize() int32
func (*ListAttachmentsResponse) ProtoMessage ¶ added in v0.25.0
func (*ListAttachmentsResponse) ProtoMessage()
func (*ListAttachmentsResponse) ProtoReflect ¶ added in v0.25.0
func (x *ListAttachmentsResponse) ProtoReflect() protoreflect.Message
func (*ListAttachmentsResponse) Reset ¶ added in v0.25.0
func (x *ListAttachmentsResponse) Reset()
func (*ListAttachmentsResponse) String ¶ added in v0.25.0
func (x *ListAttachmentsResponse) String() string
type ListIdentityProvidersRequest ¶
type ListIdentityProvidersRequest struct {
// contains filtered or unexported fields
}
func (*ListIdentityProvidersRequest) Descriptor
deprecated
func (*ListIdentityProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIdentityProvidersRequest.ProtoReflect.Descriptor instead.
func (*ListIdentityProvidersRequest) ProtoMessage ¶
func (*ListIdentityProvidersRequest) ProtoMessage()
func (*ListIdentityProvidersRequest) ProtoReflect ¶
func (x *ListIdentityProvidersRequest) ProtoReflect() protoreflect.Message
func (*ListIdentityProvidersRequest) Reset ¶
func (x *ListIdentityProvidersRequest) Reset()
func (*ListIdentityProvidersRequest) String ¶
func (x *ListIdentityProvidersRequest) String() string
type ListIdentityProvidersResponse ¶
type ListIdentityProvidersResponse struct {
// The list of identity providers.
IdentityProviders []*IdentityProvider `protobuf:"bytes,1,rep,name=identity_providers,json=identityProviders,proto3" json:"identity_providers,omitempty"`
// contains filtered or unexported fields
}
func (*ListIdentityProvidersResponse) Descriptor
deprecated
func (*ListIdentityProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIdentityProvidersResponse.ProtoReflect.Descriptor instead.
func (*ListIdentityProvidersResponse) GetIdentityProviders ¶
func (x *ListIdentityProvidersResponse) GetIdentityProviders() []*IdentityProvider
func (*ListIdentityProvidersResponse) ProtoMessage ¶
func (*ListIdentityProvidersResponse) ProtoMessage()
func (*ListIdentityProvidersResponse) ProtoReflect ¶
func (x *ListIdentityProvidersResponse) ProtoReflect() protoreflect.Message
func (*ListIdentityProvidersResponse) Reset ¶
func (x *ListIdentityProvidersResponse) Reset()
func (*ListIdentityProvidersResponse) String ¶
func (x *ListIdentityProvidersResponse) String() string
type ListMemoAttachmentsRequest ¶ added in v0.25.0
type ListMemoAttachmentsRequest struct {
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The maximum number of attachments to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token for pagination.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemoAttachmentsRequest) Descriptor
deprecated
added in
v0.25.0
func (*ListMemoAttachmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoAttachmentsRequest.ProtoReflect.Descriptor instead.
func (*ListMemoAttachmentsRequest) GetName ¶ added in v0.25.0
func (x *ListMemoAttachmentsRequest) GetName() string
func (*ListMemoAttachmentsRequest) GetPageSize ¶ added in v0.25.0
func (x *ListMemoAttachmentsRequest) GetPageSize() int32
func (*ListMemoAttachmentsRequest) GetPageToken ¶ added in v0.25.0
func (x *ListMemoAttachmentsRequest) GetPageToken() string
func (*ListMemoAttachmentsRequest) ProtoMessage ¶ added in v0.25.0
func (*ListMemoAttachmentsRequest) ProtoMessage()
func (*ListMemoAttachmentsRequest) ProtoReflect ¶ added in v0.25.0
func (x *ListMemoAttachmentsRequest) ProtoReflect() protoreflect.Message
func (*ListMemoAttachmentsRequest) Reset ¶ added in v0.25.0
func (x *ListMemoAttachmentsRequest) Reset()
func (*ListMemoAttachmentsRequest) String ¶ added in v0.25.0
func (x *ListMemoAttachmentsRequest) String() string
type ListMemoAttachmentsResponse ¶ added in v0.25.0
type ListMemoAttachmentsResponse struct {
// The list of attachments.
Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
// A token for the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemoAttachmentsResponse) Descriptor
deprecated
added in
v0.25.0
func (*ListMemoAttachmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoAttachmentsResponse.ProtoReflect.Descriptor instead.
func (*ListMemoAttachmentsResponse) GetAttachments ¶ added in v0.25.0
func (x *ListMemoAttachmentsResponse) GetAttachments() []*Attachment
func (*ListMemoAttachmentsResponse) GetNextPageToken ¶ added in v0.25.0
func (x *ListMemoAttachmentsResponse) GetNextPageToken() string
func (*ListMemoAttachmentsResponse) ProtoMessage ¶ added in v0.25.0
func (*ListMemoAttachmentsResponse) ProtoMessage()
func (*ListMemoAttachmentsResponse) ProtoReflect ¶ added in v0.25.0
func (x *ListMemoAttachmentsResponse) ProtoReflect() protoreflect.Message
func (*ListMemoAttachmentsResponse) Reset ¶ added in v0.25.0
func (x *ListMemoAttachmentsResponse) Reset()
func (*ListMemoAttachmentsResponse) String ¶ added in v0.25.0
func (x *ListMemoAttachmentsResponse) String() string
type ListMemoCommentsRequest ¶
type ListMemoCommentsRequest struct {
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The maximum number of comments to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token for pagination.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The order to sort results by.
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemoCommentsRequest) Descriptor
deprecated
func (*ListMemoCommentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoCommentsRequest.ProtoReflect.Descriptor instead.
func (*ListMemoCommentsRequest) GetName ¶
func (x *ListMemoCommentsRequest) GetName() string
func (*ListMemoCommentsRequest) GetOrderBy ¶ added in v0.25.0
func (x *ListMemoCommentsRequest) GetOrderBy() string
func (*ListMemoCommentsRequest) GetPageSize ¶ added in v0.25.0
func (x *ListMemoCommentsRequest) GetPageSize() int32
func (*ListMemoCommentsRequest) GetPageToken ¶ added in v0.25.0
func (x *ListMemoCommentsRequest) GetPageToken() string
func (*ListMemoCommentsRequest) ProtoMessage ¶
func (*ListMemoCommentsRequest) ProtoMessage()
func (*ListMemoCommentsRequest) ProtoReflect ¶
func (x *ListMemoCommentsRequest) ProtoReflect() protoreflect.Message
func (*ListMemoCommentsRequest) Reset ¶
func (x *ListMemoCommentsRequest) Reset()
func (*ListMemoCommentsRequest) String ¶
func (x *ListMemoCommentsRequest) String() string
type ListMemoCommentsResponse ¶
type ListMemoCommentsResponse struct {
// The list of comment memos.
Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
// A token for the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The total count of comments.
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemoCommentsResponse) Descriptor
deprecated
func (*ListMemoCommentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoCommentsResponse.ProtoReflect.Descriptor instead.
func (*ListMemoCommentsResponse) GetMemos ¶
func (x *ListMemoCommentsResponse) GetMemos() []*Memo
func (*ListMemoCommentsResponse) GetNextPageToken ¶ added in v0.25.0
func (x *ListMemoCommentsResponse) GetNextPageToken() string
func (*ListMemoCommentsResponse) GetTotalSize ¶ added in v0.25.0
func (x *ListMemoCommentsResponse) GetTotalSize() int32
func (*ListMemoCommentsResponse) ProtoMessage ¶
func (*ListMemoCommentsResponse) ProtoMessage()
func (*ListMemoCommentsResponse) ProtoReflect ¶
func (x *ListMemoCommentsResponse) ProtoReflect() protoreflect.Message
func (*ListMemoCommentsResponse) Reset ¶
func (x *ListMemoCommentsResponse) Reset()
func (*ListMemoCommentsResponse) String ¶
func (x *ListMemoCommentsResponse) String() string
type ListMemoReactionsRequest ¶
type ListMemoReactionsRequest struct {
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The maximum number of reactions to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token for pagination.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemoReactionsRequest) Descriptor
deprecated
func (*ListMemoReactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoReactionsRequest.ProtoReflect.Descriptor instead.
func (*ListMemoReactionsRequest) GetName ¶
func (x *ListMemoReactionsRequest) GetName() string
func (*ListMemoReactionsRequest) GetPageSize ¶ added in v0.25.0
func (x *ListMemoReactionsRequest) GetPageSize() int32
func (*ListMemoReactionsRequest) GetPageToken ¶ added in v0.25.0
func (x *ListMemoReactionsRequest) GetPageToken() string
func (*ListMemoReactionsRequest) ProtoMessage ¶
func (*ListMemoReactionsRequest) ProtoMessage()
func (*ListMemoReactionsRequest) ProtoReflect ¶
func (x *ListMemoReactionsRequest) ProtoReflect() protoreflect.Message
func (*ListMemoReactionsRequest) Reset ¶
func (x *ListMemoReactionsRequest) Reset()
func (*ListMemoReactionsRequest) String ¶
func (x *ListMemoReactionsRequest) String() string
type ListMemoReactionsResponse ¶
type ListMemoReactionsResponse struct {
// The list of reactions.
Reactions []*Reaction `protobuf:"bytes,1,rep,name=reactions,proto3" json:"reactions,omitempty"`
// A token for the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The total count of reactions.
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemoReactionsResponse) Descriptor
deprecated
func (*ListMemoReactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoReactionsResponse.ProtoReflect.Descriptor instead.
func (*ListMemoReactionsResponse) GetNextPageToken ¶ added in v0.25.0
func (x *ListMemoReactionsResponse) GetNextPageToken() string
func (*ListMemoReactionsResponse) GetReactions ¶
func (x *ListMemoReactionsResponse) GetReactions() []*Reaction
func (*ListMemoReactionsResponse) GetTotalSize ¶ added in v0.25.0
func (x *ListMemoReactionsResponse) GetTotalSize() int32
func (*ListMemoReactionsResponse) ProtoMessage ¶
func (*ListMemoReactionsResponse) ProtoMessage()
func (*ListMemoReactionsResponse) ProtoReflect ¶
func (x *ListMemoReactionsResponse) ProtoReflect() protoreflect.Message
func (*ListMemoReactionsResponse) Reset ¶
func (x *ListMemoReactionsResponse) Reset()
func (*ListMemoReactionsResponse) String ¶
func (x *ListMemoReactionsResponse) String() string
type ListMemoRelationsRequest ¶
type ListMemoRelationsRequest struct {
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The maximum number of relations to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token for pagination.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemoRelationsRequest) Descriptor
deprecated
func (*ListMemoRelationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoRelationsRequest.ProtoReflect.Descriptor instead.
func (*ListMemoRelationsRequest) GetName ¶
func (x *ListMemoRelationsRequest) GetName() string
func (*ListMemoRelationsRequest) GetPageSize ¶ added in v0.25.0
func (x *ListMemoRelationsRequest) GetPageSize() int32
func (*ListMemoRelationsRequest) GetPageToken ¶ added in v0.25.0
func (x *ListMemoRelationsRequest) GetPageToken() string
func (*ListMemoRelationsRequest) ProtoMessage ¶
func (*ListMemoRelationsRequest) ProtoMessage()
func (*ListMemoRelationsRequest) ProtoReflect ¶
func (x *ListMemoRelationsRequest) ProtoReflect() protoreflect.Message
func (*ListMemoRelationsRequest) Reset ¶
func (x *ListMemoRelationsRequest) Reset()
func (*ListMemoRelationsRequest) String ¶
func (x *ListMemoRelationsRequest) String() string
type ListMemoRelationsResponse ¶
type ListMemoRelationsResponse struct {
// The list of relations.
Relations []*MemoRelation `protobuf:"bytes,1,rep,name=relations,proto3" json:"relations,omitempty"`
// A token for the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemoRelationsResponse) Descriptor
deprecated
func (*ListMemoRelationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoRelationsResponse.ProtoReflect.Descriptor instead.
func (*ListMemoRelationsResponse) GetNextPageToken ¶ added in v0.25.0
func (x *ListMemoRelationsResponse) GetNextPageToken() string
func (*ListMemoRelationsResponse) GetRelations ¶
func (x *ListMemoRelationsResponse) GetRelations() []*MemoRelation
func (*ListMemoRelationsResponse) ProtoMessage ¶
func (*ListMemoRelationsResponse) ProtoMessage()
func (*ListMemoRelationsResponse) ProtoReflect ¶
func (x *ListMemoRelationsResponse) ProtoReflect() protoreflect.Message
func (*ListMemoRelationsResponse) Reset ¶
func (x *ListMemoRelationsResponse) Reset()
func (*ListMemoRelationsResponse) String ¶
func (x *ListMemoRelationsResponse) String() string
type ListMemosRequest ¶
type ListMemosRequest struct {
// Optional. The maximum number of memos to return.
// The service may return fewer than this value.
// If unspecified, at most 50 memos will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListMemos` call.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The state of the memos to list.
// Default to `NORMAL`. Set to `ARCHIVED` to list archived memos.
State State `protobuf:"varint,3,opt,name=state,proto3,enum=memos.api.v1.State" json:"state,omitempty"`
// Optional. The order to sort results by.
// Default to "display_time desc".
// Supports comma-separated list of fields following AIP-132.
// Example: "pinned desc, display_time desc" or "create_time asc"
// Supported fields: pinned, display_time, create_time, update_time, name
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. Filter to apply to the list results.
// Filter is a CEL expression to filter memos.
// Refer to `Shortcut.filter`.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. If true, show deleted memos in the response.
ShowDeleted bool `protobuf:"varint,6,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemosRequest) Descriptor
deprecated
func (*ListMemosRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemosRequest.ProtoReflect.Descriptor instead.
func (*ListMemosRequest) GetFilter ¶
func (x *ListMemosRequest) GetFilter() string
func (*ListMemosRequest) GetOrderBy ¶ added in v0.25.0
func (x *ListMemosRequest) GetOrderBy() string
func (*ListMemosRequest) GetPageSize ¶
func (x *ListMemosRequest) GetPageSize() int32
func (*ListMemosRequest) GetPageToken ¶
func (x *ListMemosRequest) GetPageToken() string
func (*ListMemosRequest) GetShowDeleted ¶ added in v0.25.0
func (x *ListMemosRequest) GetShowDeleted() bool
func (*ListMemosRequest) GetState ¶ added in v0.24.0
func (x *ListMemosRequest) GetState() State
func (*ListMemosRequest) ProtoMessage ¶
func (*ListMemosRequest) ProtoMessage()
func (*ListMemosRequest) ProtoReflect ¶
func (x *ListMemosRequest) ProtoReflect() protoreflect.Message
func (*ListMemosRequest) Reset ¶
func (x *ListMemosRequest) Reset()
func (*ListMemosRequest) String ¶
func (x *ListMemosRequest) String() string
type ListMemosResponse ¶
type ListMemosResponse struct {
// The list of memos.
Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListMemosResponse) Descriptor
deprecated
func (*ListMemosResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemosResponse.ProtoReflect.Descriptor instead.
func (*ListMemosResponse) GetMemos ¶
func (x *ListMemosResponse) GetMemos() []*Memo
func (*ListMemosResponse) GetNextPageToken ¶
func (x *ListMemosResponse) GetNextPageToken() string
func (*ListMemosResponse) ProtoMessage ¶
func (*ListMemosResponse) ProtoMessage()
func (*ListMemosResponse) ProtoReflect ¶
func (x *ListMemosResponse) ProtoReflect() protoreflect.Message
func (*ListMemosResponse) Reset ¶
func (x *ListMemosResponse) Reset()
func (*ListMemosResponse) String ¶
func (x *ListMemosResponse) String() string
type ListPersonalAccessTokensRequest ¶ added in v0.26.0
type ListPersonalAccessTokensRequest struct {
// Required. The parent resource whose personal access tokens will be listed.
// Format: users/{user}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of tokens to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token for pagination.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListPersonalAccessTokensRequest) Descriptor
deprecated
added in
v0.26.0
func (*ListPersonalAccessTokensRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPersonalAccessTokensRequest.ProtoReflect.Descriptor instead.
func (*ListPersonalAccessTokensRequest) GetPageSize ¶ added in v0.26.0
func (x *ListPersonalAccessTokensRequest) GetPageSize() int32
func (*ListPersonalAccessTokensRequest) GetPageToken ¶ added in v0.26.0
func (x *ListPersonalAccessTokensRequest) GetPageToken() string
func (*ListPersonalAccessTokensRequest) GetParent ¶ added in v0.26.0
func (x *ListPersonalAccessTokensRequest) GetParent() string
func (*ListPersonalAccessTokensRequest) ProtoMessage ¶ added in v0.26.0
func (*ListPersonalAccessTokensRequest) ProtoMessage()
func (*ListPersonalAccessTokensRequest) ProtoReflect ¶ added in v0.26.0
func (x *ListPersonalAccessTokensRequest) ProtoReflect() protoreflect.Message
func (*ListPersonalAccessTokensRequest) Reset ¶ added in v0.26.0
func (x *ListPersonalAccessTokensRequest) Reset()
func (*ListPersonalAccessTokensRequest) String ¶ added in v0.26.0
func (x *ListPersonalAccessTokensRequest) String() string
type ListPersonalAccessTokensResponse ¶ added in v0.26.0
type ListPersonalAccessTokensResponse struct {
// The list of personal access tokens.
PersonalAccessTokens []*PersonalAccessToken `protobuf:"bytes,1,rep,name=personal_access_tokens,json=personalAccessTokens,proto3" json:"personal_access_tokens,omitempty"`
// A token for the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The total count of personal access tokens.
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// contains filtered or unexported fields
}
func (*ListPersonalAccessTokensResponse) Descriptor
deprecated
added in
v0.26.0
func (*ListPersonalAccessTokensResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPersonalAccessTokensResponse.ProtoReflect.Descriptor instead.
func (*ListPersonalAccessTokensResponse) GetNextPageToken ¶ added in v0.26.0
func (x *ListPersonalAccessTokensResponse) GetNextPageToken() string
func (*ListPersonalAccessTokensResponse) GetPersonalAccessTokens ¶ added in v0.26.0
func (x *ListPersonalAccessTokensResponse) GetPersonalAccessTokens() []*PersonalAccessToken
func (*ListPersonalAccessTokensResponse) GetTotalSize ¶ added in v0.26.0
func (x *ListPersonalAccessTokensResponse) GetTotalSize() int32
func (*ListPersonalAccessTokensResponse) ProtoMessage ¶ added in v0.26.0
func (*ListPersonalAccessTokensResponse) ProtoMessage()
func (*ListPersonalAccessTokensResponse) ProtoReflect ¶ added in v0.26.0
func (x *ListPersonalAccessTokensResponse) ProtoReflect() protoreflect.Message
func (*ListPersonalAccessTokensResponse) Reset ¶ added in v0.26.0
func (x *ListPersonalAccessTokensResponse) Reset()
func (*ListPersonalAccessTokensResponse) String ¶ added in v0.26.0
func (x *ListPersonalAccessTokensResponse) String() string
type ListShortcutsRequest ¶ added in v0.24.0
type ListShortcutsRequest struct {
// Required. The parent resource where shortcuts are listed.
// Format: users/{user}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
func (*ListShortcutsRequest) Descriptor
deprecated
added in
v0.24.0
func (*ListShortcutsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListShortcutsRequest.ProtoReflect.Descriptor instead.
func (*ListShortcutsRequest) GetParent ¶ added in v0.24.0
func (x *ListShortcutsRequest) GetParent() string
func (*ListShortcutsRequest) ProtoMessage ¶ added in v0.24.0
func (*ListShortcutsRequest) ProtoMessage()
func (*ListShortcutsRequest) ProtoReflect ¶ added in v0.24.0
func (x *ListShortcutsRequest) ProtoReflect() protoreflect.Message
func (*ListShortcutsRequest) Reset ¶ added in v0.24.0
func (x *ListShortcutsRequest) Reset()
func (*ListShortcutsRequest) String ¶ added in v0.24.0
func (x *ListShortcutsRequest) String() string
type ListShortcutsResponse ¶ added in v0.24.0
type ListShortcutsResponse struct {
// The list of shortcuts.
Shortcuts []*Shortcut `protobuf:"bytes,1,rep,name=shortcuts,proto3" json:"shortcuts,omitempty"`
// contains filtered or unexported fields
}
func (*ListShortcutsResponse) Descriptor
deprecated
added in
v0.24.0
func (*ListShortcutsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListShortcutsResponse.ProtoReflect.Descriptor instead.
func (*ListShortcutsResponse) GetShortcuts ¶ added in v0.24.0
func (x *ListShortcutsResponse) GetShortcuts() []*Shortcut
func (*ListShortcutsResponse) ProtoMessage ¶ added in v0.24.0
func (*ListShortcutsResponse) ProtoMessage()
func (*ListShortcutsResponse) ProtoReflect ¶ added in v0.24.0
func (x *ListShortcutsResponse) ProtoReflect() protoreflect.Message
func (*ListShortcutsResponse) Reset ¶ added in v0.24.0
func (x *ListShortcutsResponse) Reset()
func (*ListShortcutsResponse) String ¶ added in v0.24.0
func (x *ListShortcutsResponse) String() string
type ListUserNotificationsRequest ¶ added in v0.25.3
type ListUserNotificationsRequest struct {
// The parent user resource.
// Format: users/{user}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*ListUserNotificationsRequest) Descriptor
deprecated
added in
v0.25.3
func (*ListUserNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserNotificationsRequest.ProtoReflect.Descriptor instead.
func (*ListUserNotificationsRequest) GetFilter ¶ added in v0.25.3
func (x *ListUserNotificationsRequest) GetFilter() string
func (*ListUserNotificationsRequest) GetPageSize ¶ added in v0.25.3
func (x *ListUserNotificationsRequest) GetPageSize() int32
func (*ListUserNotificationsRequest) GetPageToken ¶ added in v0.25.3
func (x *ListUserNotificationsRequest) GetPageToken() string
func (*ListUserNotificationsRequest) GetParent ¶ added in v0.25.3
func (x *ListUserNotificationsRequest) GetParent() string
func (*ListUserNotificationsRequest) ProtoMessage ¶ added in v0.25.3
func (*ListUserNotificationsRequest) ProtoMessage()
func (*ListUserNotificationsRequest) ProtoReflect ¶ added in v0.25.3
func (x *ListUserNotificationsRequest) ProtoReflect() protoreflect.Message
func (*ListUserNotificationsRequest) Reset ¶ added in v0.25.3
func (x *ListUserNotificationsRequest) Reset()
func (*ListUserNotificationsRequest) String ¶ added in v0.25.3
func (x *ListUserNotificationsRequest) String() string
type ListUserNotificationsResponse ¶ added in v0.25.3
type ListUserNotificationsResponse struct {
Notifications []*UserNotification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListUserNotificationsResponse) Descriptor
deprecated
added in
v0.25.3
func (*ListUserNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserNotificationsResponse.ProtoReflect.Descriptor instead.
func (*ListUserNotificationsResponse) GetNextPageToken ¶ added in v0.25.3
func (x *ListUserNotificationsResponse) GetNextPageToken() string
func (*ListUserNotificationsResponse) GetNotifications ¶ added in v0.25.3
func (x *ListUserNotificationsResponse) GetNotifications() []*UserNotification
func (*ListUserNotificationsResponse) ProtoMessage ¶ added in v0.25.3
func (*ListUserNotificationsResponse) ProtoMessage()
func (*ListUserNotificationsResponse) ProtoReflect ¶ added in v0.25.3
func (x *ListUserNotificationsResponse) ProtoReflect() protoreflect.Message
func (*ListUserNotificationsResponse) Reset ¶ added in v0.25.3
func (x *ListUserNotificationsResponse) Reset()
func (*ListUserNotificationsResponse) String ¶ added in v0.25.3
func (x *ListUserNotificationsResponse) String() string
type ListUserSettingsRequest ¶ added in v0.25.1
type ListUserSettingsRequest struct {
// Required. The parent resource whose settings will be listed.
// Format: users/{user}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of settings to return.
// The service may return fewer than this value.
// If unspecified, at most 50 settings will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListUserSettings` call.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for ListUserSettings method.
func (*ListUserSettingsRequest) Descriptor
deprecated
added in
v0.25.1
func (*ListUserSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserSettingsRequest.ProtoReflect.Descriptor instead.
func (*ListUserSettingsRequest) GetPageSize ¶ added in v0.25.1
func (x *ListUserSettingsRequest) GetPageSize() int32
func (*ListUserSettingsRequest) GetPageToken ¶ added in v0.25.1
func (x *ListUserSettingsRequest) GetPageToken() string
func (*ListUserSettingsRequest) GetParent ¶ added in v0.25.1
func (x *ListUserSettingsRequest) GetParent() string
func (*ListUserSettingsRequest) ProtoMessage ¶ added in v0.25.1
func (*ListUserSettingsRequest) ProtoMessage()
func (*ListUserSettingsRequest) ProtoReflect ¶ added in v0.25.1
func (x *ListUserSettingsRequest) ProtoReflect() protoreflect.Message
func (*ListUserSettingsRequest) Reset ¶ added in v0.25.1
func (x *ListUserSettingsRequest) Reset()
func (*ListUserSettingsRequest) String ¶ added in v0.25.1
func (x *ListUserSettingsRequest) String() string
type ListUserSettingsResponse ¶ added in v0.25.1
type ListUserSettingsResponse struct {
// The list of user settings.
Settings []*UserSetting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The total count of settings (may be approximate).
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// contains filtered or unexported fields
}
Response message for ListUserSettings method.
func (*ListUserSettingsResponse) Descriptor
deprecated
added in
v0.25.1
func (*ListUserSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserSettingsResponse.ProtoReflect.Descriptor instead.
func (*ListUserSettingsResponse) GetNextPageToken ¶ added in v0.25.1
func (x *ListUserSettingsResponse) GetNextPageToken() string
func (*ListUserSettingsResponse) GetSettings ¶ added in v0.25.1
func (x *ListUserSettingsResponse) GetSettings() []*UserSetting
func (*ListUserSettingsResponse) GetTotalSize ¶ added in v0.25.1
func (x *ListUserSettingsResponse) GetTotalSize() int32
func (*ListUserSettingsResponse) ProtoMessage ¶ added in v0.25.1
func (*ListUserSettingsResponse) ProtoMessage()
func (*ListUserSettingsResponse) ProtoReflect ¶ added in v0.25.1
func (x *ListUserSettingsResponse) ProtoReflect() protoreflect.Message
func (*ListUserSettingsResponse) Reset ¶ added in v0.25.1
func (x *ListUserSettingsResponse) Reset()
func (*ListUserSettingsResponse) String ¶ added in v0.25.1
func (x *ListUserSettingsResponse) String() string
type ListUserWebhooksRequest ¶ added in v0.25.1
type ListUserWebhooksRequest struct {
// The parent user resource.
// Format: users/{user}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
func (*ListUserWebhooksRequest) Descriptor
deprecated
added in
v0.25.1
func (*ListUserWebhooksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserWebhooksRequest.ProtoReflect.Descriptor instead.
func (*ListUserWebhooksRequest) GetParent ¶ added in v0.25.1
func (x *ListUserWebhooksRequest) GetParent() string
func (*ListUserWebhooksRequest) ProtoMessage ¶ added in v0.25.1
func (*ListUserWebhooksRequest) ProtoMessage()
func (*ListUserWebhooksRequest) ProtoReflect ¶ added in v0.25.1
func (x *ListUserWebhooksRequest) ProtoReflect() protoreflect.Message
func (*ListUserWebhooksRequest) Reset ¶ added in v0.25.1
func (x *ListUserWebhooksRequest) Reset()
func (*ListUserWebhooksRequest) String ¶ added in v0.25.1
func (x *ListUserWebhooksRequest) String() string
type ListUserWebhooksResponse ¶ added in v0.25.1
type ListUserWebhooksResponse struct {
// The list of webhooks.
Webhooks []*UserWebhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
// contains filtered or unexported fields
}
func (*ListUserWebhooksResponse) Descriptor
deprecated
added in
v0.25.1
func (*ListUserWebhooksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserWebhooksResponse.ProtoReflect.Descriptor instead.
func (*ListUserWebhooksResponse) GetWebhooks ¶ added in v0.25.1
func (x *ListUserWebhooksResponse) GetWebhooks() []*UserWebhook
func (*ListUserWebhooksResponse) ProtoMessage ¶ added in v0.25.1
func (*ListUserWebhooksResponse) ProtoMessage()
func (*ListUserWebhooksResponse) ProtoReflect ¶ added in v0.25.1
func (x *ListUserWebhooksResponse) ProtoReflect() protoreflect.Message
func (*ListUserWebhooksResponse) Reset ¶ added in v0.25.1
func (x *ListUserWebhooksResponse) Reset()
func (*ListUserWebhooksResponse) String ¶ added in v0.25.1
func (x *ListUserWebhooksResponse) String() string
type ListUsersRequest ¶
type ListUsersRequest struct {
// Optional. The maximum number of users to return.
// The service may return fewer than this value.
// If unspecified, at most 50 users will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListUsers` call.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter to apply to the list results.
// Example: "username == 'steven'"
// Supported operators: ==
// Supported fields: username
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. If true, show deleted users in the response.
ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetFilter ¶ added in v0.25.0
func (x *ListUsersRequest) GetFilter() string
func (*ListUsersRequest) GetPageSize ¶ added in v0.25.0
func (x *ListUsersRequest) GetPageSize() int32
func (*ListUsersRequest) GetPageToken ¶ added in v0.25.0
func (x *ListUsersRequest) GetPageToken() string
func (*ListUsersRequest) GetShowDeleted ¶ added in v0.25.0
func (x *ListUsersRequest) GetShowDeleted() bool
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct {
// The list of users.
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The total count of users (may be approximate).
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetNextPageToken ¶ added in v0.25.0
func (x *ListUsersResponse) GetNextPageToken() string
func (*ListUsersResponse) GetTotalSize ¶ added in v0.25.0
func (x *ListUsersResponse) GetTotalSize() int32
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type Location ¶ added in v0.23.0
type Location struct {
// A placeholder text for the location.
Placeholder string `protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
// The latitude of the location.
Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
// The longitude of the location.
Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
// contains filtered or unexported fields
}
func (*Location) Descriptor
deprecated
added in
v0.23.0
func (*Location) GetLatitude ¶ added in v0.23.0
func (*Location) GetLongitude ¶ added in v0.23.0
func (*Location) GetPlaceholder ¶ added in v0.23.0
func (*Location) ProtoMessage ¶ added in v0.23.0
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶ added in v0.23.0
func (x *Location) ProtoReflect() protoreflect.Message
type Memo ¶
type Memo struct {
// The resource name of the memo.
// Format: memos/{memo}, memo is the user defined id or uuid.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The state of the memo.
State State `protobuf:"varint,2,opt,name=state,proto3,enum=memos.api.v1.State" json:"state,omitempty"`
// The name of the creator.
// Format: users/{user}
Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
// The creation timestamp.
// If not set on creation, the server will set it to the current time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The last update timestamp.
// If not set on creation, the server will set it to the current time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The display timestamp of the memo.
DisplayTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"`
// Required. The content of the memo in Markdown format.
Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`
// The visibility of the memo.
Visibility Visibility `protobuf:"varint,9,opt,name=visibility,proto3,enum=memos.api.v1.Visibility" json:"visibility,omitempty"`
// Output only. The tags extracted from the content.
Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
// Whether the memo is pinned.
Pinned bool `protobuf:"varint,11,opt,name=pinned,proto3" json:"pinned,omitempty"`
// Optional. The attachments of the memo.
Attachments []*Attachment `protobuf:"bytes,12,rep,name=attachments,proto3" json:"attachments,omitempty"`
// Optional. The relations of the memo.
Relations []*MemoRelation `protobuf:"bytes,13,rep,name=relations,proto3" json:"relations,omitempty"`
// Output only. The reactions to the memo.
Reactions []*Reaction `protobuf:"bytes,14,rep,name=reactions,proto3" json:"reactions,omitempty"`
// Output only. The computed properties of the memo.
Property *Memo_Property `protobuf:"bytes,15,opt,name=property,proto3" json:"property,omitempty"`
// Output only. The name of the parent memo.
// Format: memos/{memo}
Parent *string `protobuf:"bytes,16,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
// Output only. The snippet of the memo content. Plain text only.
Snippet string `protobuf:"bytes,17,opt,name=snippet,proto3" json:"snippet,omitempty"`
// Optional. The location of the memo.
Location *Location `protobuf:"bytes,18,opt,name=location,proto3,oneof" json:"location,omitempty"`
// contains filtered or unexported fields
}
func (*Memo) Descriptor
deprecated
func (*Memo) GetAttachments ¶ added in v0.25.0
func (x *Memo) GetAttachments() []*Attachment
func (*Memo) GetContent ¶
func (*Memo) GetCreateTime ¶
func (x *Memo) GetCreateTime() *timestamppb.Timestamp
func (*Memo) GetCreator ¶
func (*Memo) GetDisplayTime ¶
func (x *Memo) GetDisplayTime() *timestamppb.Timestamp
func (*Memo) GetLocation ¶ added in v0.23.0
func (*Memo) GetProperty ¶ added in v0.22.1
func (x *Memo) GetProperty() *Memo_Property
func (*Memo) GetReactions ¶
func (*Memo) GetRelations ¶
func (x *Memo) GetRelations() []*MemoRelation
func (*Memo) GetSnippet ¶ added in v0.22.3
func (*Memo) GetUpdateTime ¶
func (x *Memo) GetUpdateTime() *timestamppb.Timestamp
func (*Memo) GetVisibility ¶
func (x *Memo) GetVisibility() Visibility
func (*Memo) ProtoMessage ¶
func (*Memo) ProtoMessage()
func (*Memo) ProtoReflect ¶
func (x *Memo) ProtoReflect() protoreflect.Message
type MemoRelation ¶
type MemoRelation struct {
// The memo in the relation.
Memo *MemoRelation_Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
// The related memo.
RelatedMemo *MemoRelation_Memo `protobuf:"bytes,2,opt,name=related_memo,json=relatedMemo,proto3" json:"related_memo,omitempty"`
Type MemoRelation_Type `protobuf:"varint,3,opt,name=type,proto3,enum=memos.api.v1.MemoRelation_Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*MemoRelation) Descriptor
deprecated
func (*MemoRelation) Descriptor() ([]byte, []int)
Deprecated: Use MemoRelation.ProtoReflect.Descriptor instead.
func (*MemoRelation) GetMemo ¶
func (x *MemoRelation) GetMemo() *MemoRelation_Memo
func (*MemoRelation) GetRelatedMemo ¶
func (x *MemoRelation) GetRelatedMemo() *MemoRelation_Memo
func (*MemoRelation) GetType ¶
func (x *MemoRelation) GetType() MemoRelation_Type
func (*MemoRelation) ProtoMessage ¶
func (*MemoRelation) ProtoMessage()
func (*MemoRelation) ProtoReflect ¶
func (x *MemoRelation) ProtoReflect() protoreflect.Message
func (*MemoRelation) Reset ¶
func (x *MemoRelation) Reset()
func (*MemoRelation) String ¶
func (x *MemoRelation) String() string
type MemoRelation_Memo ¶ added in v0.23.0
type MemoRelation_Memo struct {
// The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The snippet of the memo content. Plain text only.
Snippet string `protobuf:"bytes,2,opt,name=snippet,proto3" json:"snippet,omitempty"`
// contains filtered or unexported fields
}
Memo reference in relations.
func (*MemoRelation_Memo) Descriptor
deprecated
added in
v0.23.0
func (*MemoRelation_Memo) Descriptor() ([]byte, []int)
Deprecated: Use MemoRelation_Memo.ProtoReflect.Descriptor instead.
func (*MemoRelation_Memo) GetName ¶ added in v0.23.0
func (x *MemoRelation_Memo) GetName() string
func (*MemoRelation_Memo) GetSnippet ¶ added in v0.23.0
func (x *MemoRelation_Memo) GetSnippet() string
func (*MemoRelation_Memo) ProtoMessage ¶ added in v0.23.0
func (*MemoRelation_Memo) ProtoMessage()
func (*MemoRelation_Memo) ProtoReflect ¶ added in v0.23.0
func (x *MemoRelation_Memo) ProtoReflect() protoreflect.Message
func (*MemoRelation_Memo) Reset ¶ added in v0.23.0
func (x *MemoRelation_Memo) Reset()
func (*MemoRelation_Memo) String ¶ added in v0.23.0
func (x *MemoRelation_Memo) String() string
type MemoRelation_Type ¶
type MemoRelation_Type int32
The type of the relation.
const ( MemoRelation_TYPE_UNSPECIFIED MemoRelation_Type = 0 MemoRelation_REFERENCE MemoRelation_Type = 1 MemoRelation_COMMENT MemoRelation_Type = 2 )
func (MemoRelation_Type) Descriptor ¶
func (MemoRelation_Type) Descriptor() protoreflect.EnumDescriptor
func (MemoRelation_Type) Enum ¶
func (x MemoRelation_Type) Enum() *MemoRelation_Type
func (MemoRelation_Type) EnumDescriptor
deprecated
func (MemoRelation_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use MemoRelation_Type.Descriptor instead.
func (MemoRelation_Type) Number ¶
func (x MemoRelation_Type) Number() protoreflect.EnumNumber
func (MemoRelation_Type) String ¶
func (x MemoRelation_Type) String() string
func (MemoRelation_Type) Type ¶
func (MemoRelation_Type) Type() protoreflect.EnumType
type MemoServiceClient ¶
type MemoServiceClient interface {
// CreateMemo creates a memo.
CreateMemo(ctx context.Context, in *CreateMemoRequest, opts ...grpc.CallOption) (*Memo, error)
// ListMemos lists memos with pagination and filter.
ListMemos(ctx context.Context, in *ListMemosRequest, opts ...grpc.CallOption) (*ListMemosResponse, error)
// GetMemo gets a memo.
GetMemo(ctx context.Context, in *GetMemoRequest, opts ...grpc.CallOption) (*Memo, error)
// UpdateMemo updates a memo.
UpdateMemo(ctx context.Context, in *UpdateMemoRequest, opts ...grpc.CallOption) (*Memo, error)
// DeleteMemo deletes a memo.
DeleteMemo(ctx context.Context, in *DeleteMemoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// SetMemoAttachments sets attachments for a memo.
SetMemoAttachments(ctx context.Context, in *SetMemoAttachmentsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// ListMemoAttachments lists attachments for a memo.
ListMemoAttachments(ctx context.Context, in *ListMemoAttachmentsRequest, opts ...grpc.CallOption) (*ListMemoAttachmentsResponse, error)
// SetMemoRelations sets relations for a memo.
SetMemoRelations(ctx context.Context, in *SetMemoRelationsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// ListMemoRelations lists relations for a memo.
ListMemoRelations(ctx context.Context, in *ListMemoRelationsRequest, opts ...grpc.CallOption) (*ListMemoRelationsResponse, error)
// CreateMemoComment creates a comment for a memo.
CreateMemoComment(ctx context.Context, in *CreateMemoCommentRequest, opts ...grpc.CallOption) (*Memo, error)
// ListMemoComments lists comments for a memo.
ListMemoComments(ctx context.Context, in *ListMemoCommentsRequest, opts ...grpc.CallOption) (*ListMemoCommentsResponse, error)
// ListMemoReactions lists reactions for a memo.
ListMemoReactions(ctx context.Context, in *ListMemoReactionsRequest, opts ...grpc.CallOption) (*ListMemoReactionsResponse, error)
// UpsertMemoReaction upserts a reaction for a memo.
UpsertMemoReaction(ctx context.Context, in *UpsertMemoReactionRequest, opts ...grpc.CallOption) (*Reaction, error)
// DeleteMemoReaction deletes a reaction for a memo.
DeleteMemoReaction(ctx context.Context, in *DeleteMemoReactionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
MemoServiceClient is the client API for MemoService 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.
func NewMemoServiceClient ¶
func NewMemoServiceClient(cc grpc.ClientConnInterface) MemoServiceClient
type MemoServiceServer ¶
type MemoServiceServer interface {
// CreateMemo creates a memo.
CreateMemo(context.Context, *CreateMemoRequest) (*Memo, error)
// ListMemos lists memos with pagination and filter.
ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error)
// GetMemo gets a memo.
GetMemo(context.Context, *GetMemoRequest) (*Memo, error)
// UpdateMemo updates a memo.
UpdateMemo(context.Context, *UpdateMemoRequest) (*Memo, error)
// DeleteMemo deletes a memo.
DeleteMemo(context.Context, *DeleteMemoRequest) (*emptypb.Empty, error)
// SetMemoAttachments sets attachments for a memo.
SetMemoAttachments(context.Context, *SetMemoAttachmentsRequest) (*emptypb.Empty, error)
// ListMemoAttachments lists attachments for a memo.
ListMemoAttachments(context.Context, *ListMemoAttachmentsRequest) (*ListMemoAttachmentsResponse, error)
// SetMemoRelations sets relations for a memo.
SetMemoRelations(context.Context, *SetMemoRelationsRequest) (*emptypb.Empty, error)
// ListMemoRelations lists relations for a memo.
ListMemoRelations(context.Context, *ListMemoRelationsRequest) (*ListMemoRelationsResponse, error)
// CreateMemoComment creates a comment for a memo.
CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*Memo, error)
// ListMemoComments lists comments for a memo.
ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error)
// ListMemoReactions lists reactions for a memo.
ListMemoReactions(context.Context, *ListMemoReactionsRequest) (*ListMemoReactionsResponse, error)
// UpsertMemoReaction upserts a reaction for a memo.
UpsertMemoReaction(context.Context, *UpsertMemoReactionRequest) (*Reaction, error)
// DeleteMemoReaction deletes a reaction for a memo.
DeleteMemoReaction(context.Context, *DeleteMemoReactionRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
MemoServiceServer is the server API for MemoService service. All implementations must embed UnimplementedMemoServiceServer for forward compatibility.
type Memo_Property ¶ added in v0.24.1
type Memo_Property struct {
HasLink bool `protobuf:"varint,1,opt,name=has_link,json=hasLink,proto3" json:"has_link,omitempty"`
HasTaskList bool `protobuf:"varint,2,opt,name=has_task_list,json=hasTaskList,proto3" json:"has_task_list,omitempty"`
HasCode bool `protobuf:"varint,3,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty"`
HasIncompleteTasks bool `protobuf:"varint,4,opt,name=has_incomplete_tasks,json=hasIncompleteTasks,proto3" json:"has_incomplete_tasks,omitempty"`
// contains filtered or unexported fields
}
Computed properties of a memo.
func (*Memo_Property) Descriptor
deprecated
added in
v0.24.1
func (*Memo_Property) Descriptor() ([]byte, []int)
Deprecated: Use Memo_Property.ProtoReflect.Descriptor instead.
func (*Memo_Property) GetHasCode ¶ added in v0.24.1
func (x *Memo_Property) GetHasCode() bool
func (*Memo_Property) GetHasIncompleteTasks ¶ added in v0.24.1
func (x *Memo_Property) GetHasIncompleteTasks() bool
func (*Memo_Property) GetHasLink ¶ added in v0.24.1
func (x *Memo_Property) GetHasLink() bool
func (*Memo_Property) GetHasTaskList ¶ added in v0.24.1
func (x *Memo_Property) GetHasTaskList() bool
func (*Memo_Property) ProtoMessage ¶ added in v0.24.1
func (*Memo_Property) ProtoMessage()
func (*Memo_Property) ProtoReflect ¶ added in v0.24.1
func (x *Memo_Property) ProtoReflect() protoreflect.Message
func (*Memo_Property) Reset ¶ added in v0.24.1
func (x *Memo_Property) Reset()
func (*Memo_Property) String ¶ added in v0.24.1
func (x *Memo_Property) String() string
type OAuth2Config ¶
type OAuth2Config struct {
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
AuthUrl string `protobuf:"bytes,3,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"`
TokenUrl string `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
UserInfoUrl string `protobuf:"bytes,5,opt,name=user_info_url,json=userInfoUrl,proto3" json:"user_info_url,omitempty"`
Scopes []string `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
FieldMapping *FieldMapping `protobuf:"bytes,7,opt,name=field_mapping,json=fieldMapping,proto3" json:"field_mapping,omitempty"`
// contains filtered or unexported fields
}
func (*OAuth2Config) Descriptor
deprecated
func (*OAuth2Config) Descriptor() ([]byte, []int)
Deprecated: Use OAuth2Config.ProtoReflect.Descriptor instead.
func (*OAuth2Config) GetAuthUrl ¶
func (x *OAuth2Config) GetAuthUrl() string
func (*OAuth2Config) GetClientId ¶
func (x *OAuth2Config) GetClientId() string
func (*OAuth2Config) GetClientSecret ¶
func (x *OAuth2Config) GetClientSecret() string
func (*OAuth2Config) GetFieldMapping ¶
func (x *OAuth2Config) GetFieldMapping() *FieldMapping
func (*OAuth2Config) GetScopes ¶
func (x *OAuth2Config) GetScopes() []string
func (*OAuth2Config) GetTokenUrl ¶
func (x *OAuth2Config) GetTokenUrl() string
func (*OAuth2Config) GetUserInfoUrl ¶
func (x *OAuth2Config) GetUserInfoUrl() string
func (*OAuth2Config) ProtoMessage ¶
func (*OAuth2Config) ProtoMessage()
func (*OAuth2Config) ProtoReflect ¶
func (x *OAuth2Config) ProtoReflect() protoreflect.Message
func (*OAuth2Config) Reset ¶
func (x *OAuth2Config) Reset()
func (*OAuth2Config) String ¶
func (x *OAuth2Config) String() string
type PageToken ¶
type PageToken struct {
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
Used internally for obfuscating the page token.
func (*PageToken) Descriptor
deprecated
func (*PageToken) ProtoMessage ¶
func (*PageToken) ProtoMessage()
func (*PageToken) ProtoReflect ¶
func (x *PageToken) ProtoReflect() protoreflect.Message
type PersonalAccessToken ¶ added in v0.26.0
type PersonalAccessToken struct {
// The resource name of the personal access token.
// Format: users/{user}/personalAccessTokens/{personal_access_token}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The description of the token.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The creation timestamp.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Optional. The expiration timestamp.
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// Output only. The last used timestamp.
LastUsedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
// contains filtered or unexported fields
}
PersonalAccessToken represents a long-lived token for API/script access. PATs are distinct from short-lived JWT access tokens used for session authentication.
func (*PersonalAccessToken) Descriptor
deprecated
added in
v0.26.0
func (*PersonalAccessToken) Descriptor() ([]byte, []int)
Deprecated: Use PersonalAccessToken.ProtoReflect.Descriptor instead.
func (*PersonalAccessToken) GetCreatedAt ¶ added in v0.26.0
func (x *PersonalAccessToken) GetCreatedAt() *timestamppb.Timestamp
func (*PersonalAccessToken) GetDescription ¶ added in v0.26.0
func (x *PersonalAccessToken) GetDescription() string
func (*PersonalAccessToken) GetExpiresAt ¶ added in v0.26.0
func (x *PersonalAccessToken) GetExpiresAt() *timestamppb.Timestamp
func (*PersonalAccessToken) GetLastUsedAt ¶ added in v0.26.0
func (x *PersonalAccessToken) GetLastUsedAt() *timestamppb.Timestamp
func (*PersonalAccessToken) GetName ¶ added in v0.26.0
func (x *PersonalAccessToken) GetName() string
func (*PersonalAccessToken) ProtoMessage ¶ added in v0.26.0
func (*PersonalAccessToken) ProtoMessage()
func (*PersonalAccessToken) ProtoReflect ¶ added in v0.26.0
func (x *PersonalAccessToken) ProtoReflect() protoreflect.Message
func (*PersonalAccessToken) Reset ¶ added in v0.26.0
func (x *PersonalAccessToken) Reset()
func (*PersonalAccessToken) String ¶ added in v0.26.0
func (x *PersonalAccessToken) String() string
type Reaction ¶
type Reaction struct {
// The resource name of the reaction.
// Format: memos/{memo}/reactions/{reaction}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The resource name of the creator.
// Format: users/{user}
Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
// The resource name of the content.
// For memo reactions, this should be the memo's resource name.
// Format: memos/{memo}
ContentId string `protobuf:"bytes,3,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
// Required. The type of reaction (e.g., "👍", "❤️", "😄").
ReactionType string `protobuf:"bytes,4,opt,name=reaction_type,json=reactionType,proto3" json:"reaction_type,omitempty"`
// Output only. The creation timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// contains filtered or unexported fields
}
func (*Reaction) Descriptor
deprecated
func (*Reaction) GetContentId ¶
func (*Reaction) GetCreateTime ¶ added in v0.25.0
func (x *Reaction) GetCreateTime() *timestamppb.Timestamp
func (*Reaction) GetCreator ¶
func (*Reaction) GetReactionType ¶
func (*Reaction) ProtoMessage ¶
func (*Reaction) ProtoMessage()
func (*Reaction) ProtoReflect ¶
func (x *Reaction) ProtoReflect() protoreflect.Message
type RefreshTokenRequest ¶ added in v0.26.0
type RefreshTokenRequest struct {
// contains filtered or unexported fields
}
func (*RefreshTokenRequest) Descriptor
deprecated
added in
v0.26.0
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenRequest) ProtoMessage ¶ added in v0.26.0
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) ProtoReflect ¶ added in v0.26.0
func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshTokenRequest) Reset ¶ added in v0.26.0
func (x *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) String ¶ added in v0.26.0
func (x *RefreshTokenRequest) String() string
type RefreshTokenResponse ¶ added in v0.26.0
type RefreshTokenResponse struct {
// The new short-lived access token.
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
// When the access token expires.
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*RefreshTokenResponse) Descriptor
deprecated
added in
v0.26.0
func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.
func (*RefreshTokenResponse) GetAccessToken ¶ added in v0.26.0
func (x *RefreshTokenResponse) GetAccessToken() string
func (*RefreshTokenResponse) GetExpiresAt ¶ added in v0.26.0
func (x *RefreshTokenResponse) GetExpiresAt() *timestamppb.Timestamp
func (*RefreshTokenResponse) ProtoMessage ¶ added in v0.26.0
func (*RefreshTokenResponse) ProtoMessage()
func (*RefreshTokenResponse) ProtoReflect ¶ added in v0.26.0
func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
func (*RefreshTokenResponse) Reset ¶ added in v0.26.0
func (x *RefreshTokenResponse) Reset()
func (*RefreshTokenResponse) String ¶ added in v0.26.0
func (x *RefreshTokenResponse) String() string
type SetMemoAttachmentsRequest ¶ added in v0.25.0
type SetMemoAttachmentsRequest struct {
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The attachments to set for the memo.
Attachments []*Attachment `protobuf:"bytes,2,rep,name=attachments,proto3" json:"attachments,omitempty"`
// contains filtered or unexported fields
}
func (*SetMemoAttachmentsRequest) Descriptor
deprecated
added in
v0.25.0
func (*SetMemoAttachmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMemoAttachmentsRequest.ProtoReflect.Descriptor instead.
func (*SetMemoAttachmentsRequest) GetAttachments ¶ added in v0.25.0
func (x *SetMemoAttachmentsRequest) GetAttachments() []*Attachment
func (*SetMemoAttachmentsRequest) GetName ¶ added in v0.25.0
func (x *SetMemoAttachmentsRequest) GetName() string
func (*SetMemoAttachmentsRequest) ProtoMessage ¶ added in v0.25.0
func (*SetMemoAttachmentsRequest) ProtoMessage()
func (*SetMemoAttachmentsRequest) ProtoReflect ¶ added in v0.25.0
func (x *SetMemoAttachmentsRequest) ProtoReflect() protoreflect.Message
func (*SetMemoAttachmentsRequest) Reset ¶ added in v0.25.0
func (x *SetMemoAttachmentsRequest) Reset()
func (*SetMemoAttachmentsRequest) String ¶ added in v0.25.0
func (x *SetMemoAttachmentsRequest) String() string
type SetMemoRelationsRequest ¶
type SetMemoRelationsRequest struct {
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The relations to set for the memo.
Relations []*MemoRelation `protobuf:"bytes,2,rep,name=relations,proto3" json:"relations,omitempty"`
// contains filtered or unexported fields
}
func (*SetMemoRelationsRequest) Descriptor
deprecated
func (*SetMemoRelationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMemoRelationsRequest.ProtoReflect.Descriptor instead.
func (*SetMemoRelationsRequest) GetName ¶
func (x *SetMemoRelationsRequest) GetName() string
func (*SetMemoRelationsRequest) GetRelations ¶
func (x *SetMemoRelationsRequest) GetRelations() []*MemoRelation
func (*SetMemoRelationsRequest) ProtoMessage ¶
func (*SetMemoRelationsRequest) ProtoMessage()
func (*SetMemoRelationsRequest) ProtoReflect ¶
func (x *SetMemoRelationsRequest) ProtoReflect() protoreflect.Message
func (*SetMemoRelationsRequest) Reset ¶
func (x *SetMemoRelationsRequest) Reset()
func (*SetMemoRelationsRequest) String ¶
func (x *SetMemoRelationsRequest) String() string
type Shortcut ¶ added in v0.24.0
type Shortcut struct {
// The resource name of the shortcut.
// Format: users/{user}/shortcuts/{shortcut}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The title of the shortcut.
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
// The filter expression for the shortcut.
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*Shortcut) Descriptor
deprecated
added in
v0.24.0
func (*Shortcut) ProtoMessage ¶ added in v0.24.0
func (*Shortcut) ProtoMessage()
func (*Shortcut) ProtoReflect ¶ added in v0.24.0
func (x *Shortcut) ProtoReflect() protoreflect.Message
type ShortcutServiceClient ¶ added in v0.24.4
type ShortcutServiceClient interface {
// ListShortcuts returns a list of shortcuts for a user.
ListShortcuts(ctx context.Context, in *ListShortcutsRequest, opts ...grpc.CallOption) (*ListShortcutsResponse, error)
// GetShortcut gets a shortcut by name.
GetShortcut(ctx context.Context, in *GetShortcutRequest, opts ...grpc.CallOption) (*Shortcut, error)
// CreateShortcut creates a new shortcut for a user.
CreateShortcut(ctx context.Context, in *CreateShortcutRequest, opts ...grpc.CallOption) (*Shortcut, error)
// UpdateShortcut updates a shortcut for a user.
UpdateShortcut(ctx context.Context, in *UpdateShortcutRequest, opts ...grpc.CallOption) (*Shortcut, error)
// DeleteShortcut deletes a shortcut for a user.
DeleteShortcut(ctx context.Context, in *DeleteShortcutRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
ShortcutServiceClient is the client API for ShortcutService 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.
func NewShortcutServiceClient ¶ added in v0.24.4
func NewShortcutServiceClient(cc grpc.ClientConnInterface) ShortcutServiceClient
type ShortcutServiceServer ¶ added in v0.24.4
type ShortcutServiceServer interface {
// ListShortcuts returns a list of shortcuts for a user.
ListShortcuts(context.Context, *ListShortcutsRequest) (*ListShortcutsResponse, error)
// GetShortcut gets a shortcut by name.
GetShortcut(context.Context, *GetShortcutRequest) (*Shortcut, error)
// CreateShortcut creates a new shortcut for a user.
CreateShortcut(context.Context, *CreateShortcutRequest) (*Shortcut, error)
// UpdateShortcut updates a shortcut for a user.
UpdateShortcut(context.Context, *UpdateShortcutRequest) (*Shortcut, error)
// DeleteShortcut deletes a shortcut for a user.
DeleteShortcut(context.Context, *DeleteShortcutRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
ShortcutServiceServer is the server API for ShortcutService service. All implementations must embed UnimplementedShortcutServiceServer for forward compatibility.
type SignInRequest ¶
type SignInRequest struct {
// Authentication credentials. Provide one method.
//
// Types that are valid to be assigned to Credentials:
//
// *SignInRequest_PasswordCredentials_
// *SignInRequest_SsoCredentials
Credentials isSignInRequest_Credentials `protobuf_oneof:"credentials"`
// contains filtered or unexported fields
}
func (*SignInRequest) Descriptor
deprecated
func (*SignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
func (*SignInRequest) GetCredentials ¶ added in v0.26.0
func (x *SignInRequest) GetCredentials() isSignInRequest_Credentials
func (*SignInRequest) GetPasswordCredentials ¶ added in v0.24.4
func (x *SignInRequest) GetPasswordCredentials() *SignInRequest_PasswordCredentials
func (*SignInRequest) GetSsoCredentials ¶ added in v0.24.4
func (x *SignInRequest) GetSsoCredentials() *SignInRequest_SSOCredentials
func (*SignInRequest) ProtoMessage ¶
func (*SignInRequest) ProtoMessage()
func (*SignInRequest) ProtoReflect ¶
func (x *SignInRequest) ProtoReflect() protoreflect.Message
func (*SignInRequest) Reset ¶
func (x *SignInRequest) Reset()
func (*SignInRequest) String ¶
func (x *SignInRequest) String() string
type SignInRequest_PasswordCredentials ¶ added in v0.24.4
type SignInRequest_PasswordCredentials struct {
// The username to sign in with.
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
// The password to sign in with.
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
Nested message for password-based authentication credentials.
func (*SignInRequest_PasswordCredentials) Descriptor
deprecated
added in
v0.26.0
func (*SignInRequest_PasswordCredentials) Descriptor() ([]byte, []int)
Deprecated: Use SignInRequest_PasswordCredentials.ProtoReflect.Descriptor instead.
func (*SignInRequest_PasswordCredentials) GetPassword ¶ added in v0.26.0
func (x *SignInRequest_PasswordCredentials) GetPassword() string
func (*SignInRequest_PasswordCredentials) GetUsername ¶ added in v0.26.0
func (x *SignInRequest_PasswordCredentials) GetUsername() string
func (*SignInRequest_PasswordCredentials) ProtoMessage ¶ added in v0.26.0
func (*SignInRequest_PasswordCredentials) ProtoMessage()
func (*SignInRequest_PasswordCredentials) ProtoReflect ¶ added in v0.26.0
func (x *SignInRequest_PasswordCredentials) ProtoReflect() protoreflect.Message
func (*SignInRequest_PasswordCredentials) Reset ¶ added in v0.26.0
func (x *SignInRequest_PasswordCredentials) Reset()
func (*SignInRequest_PasswordCredentials) String ¶ added in v0.26.0
func (x *SignInRequest_PasswordCredentials) String() string
type SignInRequest_PasswordCredentials_ ¶ added in v0.26.0
type SignInRequest_PasswordCredentials_ struct {
// Username and password authentication.
PasswordCredentials *SignInRequest_PasswordCredentials `protobuf:"bytes,1,opt,name=password_credentials,json=passwordCredentials,proto3,oneof"`
}
type SignInRequest_SSOCredentials ¶ added in v0.26.0
type SignInRequest_SSOCredentials struct {
// The ID of the SSO provider.
IdpId int32 `protobuf:"varint,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"`
// The authorization code from the SSO provider.
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
// The redirect URI used in the SSO flow.
RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
// The PKCE code verifier for enhanced security (RFC 7636).
// Optional - enables PKCE flow protection against authorization code interception.
CodeVerifier string `protobuf:"bytes,4,opt,name=code_verifier,json=codeVerifier,proto3" json:"code_verifier,omitempty"`
// contains filtered or unexported fields
}
Nested message for SSO authentication credentials.
func (*SignInRequest_SSOCredentials) Descriptor
deprecated
added in
v0.26.0
func (*SignInRequest_SSOCredentials) Descriptor() ([]byte, []int)
Deprecated: Use SignInRequest_SSOCredentials.ProtoReflect.Descriptor instead.
func (*SignInRequest_SSOCredentials) GetCode ¶ added in v0.26.0
func (x *SignInRequest_SSOCredentials) GetCode() string
func (*SignInRequest_SSOCredentials) GetCodeVerifier ¶ added in v0.26.0
func (x *SignInRequest_SSOCredentials) GetCodeVerifier() string
func (*SignInRequest_SSOCredentials) GetIdpId ¶ added in v0.26.0
func (x *SignInRequest_SSOCredentials) GetIdpId() int32
func (*SignInRequest_SSOCredentials) GetRedirectUri ¶ added in v0.26.0
func (x *SignInRequest_SSOCredentials) GetRedirectUri() string
func (*SignInRequest_SSOCredentials) ProtoMessage ¶ added in v0.26.0
func (*SignInRequest_SSOCredentials) ProtoMessage()
func (*SignInRequest_SSOCredentials) ProtoReflect ¶ added in v0.26.0
func (x *SignInRequest_SSOCredentials) ProtoReflect() protoreflect.Message
func (*SignInRequest_SSOCredentials) Reset ¶ added in v0.26.0
func (x *SignInRequest_SSOCredentials) Reset()
func (*SignInRequest_SSOCredentials) String ¶ added in v0.26.0
func (x *SignInRequest_SSOCredentials) String() string
type SignInRequest_SsoCredentials ¶ added in v0.24.4
type SignInRequest_SsoCredentials struct {
// SSO provider authentication.
SsoCredentials *SignInRequest_SSOCredentials `protobuf:"bytes,2,opt,name=sso_credentials,json=ssoCredentials,proto3,oneof"`
}
type SignInResponse ¶ added in v0.26.0
type SignInResponse struct {
// The authenticated user's information.
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// The short-lived access token for API requests.
// Store in memory only, not in localStorage.
AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
// When the access token expires.
// Client should call RefreshToken before this time.
AccessTokenExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=access_token_expires_at,json=accessTokenExpiresAt,proto3" json:"access_token_expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*SignInResponse) Descriptor
deprecated
added in
v0.26.0
func (*SignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.
func (*SignInResponse) GetAccessToken ¶ added in v0.26.0
func (x *SignInResponse) GetAccessToken() string
func (*SignInResponse) GetAccessTokenExpiresAt ¶ added in v0.26.0
func (x *SignInResponse) GetAccessTokenExpiresAt() *timestamppb.Timestamp
func (*SignInResponse) GetUser ¶ added in v0.26.0
func (x *SignInResponse) GetUser() *User
func (*SignInResponse) ProtoMessage ¶ added in v0.26.0
func (*SignInResponse) ProtoMessage()
func (*SignInResponse) ProtoReflect ¶ added in v0.26.0
func (x *SignInResponse) ProtoReflect() protoreflect.Message
func (*SignInResponse) Reset ¶ added in v0.26.0
func (x *SignInResponse) Reset()
func (*SignInResponse) String ¶ added in v0.26.0
func (x *SignInResponse) String() string
type SignOutRequest ¶
type SignOutRequest struct {
// contains filtered or unexported fields
}
func (*SignOutRequest) Descriptor
deprecated
func (*SignOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignOutRequest.ProtoReflect.Descriptor instead.
func (*SignOutRequest) ProtoMessage ¶
func (*SignOutRequest) ProtoMessage()
func (*SignOutRequest) ProtoReflect ¶
func (x *SignOutRequest) ProtoReflect() protoreflect.Message
func (*SignOutRequest) Reset ¶
func (x *SignOutRequest) Reset()
func (*SignOutRequest) String ¶
func (x *SignOutRequest) String() string
type State ¶ added in v0.23.1
type State int32
func (State) Descriptor ¶ added in v0.23.1
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
added in
v0.23.1
func (State) Number ¶ added in v0.23.1
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶ added in v0.23.1
func (State) Type() protoreflect.EnumType
type UnimplementedActivityServiceServer ¶
type UnimplementedActivityServiceServer struct{}
UnimplementedActivityServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedActivityServiceServer) GetActivity ¶
func (UnimplementedActivityServiceServer) GetActivity(context.Context, *GetActivityRequest) (*Activity, error)
func (UnimplementedActivityServiceServer) ListActivities ¶ added in v0.25.0
func (UnimplementedActivityServiceServer) ListActivities(context.Context, *ListActivitiesRequest) (*ListActivitiesResponse, error)
type UnimplementedAttachmentServiceServer ¶ added in v0.25.0
type UnimplementedAttachmentServiceServer struct{}
UnimplementedAttachmentServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAttachmentServiceServer) CreateAttachment ¶ added in v0.25.0
func (UnimplementedAttachmentServiceServer) CreateAttachment(context.Context, *CreateAttachmentRequest) (*Attachment, error)
func (UnimplementedAttachmentServiceServer) DeleteAttachment ¶ added in v0.25.0
func (UnimplementedAttachmentServiceServer) DeleteAttachment(context.Context, *DeleteAttachmentRequest) (*emptypb.Empty, error)
func (UnimplementedAttachmentServiceServer) GetAttachment ¶ added in v0.25.0
func (UnimplementedAttachmentServiceServer) GetAttachment(context.Context, *GetAttachmentRequest) (*Attachment, error)
func (UnimplementedAttachmentServiceServer) ListAttachments ¶ added in v0.25.0
func (UnimplementedAttachmentServiceServer) ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)
func (UnimplementedAttachmentServiceServer) UpdateAttachment ¶ added in v0.25.0
func (UnimplementedAttachmentServiceServer) UpdateAttachment(context.Context, *UpdateAttachmentRequest) (*Attachment, error)
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct{}
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAuthServiceServer) GetCurrentUser ¶ added in v0.26.0
func (UnimplementedAuthServiceServer) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserResponse, error)
func (UnimplementedAuthServiceServer) RefreshToken ¶ added in v0.26.0
func (UnimplementedAuthServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
func (UnimplementedAuthServiceServer) SignIn ¶
func (UnimplementedAuthServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
func (UnimplementedAuthServiceServer) SignOut ¶
func (UnimplementedAuthServiceServer) SignOut(context.Context, *SignOutRequest) (*emptypb.Empty, error)
type UnimplementedIdentityProviderServiceServer ¶
type UnimplementedIdentityProviderServiceServer struct{}
UnimplementedIdentityProviderServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedIdentityProviderServiceServer) CreateIdentityProvider ¶
func (UnimplementedIdentityProviderServiceServer) CreateIdentityProvider(context.Context, *CreateIdentityProviderRequest) (*IdentityProvider, error)
func (UnimplementedIdentityProviderServiceServer) DeleteIdentityProvider ¶
func (UnimplementedIdentityProviderServiceServer) DeleteIdentityProvider(context.Context, *DeleteIdentityProviderRequest) (*emptypb.Empty, error)
func (UnimplementedIdentityProviderServiceServer) GetIdentityProvider ¶
func (UnimplementedIdentityProviderServiceServer) GetIdentityProvider(context.Context, *GetIdentityProviderRequest) (*IdentityProvider, error)
func (UnimplementedIdentityProviderServiceServer) ListIdentityProviders ¶
func (UnimplementedIdentityProviderServiceServer) ListIdentityProviders(context.Context, *ListIdentityProvidersRequest) (*ListIdentityProvidersResponse, error)
func (UnimplementedIdentityProviderServiceServer) UpdateIdentityProvider ¶
func (UnimplementedIdentityProviderServiceServer) UpdateIdentityProvider(context.Context, *UpdateIdentityProviderRequest) (*IdentityProvider, error)
type UnimplementedInstanceServiceServer ¶ added in v0.25.3
type UnimplementedInstanceServiceServer struct{}
UnimplementedInstanceServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedInstanceServiceServer) GetInstanceProfile ¶ added in v0.25.3
func (UnimplementedInstanceServiceServer) GetInstanceProfile(context.Context, *GetInstanceProfileRequest) (*InstanceProfile, error)
func (UnimplementedInstanceServiceServer) GetInstanceSetting ¶ added in v0.25.3
func (UnimplementedInstanceServiceServer) GetInstanceSetting(context.Context, *GetInstanceSettingRequest) (*InstanceSetting, error)
func (UnimplementedInstanceServiceServer) UpdateInstanceSetting ¶ added in v0.25.3
func (UnimplementedInstanceServiceServer) UpdateInstanceSetting(context.Context, *UpdateInstanceSettingRequest) (*InstanceSetting, error)
type UnimplementedMemoServiceServer ¶
type UnimplementedMemoServiceServer struct{}
UnimplementedMemoServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMemoServiceServer) CreateMemo ¶
func (UnimplementedMemoServiceServer) CreateMemo(context.Context, *CreateMemoRequest) (*Memo, error)
func (UnimplementedMemoServiceServer) CreateMemoComment ¶
func (UnimplementedMemoServiceServer) CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*Memo, error)
func (UnimplementedMemoServiceServer) DeleteMemo ¶
func (UnimplementedMemoServiceServer) DeleteMemo(context.Context, *DeleteMemoRequest) (*emptypb.Empty, error)
func (UnimplementedMemoServiceServer) DeleteMemoReaction ¶
func (UnimplementedMemoServiceServer) DeleteMemoReaction(context.Context, *DeleteMemoReactionRequest) (*emptypb.Empty, error)
func (UnimplementedMemoServiceServer) GetMemo ¶
func (UnimplementedMemoServiceServer) GetMemo(context.Context, *GetMemoRequest) (*Memo, error)
func (UnimplementedMemoServiceServer) ListMemoAttachments ¶ added in v0.25.0
func (UnimplementedMemoServiceServer) ListMemoAttachments(context.Context, *ListMemoAttachmentsRequest) (*ListMemoAttachmentsResponse, error)
func (UnimplementedMemoServiceServer) ListMemoComments ¶
func (UnimplementedMemoServiceServer) ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error)
func (UnimplementedMemoServiceServer) ListMemoReactions ¶
func (UnimplementedMemoServiceServer) ListMemoReactions(context.Context, *ListMemoReactionsRequest) (*ListMemoReactionsResponse, error)
func (UnimplementedMemoServiceServer) ListMemoRelations ¶
func (UnimplementedMemoServiceServer) ListMemoRelations(context.Context, *ListMemoRelationsRequest) (*ListMemoRelationsResponse, error)
func (UnimplementedMemoServiceServer) ListMemos ¶
func (UnimplementedMemoServiceServer) ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error)
func (UnimplementedMemoServiceServer) SetMemoAttachments ¶ added in v0.25.0
func (UnimplementedMemoServiceServer) SetMemoAttachments(context.Context, *SetMemoAttachmentsRequest) (*emptypb.Empty, error)
func (UnimplementedMemoServiceServer) SetMemoRelations ¶
func (UnimplementedMemoServiceServer) SetMemoRelations(context.Context, *SetMemoRelationsRequest) (*emptypb.Empty, error)
func (UnimplementedMemoServiceServer) UpdateMemo ¶
func (UnimplementedMemoServiceServer) UpdateMemo(context.Context, *UpdateMemoRequest) (*Memo, error)
func (UnimplementedMemoServiceServer) UpsertMemoReaction ¶
func (UnimplementedMemoServiceServer) UpsertMemoReaction(context.Context, *UpsertMemoReactionRequest) (*Reaction, error)
type UnimplementedShortcutServiceServer ¶ added in v0.24.4
type UnimplementedShortcutServiceServer struct{}
UnimplementedShortcutServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedShortcutServiceServer) CreateShortcut ¶ added in v0.24.4
func (UnimplementedShortcutServiceServer) CreateShortcut(context.Context, *CreateShortcutRequest) (*Shortcut, error)
func (UnimplementedShortcutServiceServer) DeleteShortcut ¶ added in v0.24.4
func (UnimplementedShortcutServiceServer) DeleteShortcut(context.Context, *DeleteShortcutRequest) (*emptypb.Empty, error)
func (UnimplementedShortcutServiceServer) GetShortcut ¶ added in v0.25.0
func (UnimplementedShortcutServiceServer) GetShortcut(context.Context, *GetShortcutRequest) (*Shortcut, error)
func (UnimplementedShortcutServiceServer) ListShortcuts ¶ added in v0.24.4
func (UnimplementedShortcutServiceServer) ListShortcuts(context.Context, *ListShortcutsRequest) (*ListShortcutsResponse, error)
func (UnimplementedShortcutServiceServer) UpdateShortcut ¶ added in v0.24.4
func (UnimplementedShortcutServiceServer) UpdateShortcut(context.Context, *UpdateShortcutRequest) (*Shortcut, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct{}
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedUserServiceServer) CreatePersonalAccessToken ¶ added in v0.26.0
func (UnimplementedUserServiceServer) CreatePersonalAccessToken(context.Context, *CreatePersonalAccessTokenRequest) (*CreatePersonalAccessTokenResponse, error)
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*User, error)
func (UnimplementedUserServiceServer) CreateUserWebhook ¶ added in v0.25.1
func (UnimplementedUserServiceServer) CreateUserWebhook(context.Context, *CreateUserWebhookRequest) (*UserWebhook, error)
func (UnimplementedUserServiceServer) DeletePersonalAccessToken ¶ added in v0.26.0
func (UnimplementedUserServiceServer) DeletePersonalAccessToken(context.Context, *DeletePersonalAccessTokenRequest) (*emptypb.Empty, error)
func (UnimplementedUserServiceServer) DeleteUser ¶
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
func (UnimplementedUserServiceServer) DeleteUserNotification ¶ added in v0.25.3
func (UnimplementedUserServiceServer) DeleteUserNotification(context.Context, *DeleteUserNotificationRequest) (*emptypb.Empty, error)
func (UnimplementedUserServiceServer) DeleteUserWebhook ¶ added in v0.25.1
func (UnimplementedUserServiceServer) DeleteUserWebhook(context.Context, *DeleteUserWebhookRequest) (*emptypb.Empty, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*User, error)
func (UnimplementedUserServiceServer) GetUserSetting ¶
func (UnimplementedUserServiceServer) GetUserSetting(context.Context, *GetUserSettingRequest) (*UserSetting, error)
func (UnimplementedUserServiceServer) GetUserStats ¶ added in v0.23.1
func (UnimplementedUserServiceServer) GetUserStats(context.Context, *GetUserStatsRequest) (*UserStats, error)
func (UnimplementedUserServiceServer) ListAllUserStats ¶ added in v0.23.1
func (UnimplementedUserServiceServer) ListAllUserStats(context.Context, *ListAllUserStatsRequest) (*ListAllUserStatsResponse, error)
func (UnimplementedUserServiceServer) ListPersonalAccessTokens ¶ added in v0.26.0
func (UnimplementedUserServiceServer) ListPersonalAccessTokens(context.Context, *ListPersonalAccessTokensRequest) (*ListPersonalAccessTokensResponse, error)
func (UnimplementedUserServiceServer) ListUserNotifications ¶ added in v0.25.3
func (UnimplementedUserServiceServer) ListUserNotifications(context.Context, *ListUserNotificationsRequest) (*ListUserNotificationsResponse, error)
func (UnimplementedUserServiceServer) ListUserSettings ¶ added in v0.25.1
func (UnimplementedUserServiceServer) ListUserSettings(context.Context, *ListUserSettingsRequest) (*ListUserSettingsResponse, error)
func (UnimplementedUserServiceServer) ListUserWebhooks ¶ added in v0.25.1
func (UnimplementedUserServiceServer) ListUserWebhooks(context.Context, *ListUserWebhooksRequest) (*ListUserWebhooksResponse, error)
func (UnimplementedUserServiceServer) ListUsers ¶
func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedUserServiceServer) UpdateUser ¶
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
func (UnimplementedUserServiceServer) UpdateUserNotification ¶ added in v0.25.3
func (UnimplementedUserServiceServer) UpdateUserNotification(context.Context, *UpdateUserNotificationRequest) (*UserNotification, error)
func (UnimplementedUserServiceServer) UpdateUserSetting ¶
func (UnimplementedUserServiceServer) UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UserSetting, error)
func (UnimplementedUserServiceServer) UpdateUserWebhook ¶ added in v0.25.1
func (UnimplementedUserServiceServer) UpdateUserWebhook(context.Context, *UpdateUserWebhookRequest) (*UserWebhook, error)
type UnsafeActivityServiceServer ¶
type UnsafeActivityServiceServer interface {
// contains filtered or unexported methods
}
UnsafeActivityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActivityServiceServer will result in compilation errors.
type UnsafeAttachmentServiceServer ¶ added in v0.25.0
type UnsafeAttachmentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAttachmentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AttachmentServiceServer will result in compilation errors.
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeIdentityProviderServiceServer ¶
type UnsafeIdentityProviderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIdentityProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentityProviderServiceServer will result in compilation errors.
type UnsafeInstanceServiceServer ¶ added in v0.25.3
type UnsafeInstanceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInstanceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InstanceServiceServer will result in compilation errors.
type UnsafeMemoServiceServer ¶
type UnsafeMemoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMemoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MemoServiceServer will result in compilation errors.
type UnsafeShortcutServiceServer ¶ added in v0.24.4
type UnsafeShortcutServiceServer interface {
// contains filtered or unexported methods
}
UnsafeShortcutServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShortcutServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateAttachmentRequest ¶ added in v0.25.0
type UpdateAttachmentRequest struct {
// Required. The attachment which replaces the attachment on the server.
Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"`
// Required. 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 (*UpdateAttachmentRequest) Descriptor
deprecated
added in
v0.25.0
func (*UpdateAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttachmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateAttachmentRequest) GetAttachment ¶ added in v0.25.0
func (x *UpdateAttachmentRequest) GetAttachment() *Attachment
func (*UpdateAttachmentRequest) GetUpdateMask ¶ added in v0.25.0
func (x *UpdateAttachmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAttachmentRequest) ProtoMessage ¶ added in v0.25.0
func (*UpdateAttachmentRequest) ProtoMessage()
func (*UpdateAttachmentRequest) ProtoReflect ¶ added in v0.25.0
func (x *UpdateAttachmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateAttachmentRequest) Reset ¶ added in v0.25.0
func (x *UpdateAttachmentRequest) Reset()
func (*UpdateAttachmentRequest) String ¶ added in v0.25.0
func (x *UpdateAttachmentRequest) String() string
type UpdateIdentityProviderRequest ¶
type UpdateIdentityProviderRequest struct {
// Required. The identity provider to update.
IdentityProvider *IdentityProvider `protobuf:"bytes,1,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"`
// Required. The update mask applies to the resource. Only the top level fields of
// IdentityProvider are supported.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateIdentityProviderRequest) Descriptor
deprecated
func (*UpdateIdentityProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIdentityProviderRequest.ProtoReflect.Descriptor instead.
func (*UpdateIdentityProviderRequest) GetIdentityProvider ¶
func (x *UpdateIdentityProviderRequest) GetIdentityProvider() *IdentityProvider
func (*UpdateIdentityProviderRequest) GetUpdateMask ¶
func (x *UpdateIdentityProviderRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIdentityProviderRequest) ProtoMessage ¶
func (*UpdateIdentityProviderRequest) ProtoMessage()
func (*UpdateIdentityProviderRequest) ProtoReflect ¶
func (x *UpdateIdentityProviderRequest) ProtoReflect() protoreflect.Message
func (*UpdateIdentityProviderRequest) Reset ¶
func (x *UpdateIdentityProviderRequest) Reset()
func (*UpdateIdentityProviderRequest) String ¶
func (x *UpdateIdentityProviderRequest) String() string
type UpdateInstanceSettingRequest ¶ added in v0.25.3
type UpdateInstanceSettingRequest struct {
// The instance setting resource which replaces the resource on the server.
Setting *InstanceSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,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
}
Request message for UpdateInstanceSetting method.
func (*UpdateInstanceSettingRequest) Descriptor
deprecated
added in
v0.25.3
func (*UpdateInstanceSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstanceSettingRequest.ProtoReflect.Descriptor instead.
func (*UpdateInstanceSettingRequest) GetSetting ¶ added in v0.25.3
func (x *UpdateInstanceSettingRequest) GetSetting() *InstanceSetting
func (*UpdateInstanceSettingRequest) GetUpdateMask ¶ added in v0.25.3
func (x *UpdateInstanceSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInstanceSettingRequest) ProtoMessage ¶ added in v0.25.3
func (*UpdateInstanceSettingRequest) ProtoMessage()
func (*UpdateInstanceSettingRequest) ProtoReflect ¶ added in v0.25.3
func (x *UpdateInstanceSettingRequest) ProtoReflect() protoreflect.Message
func (*UpdateInstanceSettingRequest) Reset ¶ added in v0.25.3
func (x *UpdateInstanceSettingRequest) Reset()
func (*UpdateInstanceSettingRequest) String ¶ added in v0.25.3
func (x *UpdateInstanceSettingRequest) String() string
type UpdateMemoRequest ¶
type UpdateMemoRequest struct {
// Required. The memo to update.
// The `name` field is required.
Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
// Required. 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 (*UpdateMemoRequest) Descriptor
deprecated
func (*UpdateMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMemoRequest.ProtoReflect.Descriptor instead.
func (*UpdateMemoRequest) GetMemo ¶
func (x *UpdateMemoRequest) GetMemo() *Memo
func (*UpdateMemoRequest) GetUpdateMask ¶
func (x *UpdateMemoRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateMemoRequest) ProtoMessage ¶
func (*UpdateMemoRequest) ProtoMessage()
func (*UpdateMemoRequest) ProtoReflect ¶
func (x *UpdateMemoRequest) ProtoReflect() protoreflect.Message
func (*UpdateMemoRequest) Reset ¶
func (x *UpdateMemoRequest) Reset()
func (*UpdateMemoRequest) String ¶
func (x *UpdateMemoRequest) String() string
type UpdateShortcutRequest ¶ added in v0.24.0
type UpdateShortcutRequest struct {
// Required. The shortcut resource which replaces the resource on the server.
Shortcut *Shortcut `protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty"`
// Optional. 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 (*UpdateShortcutRequest) Descriptor
deprecated
added in
v0.24.0
func (*UpdateShortcutRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateShortcutRequest.ProtoReflect.Descriptor instead.
func (*UpdateShortcutRequest) GetShortcut ¶ added in v0.24.0
func (x *UpdateShortcutRequest) GetShortcut() *Shortcut
func (*UpdateShortcutRequest) GetUpdateMask ¶ added in v0.24.0
func (x *UpdateShortcutRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateShortcutRequest) ProtoMessage ¶ added in v0.24.0
func (*UpdateShortcutRequest) ProtoMessage()
func (*UpdateShortcutRequest) ProtoReflect ¶ added in v0.24.0
func (x *UpdateShortcutRequest) ProtoReflect() protoreflect.Message
func (*UpdateShortcutRequest) Reset ¶ added in v0.24.0
func (x *UpdateShortcutRequest) Reset()
func (*UpdateShortcutRequest) String ¶ added in v0.24.0
func (x *UpdateShortcutRequest) String() string
type UpdateUserNotificationRequest ¶ added in v0.25.3
type UpdateUserNotificationRequest struct {
Notification *UserNotification `protobuf:"bytes,1,opt,name=notification,proto3" json:"notification,omitempty"`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUserNotificationRequest) Descriptor
deprecated
added in
v0.25.3
func (*UpdateUserNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserNotificationRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserNotificationRequest) GetNotification ¶ added in v0.25.3
func (x *UpdateUserNotificationRequest) GetNotification() *UserNotification
func (*UpdateUserNotificationRequest) GetUpdateMask ¶ added in v0.25.3
func (x *UpdateUserNotificationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserNotificationRequest) ProtoMessage ¶ added in v0.25.3
func (*UpdateUserNotificationRequest) ProtoMessage()
func (*UpdateUserNotificationRequest) ProtoReflect ¶ added in v0.25.3
func (x *UpdateUserNotificationRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserNotificationRequest) Reset ¶ added in v0.25.3
func (x *UpdateUserNotificationRequest) Reset()
func (*UpdateUserNotificationRequest) String ¶ added in v0.25.3
func (x *UpdateUserNotificationRequest) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct {
// Required. The user to update.
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// Required. The list of fields to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If set to true, allows updating sensitive fields.
AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAllowMissing ¶ added in v0.25.0
func (x *UpdateUserRequest) GetAllowMissing() bool
func (*UpdateUserRequest) GetUpdateMask ¶
func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserRequest) GetUser ¶
func (x *UpdateUserRequest) GetUser() *User
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserSettingRequest ¶
type UpdateUserSettingRequest struct {
// Required. The user setting to update.
Setting *UserSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
// Required. 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 (*UpdateUserSettingRequest) Descriptor
deprecated
func (*UpdateUserSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserSettingRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserSettingRequest) GetSetting ¶
func (x *UpdateUserSettingRequest) GetSetting() *UserSetting
func (*UpdateUserSettingRequest) GetUpdateMask ¶
func (x *UpdateUserSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserSettingRequest) ProtoMessage ¶
func (*UpdateUserSettingRequest) ProtoMessage()
func (*UpdateUserSettingRequest) ProtoReflect ¶
func (x *UpdateUserSettingRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserSettingRequest) Reset ¶
func (x *UpdateUserSettingRequest) Reset()
func (*UpdateUserSettingRequest) String ¶
func (x *UpdateUserSettingRequest) String() string
type UpdateUserWebhookRequest ¶ added in v0.25.1
type UpdateUserWebhookRequest struct {
// The webhook to update.
Webhook *UserWebhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,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 (*UpdateUserWebhookRequest) Descriptor
deprecated
added in
v0.25.1
func (*UpdateUserWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserWebhookRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserWebhookRequest) GetUpdateMask ¶ added in v0.25.1
func (x *UpdateUserWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserWebhookRequest) GetWebhook ¶ added in v0.25.1
func (x *UpdateUserWebhookRequest) GetWebhook() *UserWebhook
func (*UpdateUserWebhookRequest) ProtoMessage ¶ added in v0.25.1
func (*UpdateUserWebhookRequest) ProtoMessage()
func (*UpdateUserWebhookRequest) ProtoReflect ¶ added in v0.25.1
func (x *UpdateUserWebhookRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserWebhookRequest) Reset ¶ added in v0.25.1
func (x *UpdateUserWebhookRequest) Reset()
func (*UpdateUserWebhookRequest) String ¶ added in v0.25.1
func (x *UpdateUserWebhookRequest) String() string
type UpsertMemoReactionRequest ¶
type UpsertMemoReactionRequest struct {
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The reaction to upsert.
Reaction *Reaction `protobuf:"bytes,2,opt,name=reaction,proto3" json:"reaction,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertMemoReactionRequest) Descriptor
deprecated
func (*UpsertMemoReactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertMemoReactionRequest.ProtoReflect.Descriptor instead.
func (*UpsertMemoReactionRequest) GetName ¶
func (x *UpsertMemoReactionRequest) GetName() string
func (*UpsertMemoReactionRequest) GetReaction ¶
func (x *UpsertMemoReactionRequest) GetReaction() *Reaction
func (*UpsertMemoReactionRequest) ProtoMessage ¶
func (*UpsertMemoReactionRequest) ProtoMessage()
func (*UpsertMemoReactionRequest) ProtoReflect ¶
func (x *UpsertMemoReactionRequest) ProtoReflect() protoreflect.Message
func (*UpsertMemoReactionRequest) Reset ¶
func (x *UpsertMemoReactionRequest) Reset()
func (*UpsertMemoReactionRequest) String ¶
func (x *UpsertMemoReactionRequest) String() string
type User ¶
type User struct {
// The resource name of the user.
// Format: users/{user}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The role of the user.
Role User_Role `protobuf:"varint,2,opt,name=role,proto3,enum=memos.api.v1.User_Role" json:"role,omitempty"`
// Required. The unique username for login.
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
// Optional. The email address of the user.
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
// Optional. The display name of the user.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. The avatar URL of the user.
AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
// Optional. The description of the user.
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
// Input only. The password for the user.
Password string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
// The state of the user.
State State `protobuf:"varint,9,opt,name=state,proto3,enum=memos.api.v1.State" json:"state,omitempty"`
// Output only. The creation timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The last update timestamp.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
func (*User) Descriptor
deprecated
func (*User) GetAvatarUrl ¶
func (*User) GetCreateTime ¶
func (x *User) GetCreateTime() *timestamppb.Timestamp
func (*User) GetDescription ¶
func (*User) GetDisplayName ¶ added in v0.25.0
func (*User) GetPassword ¶
func (*User) GetUpdateTime ¶
func (x *User) GetUpdateTime() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserNotification ¶ added in v0.25.3
type UserNotification struct {
// The resource name of the notification.
// Format: users/{user}/notifications/{notification}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The sender of the notification.
// Format: users/{user}
Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
// The status of the notification.
Status UserNotification_Status `protobuf:"varint,3,opt,name=status,proto3,enum=memos.api.v1.UserNotification_Status" json:"status,omitempty"`
// The creation timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The type of the notification.
Type UserNotification_Type `protobuf:"varint,5,opt,name=type,proto3,enum=memos.api.v1.UserNotification_Type" json:"type,omitempty"`
// The activity ID associated with this notification.
ActivityId *int32 `protobuf:"varint,6,opt,name=activity_id,json=activityId,proto3,oneof" json:"activity_id,omitempty"`
// contains filtered or unexported fields
}
func (*UserNotification) Descriptor
deprecated
added in
v0.25.3
func (*UserNotification) Descriptor() ([]byte, []int)
Deprecated: Use UserNotification.ProtoReflect.Descriptor instead.
func (*UserNotification) GetActivityId ¶ added in v0.25.3
func (x *UserNotification) GetActivityId() int32
func (*UserNotification) GetCreateTime ¶ added in v0.25.3
func (x *UserNotification) GetCreateTime() *timestamppb.Timestamp
func (*UserNotification) GetName ¶ added in v0.25.3
func (x *UserNotification) GetName() string
func (*UserNotification) GetSender ¶ added in v0.25.3
func (x *UserNotification) GetSender() string
func (*UserNotification) GetStatus ¶ added in v0.25.3
func (x *UserNotification) GetStatus() UserNotification_Status
func (*UserNotification) GetType ¶ added in v0.25.3
func (x *UserNotification) GetType() UserNotification_Type
func (*UserNotification) ProtoMessage ¶ added in v0.25.3
func (*UserNotification) ProtoMessage()
func (*UserNotification) ProtoReflect ¶ added in v0.25.3
func (x *UserNotification) ProtoReflect() protoreflect.Message
func (*UserNotification) Reset ¶ added in v0.25.3
func (x *UserNotification) Reset()
func (*UserNotification) String ¶ added in v0.25.3
func (x *UserNotification) String() string
type UserNotification_Status ¶ added in v0.25.3
type UserNotification_Status int32
const ( UserNotification_STATUS_UNSPECIFIED UserNotification_Status = 0 UserNotification_UNREAD UserNotification_Status = 1 UserNotification_ARCHIVED UserNotification_Status = 2 )
func (UserNotification_Status) Descriptor ¶ added in v0.25.3
func (UserNotification_Status) Descriptor() protoreflect.EnumDescriptor
func (UserNotification_Status) Enum ¶ added in v0.25.3
func (x UserNotification_Status) Enum() *UserNotification_Status
func (UserNotification_Status) EnumDescriptor
deprecated
added in
v0.25.3
func (UserNotification_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserNotification_Status.Descriptor instead.
func (UserNotification_Status) Number ¶ added in v0.25.3
func (x UserNotification_Status) Number() protoreflect.EnumNumber
func (UserNotification_Status) String ¶ added in v0.25.3
func (x UserNotification_Status) String() string
func (UserNotification_Status) Type ¶ added in v0.25.3
func (UserNotification_Status) Type() protoreflect.EnumType
type UserNotification_Type ¶ added in v0.25.3
type UserNotification_Type int32
const ( UserNotification_TYPE_UNSPECIFIED UserNotification_Type = 0 UserNotification_MEMO_COMMENT UserNotification_Type = 1 )
func (UserNotification_Type) Descriptor ¶ added in v0.25.3
func (UserNotification_Type) Descriptor() protoreflect.EnumDescriptor
func (UserNotification_Type) Enum ¶ added in v0.25.3
func (x UserNotification_Type) Enum() *UserNotification_Type
func (UserNotification_Type) EnumDescriptor
deprecated
added in
v0.25.3
func (UserNotification_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserNotification_Type.Descriptor instead.
func (UserNotification_Type) Number ¶ added in v0.25.3
func (x UserNotification_Type) Number() protoreflect.EnumNumber
func (UserNotification_Type) String ¶ added in v0.25.3
func (x UserNotification_Type) String() string
func (UserNotification_Type) Type ¶ added in v0.25.3
func (UserNotification_Type) Type() protoreflect.EnumType
type UserServiceClient ¶
type UserServiceClient interface {
// ListUsers returns a list of users.
ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
// GetUser gets a user by ID or username.
// Supports both numeric IDs and username strings:
// - users/{id} (e.g., users/101)
// - users/{username} (e.g., users/steven)
GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error)
// CreateUser creates a new user.
CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error)
// UpdateUser updates a user.
UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error)
// DeleteUser deletes a user.
DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// ListAllUserStats returns statistics for all users.
ListAllUserStats(ctx context.Context, in *ListAllUserStatsRequest, opts ...grpc.CallOption) (*ListAllUserStatsResponse, error)
// GetUserStats returns statistics for a specific user.
GetUserStats(ctx context.Context, in *GetUserStatsRequest, opts ...grpc.CallOption) (*UserStats, error)
// GetUserSetting returns the user setting.
GetUserSetting(ctx context.Context, in *GetUserSettingRequest, opts ...grpc.CallOption) (*UserSetting, error)
// UpdateUserSetting updates the user setting.
UpdateUserSetting(ctx context.Context, in *UpdateUserSettingRequest, opts ...grpc.CallOption) (*UserSetting, error)
// ListUserSettings returns a list of user settings.
ListUserSettings(ctx context.Context, in *ListUserSettingsRequest, opts ...grpc.CallOption) (*ListUserSettingsResponse, error)
// ListPersonalAccessTokens returns a list of Personal Access Tokens (PATs) for a user.
// PATs are long-lived tokens for API/script access, distinct from short-lived JWT access tokens.
ListPersonalAccessTokens(ctx context.Context, in *ListPersonalAccessTokensRequest, opts ...grpc.CallOption) (*ListPersonalAccessTokensResponse, error)
// CreatePersonalAccessToken creates a new Personal Access Token for a user.
// The token value is only returned once upon creation.
CreatePersonalAccessToken(ctx context.Context, in *CreatePersonalAccessTokenRequest, opts ...grpc.CallOption) (*CreatePersonalAccessTokenResponse, error)
// DeletePersonalAccessToken deletes a Personal Access Token.
DeletePersonalAccessToken(ctx context.Context, in *DeletePersonalAccessTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// ListUserWebhooks returns a list of webhooks for a user.
ListUserWebhooks(ctx context.Context, in *ListUserWebhooksRequest, opts ...grpc.CallOption) (*ListUserWebhooksResponse, error)
// CreateUserWebhook creates a new webhook for a user.
CreateUserWebhook(ctx context.Context, in *CreateUserWebhookRequest, opts ...grpc.CallOption) (*UserWebhook, error)
// UpdateUserWebhook updates an existing webhook for a user.
UpdateUserWebhook(ctx context.Context, in *UpdateUserWebhookRequest, opts ...grpc.CallOption) (*UserWebhook, error)
// DeleteUserWebhook deletes a webhook for a user.
DeleteUserWebhook(ctx context.Context, in *DeleteUserWebhookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// ListUserNotifications lists notifications for a user.
ListUserNotifications(ctx context.Context, in *ListUserNotificationsRequest, opts ...grpc.CallOption) (*ListUserNotificationsResponse, error)
// UpdateUserNotification updates a notification.
UpdateUserNotification(ctx context.Context, in *UpdateUserNotificationRequest, opts ...grpc.CallOption) (*UserNotification, error)
// DeleteUserNotification deletes a notification.
DeleteUserNotification(ctx context.Context, in *DeleteUserNotificationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
UserServiceClient is the client API for UserService 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.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface {
// ListUsers returns a list of users.
ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
// GetUser gets a user by ID or username.
// Supports both numeric IDs and username strings:
// - users/{id} (e.g., users/101)
// - users/{username} (e.g., users/steven)
GetUser(context.Context, *GetUserRequest) (*User, error)
// CreateUser creates a new user.
CreateUser(context.Context, *CreateUserRequest) (*User, error)
// UpdateUser updates a user.
UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
// DeleteUser deletes a user.
DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
// ListAllUserStats returns statistics for all users.
ListAllUserStats(context.Context, *ListAllUserStatsRequest) (*ListAllUserStatsResponse, error)
// GetUserStats returns statistics for a specific user.
GetUserStats(context.Context, *GetUserStatsRequest) (*UserStats, error)
// GetUserSetting returns the user setting.
GetUserSetting(context.Context, *GetUserSettingRequest) (*UserSetting, error)
// UpdateUserSetting updates the user setting.
UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UserSetting, error)
// ListUserSettings returns a list of user settings.
ListUserSettings(context.Context, *ListUserSettingsRequest) (*ListUserSettingsResponse, error)
// ListPersonalAccessTokens returns a list of Personal Access Tokens (PATs) for a user.
// PATs are long-lived tokens for API/script access, distinct from short-lived JWT access tokens.
ListPersonalAccessTokens(context.Context, *ListPersonalAccessTokensRequest) (*ListPersonalAccessTokensResponse, error)
// CreatePersonalAccessToken creates a new Personal Access Token for a user.
// The token value is only returned once upon creation.
CreatePersonalAccessToken(context.Context, *CreatePersonalAccessTokenRequest) (*CreatePersonalAccessTokenResponse, error)
// DeletePersonalAccessToken deletes a Personal Access Token.
DeletePersonalAccessToken(context.Context, *DeletePersonalAccessTokenRequest) (*emptypb.Empty, error)
// ListUserWebhooks returns a list of webhooks for a user.
ListUserWebhooks(context.Context, *ListUserWebhooksRequest) (*ListUserWebhooksResponse, error)
// CreateUserWebhook creates a new webhook for a user.
CreateUserWebhook(context.Context, *CreateUserWebhookRequest) (*UserWebhook, error)
// UpdateUserWebhook updates an existing webhook for a user.
UpdateUserWebhook(context.Context, *UpdateUserWebhookRequest) (*UserWebhook, error)
// DeleteUserWebhook deletes a webhook for a user.
DeleteUserWebhook(context.Context, *DeleteUserWebhookRequest) (*emptypb.Empty, error)
// ListUserNotifications lists notifications for a user.
ListUserNotifications(context.Context, *ListUserNotificationsRequest) (*ListUserNotificationsResponse, error)
// UpdateUserNotification updates a notification.
UpdateUserNotification(context.Context, *UpdateUserNotificationRequest) (*UserNotification, error)
// DeleteUserNotification deletes a notification.
DeleteUserNotification(context.Context, *DeleteUserNotificationRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility.
type UserSetting ¶
type UserSetting struct {
// The name of the user setting.
// Format: users/{user}/settings/{setting}, {setting} is the key for the setting.
// For example, "users/123/settings/GENERAL" for general settings.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Types that are valid to be assigned to Value:
//
// *UserSetting_GeneralSetting_
// *UserSetting_WebhooksSetting_
Value isUserSetting_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
User settings message
func (*UserSetting) Descriptor
deprecated
func (*UserSetting) Descriptor() ([]byte, []int)
Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.
func (*UserSetting) GetGeneralSetting ¶ added in v0.25.1
func (x *UserSetting) GetGeneralSetting() *UserSetting_GeneralSetting
func (*UserSetting) GetName ¶
func (x *UserSetting) GetName() string
func (*UserSetting) GetValue ¶ added in v0.25.1
func (x *UserSetting) GetValue() isUserSetting_Value
func (*UserSetting) GetWebhooksSetting ¶ added in v0.25.1
func (x *UserSetting) GetWebhooksSetting() *UserSetting_WebhooksSetting
func (*UserSetting) ProtoMessage ¶
func (*UserSetting) ProtoMessage()
func (*UserSetting) ProtoReflect ¶
func (x *UserSetting) ProtoReflect() protoreflect.Message
func (*UserSetting) Reset ¶
func (x *UserSetting) Reset()
func (*UserSetting) String ¶
func (x *UserSetting) String() string
type UserSetting_GeneralSetting ¶ added in v0.25.1
type UserSetting_GeneralSetting struct {
// The preferred locale of the user.
Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"`
// The default visibility of the memo.
MemoVisibility string `protobuf:"bytes,3,opt,name=memo_visibility,json=memoVisibility,proto3" json:"memo_visibility,omitempty"`
// The preferred theme of the user.
// This references a CSS file in the web/public/themes/ directory.
// If not set, the default theme will be used.
Theme string `protobuf:"bytes,4,opt,name=theme,proto3" json:"theme,omitempty"`
// contains filtered or unexported fields
}
General user settings configuration.
func (*UserSetting_GeneralSetting) Descriptor
deprecated
added in
v0.25.1
func (*UserSetting_GeneralSetting) Descriptor() ([]byte, []int)
Deprecated: Use UserSetting_GeneralSetting.ProtoReflect.Descriptor instead.
func (*UserSetting_GeneralSetting) GetLocale ¶ added in v0.25.1
func (x *UserSetting_GeneralSetting) GetLocale() string
func (*UserSetting_GeneralSetting) GetMemoVisibility ¶ added in v0.25.1
func (x *UserSetting_GeneralSetting) GetMemoVisibility() string
func (*UserSetting_GeneralSetting) GetTheme ¶ added in v0.25.1
func (x *UserSetting_GeneralSetting) GetTheme() string
func (*UserSetting_GeneralSetting) ProtoMessage ¶ added in v0.25.1
func (*UserSetting_GeneralSetting) ProtoMessage()
func (*UserSetting_GeneralSetting) ProtoReflect ¶ added in v0.25.1
func (x *UserSetting_GeneralSetting) ProtoReflect() protoreflect.Message
func (*UserSetting_GeneralSetting) Reset ¶ added in v0.25.1
func (x *UserSetting_GeneralSetting) Reset()
func (*UserSetting_GeneralSetting) String ¶ added in v0.25.1
func (x *UserSetting_GeneralSetting) String() string
type UserSetting_GeneralSetting_ ¶ added in v0.25.1
type UserSetting_GeneralSetting_ struct {
GeneralSetting *UserSetting_GeneralSetting `protobuf:"bytes,2,opt,name=general_setting,json=generalSetting,proto3,oneof"`
}
type UserSetting_Key ¶ added in v0.25.1
type UserSetting_Key int32
Enumeration of user setting keys.
const ( UserSetting_KEY_UNSPECIFIED UserSetting_Key = 0 // GENERAL is the key for general user settings. UserSetting_GENERAL UserSetting_Key = 1 // WEBHOOKS is the key for user webhooks. UserSetting_WEBHOOKS UserSetting_Key = 4 )
func (UserSetting_Key) Descriptor ¶ added in v0.25.1
func (UserSetting_Key) Descriptor() protoreflect.EnumDescriptor
func (UserSetting_Key) Enum ¶ added in v0.25.1
func (x UserSetting_Key) Enum() *UserSetting_Key
func (UserSetting_Key) EnumDescriptor
deprecated
added in
v0.25.1
func (UserSetting_Key) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSetting_Key.Descriptor instead.
func (UserSetting_Key) Number ¶ added in v0.25.1
func (x UserSetting_Key) Number() protoreflect.EnumNumber
func (UserSetting_Key) String ¶ added in v0.25.1
func (x UserSetting_Key) String() string
func (UserSetting_Key) Type ¶ added in v0.25.1
func (UserSetting_Key) Type() protoreflect.EnumType
type UserSetting_WebhooksSetting ¶ added in v0.25.1
type UserSetting_WebhooksSetting struct {
// List of user webhooks.
Webhooks []*UserWebhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
// contains filtered or unexported fields
}
User webhooks configuration.
func (*UserSetting_WebhooksSetting) Descriptor
deprecated
added in
v0.25.1
func (*UserSetting_WebhooksSetting) Descriptor() ([]byte, []int)
Deprecated: Use UserSetting_WebhooksSetting.ProtoReflect.Descriptor instead.
func (*UserSetting_WebhooksSetting) GetWebhooks ¶ added in v0.25.1
func (x *UserSetting_WebhooksSetting) GetWebhooks() []*UserWebhook
func (*UserSetting_WebhooksSetting) ProtoMessage ¶ added in v0.25.1
func (*UserSetting_WebhooksSetting) ProtoMessage()
func (*UserSetting_WebhooksSetting) ProtoReflect ¶ added in v0.25.1
func (x *UserSetting_WebhooksSetting) ProtoReflect() protoreflect.Message
func (*UserSetting_WebhooksSetting) Reset ¶ added in v0.25.1
func (x *UserSetting_WebhooksSetting) Reset()
func (*UserSetting_WebhooksSetting) String ¶ added in v0.25.1
func (x *UserSetting_WebhooksSetting) String() string
type UserSetting_WebhooksSetting_ ¶ added in v0.25.1
type UserSetting_WebhooksSetting_ struct {
WebhooksSetting *UserSetting_WebhooksSetting `protobuf:"bytes,5,opt,name=webhooks_setting,json=webhooksSetting,proto3,oneof"`
}
type UserStats ¶ added in v0.23.1
type UserStats struct {
// The resource name of the user whose stats these are.
// Format: users/{user}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The timestamps when the memos were displayed.
MemoDisplayTimestamps []*timestamppb.Timestamp `` /* 126-byte string literal not displayed */
// The stats of memo types.
MemoTypeStats *UserStats_MemoTypeStats `protobuf:"bytes,3,opt,name=memo_type_stats,json=memoTypeStats,proto3" json:"memo_type_stats,omitempty"`
// The count of tags.
TagCount map[string]int32 `` /* 160-byte string literal not displayed */
// The pinned memos of the user.
PinnedMemos []string `protobuf:"bytes,5,rep,name=pinned_memos,json=pinnedMemos,proto3" json:"pinned_memos,omitempty"`
// Total memo count.
TotalMemoCount int32 `protobuf:"varint,6,opt,name=total_memo_count,json=totalMemoCount,proto3" json:"total_memo_count,omitempty"`
// contains filtered or unexported fields
}
User statistics messages
func (*UserStats) Descriptor
deprecated
added in
v0.23.1
func (*UserStats) GetMemoDisplayTimestamps ¶ added in v0.23.1
func (x *UserStats) GetMemoDisplayTimestamps() []*timestamppb.Timestamp
func (*UserStats) GetMemoTypeStats ¶ added in v0.23.1
func (x *UserStats) GetMemoTypeStats() *UserStats_MemoTypeStats
func (*UserStats) GetPinnedMemos ¶ added in v0.24.1
func (*UserStats) GetTagCount ¶ added in v0.23.1
func (*UserStats) GetTotalMemoCount ¶ added in v0.24.1
func (*UserStats) ProtoMessage ¶ added in v0.23.1
func (*UserStats) ProtoMessage()
func (*UserStats) ProtoReflect ¶ added in v0.23.1
func (x *UserStats) ProtoReflect() protoreflect.Message
type UserStats_MemoTypeStats ¶ added in v0.23.1
type UserStats_MemoTypeStats struct {
LinkCount int32 `protobuf:"varint,1,opt,name=link_count,json=linkCount,proto3" json:"link_count,omitempty"`
CodeCount int32 `protobuf:"varint,2,opt,name=code_count,json=codeCount,proto3" json:"code_count,omitempty"`
TodoCount int32 `protobuf:"varint,3,opt,name=todo_count,json=todoCount,proto3" json:"todo_count,omitempty"`
UndoCount int32 `protobuf:"varint,4,opt,name=undo_count,json=undoCount,proto3" json:"undo_count,omitempty"`
// contains filtered or unexported fields
}
Memo type statistics.
func (*UserStats_MemoTypeStats) Descriptor
deprecated
added in
v0.23.1
func (*UserStats_MemoTypeStats) Descriptor() ([]byte, []int)
Deprecated: Use UserStats_MemoTypeStats.ProtoReflect.Descriptor instead.
func (*UserStats_MemoTypeStats) GetCodeCount ¶ added in v0.23.1
func (x *UserStats_MemoTypeStats) GetCodeCount() int32
func (*UserStats_MemoTypeStats) GetLinkCount ¶ added in v0.23.1
func (x *UserStats_MemoTypeStats) GetLinkCount() int32
func (*UserStats_MemoTypeStats) GetTodoCount ¶ added in v0.23.1
func (x *UserStats_MemoTypeStats) GetTodoCount() int32
func (*UserStats_MemoTypeStats) GetUndoCount ¶ added in v0.23.1
func (x *UserStats_MemoTypeStats) GetUndoCount() int32
func (*UserStats_MemoTypeStats) ProtoMessage ¶ added in v0.23.1
func (*UserStats_MemoTypeStats) ProtoMessage()
func (*UserStats_MemoTypeStats) ProtoReflect ¶ added in v0.23.1
func (x *UserStats_MemoTypeStats) ProtoReflect() protoreflect.Message
func (*UserStats_MemoTypeStats) Reset ¶ added in v0.23.1
func (x *UserStats_MemoTypeStats) Reset()
func (*UserStats_MemoTypeStats) String ¶ added in v0.23.1
func (x *UserStats_MemoTypeStats) String() string
type UserWebhook ¶ added in v0.25.1
type UserWebhook struct {
// The name of the webhook.
// Format: users/{user}/webhooks/{webhook}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The URL to send the webhook to.
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// Optional. Human-readable name for the webhook.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The creation time of the webhook.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The last update time of the webhook.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
UserWebhook represents a webhook owned by a user.
func (*UserWebhook) Descriptor
deprecated
added in
v0.25.1
func (*UserWebhook) Descriptor() ([]byte, []int)
Deprecated: Use UserWebhook.ProtoReflect.Descriptor instead.
func (*UserWebhook) GetCreateTime ¶ added in v0.25.1
func (x *UserWebhook) GetCreateTime() *timestamppb.Timestamp
func (*UserWebhook) GetDisplayName ¶ added in v0.25.1
func (x *UserWebhook) GetDisplayName() string
func (*UserWebhook) GetName ¶ added in v0.25.1
func (x *UserWebhook) GetName() string
func (*UserWebhook) GetUpdateTime ¶ added in v0.25.1
func (x *UserWebhook) GetUpdateTime() *timestamppb.Timestamp
func (*UserWebhook) GetUrl ¶ added in v0.25.1
func (x *UserWebhook) GetUrl() string
func (*UserWebhook) ProtoMessage ¶ added in v0.25.1
func (*UserWebhook) ProtoMessage()
func (*UserWebhook) ProtoReflect ¶ added in v0.25.1
func (x *UserWebhook) ProtoReflect() protoreflect.Message
func (*UserWebhook) Reset ¶ added in v0.25.1
func (x *UserWebhook) Reset()
func (*UserWebhook) String ¶ added in v0.25.1
func (x *UserWebhook) String() string
type User_Role ¶
type User_Role int32
User role enumeration.
func (User_Role) Descriptor ¶
func (User_Role) Descriptor() protoreflect.EnumDescriptor
func (User_Role) EnumDescriptor
deprecated
func (User_Role) Number ¶
func (x User_Role) Number() protoreflect.EnumNumber
func (User_Role) Type ¶
func (User_Role) Type() protoreflect.EnumType
type Visibility ¶
type Visibility int32
const ( Visibility_VISIBILITY_UNSPECIFIED Visibility = 0 Visibility_PRIVATE Visibility = 1 Visibility_PROTECTED Visibility = 2 Visibility_PUBLIC Visibility = 3 )
func (Visibility) Descriptor ¶
func (Visibility) Descriptor() protoreflect.EnumDescriptor
func (Visibility) Enum ¶
func (x Visibility) Enum() *Visibility
func (Visibility) EnumDescriptor
deprecated
func (Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use Visibility.Descriptor instead.
func (Visibility) Number ¶
func (x Visibility) Number() protoreflect.EnumNumber
func (Visibility) String ¶
func (x Visibility) String() string
func (Visibility) Type ¶
func (Visibility) Type() protoreflect.EnumType
Source Files
¶
- activity_service.pb.go
- activity_service.pb.gw.go
- activity_service_grpc.pb.go
- attachment_service.pb.go
- attachment_service.pb.gw.go
- attachment_service_grpc.pb.go
- auth_service.pb.go
- auth_service.pb.gw.go
- auth_service_grpc.pb.go
- common.pb.go
- idp_service.pb.go
- idp_service.pb.gw.go
- idp_service_grpc.pb.go
- instance_service.pb.go
- instance_service.pb.gw.go
- instance_service_grpc.pb.go
- memo_service.pb.go
- memo_service.pb.gw.go
- memo_service_grpc.pb.go
- shortcut_service.pb.go
- shortcut_service.pb.gw.go
- shortcut_service_grpc.pb.go
- user_service.pb.go
- user_service.pb.gw.go
- user_service_grpc.pb.go