tdav1beta1

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TrustedDataAccessAPI_DataAccess_FullMethodName    = "/indykite.tda.v1beta1.TrustedDataAccessAPI/DataAccess"
	TrustedDataAccessAPI_GrantConsent_FullMethodName  = "/indykite.tda.v1beta1.TrustedDataAccessAPI/GrantConsent"
	TrustedDataAccessAPI_RevokeConsent_FullMethodName = "/indykite.tda.v1beta1.TrustedDataAccessAPI/RevokeConsent"
	TrustedDataAccessAPI_ListConsents_FullMethodName  = "/indykite.tda.v1beta1.TrustedDataAccessAPI/ListConsents"
)

Variables

View Source
var File_indykite_tda_v1beta1_model_proto protoreflect.FileDescriptor
View Source
var File_indykite_tda_v1beta1_trusted_data_access_api_proto protoreflect.FileDescriptor
View Source
var TrustedDataAccessAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "indykite.tda.v1beta1.TrustedDataAccessAPI",
	HandlerType: (*TrustedDataAccessAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DataAccess",
			Handler:    _TrustedDataAccessAPI_DataAccess_Handler,
		},
		{
			MethodName: "GrantConsent",
			Handler:    _TrustedDataAccessAPI_GrantConsent_Handler,
		},
		{
			MethodName: "RevokeConsent",
			Handler:    _TrustedDataAccessAPI_RevokeConsent_Handler,
		},
		{
			MethodName: "ListConsents",
			Handler:    _TrustedDataAccessAPI_ListConsents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "indykite/tda/v1beta1/trusted_data_access_api.proto",
}

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

Functions

func RegisterTrustedDataAccessAPIServer

func RegisterTrustedDataAccessAPIServer(s grpc.ServiceRegistrar, srv TrustedDataAccessAPIServer)

Types

type Consent struct {

	// Unique identifier for the consent
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Properties []string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Consent) Descriptor deprecated

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

Deprecated: Use Consent.ProtoReflect.Descriptor instead.

func (*Consent) GetId

func (x *Consent) GetId() string

func (*Consent) GetProperties

func (x *Consent) GetProperties() []string

func (*Consent) ProtoMessage

func (*Consent) ProtoMessage()

func (*Consent) ProtoReflect

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

func (*Consent) Reset

func (x *Consent) Reset()

func (*Consent) String

func (x *Consent) String() string

func (*Consent) Validate

func (m *Consent) Validate() error

Validate checks the field values on Consent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Consent) ValidateAll

func (m *Consent) ValidateAll() error

ValidateAll checks the field values on Consent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConsentMultiError, or nil if none found.

type ConsentMultiError

type ConsentMultiError []error

ConsentMultiError is an error wrapping multiple validation errors returned by Consent.ValidateAll() if the designated constraints aren't met.

func (ConsentMultiError) AllErrors

func (m ConsentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConsentMultiError) Error

func (m ConsentMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConsentValidationError

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

ConsentValidationError is the validation error returned by Consent.Validate if the designated constraints aren't met.

func (ConsentValidationError) Cause

func (e ConsentValidationError) Cause() error

Cause function returns cause value.

func (ConsentValidationError) Error

func (e ConsentValidationError) Error() string

Error satisfies the builtin error interface

func (ConsentValidationError) ErrorName

func (e ConsentValidationError) ErrorName() string

ErrorName returns error name.

func (ConsentValidationError) Field

func (e ConsentValidationError) Field() string

Field function returns field value.

func (ConsentValidationError) Key

func (e ConsentValidationError) Key() bool

Key function returns key value.

func (ConsentValidationError) Reason

func (e ConsentValidationError) Reason() string

Reason function returns reason value.

type DataAccessRequest

type DataAccessRequest struct {

	// Unique identifier for the consent
	ConsentId string `protobuf:"bytes,1,opt,name=consent_id,json=consentId,proto3" json:"consent_id,omitempty"`
	// ApplicationId is the id of the application that the consent is for.
	ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	// Optional, unique identifier for the user.
	User *v1beta1.User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*DataAccessRequest) Descriptor deprecated

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

Deprecated: Use DataAccessRequest.ProtoReflect.Descriptor instead.

func (*DataAccessRequest) GetApplicationId

func (x *DataAccessRequest) GetApplicationId() string

func (*DataAccessRequest) GetConsentId

func (x *DataAccessRequest) GetConsentId() string

func (*DataAccessRequest) GetUser

func (x *DataAccessRequest) GetUser() *v1beta1.User

func (*DataAccessRequest) ProtoMessage

func (*DataAccessRequest) ProtoMessage()

func (*DataAccessRequest) ProtoReflect

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

func (*DataAccessRequest) Reset

func (x *DataAccessRequest) Reset()

func (*DataAccessRequest) String

func (x *DataAccessRequest) String() string

func (*DataAccessRequest) Validate

func (m *DataAccessRequest) Validate() error

Validate checks the field values on DataAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DataAccessRequest) ValidateAll

func (m *DataAccessRequest) ValidateAll() error

ValidateAll checks the field values on DataAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataAccessRequestMultiError, or nil if none found.

type DataAccessRequestMultiError

type DataAccessRequestMultiError []error

DataAccessRequestMultiError is an error wrapping multiple validation errors returned by DataAccessRequest.ValidateAll() if the designated constraints aren't met.

func (DataAccessRequestMultiError) AllErrors

func (m DataAccessRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataAccessRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DataAccessRequestValidationError

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

DataAccessRequestValidationError is the validation error returned by DataAccessRequest.Validate if the designated constraints aren't met.

func (DataAccessRequestValidationError) Cause

Cause function returns cause value.

func (DataAccessRequestValidationError) Error

Error satisfies the builtin error interface

func (DataAccessRequestValidationError) ErrorName

ErrorName returns error name.

func (DataAccessRequestValidationError) Field

Field function returns field value.

func (DataAccessRequestValidationError) Key

Key function returns key value.

func (DataAccessRequestValidationError) Reason

Reason function returns reason value.

type DataAccessResponse

type DataAccessResponse struct {
	Nodes []*TrustedDataNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*DataAccessResponse) Descriptor deprecated

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

Deprecated: Use DataAccessResponse.ProtoReflect.Descriptor instead.

func (*DataAccessResponse) GetNodes

func (x *DataAccessResponse) GetNodes() []*TrustedDataNode

func (*DataAccessResponse) ProtoMessage

func (*DataAccessResponse) ProtoMessage()

func (*DataAccessResponse) ProtoReflect

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

func (*DataAccessResponse) Reset

func (x *DataAccessResponse) Reset()

func (*DataAccessResponse) String

func (x *DataAccessResponse) String() string

func (*DataAccessResponse) Validate

func (m *DataAccessResponse) Validate() error

Validate checks the field values on DataAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DataAccessResponse) ValidateAll

func (m *DataAccessResponse) ValidateAll() error

ValidateAll checks the field values on DataAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataAccessResponseMultiError, or nil if none found.

type DataAccessResponseMultiError

type DataAccessResponseMultiError []error

DataAccessResponseMultiError is an error wrapping multiple validation errors returned by DataAccessResponse.ValidateAll() if the designated constraints aren't met.

func (DataAccessResponseMultiError) AllErrors

func (m DataAccessResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataAccessResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DataAccessResponseValidationError

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

DataAccessResponseValidationError is the validation error returned by DataAccessResponse.Validate if the designated constraints aren't met.

func (DataAccessResponseValidationError) Cause

Cause function returns cause value.

func (DataAccessResponseValidationError) Error

Error satisfies the builtin error interface

func (DataAccessResponseValidationError) ErrorName

ErrorName returns error name.

func (DataAccessResponseValidationError) Field

Field function returns field value.

func (DataAccessResponseValidationError) Key

Key function returns key value.

func (DataAccessResponseValidationError) Reason

Reason function returns reason value.

type GrantConsentRequest

type GrantConsentRequest struct {

	// Unique identifier for the user
	User *v1beta1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Unique identifier for the consent
	ConsentId string `protobuf:"bytes,2,opt,name=consent_id,json=consentId,proto3" json:"consent_id,omitempty"`
	// Optional: Specifies the duration in second that the consent remains valid, ranging from 1 day to 2 years.
	// Should be lower or equal to the consent's configuration.
	ValidityPeriod uint64 `protobuf:"varint,4,opt,name=validity_period,json=validityPeriod,proto3" json:"validity_period,omitempty"`
	// contains filtered or unexported fields
}

The request to grant consent

func (*GrantConsentRequest) Descriptor deprecated

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

Deprecated: Use GrantConsentRequest.ProtoReflect.Descriptor instead.

func (*GrantConsentRequest) GetConsentId

func (x *GrantConsentRequest) GetConsentId() string

func (*GrantConsentRequest) GetUser

func (x *GrantConsentRequest) GetUser() *v1beta1.User

func (*GrantConsentRequest) GetValidityPeriod added in v0.27.0

func (x *GrantConsentRequest) GetValidityPeriod() uint64

func (*GrantConsentRequest) ProtoMessage

func (*GrantConsentRequest) ProtoMessage()

func (*GrantConsentRequest) ProtoReflect

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

func (*GrantConsentRequest) Reset

func (x *GrantConsentRequest) Reset()

func (*GrantConsentRequest) String

func (x *GrantConsentRequest) String() string

func (*GrantConsentRequest) Validate

func (m *GrantConsentRequest) Validate() error

Validate checks the field values on GrantConsentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrantConsentRequest) ValidateAll

func (m *GrantConsentRequest) ValidateAll() error

ValidateAll checks the field values on GrantConsentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantConsentRequestMultiError, or nil if none found.

type GrantConsentRequestMultiError

type GrantConsentRequestMultiError []error

GrantConsentRequestMultiError is an error wrapping multiple validation errors returned by GrantConsentRequest.ValidateAll() if the designated constraints aren't met.

func (GrantConsentRequestMultiError) AllErrors

func (m GrantConsentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrantConsentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GrantConsentRequestValidationError

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

GrantConsentRequestValidationError is the validation error returned by GrantConsentRequest.Validate if the designated constraints aren't met.

func (GrantConsentRequestValidationError) Cause

Cause function returns cause value.

func (GrantConsentRequestValidationError) Error

Error satisfies the builtin error interface

func (GrantConsentRequestValidationError) ErrorName

ErrorName returns error name.

func (GrantConsentRequestValidationError) Field

Field function returns field value.

func (GrantConsentRequestValidationError) Key

Key function returns key value.

func (GrantConsentRequestValidationError) Reason

Reason function returns reason value.

type GrantConsentResponse

type GrantConsentResponse struct {
	PropertiesGrantedCount uint64 `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GrantConsentResponse) Descriptor deprecated

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

Deprecated: Use GrantConsentResponse.ProtoReflect.Descriptor instead.

func (*GrantConsentResponse) GetPropertiesGrantedCount added in v0.30.1

func (x *GrantConsentResponse) GetPropertiesGrantedCount() uint64

func (*GrantConsentResponse) ProtoMessage

func (*GrantConsentResponse) ProtoMessage()

func (*GrantConsentResponse) ProtoReflect

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

func (*GrantConsentResponse) Reset

func (x *GrantConsentResponse) Reset()

func (*GrantConsentResponse) String

func (x *GrantConsentResponse) String() string

func (*GrantConsentResponse) Validate

func (m *GrantConsentResponse) Validate() error

Validate checks the field values on GrantConsentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrantConsentResponse) ValidateAll

func (m *GrantConsentResponse) ValidateAll() error

ValidateAll checks the field values on GrantConsentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantConsentResponseMultiError, or nil if none found.

type GrantConsentResponseMultiError

type GrantConsentResponseMultiError []error

GrantConsentResponseMultiError is an error wrapping multiple validation errors returned by GrantConsentResponse.ValidateAll() if the designated constraints aren't met.

func (GrantConsentResponseMultiError) AllErrors

func (m GrantConsentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrantConsentResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GrantConsentResponseValidationError

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

GrantConsentResponseValidationError is the validation error returned by GrantConsentResponse.Validate if the designated constraints aren't met.

func (GrantConsentResponseValidationError) Cause

Cause function returns cause value.

func (GrantConsentResponseValidationError) Error

Error satisfies the builtin error interface

func (GrantConsentResponseValidationError) ErrorName

ErrorName returns error name.

func (GrantConsentResponseValidationError) Field

Field function returns field value.

func (GrantConsentResponseValidationError) Key

Key function returns key value.

func (GrantConsentResponseValidationError) Reason

Reason function returns reason value.

type ListConsentsRequest

type ListConsentsRequest struct {

	// Unique identifier for the user.
	User *v1beta1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// ApplicationId is the id of the application that the consent is for.
	ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConsentsRequest) Descriptor deprecated

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

Deprecated: Use ListConsentsRequest.ProtoReflect.Descriptor instead.

func (*ListConsentsRequest) GetApplicationId

func (x *ListConsentsRequest) GetApplicationId() string

func (*ListConsentsRequest) GetUser

func (x *ListConsentsRequest) GetUser() *v1beta1.User

func (*ListConsentsRequest) ProtoMessage

func (*ListConsentsRequest) ProtoMessage()

func (*ListConsentsRequest) ProtoReflect

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

func (*ListConsentsRequest) Reset

func (x *ListConsentsRequest) Reset()

func (*ListConsentsRequest) String

func (x *ListConsentsRequest) String() string

func (*ListConsentsRequest) Validate

func (m *ListConsentsRequest) Validate() error

Validate checks the field values on ListConsentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConsentsRequest) ValidateAll

func (m *ListConsentsRequest) ValidateAll() error

ValidateAll checks the field values on ListConsentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConsentsRequestMultiError, or nil if none found.

type ListConsentsRequestMultiError

type ListConsentsRequestMultiError []error

ListConsentsRequestMultiError is an error wrapping multiple validation errors returned by ListConsentsRequest.ValidateAll() if the designated constraints aren't met.

func (ListConsentsRequestMultiError) AllErrors

func (m ListConsentsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListConsentsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConsentsRequestValidationError

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

ListConsentsRequestValidationError is the validation error returned by ListConsentsRequest.Validate if the designated constraints aren't met.

func (ListConsentsRequestValidationError) Cause

Cause function returns cause value.

func (ListConsentsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListConsentsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListConsentsRequestValidationError) Field

Field function returns field value.

func (ListConsentsRequestValidationError) Key

Key function returns key value.

func (ListConsentsRequestValidationError) Reason

Reason function returns reason value.

type ListConsentsResponse

type ListConsentsResponse struct {
	Consents []*Consent `protobuf:"bytes,1,rep,name=consents,proto3" json:"consents,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConsentsResponse) Descriptor deprecated

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

Deprecated: Use ListConsentsResponse.ProtoReflect.Descriptor instead.

func (*ListConsentsResponse) GetConsents

func (x *ListConsentsResponse) GetConsents() []*Consent

func (*ListConsentsResponse) ProtoMessage

func (*ListConsentsResponse) ProtoMessage()

func (*ListConsentsResponse) ProtoReflect

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

func (*ListConsentsResponse) Reset

func (x *ListConsentsResponse) Reset()

func (*ListConsentsResponse) String

func (x *ListConsentsResponse) String() string

func (*ListConsentsResponse) Validate

func (m *ListConsentsResponse) Validate() error

Validate checks the field values on ListConsentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConsentsResponse) ValidateAll

func (m *ListConsentsResponse) ValidateAll() error

ValidateAll checks the field values on ListConsentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConsentsResponseMultiError, or nil if none found.

type ListConsentsResponseMultiError

type ListConsentsResponseMultiError []error

ListConsentsResponseMultiError is an error wrapping multiple validation errors returned by ListConsentsResponse.ValidateAll() if the designated constraints aren't met.

func (ListConsentsResponseMultiError) AllErrors

func (m ListConsentsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListConsentsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConsentsResponseValidationError

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

ListConsentsResponseValidationError is the validation error returned by ListConsentsResponse.Validate if the designated constraints aren't met.

func (ListConsentsResponseValidationError) Cause

Cause function returns cause value.

func (ListConsentsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListConsentsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListConsentsResponseValidationError) Field

Field function returns field value.

func (ListConsentsResponseValidationError) Key

Key function returns key value.

func (ListConsentsResponseValidationError) Reason

Reason function returns reason value.

type RevokeConsentRequest

type RevokeConsentRequest struct {

	// Unique identifier for the user
	User *v1beta1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Unique identifier for the consent
	ConsentId string `protobuf:"bytes,2,opt,name=consent_id,json=consentId,proto3" json:"consent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeConsentRequest) Descriptor deprecated

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

Deprecated: Use RevokeConsentRequest.ProtoReflect.Descriptor instead.

func (*RevokeConsentRequest) GetConsentId

func (x *RevokeConsentRequest) GetConsentId() string

func (*RevokeConsentRequest) GetUser

func (x *RevokeConsentRequest) GetUser() *v1beta1.User

func (*RevokeConsentRequest) ProtoMessage

func (*RevokeConsentRequest) ProtoMessage()

func (*RevokeConsentRequest) ProtoReflect

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

func (*RevokeConsentRequest) Reset

func (x *RevokeConsentRequest) Reset()

func (*RevokeConsentRequest) String

func (x *RevokeConsentRequest) String() string

func (*RevokeConsentRequest) Validate

func (m *RevokeConsentRequest) Validate() error

Validate checks the field values on RevokeConsentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RevokeConsentRequest) ValidateAll

func (m *RevokeConsentRequest) ValidateAll() error

ValidateAll checks the field values on RevokeConsentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RevokeConsentRequestMultiError, or nil if none found.

type RevokeConsentRequestMultiError

type RevokeConsentRequestMultiError []error

RevokeConsentRequestMultiError is an error wrapping multiple validation errors returned by RevokeConsentRequest.ValidateAll() if the designated constraints aren't met.

func (RevokeConsentRequestMultiError) AllErrors

func (m RevokeConsentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevokeConsentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RevokeConsentRequestValidationError

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

RevokeConsentRequestValidationError is the validation error returned by RevokeConsentRequest.Validate if the designated constraints aren't met.

func (RevokeConsentRequestValidationError) Cause

Cause function returns cause value.

func (RevokeConsentRequestValidationError) Error

Error satisfies the builtin error interface

func (RevokeConsentRequestValidationError) ErrorName

ErrorName returns error name.

func (RevokeConsentRequestValidationError) Field

Field function returns field value.

func (RevokeConsentRequestValidationError) Key

Key function returns key value.

func (RevokeConsentRequestValidationError) Reason

Reason function returns reason value.

type RevokeConsentResponse

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

func (*RevokeConsentResponse) Descriptor deprecated

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

Deprecated: Use RevokeConsentResponse.ProtoReflect.Descriptor instead.

func (*RevokeConsentResponse) ProtoMessage

func (*RevokeConsentResponse) ProtoMessage()

func (*RevokeConsentResponse) ProtoReflect

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

func (*RevokeConsentResponse) Reset

func (x *RevokeConsentResponse) Reset()

func (*RevokeConsentResponse) String

func (x *RevokeConsentResponse) String() string

func (*RevokeConsentResponse) Validate

func (m *RevokeConsentResponse) Validate() error

Validate checks the field values on RevokeConsentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RevokeConsentResponse) ValidateAll

func (m *RevokeConsentResponse) ValidateAll() error

ValidateAll checks the field values on RevokeConsentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RevokeConsentResponseMultiError, or nil if none found.

type RevokeConsentResponseMultiError

type RevokeConsentResponseMultiError []error

RevokeConsentResponseMultiError is an error wrapping multiple validation errors returned by RevokeConsentResponse.ValidateAll() if the designated constraints aren't met.

func (RevokeConsentResponseMultiError) AllErrors

func (m RevokeConsentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevokeConsentResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RevokeConsentResponseValidationError

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

RevokeConsentResponseValidationError is the validation error returned by RevokeConsentResponse.Validate if the designated constraints aren't met.

func (RevokeConsentResponseValidationError) Cause

Cause function returns cause value.

func (RevokeConsentResponseValidationError) Error

Error satisfies the builtin error interface

func (RevokeConsentResponseValidationError) ErrorName

ErrorName returns error name.

func (RevokeConsentResponseValidationError) Field

Field function returns field value.

func (RevokeConsentResponseValidationError) Key

Key function returns key value.

func (RevokeConsentResponseValidationError) Reason

Reason function returns reason value.

type TrustedDataAccessAPIClient

type TrustedDataAccessAPIClient interface {
	DataAccess(ctx context.Context, in *DataAccessRequest, opts ...grpc.CallOption) (*DataAccessResponse, error)
	GrantConsent(ctx context.Context, in *GrantConsentRequest, opts ...grpc.CallOption) (*GrantConsentResponse, error)
	RevokeConsent(ctx context.Context, in *RevokeConsentRequest, opts ...grpc.CallOption) (*RevokeConsentResponse, error)
	// ListConsents returns all Consents (and the consented properties) between the specified application and user.
	ListConsents(ctx context.Context, in *ListConsentsRequest, opts ...grpc.CallOption) (*ListConsentsResponse, error)
}

TrustedDataAccessAPIClient is the client API for TrustedDataAccessAPI 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.

TrustedDataAccessAPI represents the service interface for the Trusted Data Access API.

type TrustedDataAccessAPIServer

type TrustedDataAccessAPIServer interface {
	DataAccess(context.Context, *DataAccessRequest) (*DataAccessResponse, error)
	GrantConsent(context.Context, *GrantConsentRequest) (*GrantConsentResponse, error)
	RevokeConsent(context.Context, *RevokeConsentRequest) (*RevokeConsentResponse, error)
	// ListConsents returns all Consents (and the consented properties) between the specified application and user.
	ListConsents(context.Context, *ListConsentsRequest) (*ListConsentsResponse, error)
}

TrustedDataAccessAPIServer is the server API for TrustedDataAccessAPI service. All implementations should embed UnimplementedTrustedDataAccessAPIServer for forward compatibility

TrustedDataAccessAPI represents the service interface for the Trusted Data Access API.

type TrustedDataNode added in v0.32.0

type TrustedDataNode struct {
	Id         string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // read-only
	ExternalId string                 `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	Type       string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Tags       []string               `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // read-only
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // read-only
	Properties []*v1beta1.Property    `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"`
	IsIdentity bool                   `protobuf:"varint,8,opt,name=is_identity,json=isIdentity,proto3" json:"is_identity,omitempty"`
	Nodes      []*TrustedDataNode     `protobuf:"bytes,9,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

TrustedDataNode represents a node and contains nodes with properties what are trusted by the root node.

func (*TrustedDataNode) Descriptor deprecated added in v0.32.0

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

Deprecated: Use TrustedDataNode.ProtoReflect.Descriptor instead.

func (*TrustedDataNode) GetCreateTime added in v0.32.0

func (x *TrustedDataNode) GetCreateTime() *timestamppb.Timestamp

func (*TrustedDataNode) GetExternalId added in v0.32.0

func (x *TrustedDataNode) GetExternalId() string

func (*TrustedDataNode) GetId added in v0.32.0

func (x *TrustedDataNode) GetId() string

func (*TrustedDataNode) GetIsIdentity added in v0.32.0

func (x *TrustedDataNode) GetIsIdentity() bool

func (*TrustedDataNode) GetNodes added in v0.32.0

func (x *TrustedDataNode) GetNodes() []*TrustedDataNode

func (*TrustedDataNode) GetProperties added in v0.32.0

func (x *TrustedDataNode) GetProperties() []*v1beta1.Property

func (*TrustedDataNode) GetTags added in v0.32.0

func (x *TrustedDataNode) GetTags() []string

func (*TrustedDataNode) GetType added in v0.32.0

func (x *TrustedDataNode) GetType() string

func (*TrustedDataNode) GetUpdateTime added in v0.32.0

func (x *TrustedDataNode) GetUpdateTime() *timestamppb.Timestamp

func (*TrustedDataNode) ProtoMessage added in v0.32.0

func (*TrustedDataNode) ProtoMessage()

func (*TrustedDataNode) ProtoReflect added in v0.32.0

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

func (*TrustedDataNode) Reset added in v0.32.0

func (x *TrustedDataNode) Reset()

func (*TrustedDataNode) String added in v0.32.0

func (x *TrustedDataNode) String() string

func (*TrustedDataNode) Validate added in v0.32.0

func (m *TrustedDataNode) Validate() error

Validate checks the field values on TrustedDataNode with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TrustedDataNode) ValidateAll added in v0.32.0

func (m *TrustedDataNode) ValidateAll() error

ValidateAll checks the field values on TrustedDataNode with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TrustedDataNodeMultiError, or nil if none found.

type TrustedDataNodeMultiError added in v0.32.0

type TrustedDataNodeMultiError []error

TrustedDataNodeMultiError is an error wrapping multiple validation errors returned by TrustedDataNode.ValidateAll() if the designated constraints aren't met.

func (TrustedDataNodeMultiError) AllErrors added in v0.32.0

func (m TrustedDataNodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TrustedDataNodeMultiError) Error added in v0.32.0

Error returns a concatenation of all the error messages it wraps.

type TrustedDataNodeValidationError added in v0.32.0

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

TrustedDataNodeValidationError is the validation error returned by TrustedDataNode.Validate if the designated constraints aren't met.

func (TrustedDataNodeValidationError) Cause added in v0.32.0

Cause function returns cause value.

func (TrustedDataNodeValidationError) Error added in v0.32.0

Error satisfies the builtin error interface

func (TrustedDataNodeValidationError) ErrorName added in v0.32.0

func (e TrustedDataNodeValidationError) ErrorName() string

ErrorName returns error name.

func (TrustedDataNodeValidationError) Field added in v0.32.0

Field function returns field value.

func (TrustedDataNodeValidationError) Key added in v0.32.0

Key function returns key value.

func (TrustedDataNodeValidationError) Reason added in v0.32.0

Reason function returns reason value.

type UnimplementedTrustedDataAccessAPIServer

type UnimplementedTrustedDataAccessAPIServer struct {
}

UnimplementedTrustedDataAccessAPIServer should be embedded to have forward compatible implementations.

func (UnimplementedTrustedDataAccessAPIServer) DataAccess

func (UnimplementedTrustedDataAccessAPIServer) GrantConsent

func (UnimplementedTrustedDataAccessAPIServer) ListConsents

func (UnimplementedTrustedDataAccessAPIServer) RevokeConsent

type UnsafeTrustedDataAccessAPIServer

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

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

Jump to

Keyboard shortcuts

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