registered_v1

package
v0.0.0-...-2582988 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GDPR_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "accelbyte.gdpr.registered.v1.GDPR",
	HandlerType: (*GDPRServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DataGeneration",
			Handler:    _GDPR_DataGeneration_Handler,
		},
		{
			MethodName: "DataDeletion",
			Handler:    _GDPR_DataDeletion_Handler,
		},
		{
			MethodName: "DataRestriction",
			Handler:    _GDPR_DataRestriction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gdpr.proto",
}

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

Functions

func RegisterGDPRServer

func RegisterGDPRServer(s grpc.ServiceRegistrar, srv GDPRServer)

Types

type DataDeletionRequest

type DataDeletionRequest struct {
	Namespace            string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`                        // namespace of user
	UserId               string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`                              // user id
	IsPublisherNamespace bool   `protobuf:"varint,3,opt,name=isPublisherNamespace,proto3" json:"isPublisherNamespace,omitempty"` // indicate whether the "namespace" is a publisher namespace or game namespace
	// contains filtered or unexported fields
}

func (*DataDeletionRequest) Descriptor deprecated

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

Deprecated: Use DataDeletionRequest.ProtoReflect.Descriptor instead.

func (*DataDeletionRequest) GetIsPublisherNamespace

func (x *DataDeletionRequest) GetIsPublisherNamespace() bool

func (*DataDeletionRequest) GetNamespace

func (x *DataDeletionRequest) GetNamespace() string

func (*DataDeletionRequest) GetUserId

func (x *DataDeletionRequest) GetUserId() string

func (*DataDeletionRequest) ProtoMessage

func (*DataDeletionRequest) ProtoMessage()

func (*DataDeletionRequest) ProtoReflect

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

func (*DataDeletionRequest) Reset

func (x *DataDeletionRequest) Reset()

func (*DataDeletionRequest) String

func (x *DataDeletionRequest) String() string

type DataDeletionResponse

type DataDeletionResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // indicate data deletion was success
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`  // message from data deletion process
	// contains filtered or unexported fields
}

func (*DataDeletionResponse) Descriptor deprecated

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

Deprecated: Use DataDeletionResponse.ProtoReflect.Descriptor instead.

func (*DataDeletionResponse) GetMessage

func (x *DataDeletionResponse) GetMessage() string

func (*DataDeletionResponse) GetSuccess

func (x *DataDeletionResponse) GetSuccess() bool

func (*DataDeletionResponse) ProtoMessage

func (*DataDeletionResponse) ProtoMessage()

func (*DataDeletionResponse) ProtoReflect

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

func (*DataDeletionResponse) Reset

func (x *DataDeletionResponse) Reset()

func (*DataDeletionResponse) String

func (x *DataDeletionResponse) String() string

type DataGenerationRequest

type DataGenerationRequest struct {
	Namespace            string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`                        // namespace of user
	UserId               string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`                              // user id
	UploadUrl            string `protobuf:"bytes,3,opt,name=uploadUrl,proto3" json:"uploadUrl,omitempty"`                        // upload url for uploading the generated file into AccelByte GDPR Service storage
	IsPublisherNamespace bool   `protobuf:"varint,4,opt,name=isPublisherNamespace,proto3" json:"isPublisherNamespace,omitempty"` // indicate whether the "namespace" is a publisher namespace or game namespace
	// contains filtered or unexported fields
}

func (*DataGenerationRequest) Descriptor deprecated

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

Deprecated: Use DataGenerationRequest.ProtoReflect.Descriptor instead.

func (*DataGenerationRequest) GetIsPublisherNamespace

func (x *DataGenerationRequest) GetIsPublisherNamespace() bool

func (*DataGenerationRequest) GetNamespace

func (x *DataGenerationRequest) GetNamespace() string

func (*DataGenerationRequest) GetUploadUrl

func (x *DataGenerationRequest) GetUploadUrl() string

func (*DataGenerationRequest) GetUserId

func (x *DataGenerationRequest) GetUserId() string

func (*DataGenerationRequest) ProtoMessage

func (*DataGenerationRequest) ProtoMessage()

func (*DataGenerationRequest) ProtoReflect

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

func (*DataGenerationRequest) Reset

func (x *DataGenerationRequest) Reset()

func (*DataGenerationRequest) String

func (x *DataGenerationRequest) String() string

type DataGenerationResponse

type DataGenerationResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // indicate data generation was success
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`  // message from data generation process
	// contains filtered or unexported fields
}

func (*DataGenerationResponse) Descriptor deprecated

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

Deprecated: Use DataGenerationResponse.ProtoReflect.Descriptor instead.

func (*DataGenerationResponse) GetMessage

func (x *DataGenerationResponse) GetMessage() string

func (*DataGenerationResponse) GetSuccess

func (x *DataGenerationResponse) GetSuccess() bool

func (*DataGenerationResponse) ProtoMessage

func (*DataGenerationResponse) ProtoMessage()

func (*DataGenerationResponse) ProtoReflect

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

func (*DataGenerationResponse) Reset

func (x *DataGenerationResponse) Reset()

func (*DataGenerationResponse) String

func (x *DataGenerationResponse) String() string

type DataRestrictionRequest

type DataRestrictionRequest struct {
	Namespace            string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`                        // namespace of user
	UserId               string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`                              // user id
	Restrict             bool   `protobuf:"varint,3,opt,name=restrict,proto3" json:"restrict,omitempty"`                         // restrict or not
	IsPublisherNamespace bool   `protobuf:"varint,4,opt,name=isPublisherNamespace,proto3" json:"isPublisherNamespace,omitempty"` // indicate whether the "namespace" is a publisher namespace or game namespace
	// contains filtered or unexported fields
}

func (*DataRestrictionRequest) Descriptor deprecated

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

Deprecated: Use DataRestrictionRequest.ProtoReflect.Descriptor instead.

func (*DataRestrictionRequest) GetIsPublisherNamespace

func (x *DataRestrictionRequest) GetIsPublisherNamespace() bool

func (*DataRestrictionRequest) GetNamespace

func (x *DataRestrictionRequest) GetNamespace() string

func (*DataRestrictionRequest) GetRestrict

func (x *DataRestrictionRequest) GetRestrict() bool

func (*DataRestrictionRequest) GetUserId

func (x *DataRestrictionRequest) GetUserId() string

func (*DataRestrictionRequest) ProtoMessage

func (*DataRestrictionRequest) ProtoMessage()

func (*DataRestrictionRequest) ProtoReflect

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

func (*DataRestrictionRequest) Reset

func (x *DataRestrictionRequest) Reset()

func (*DataRestrictionRequest) String

func (x *DataRestrictionRequest) String() string

type DataRestrictionResponse

type DataRestrictionResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // indicate restrict processing was success
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`  // message from restrict processing
	// contains filtered or unexported fields
}

func (*DataRestrictionResponse) Descriptor deprecated

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

Deprecated: Use DataRestrictionResponse.ProtoReflect.Descriptor instead.

func (*DataRestrictionResponse) GetMessage

func (x *DataRestrictionResponse) GetMessage() string

func (*DataRestrictionResponse) GetSuccess

func (x *DataRestrictionResponse) GetSuccess() bool

func (*DataRestrictionResponse) ProtoMessage

func (*DataRestrictionResponse) ProtoMessage()

func (*DataRestrictionResponse) ProtoReflect

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

func (*DataRestrictionResponse) Reset

func (x *DataRestrictionResponse) Reset()

func (*DataRestrictionResponse) String

func (x *DataRestrictionResponse) String() string

type GDPRClient

type GDPRClient interface {
	// *
	// Data Generation.
	// The generated data will be uploaded into GDPR Service storage.
	DataGeneration(ctx context.Context, in *DataGenerationRequest, opts ...grpc.CallOption) (*DataGenerationResponse, error)
	// *
	// Data Deletion.
	DataDeletion(ctx context.Context, in *DataDeletionRequest, opts ...grpc.CallOption) (*DataDeletionResponse, error)
	// *
	// Data Restriction.
	//
	// Used to inform registered service when specific IAM account was disabled,
	// So that the service could ensure the personal data associated with disabled account ceased to be available to other users.
	DataRestriction(ctx context.Context, in *DataRestrictionRequest, opts ...grpc.CallOption) (*DataRestrictionResponse, error)
}

GDPRClient is the client API for GDPR 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 NewGDPRClient

func NewGDPRClient(cc grpc.ClientConnInterface) GDPRClient

type GDPRServer

type GDPRServer interface {
	// *
	// Data Generation.
	// The generated data will be uploaded into GDPR Service storage.
	DataGeneration(context.Context, *DataGenerationRequest) (*DataGenerationResponse, error)
	// *
	// Data Deletion.
	DataDeletion(context.Context, *DataDeletionRequest) (*DataDeletionResponse, error)
	// *
	// Data Restriction.
	//
	// Used to inform registered service when specific IAM account was disabled,
	// So that the service could ensure the personal data associated with disabled account ceased to be available to other users.
	DataRestriction(context.Context, *DataRestrictionRequest) (*DataRestrictionResponse, error)
	// contains filtered or unexported methods
}

GDPRServer is the server API for GDPR service. All implementations must embed UnimplementedGDPRServer for forward compatibility

type UnimplementedGDPRServer

type UnimplementedGDPRServer struct {
}

UnimplementedGDPRServer must be embedded to have forward compatible implementations.

func (UnimplementedGDPRServer) DataDeletion

func (UnimplementedGDPRServer) DataGeneration

func (UnimplementedGDPRServer) DataRestriction

type UnsafeGDPRServer

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

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

Jump to

Keyboard shortcuts

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