Documentation ¶
Index ¶
- Variables
- func RegisterDataSubjectsServiceServer(s grpc.ServiceRegistrar, srv DataSubjectsServiceServer)
- type AddDataSubjectsKeyLinksRequest
- func (*AddDataSubjectsKeyLinksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDataSubjectsKeyLinksRequest) GetDataSubjectKeylinks() []*DatasubjectKeylinks
- func (x *AddDataSubjectsKeyLinksRequest) GetProjectId() string
- func (*AddDataSubjectsKeyLinksRequest) ProtoMessage()
- func (x *AddDataSubjectsKeyLinksRequest) ProtoReflect() protoreflect.Message
- func (x *AddDataSubjectsKeyLinksRequest) Reset()
- func (x *AddDataSubjectsKeyLinksRequest) String() string
- type AddDataSubjectsKeyLinksResponse
- func (*AddDataSubjectsKeyLinksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddDataSubjectsKeyLinksResponse) GetIssues() []*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssuesdeprecated
- func (x *AddDataSubjectsKeyLinksResponse) GetStoredCount() int64
- func (*AddDataSubjectsKeyLinksResponse) ProtoMessage()
- func (x *AddDataSubjectsKeyLinksResponse) ProtoReflect() protoreflect.Message
- func (x *AddDataSubjectsKeyLinksResponse) Reset()
- func (x *AddDataSubjectsKeyLinksResponse) String() string
- type AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssuesdeprecated
- func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) Descriptor() ([]byte, []int)deprecated
- func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetDataSubjectId() string
- func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetIssueType() string
- func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetKeyLink() string
- func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetMessage() string
- func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) ProtoMessage()
- func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) ProtoReflect() protoreflect.Message
- func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) Reset()
- func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) String() string
- type DataSubjectsServiceClient
- type DataSubjectsServiceServer
- type DatasubjectKeylinks
- func (*DatasubjectKeylinks) Descriptor() ([]byte, []int)deprecated
- func (x *DatasubjectKeylinks) GetDataSubjectId() string
- func (x *DatasubjectKeylinks) GetKeylinksAndTimestamps() []*DatasubjectKeylinks_KeylinkAndTimestamp
- func (*DatasubjectKeylinks) ProtoMessage()
- func (x *DatasubjectKeylinks) ProtoReflect() protoreflect.Message
- func (x *DatasubjectKeylinks) Reset()
- func (x *DatasubjectKeylinks) String() string
- type DatasubjectKeylinks_KeylinkAndTimestamp
- func (*DatasubjectKeylinks_KeylinkAndTimestamp) Descriptor() ([]byte, []int)deprecated
- func (x *DatasubjectKeylinks_KeylinkAndTimestamp) GetExpiryTime() *timestamppb.Timestamp
- func (x *DatasubjectKeylinks_KeylinkAndTimestamp) GetKeyLink() string
- func (*DatasubjectKeylinks_KeylinkAndTimestamp) ProtoMessage()
- func (x *DatasubjectKeylinks_KeylinkAndTimestamp) ProtoReflect() protoreflect.Message
- func (x *DatasubjectKeylinks_KeylinkAndTimestamp) Reset()
- func (x *DatasubjectKeylinks_KeylinkAndTimestamp) String() string
- type DeleteDataSubjectsRequest
- func (*DeleteDataSubjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDataSubjectsRequest) GetDataSubjects() []string
- func (x *DeleteDataSubjectsRequest) GetOrganizationId() string
- func (*DeleteDataSubjectsRequest) ProtoMessage()
- func (x *DeleteDataSubjectsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDataSubjectsRequest) Reset()
- func (x *DeleteDataSubjectsRequest) String() string
- type DeleteDataSubjectsResponse
- func (*DeleteDataSubjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDataSubjectsResponse) GetDeletedKeylinksCount() int64
- func (*DeleteDataSubjectsResponse) ProtoMessage()
- func (x *DeleteDataSubjectsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDataSubjectsResponse) Reset()
- func (x *DeleteDataSubjectsResponse) String() string
- type ListDataSubjectKeylinksRequest
- func (*ListDataSubjectKeylinksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataSubjectKeylinksRequest) GetDataSubjectId() []string
- func (x *ListDataSubjectKeylinksRequest) GetOrganizationId() string
- func (*ListDataSubjectKeylinksRequest) ProtoMessage()
- func (x *ListDataSubjectKeylinksRequest) ProtoReflect() protoreflect.Message
- func (x *ListDataSubjectKeylinksRequest) Reset()
- func (x *ListDataSubjectKeylinksRequest) String() string
- type ListDataSubjectKeylinksResponse
- func (*ListDataSubjectKeylinksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataSubjectKeylinksResponse) GetDataSubjectKeylinks() []*DatasubjectKeylinks
- func (*ListDataSubjectKeylinksResponse) ProtoMessage()
- func (x *ListDataSubjectKeylinksResponse) ProtoReflect() protoreflect.Message
- func (x *ListDataSubjectKeylinksResponse) Reset()
- func (x *ListDataSubjectKeylinksResponse) String() string
- type ListDataSubjectsRequest
- func (*ListDataSubjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataSubjectsRequest) GetOrganizationId() string
- func (x *ListDataSubjectsRequest) GetPageSize() int32
- func (x *ListDataSubjectsRequest) GetPageToken() string
- func (*ListDataSubjectsRequest) ProtoMessage()
- func (x *ListDataSubjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDataSubjectsRequest) Reset()
- func (x *ListDataSubjectsRequest) String() string
- type ListDataSubjectsResponse
- func (*ListDataSubjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataSubjectsResponse) GetDataSubjects() []*ListDataSubjectsResponse_DataSubjectInfo
- func (x *ListDataSubjectsResponse) GetNextPageToken() string
- func (*ListDataSubjectsResponse) ProtoMessage()
- func (x *ListDataSubjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDataSubjectsResponse) Reset()
- func (x *ListDataSubjectsResponse) String() string
- type ListDataSubjectsResponse_DataSubjectInfo
- func (*ListDataSubjectsResponse_DataSubjectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataSubjectsResponse_DataSubjectInfo) GetDataSubjectId() string
- func (*ListDataSubjectsResponse_DataSubjectInfo) ProtoMessage()
- func (x *ListDataSubjectsResponse_DataSubjectInfo) ProtoReflect() protoreflect.Message
- func (x *ListDataSubjectsResponse_DataSubjectInfo) Reset()
- func (x *ListDataSubjectsResponse_DataSubjectInfo) String() string
- type UnimplementedDataSubjectsServiceServer
- func (UnimplementedDataSubjectsServiceServer) AddDataSubjectsKeyLinks(context.Context, *AddDataSubjectsKeyLinksRequest) (*AddDataSubjectsKeyLinksResponse, error)
- func (UnimplementedDataSubjectsServiceServer) DeleteDataSubjects(context.Context, *DeleteDataSubjectsRequest) (*DeleteDataSubjectsResponse, error)
- func (UnimplementedDataSubjectsServiceServer) ListDataSubjectKeylinks(context.Context, *ListDataSubjectKeylinksRequest) (*ListDataSubjectKeylinksResponse, error)
- func (UnimplementedDataSubjectsServiceServer) ListDataSubjects(context.Context, *ListDataSubjectsRequest) (*ListDataSubjectsResponse, error)
- type UnsafeDataSubjectsServiceServer
Constants ¶
This section is empty.
Variables ¶
var DataSubjectsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.data_subjects.v1.DataSubjectsService", HandlerType: (*DataSubjectsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListDataSubjectKeylinks", Handler: _DataSubjectsService_ListDataSubjectKeylinks_Handler, }, { MethodName: "AddDataSubjectsKeyLinks", Handler: _DataSubjectsService_AddDataSubjectsKeyLinks_Handler, }, { MethodName: "DeleteDataSubjects", Handler: _DataSubjectsService_DeleteDataSubjects_Handler, }, { MethodName: "ListDataSubjects", Handler: _DataSubjectsService_ListDataSubjects_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/data_subjects/v1/data_subjects_v1.proto", }
DataSubjectsService_ServiceDesc is the grpc.ServiceDesc for DataSubjectsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_strmprivacy_api_data_subjects_v1_data_subjects_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDataSubjectsServiceServer ¶
func RegisterDataSubjectsServiceServer(s grpc.ServiceRegistrar, srv DataSubjectsServiceServer)
Types ¶
type AddDataSubjectsKeyLinksRequest ¶
type AddDataSubjectsKeyLinksRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` DataSubjectKeylinks []*DatasubjectKeylinks `protobuf:"bytes,2,rep,name=data_subject_keylinks,json=dataSubjectKeylinks,proto3" json:"data_subject_keylinks,omitempty"` // contains filtered or unexported fields }
func (*AddDataSubjectsKeyLinksRequest) Descriptor
deprecated
func (*AddDataSubjectsKeyLinksRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDataSubjectsKeyLinksRequest.ProtoReflect.Descriptor instead.
func (*AddDataSubjectsKeyLinksRequest) GetDataSubjectKeylinks ¶
func (x *AddDataSubjectsKeyLinksRequest) GetDataSubjectKeylinks() []*DatasubjectKeylinks
func (*AddDataSubjectsKeyLinksRequest) GetProjectId ¶
func (x *AddDataSubjectsKeyLinksRequest) GetProjectId() string
func (*AddDataSubjectsKeyLinksRequest) ProtoMessage ¶
func (*AddDataSubjectsKeyLinksRequest) ProtoMessage()
func (*AddDataSubjectsKeyLinksRequest) ProtoReflect ¶
func (x *AddDataSubjectsKeyLinksRequest) ProtoReflect() protoreflect.Message
func (*AddDataSubjectsKeyLinksRequest) Reset ¶
func (x *AddDataSubjectsKeyLinksRequest) Reset()
func (*AddDataSubjectsKeyLinksRequest) String ¶
func (x *AddDataSubjectsKeyLinksRequest) String() string
type AddDataSubjectsKeyLinksResponse ¶
type AddDataSubjectsKeyLinksResponse struct { StoredCount int64 `protobuf:"varint,1,opt,name=stored_count,json=storedCount,proto3" json:"stored_count,omitempty"` // issues with stored data items. Now the service call just throws an exception // // Deprecated: Do not use. Issues []*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` // contains filtered or unexported fields }
func (*AddDataSubjectsKeyLinksResponse) Descriptor
deprecated
func (*AddDataSubjectsKeyLinksResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDataSubjectsKeyLinksResponse.ProtoReflect.Descriptor instead.
func (*AddDataSubjectsKeyLinksResponse) GetIssues
deprecated
func (x *AddDataSubjectsKeyLinksResponse) GetIssues() []*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues
Deprecated: Do not use.
func (*AddDataSubjectsKeyLinksResponse) GetStoredCount ¶
func (x *AddDataSubjectsKeyLinksResponse) GetStoredCount() int64
func (*AddDataSubjectsKeyLinksResponse) ProtoMessage ¶
func (*AddDataSubjectsKeyLinksResponse) ProtoMessage()
func (*AddDataSubjectsKeyLinksResponse) ProtoReflect ¶
func (x *AddDataSubjectsKeyLinksResponse) ProtoReflect() protoreflect.Message
func (*AddDataSubjectsKeyLinksResponse) Reset ¶
func (x *AddDataSubjectsKeyLinksResponse) Reset()
func (*AddDataSubjectsKeyLinksResponse) String ¶
func (x *AddDataSubjectsKeyLinksResponse) String() string
type AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues
deprecated
type AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues struct { DataSubjectId string `protobuf:"bytes,1,opt,name=data_subject_id,json=dataSubjectId,proto3" json:"data_subject_id,omitempty"` KeyLink string `protobuf:"bytes,2,opt,name=key_link,json=keyLink,proto3" json:"key_link,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` IssueType string `protobuf:"bytes,4,opt,name=issue_type,json=issueType,proto3" json:"issue_type,omitempty"` // contains filtered or unexported fields }
* this list is empty when nothing has gone wrong. issue_type are currently:
DuplicateKey: (when you have the same project/data_subject/keylink tuple). Harmless InvalidArgument: when you have a project_id or key_link that is not a uuid
Deprecated: Do not use.
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) Descriptor
deprecated
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) Descriptor() ([]byte, []int)
Deprecated: Use AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues.ProtoReflect.Descriptor instead.
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetDataSubjectId ¶
func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetDataSubjectId() string
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetIssueType ¶
func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetIssueType() string
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetKeyLink ¶
func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetKeyLink() string
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetMessage ¶
func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) GetMessage() string
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) ProtoMessage ¶
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) ProtoMessage()
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) ProtoReflect ¶
func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) ProtoReflect() protoreflect.Message
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) Reset ¶
func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) Reset()
func (*AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) String ¶
func (x *AddDataSubjectsKeyLinksResponse_AddDataSubjectsIssues) String() string
type DataSubjectsServiceClient ¶
type DataSubjectsServiceClient interface { // * // Retrieve all key links associated with certain data subject(s) // // returns: a list of data subject with their associated key links and their // expiry. ListDataSubjectKeylinks(ctx context.Context, in *ListDataSubjectKeylinksRequest, opts ...grpc.CallOption) (*ListDataSubjectKeylinksResponse, error) // * called by an entity that can create key link(s) like the event-gateway or a batch-job // // typically (but not necessarily) only one key link is added at the same time. // // The list of DatasubjectKeylinks is combined with a project_id; the DSS uses this to find the linked // organization_id AddDataSubjectsKeyLinks(ctx context.Context, in *AddDataSubjectsKeyLinksRequest, opts ...grpc.CallOption) (*AddDataSubjectsKeyLinksResponse, error) // * // delete data subjects from the DSS database, and returns the deleted key links and timestamps DeleteDataSubjects(ctx context.Context, in *DeleteDataSubjectsRequest, opts ...grpc.CallOption) (*DeleteDataSubjectsResponse, error) // * // list data subjects from the DSS database ListDataSubjects(ctx context.Context, in *ListDataSubjectsRequest, opts ...grpc.CallOption) (*ListDataSubjectsResponse, error) }
DataSubjectsServiceClient is the client API for DataSubjectsService 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 NewDataSubjectsServiceClient ¶
func NewDataSubjectsServiceClient(cc grpc.ClientConnInterface) DataSubjectsServiceClient
type DataSubjectsServiceServer ¶
type DataSubjectsServiceServer interface { // * // Retrieve all key links associated with certain data subject(s) // // returns: a list of data subject with their associated key links and their // expiry. ListDataSubjectKeylinks(context.Context, *ListDataSubjectKeylinksRequest) (*ListDataSubjectKeylinksResponse, error) // * called by an entity that can create key link(s) like the event-gateway or a batch-job // // typically (but not necessarily) only one key link is added at the same time. // // The list of DatasubjectKeylinks is combined with a project_id; the DSS uses this to find the linked // organization_id AddDataSubjectsKeyLinks(context.Context, *AddDataSubjectsKeyLinksRequest) (*AddDataSubjectsKeyLinksResponse, error) // * // delete data subjects from the DSS database, and returns the deleted key links and timestamps DeleteDataSubjects(context.Context, *DeleteDataSubjectsRequest) (*DeleteDataSubjectsResponse, error) // * // list data subjects from the DSS database ListDataSubjects(context.Context, *ListDataSubjectsRequest) (*ListDataSubjectsResponse, error) }
DataSubjectsServiceServer is the server API for DataSubjectsService service. All implementations should embed UnimplementedDataSubjectsServiceServer for forward compatibility
type DatasubjectKeylinks ¶
type DatasubjectKeylinks struct { DataSubjectId string `protobuf:"bytes,1,opt,name=data_subject_id,json=dataSubjectId,proto3" json:"data_subject_id,omitempty"` KeylinksAndTimestamps []*DatasubjectKeylinks_KeylinkAndTimestamp `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
* one data subject 0 or more key links, each of which could have been used to encrypt data up to a certain point in time.
func (*DatasubjectKeylinks) Descriptor
deprecated
func (*DatasubjectKeylinks) Descriptor() ([]byte, []int)
Deprecated: Use DatasubjectKeylinks.ProtoReflect.Descriptor instead.
func (*DatasubjectKeylinks) GetDataSubjectId ¶
func (x *DatasubjectKeylinks) GetDataSubjectId() string
func (*DatasubjectKeylinks) GetKeylinksAndTimestamps ¶
func (x *DatasubjectKeylinks) GetKeylinksAndTimestamps() []*DatasubjectKeylinks_KeylinkAndTimestamp
func (*DatasubjectKeylinks) ProtoMessage ¶
func (*DatasubjectKeylinks) ProtoMessage()
func (*DatasubjectKeylinks) ProtoReflect ¶
func (x *DatasubjectKeylinks) ProtoReflect() protoreflect.Message
func (*DatasubjectKeylinks) Reset ¶
func (x *DatasubjectKeylinks) Reset()
func (*DatasubjectKeylinks) String ¶
func (x *DatasubjectKeylinks) String() string
type DatasubjectKeylinks_KeylinkAndTimestamp ¶
type DatasubjectKeylinks_KeylinkAndTimestamp struct { KeyLink string `protobuf:"bytes,1,opt,name=key_link,json=keyLink,proto3" json:"key_link,omitempty"` ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` // contains filtered or unexported fields }
func (*DatasubjectKeylinks_KeylinkAndTimestamp) Descriptor
deprecated
func (*DatasubjectKeylinks_KeylinkAndTimestamp) Descriptor() ([]byte, []int)
Deprecated: Use DatasubjectKeylinks_KeylinkAndTimestamp.ProtoReflect.Descriptor instead.
func (*DatasubjectKeylinks_KeylinkAndTimestamp) GetExpiryTime ¶
func (x *DatasubjectKeylinks_KeylinkAndTimestamp) GetExpiryTime() *timestamppb.Timestamp
func (*DatasubjectKeylinks_KeylinkAndTimestamp) GetKeyLink ¶
func (x *DatasubjectKeylinks_KeylinkAndTimestamp) GetKeyLink() string
func (*DatasubjectKeylinks_KeylinkAndTimestamp) ProtoMessage ¶
func (*DatasubjectKeylinks_KeylinkAndTimestamp) ProtoMessage()
func (*DatasubjectKeylinks_KeylinkAndTimestamp) ProtoReflect ¶
func (x *DatasubjectKeylinks_KeylinkAndTimestamp) ProtoReflect() protoreflect.Message
func (*DatasubjectKeylinks_KeylinkAndTimestamp) Reset ¶
func (x *DatasubjectKeylinks_KeylinkAndTimestamp) Reset()
func (*DatasubjectKeylinks_KeylinkAndTimestamp) String ¶
func (x *DatasubjectKeylinks_KeylinkAndTimestamp) String() string
type DeleteDataSubjectsRequest ¶
type DeleteDataSubjectsRequest struct { DataSubjects []string `protobuf:"bytes,1,rep,name=data_subjects,json=dataSubjects,proto3" json:"data_subjects,omitempty"` // this parameter is filled in in the management-api from the identity of the caller // it must be empty when a call is made to the management-api. OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDataSubjectsRequest) Descriptor
deprecated
func (*DeleteDataSubjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDataSubjectsRequest.ProtoReflect.Descriptor instead.
func (*DeleteDataSubjectsRequest) GetDataSubjects ¶
func (x *DeleteDataSubjectsRequest) GetDataSubjects() []string
func (*DeleteDataSubjectsRequest) GetOrganizationId ¶
func (x *DeleteDataSubjectsRequest) GetOrganizationId() string
func (*DeleteDataSubjectsRequest) ProtoMessage ¶
func (*DeleteDataSubjectsRequest) ProtoMessage()
func (*DeleteDataSubjectsRequest) ProtoReflect ¶
func (x *DeleteDataSubjectsRequest) ProtoReflect() protoreflect.Message
func (*DeleteDataSubjectsRequest) Reset ¶
func (x *DeleteDataSubjectsRequest) Reset()
func (*DeleteDataSubjectsRequest) String ¶
func (x *DeleteDataSubjectsRequest) String() string
type DeleteDataSubjectsResponse ¶
type DeleteDataSubjectsResponse struct { DeletedKeylinksCount int64 `protobuf:"varint,1,opt,name=deleted_keylinks_count,json=deletedKeylinksCount,proto3" json:"deleted_keylinks_count,omitempty"` // contains filtered or unexported fields }
func (*DeleteDataSubjectsResponse) Descriptor
deprecated
func (*DeleteDataSubjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDataSubjectsResponse.ProtoReflect.Descriptor instead.
func (*DeleteDataSubjectsResponse) GetDeletedKeylinksCount ¶
func (x *DeleteDataSubjectsResponse) GetDeletedKeylinksCount() int64
func (*DeleteDataSubjectsResponse) ProtoMessage ¶
func (*DeleteDataSubjectsResponse) ProtoMessage()
func (*DeleteDataSubjectsResponse) ProtoReflect ¶
func (x *DeleteDataSubjectsResponse) ProtoReflect() protoreflect.Message
func (*DeleteDataSubjectsResponse) Reset ¶
func (x *DeleteDataSubjectsResponse) Reset()
func (*DeleteDataSubjectsResponse) String ¶
func (x *DeleteDataSubjectsResponse) String() string
type ListDataSubjectKeylinksRequest ¶
type ListDataSubjectKeylinksRequest struct { // data_subject_id is defined by the external organization, and can be almost any string (customer-id, car license plate // mac address, .... // here we're just adding a sanity constraints to limit to printable characters DataSubjectId []string `protobuf:"bytes,1,rep,name=data_subject_id,json=dataSubjectId,proto3" json:"data_subject_id,omitempty"` // this parameter is filled in in the management-api from the identity of the caller // it must be empty when a call is made to the management-api. OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*ListDataSubjectKeylinksRequest) Descriptor
deprecated
func (*ListDataSubjectKeylinksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSubjectKeylinksRequest.ProtoReflect.Descriptor instead.
func (*ListDataSubjectKeylinksRequest) GetDataSubjectId ¶
func (x *ListDataSubjectKeylinksRequest) GetDataSubjectId() []string
func (*ListDataSubjectKeylinksRequest) GetOrganizationId ¶
func (x *ListDataSubjectKeylinksRequest) GetOrganizationId() string
func (*ListDataSubjectKeylinksRequest) ProtoMessage ¶
func (*ListDataSubjectKeylinksRequest) ProtoMessage()
func (*ListDataSubjectKeylinksRequest) ProtoReflect ¶
func (x *ListDataSubjectKeylinksRequest) ProtoReflect() protoreflect.Message
func (*ListDataSubjectKeylinksRequest) Reset ¶
func (x *ListDataSubjectKeylinksRequest) Reset()
func (*ListDataSubjectKeylinksRequest) String ¶
func (x *ListDataSubjectKeylinksRequest) String() string
type ListDataSubjectKeylinksResponse ¶
type ListDataSubjectKeylinksResponse struct { DataSubjectKeylinks []*DatasubjectKeylinks `protobuf:"bytes,1,rep,name=data_subject_keylinks,json=dataSubjectKeylinks,proto3" json:"data_subject_keylinks,omitempty"` // contains filtered or unexported fields }
func (*ListDataSubjectKeylinksResponse) Descriptor
deprecated
func (*ListDataSubjectKeylinksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSubjectKeylinksResponse.ProtoReflect.Descriptor instead.
func (*ListDataSubjectKeylinksResponse) GetDataSubjectKeylinks ¶
func (x *ListDataSubjectKeylinksResponse) GetDataSubjectKeylinks() []*DatasubjectKeylinks
func (*ListDataSubjectKeylinksResponse) ProtoMessage ¶
func (*ListDataSubjectKeylinksResponse) ProtoMessage()
func (*ListDataSubjectKeylinksResponse) ProtoReflect ¶
func (x *ListDataSubjectKeylinksResponse) ProtoReflect() protoreflect.Message
func (*ListDataSubjectKeylinksResponse) Reset ¶
func (x *ListDataSubjectKeylinksResponse) Reset()
func (*ListDataSubjectKeylinksResponse) String ¶
func (x *ListDataSubjectKeylinksResponse) String() string
type ListDataSubjectsRequest ¶ added in v2.48.0
type ListDataSubjectsRequest struct { // https://cloud.google.com/apis/design/design_patterns#list_pagination PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // maximum number of results returned. 0 means the server decides. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // this parameter is filled in in the management-api from the identity of the caller // it must be empty when a call is made to the management-api. OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*ListDataSubjectsRequest) Descriptor
deprecated
added in
v2.48.0
func (*ListDataSubjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSubjectsRequest.ProtoReflect.Descriptor instead.
func (*ListDataSubjectsRequest) GetOrganizationId ¶ added in v2.48.0
func (x *ListDataSubjectsRequest) GetOrganizationId() string
func (*ListDataSubjectsRequest) GetPageSize ¶ added in v2.48.0
func (x *ListDataSubjectsRequest) GetPageSize() int32
func (*ListDataSubjectsRequest) GetPageToken ¶ added in v2.48.0
func (x *ListDataSubjectsRequest) GetPageToken() string
func (*ListDataSubjectsRequest) ProtoMessage ¶ added in v2.48.0
func (*ListDataSubjectsRequest) ProtoMessage()
func (*ListDataSubjectsRequest) ProtoReflect ¶ added in v2.48.0
func (x *ListDataSubjectsRequest) ProtoReflect() protoreflect.Message
func (*ListDataSubjectsRequest) Reset ¶ added in v2.48.0
func (x *ListDataSubjectsRequest) Reset()
func (*ListDataSubjectsRequest) String ¶ added in v2.48.0
func (x *ListDataSubjectsRequest) String() string
type ListDataSubjectsResponse ¶ added in v2.48.0
type ListDataSubjectsResponse struct { DataSubjects []*ListDataSubjectsResponse_DataSubjectInfo `protobuf:"bytes,1,rep,name=data_subjects,json=dataSubjects,proto3" json:"data_subjects,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 (*ListDataSubjectsResponse) Descriptor
deprecated
added in
v2.48.0
func (*ListDataSubjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSubjectsResponse.ProtoReflect.Descriptor instead.
func (*ListDataSubjectsResponse) GetDataSubjects ¶ added in v2.48.0
func (x *ListDataSubjectsResponse) GetDataSubjects() []*ListDataSubjectsResponse_DataSubjectInfo
func (*ListDataSubjectsResponse) GetNextPageToken ¶ added in v2.48.0
func (x *ListDataSubjectsResponse) GetNextPageToken() string
func (*ListDataSubjectsResponse) ProtoMessage ¶ added in v2.48.0
func (*ListDataSubjectsResponse) ProtoMessage()
func (*ListDataSubjectsResponse) ProtoReflect ¶ added in v2.48.0
func (x *ListDataSubjectsResponse) ProtoReflect() protoreflect.Message
func (*ListDataSubjectsResponse) Reset ¶ added in v2.48.0
func (x *ListDataSubjectsResponse) Reset()
func (*ListDataSubjectsResponse) String ¶ added in v2.48.0
func (x *ListDataSubjectsResponse) String() string
type ListDataSubjectsResponse_DataSubjectInfo ¶ added in v2.48.0
type ListDataSubjectsResponse_DataSubjectInfo struct { DataSubjectId string `protobuf:"bytes,1,opt,name=data_subject_id,json=dataSubjectId,proto3" json:"data_subject_id,omitempty"` // contains filtered or unexported fields }
for future info expansion we put the data subject in a message
func (*ListDataSubjectsResponse_DataSubjectInfo) Descriptor
deprecated
added in
v2.48.0
func (*ListDataSubjectsResponse_DataSubjectInfo) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSubjectsResponse_DataSubjectInfo.ProtoReflect.Descriptor instead.
func (*ListDataSubjectsResponse_DataSubjectInfo) GetDataSubjectId ¶ added in v2.48.0
func (x *ListDataSubjectsResponse_DataSubjectInfo) GetDataSubjectId() string
func (*ListDataSubjectsResponse_DataSubjectInfo) ProtoMessage ¶ added in v2.48.0
func (*ListDataSubjectsResponse_DataSubjectInfo) ProtoMessage()
func (*ListDataSubjectsResponse_DataSubjectInfo) ProtoReflect ¶ added in v2.48.0
func (x *ListDataSubjectsResponse_DataSubjectInfo) ProtoReflect() protoreflect.Message
func (*ListDataSubjectsResponse_DataSubjectInfo) Reset ¶ added in v2.48.0
func (x *ListDataSubjectsResponse_DataSubjectInfo) Reset()
func (*ListDataSubjectsResponse_DataSubjectInfo) String ¶ added in v2.48.0
func (x *ListDataSubjectsResponse_DataSubjectInfo) String() string
type UnimplementedDataSubjectsServiceServer ¶
type UnimplementedDataSubjectsServiceServer struct { }
UnimplementedDataSubjectsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDataSubjectsServiceServer) AddDataSubjectsKeyLinks ¶
func (UnimplementedDataSubjectsServiceServer) AddDataSubjectsKeyLinks(context.Context, *AddDataSubjectsKeyLinksRequest) (*AddDataSubjectsKeyLinksResponse, error)
func (UnimplementedDataSubjectsServiceServer) DeleteDataSubjects ¶
func (UnimplementedDataSubjectsServiceServer) DeleteDataSubjects(context.Context, *DeleteDataSubjectsRequest) (*DeleteDataSubjectsResponse, error)
func (UnimplementedDataSubjectsServiceServer) ListDataSubjectKeylinks ¶
func (UnimplementedDataSubjectsServiceServer) ListDataSubjectKeylinks(context.Context, *ListDataSubjectKeylinksRequest) (*ListDataSubjectKeylinksResponse, error)
func (UnimplementedDataSubjectsServiceServer) ListDataSubjects ¶ added in v2.48.0
func (UnimplementedDataSubjectsServiceServer) ListDataSubjects(context.Context, *ListDataSubjectsRequest) (*ListDataSubjectsResponse, error)
type UnsafeDataSubjectsServiceServer ¶
type UnsafeDataSubjectsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDataSubjectsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataSubjectsServiceServer will result in compilation errors.