Documentation ¶
Index ¶
- Variables
- type Assertion
- type Assertions
- type AuthErrorCode
- func (AuthErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x AuthErrorCode) Enum() *AuthErrorCode
- func (AuthErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthErrorCode) Number() protoreflect.EnumNumber
- func (x AuthErrorCode) String() string
- func (AuthErrorCode) Type() protoreflect.EnumType
- type AuthorizationModel
- func (*AuthorizationModel) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizationModel) GetId() string
- func (x *AuthorizationModel) GetSchemaVersion() string
- func (x *AuthorizationModel) GetTypeDefinitions() []*TypeDefinition
- func (*AuthorizationModel) ProtoMessage()
- func (x *AuthorizationModel) ProtoReflect() protoreflect.Message
- func (x *AuthorizationModel) Reset()
- func (x *AuthorizationModel) String() string
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetAuthorizationModelId() string
- func (x *CheckRequest) GetContextualTuples() *ContextualTupleKeys
- func (x *CheckRequest) GetStoreId() string
- func (x *CheckRequest) GetTrace() bool
- func (x *CheckRequest) GetTupleKey() *TupleKey
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResponse) GetAllowed() bool
- func (x *CheckResponse) GetResolution() string
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- type ContextualTupleKeys
- func (*ContextualTupleKeys) Descriptor() ([]byte, []int)deprecated
- func (x *ContextualTupleKeys) GetTupleKeys() []*TupleKey
- func (*ContextualTupleKeys) ProtoMessage()
- func (x *ContextualTupleKeys) ProtoReflect() protoreflect.Message
- func (x *ContextualTupleKeys) Reset()
- func (x *ContextualTupleKeys) String() string
- type CreateStoreRequest
- func (*CreateStoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStoreRequest) GetName() string
- func (*CreateStoreRequest) ProtoMessage()
- func (x *CreateStoreRequest) ProtoReflect() protoreflect.Message
- func (x *CreateStoreRequest) Reset()
- func (x *CreateStoreRequest) String() string
- type CreateStoreResponse
- func (*CreateStoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStoreResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateStoreResponse) GetId() string
- func (x *CreateStoreResponse) GetName() string
- func (x *CreateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*CreateStoreResponse) ProtoMessage()
- func (x *CreateStoreResponse) ProtoReflect() protoreflect.Message
- func (x *CreateStoreResponse) Reset()
- func (x *CreateStoreResponse) String() string
- type DeleteStoreRequest
- func (*DeleteStoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStoreRequest) GetStoreId() string
- func (*DeleteStoreRequest) ProtoMessage()
- func (x *DeleteStoreRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStoreRequest) Reset()
- func (x *DeleteStoreRequest) String() string
- type DeleteStoreResponse
- type Difference
- type DirectUserset
- type ErrorCode
- type ErrorMessageRequest
- type ExpandRequest
- func (*ExpandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpandRequest) GetAuthorizationModelId() string
- func (x *ExpandRequest) GetStoreId() string
- func (x *ExpandRequest) GetTupleKey() *TupleKey
- func (*ExpandRequest) ProtoMessage()
- func (x *ExpandRequest) ProtoReflect() protoreflect.Message
- func (x *ExpandRequest) Reset()
- func (x *ExpandRequest) String() string
- type ExpandResponse
- type GetStoreRequest
- type GetStoreResponse
- func (*GetStoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStoreResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *GetStoreResponse) GetId() string
- func (x *GetStoreResponse) GetName() string
- func (x *GetStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*GetStoreResponse) ProtoMessage()
- func (x *GetStoreResponse) ProtoReflect() protoreflect.Message
- func (x *GetStoreResponse) Reset()
- func (x *GetStoreResponse) String() string
- type InternalErrorCode
- func (InternalErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x InternalErrorCode) Enum() *InternalErrorCode
- func (InternalErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x InternalErrorCode) Number() protoreflect.EnumNumber
- func (x InternalErrorCode) String() string
- func (InternalErrorCode) Type() protoreflect.EnumType
- type InternalErrorMessageResponse
- func (*InternalErrorMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InternalErrorMessageResponse) GetCode() InternalErrorCode
- func (x *InternalErrorMessageResponse) GetMessage() string
- func (*InternalErrorMessageResponse) ProtoMessage()
- func (x *InternalErrorMessageResponse) ProtoReflect() protoreflect.Message
- func (x *InternalErrorMessageResponse) Reset()
- func (x *InternalErrorMessageResponse) String() string
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsRequest) GetAuthorizationModelId() string
- func (x *ListObjectsRequest) GetContextualTuples() *ContextualTupleKeys
- func (x *ListObjectsRequest) GetRelation() string
- func (x *ListObjectsRequest) GetStoreId() string
- func (x *ListObjectsRequest) GetType() string
- func (x *ListObjectsRequest) GetUser() string
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) String() string
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsResponse) GetObjects() []string
- func (*ListObjectsResponse) ProtoMessage()
- func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectsResponse) Reset()
- func (x *ListObjectsResponse) String() string
- type ListStoresRequest
- func (*ListStoresRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStoresRequest) GetContinuationToken() string
- func (x *ListStoresRequest) GetPageSize() *wrapperspb.Int32Value
- func (*ListStoresRequest) ProtoMessage()
- func (x *ListStoresRequest) ProtoReflect() protoreflect.Message
- func (x *ListStoresRequest) Reset()
- func (x *ListStoresRequest) String() string
- type ListStoresResponse
- func (*ListStoresResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStoresResponse) GetContinuationToken() string
- func (x *ListStoresResponse) GetStores() []*Store
- func (*ListStoresResponse) ProtoMessage()
- func (x *ListStoresResponse) ProtoReflect() protoreflect.Message
- func (x *ListStoresResponse) Reset()
- func (x *ListStoresResponse) String() string
- type Metadata
- type NotFoundErrorCode
- func (NotFoundErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x NotFoundErrorCode) Enum() *NotFoundErrorCode
- func (NotFoundErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotFoundErrorCode) Number() protoreflect.EnumNumber
- func (x NotFoundErrorCode) String() string
- func (NotFoundErrorCode) Type() protoreflect.EnumType
- type Object
- type ObjectRelation
- func (*ObjectRelation) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectRelation) GetObject() string
- func (x *ObjectRelation) GetRelation() string
- func (*ObjectRelation) ProtoMessage()
- func (x *ObjectRelation) ProtoReflect() protoreflect.Message
- func (x *ObjectRelation) Reset()
- func (x *ObjectRelation) String() string
- type PathUnknownErrorMessageResponse
- func (*PathUnknownErrorMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PathUnknownErrorMessageResponse) GetCode() NotFoundErrorCode
- func (x *PathUnknownErrorMessageResponse) GetMessage() string
- func (*PathUnknownErrorMessageResponse) ProtoMessage()
- func (x *PathUnknownErrorMessageResponse) ProtoReflect() protoreflect.Message
- func (x *PathUnknownErrorMessageResponse) Reset()
- func (x *PathUnknownErrorMessageResponse) String() string
- type ReadAssertionsRequest
- func (*ReadAssertionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAssertionsRequest) GetAuthorizationModelId() string
- func (x *ReadAssertionsRequest) GetStoreId() string
- func (*ReadAssertionsRequest) ProtoMessage()
- func (x *ReadAssertionsRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAssertionsRequest) Reset()
- func (x *ReadAssertionsRequest) String() string
- type ReadAssertionsResponse
- func (*ReadAssertionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAssertionsResponse) GetAssertions() []*Assertion
- func (x *ReadAssertionsResponse) GetAuthorizationModelId() string
- func (*ReadAssertionsResponse) ProtoMessage()
- func (x *ReadAssertionsResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAssertionsResponse) Reset()
- func (x *ReadAssertionsResponse) String() string
- type ReadAuthorizationModelRequest
- func (*ReadAuthorizationModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAuthorizationModelRequest) GetId() string
- func (x *ReadAuthorizationModelRequest) GetStoreId() string
- func (*ReadAuthorizationModelRequest) ProtoMessage()
- func (x *ReadAuthorizationModelRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelRequest) Reset()
- func (x *ReadAuthorizationModelRequest) String() string
- type ReadAuthorizationModelResponse
- func (*ReadAuthorizationModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAuthorizationModelResponse) GetAuthorizationModel() *AuthorizationModel
- func (*ReadAuthorizationModelResponse) ProtoMessage()
- func (x *ReadAuthorizationModelResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelResponse) Reset()
- func (x *ReadAuthorizationModelResponse) String() string
- type ReadAuthorizationModelsRequest
- func (*ReadAuthorizationModelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAuthorizationModelsRequest) GetContinuationToken() string
- func (x *ReadAuthorizationModelsRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ReadAuthorizationModelsRequest) GetStoreId() string
- func (*ReadAuthorizationModelsRequest) ProtoMessage()
- func (x *ReadAuthorizationModelsRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelsRequest) Reset()
- func (x *ReadAuthorizationModelsRequest) String() string
- type ReadAuthorizationModelsResponse
- func (*ReadAuthorizationModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAuthorizationModelsResponse) GetAuthorizationModels() []*AuthorizationModel
- func (x *ReadAuthorizationModelsResponse) GetContinuationToken() string
- func (*ReadAuthorizationModelsResponse) ProtoMessage()
- func (x *ReadAuthorizationModelsResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelsResponse) Reset()
- func (x *ReadAuthorizationModelsResponse) String() string
- type ReadChangesRequest
- func (*ReadChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadChangesRequest) GetContinuationToken() string
- func (x *ReadChangesRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ReadChangesRequest) GetStoreId() string
- func (x *ReadChangesRequest) GetType() string
- func (*ReadChangesRequest) ProtoMessage()
- func (x *ReadChangesRequest) ProtoReflect() protoreflect.Message
- func (x *ReadChangesRequest) Reset()
- func (x *ReadChangesRequest) String() string
- type ReadChangesResponse
- func (*ReadChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadChangesResponse) GetChanges() []*TupleChange
- func (x *ReadChangesResponse) GetContinuationToken() string
- func (*ReadChangesResponse) ProtoMessage()
- func (x *ReadChangesResponse) ProtoReflect() protoreflect.Message
- func (x *ReadChangesResponse) Reset()
- func (x *ReadChangesResponse) String() string
- type ReadRequest
- func (*ReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadRequest) GetContinuationToken() string
- func (x *ReadRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ReadRequest) GetStoreId() string
- func (x *ReadRequest) GetTupleKey() *TupleKey
- func (*ReadRequest) ProtoMessage()
- func (x *ReadRequest) ProtoReflect() protoreflect.Message
- func (x *ReadRequest) Reset()
- func (x *ReadRequest) String() string
- type ReadResponse
- func (*ReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResponse) GetContinuationToken() string
- func (x *ReadResponse) GetTuples() []*Tuple
- func (*ReadResponse) ProtoMessage()
- func (x *ReadResponse) ProtoReflect() protoreflect.Message
- func (x *ReadResponse) Reset()
- func (x *ReadResponse) String() string
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetName() string
- func (x *Relation) GetRewrite() *Userset
- func (x *Relation) GetTypeInfo() *RelationTypeInfo
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) String() string
- type RelationMetadata
- func (*RelationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RelationMetadata) GetDirectlyRelatedUserTypes() []*RelationReference
- func (*RelationMetadata) ProtoMessage()
- func (x *RelationMetadata) ProtoReflect() protoreflect.Message
- func (x *RelationMetadata) Reset()
- func (x *RelationMetadata) String() string
- type RelationReference
- func (*RelationReference) Descriptor() ([]byte, []int)deprecated
- func (x *RelationReference) GetRelation() string
- func (m *RelationReference) GetRelationOrWildcard() isRelationReference_RelationOrWildcard
- func (x *RelationReference) GetType() string
- func (x *RelationReference) GetWildcard() *Wildcard
- func (*RelationReference) ProtoMessage()
- func (x *RelationReference) ProtoReflect() protoreflect.Message
- func (x *RelationReference) Reset()
- func (x *RelationReference) String() string
- type RelationReference_Relation
- type RelationReference_Wildcard
- type RelationTypeInfo
- func (*RelationTypeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTypeInfo) GetDirectlyRelatedUserTypes() []*RelationReference
- func (*RelationTypeInfo) ProtoMessage()
- func (x *RelationTypeInfo) ProtoReflect() protoreflect.Message
- func (x *RelationTypeInfo) Reset()
- func (x *RelationTypeInfo) String() string
- type Store
- func (*Store) Descriptor() ([]byte, []int)deprecated
- func (x *Store) GetCreatedAt() *timestamppb.Timestamp
- func (x *Store) GetDeletedAt() *timestamppb.Timestamp
- func (x *Store) GetId() string
- func (x *Store) GetName() string
- func (x *Store) GetUpdatedAt() *timestamppb.Timestamp
- func (*Store) ProtoMessage()
- func (x *Store) ProtoReflect() protoreflect.Message
- func (x *Store) Reset()
- func (x *Store) String() string
- type StreamedListObjectsRequest
- func (*StreamedListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamedListObjectsRequest) GetAuthorizationModelId() string
- func (x *StreamedListObjectsRequest) GetContextualTuples() *ContextualTupleKeys
- func (x *StreamedListObjectsRequest) GetRelation() string
- func (x *StreamedListObjectsRequest) GetStoreId() string
- func (x *StreamedListObjectsRequest) GetType() string
- func (x *StreamedListObjectsRequest) GetUser() string
- func (*StreamedListObjectsRequest) ProtoMessage()
- func (x *StreamedListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamedListObjectsRequest) Reset()
- func (x *StreamedListObjectsRequest) String() string
- type StreamedListObjectsResponse
- func (*StreamedListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamedListObjectsResponse) GetObject() string
- func (*StreamedListObjectsResponse) ProtoMessage()
- func (x *StreamedListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamedListObjectsResponse) Reset()
- func (x *StreamedListObjectsResponse) String() string
- type Tuple
- type TupleChange
- func (*TupleChange) Descriptor() ([]byte, []int)deprecated
- func (x *TupleChange) GetOperation() TupleOperation
- func (x *TupleChange) GetTimestamp() *timestamppb.Timestamp
- func (x *TupleChange) GetTupleKey() *TupleKey
- func (*TupleChange) ProtoMessage()
- func (x *TupleChange) ProtoReflect() protoreflect.Message
- func (x *TupleChange) Reset()
- func (x *TupleChange) String() string
- type TupleKey
- func (*TupleKey) Descriptor() ([]byte, []int)deprecated
- func (x *TupleKey) GetObject() string
- func (x *TupleKey) GetRelation() string
- func (x *TupleKey) GetUser() string
- func (*TupleKey) ProtoMessage()
- func (x *TupleKey) ProtoReflect() protoreflect.Message
- func (x *TupleKey) Reset()
- func (x *TupleKey) String() string
- type TupleKeys
- type TupleOperation
- func (TupleOperation) Descriptor() protoreflect.EnumDescriptor
- func (x TupleOperation) Enum() *TupleOperation
- func (TupleOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x TupleOperation) Number() protoreflect.EnumNumber
- func (x TupleOperation) String() string
- func (TupleOperation) Type() protoreflect.EnumType
- type TupleToUserset
- func (*TupleToUserset) Descriptor() ([]byte, []int)deprecated
- func (x *TupleToUserset) GetComputedUserset() *ObjectRelation
- func (x *TupleToUserset) GetTupleset() *ObjectRelation
- func (*TupleToUserset) ProtoMessage()
- func (x *TupleToUserset) ProtoReflect() protoreflect.Message
- func (x *TupleToUserset) Reset()
- func (x *TupleToUserset) String() string
- type TypeDefinition
- func (*TypeDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefinition) GetMetadata() *Metadata
- func (x *TypeDefinition) GetRelations() map[string]*Userset
- func (x *TypeDefinition) GetType() string
- func (*TypeDefinition) ProtoMessage()
- func (x *TypeDefinition) ProtoReflect() protoreflect.Message
- func (x *TypeDefinition) Reset()
- func (x *TypeDefinition) String() string
- type UpdateStoreRequest
- func (*UpdateStoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStoreRequest) GetName() string
- func (x *UpdateStoreRequest) GetStoreId() string
- func (*UpdateStoreRequest) ProtoMessage()
- func (x *UpdateStoreRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStoreRequest) Reset()
- func (x *UpdateStoreRequest) String() string
- type UpdateStoreResponse
- func (*UpdateStoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStoreResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *UpdateStoreResponse) GetId() string
- func (x *UpdateStoreResponse) GetName() string
- func (x *UpdateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*UpdateStoreResponse) ProtoMessage()
- func (x *UpdateStoreResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateStoreResponse) Reset()
- func (x *UpdateStoreResponse) String() string
- type Userset
- func (*Userset) Descriptor() ([]byte, []int)deprecated
- func (x *Userset) GetComputedUserset() *ObjectRelation
- func (x *Userset) GetDifference() *Difference
- func (x *Userset) GetIntersection() *Usersets
- func (x *Userset) GetThis() *DirectUserset
- func (x *Userset) GetTupleToUserset() *TupleToUserset
- func (x *Userset) GetUnion() *Usersets
- func (m *Userset) GetUserset() isUserset_Userset
- func (*Userset) ProtoMessage()
- func (x *Userset) ProtoReflect() protoreflect.Message
- func (x *Userset) Reset()
- func (x *Userset) String() string
- type UsersetTree
- type UsersetTree_Computed
- func (*UsersetTree_Computed) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Computed) GetUserset() string
- func (*UsersetTree_Computed) ProtoMessage()
- func (x *UsersetTree_Computed) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Computed) Reset()
- func (x *UsersetTree_Computed) String() string
- type UsersetTree_Difference
- func (*UsersetTree_Difference) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Difference) GetBase() *UsersetTree_Node
- func (x *UsersetTree_Difference) GetSubtract() *UsersetTree_Node
- func (*UsersetTree_Difference) ProtoMessage()
- func (x *UsersetTree_Difference) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Difference) Reset()
- func (x *UsersetTree_Difference) String() string
- type UsersetTree_Leaf
- func (*UsersetTree_Leaf) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Leaf) GetComputed() *UsersetTree_Computed
- func (x *UsersetTree_Leaf) GetTupleToUserset() *UsersetTree_TupleToUserset
- func (x *UsersetTree_Leaf) GetUsers() *UsersetTree_Users
- func (m *UsersetTree_Leaf) GetValue() isUsersetTree_Leaf_Value
- func (*UsersetTree_Leaf) ProtoMessage()
- func (x *UsersetTree_Leaf) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Leaf) Reset()
- func (x *UsersetTree_Leaf) String() string
- type UsersetTree_Leaf_Computed
- type UsersetTree_Leaf_TupleToUserset
- type UsersetTree_Leaf_Users
- type UsersetTree_Node
- func (*UsersetTree_Node) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Node) GetDifference() *UsersetTree_Difference
- func (x *UsersetTree_Node) GetIntersection() *UsersetTree_Nodes
- func (x *UsersetTree_Node) GetLeaf() *UsersetTree_Leaf
- func (x *UsersetTree_Node) GetName() string
- func (x *UsersetTree_Node) GetUnion() *UsersetTree_Nodes
- func (m *UsersetTree_Node) GetValue() isUsersetTree_Node_Value
- func (*UsersetTree_Node) ProtoMessage()
- func (x *UsersetTree_Node) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Node) Reset()
- func (x *UsersetTree_Node) String() string
- type UsersetTree_Node_Difference
- type UsersetTree_Node_Intersection
- type UsersetTree_Node_Leaf
- type UsersetTree_Node_Union
- type UsersetTree_Nodes
- func (*UsersetTree_Nodes) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Nodes) GetNodes() []*UsersetTree_Node
- func (*UsersetTree_Nodes) ProtoMessage()
- func (x *UsersetTree_Nodes) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Nodes) Reset()
- func (x *UsersetTree_Nodes) String() string
- type UsersetTree_TupleToUserset
- func (*UsersetTree_TupleToUserset) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_TupleToUserset) GetComputed() []*UsersetTree_Computed
- func (x *UsersetTree_TupleToUserset) GetTupleset() string
- func (*UsersetTree_TupleToUserset) ProtoMessage()
- func (x *UsersetTree_TupleToUserset) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_TupleToUserset) Reset()
- func (x *UsersetTree_TupleToUserset) String() string
- type UsersetTree_Users
- type Userset_ComputedUserset
- type Userset_Difference
- type Userset_Intersection
- type Userset_This
- type Userset_TupleToUserset
- type Userset_Union
- type Usersets
- type ValidationErrorMessageResponse
- func (*ValidationErrorMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationErrorMessageResponse) GetCode() ErrorCode
- func (x *ValidationErrorMessageResponse) GetMessage() string
- func (*ValidationErrorMessageResponse) ProtoMessage()
- func (x *ValidationErrorMessageResponse) ProtoReflect() protoreflect.Message
- func (x *ValidationErrorMessageResponse) Reset()
- func (x *ValidationErrorMessageResponse) String() string
- type Wildcard
- type WriteAssertionsRequest
- func (*WriteAssertionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteAssertionsRequest) GetAssertions() []*Assertion
- func (x *WriteAssertionsRequest) GetAuthorizationModelId() string
- func (x *WriteAssertionsRequest) GetStoreId() string
- func (*WriteAssertionsRequest) ProtoMessage()
- func (x *WriteAssertionsRequest) ProtoReflect() protoreflect.Message
- func (x *WriteAssertionsRequest) Reset()
- func (x *WriteAssertionsRequest) String() string
- type WriteAssertionsResponse
- type WriteAuthorizationModelRequest
- func (*WriteAuthorizationModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteAuthorizationModelRequest) GetSchemaVersion() string
- func (x *WriteAuthorizationModelRequest) GetStoreId() string
- func (x *WriteAuthorizationModelRequest) GetTypeDefinitions() []*TypeDefinition
- func (*WriteAuthorizationModelRequest) ProtoMessage()
- func (x *WriteAuthorizationModelRequest) ProtoReflect() protoreflect.Message
- func (x *WriteAuthorizationModelRequest) Reset()
- func (x *WriteAuthorizationModelRequest) String() string
- type WriteAuthorizationModelResponse
- func (*WriteAuthorizationModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WriteAuthorizationModelResponse) GetAuthorizationModelId() string
- func (*WriteAuthorizationModelResponse) ProtoMessage()
- func (x *WriteAuthorizationModelResponse) ProtoReflect() protoreflect.Message
- func (x *WriteAuthorizationModelResponse) Reset()
- func (x *WriteAuthorizationModelResponse) String() string
- type WriteRequest
- func (*WriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteRequest) GetAuthorizationModelId() string
- func (x *WriteRequest) GetDeletes() *TupleKeys
- func (x *WriteRequest) GetStoreId() string
- func (x *WriteRequest) GetWrites() *TupleKeys
- func (*WriteRequest) ProtoMessage()
- func (x *WriteRequest) ProtoReflect() protoreflect.Message
- func (x *WriteRequest) Reset()
- func (x *WriteRequest) String() string
- type WriteResponse
Constants ¶
This section is empty.
Variables ¶
var ( AuthErrorCode_name = map[int32]string{ 0: "no_auth_error", 1001: "auth_failed_invalid_subject", 1002: "auth_failed_invalid_audience", 1003: "auth_failed_invalid_issuer", 1004: "invalid_claims", 1005: "auth_failed_invalid_bearer_token", 1010: "bearer_token_missing", 1500: "unauthenticated", } AuthErrorCode_value = map[string]int32{ "no_auth_error": 0, "auth_failed_invalid_subject": 1001, "auth_failed_invalid_audience": 1002, "auth_failed_invalid_issuer": 1003, "invalid_claims": 1004, "auth_failed_invalid_bearer_token": 1005, "bearer_token_missing": 1010, "unauthenticated": 1500, } )
Enum value maps for AuthErrorCode.
var ( ErrorCode_name = map[int32]string{ 0: "no_error", 2000: "validation_error", 2001: "authorization_model_not_found", 2002: "authorization_model_resolution_too_complex", 2003: "invalid_write_input", 2004: "cannot_allow_duplicate_tuples_in_one_request", 2005: "cannot_allow_duplicate_types_in_one_request", 2006: "cannot_allow_multiple_references_to_one_relation", 2007: "invalid_continuation_token", 2008: "invalid_tuple_set", 2009: "invalid_check_input", 2010: "invalid_expand_input", 2011: "unsupported_user_set", 2012: "invalid_object_format", 2017: "write_failed_due_to_invalid_input", 2018: "authorization_model_assertions_not_found", 2020: "latest_authorization_model_not_found", 2021: "type_not_found", 2022: "relation_not_found", 2023: "empty_relation_definition", 2025: "invalid_user", 2027: "invalid_tuple", 2028: "unknown_relation", 2030: "store_id_invalid_length", 2033: "assertions_too_many_items", 2034: "id_too_long", 2036: "authorization_model_id_too_long", 2037: "tuple_key_value_not_specified", 2038: "tuple_keys_too_many_or_too_few_items", 2039: "page_size_invalid", 2040: "param_missing_value", 2041: "difference_base_missing_value", 2042: "subtract_base_missing_value", 2043: "object_too_long", 2044: "relation_too_long", 2045: "type_definitions_too_few_items", 2046: "type_invalid_length", 2047: "type_invalid_pattern", 2048: "relations_too_few_items", 2049: "relations_too_long", 2050: "relations_invalid_pattern", 2051: "object_invalid_pattern", 2052: "query_string_type_continuation_token_mismatch", 2053: "exceeded_entity_limit", 2054: "invalid_contextual_tuple", 2055: "duplicate_contextual_tuple", 2056: "invalid_authorization_model", 2057: "unsupported_schema_version", } ErrorCode_value = map[string]int32{ "no_error": 0, "validation_error": 2000, "authorization_model_not_found": 2001, "authorization_model_resolution_too_complex": 2002, "invalid_write_input": 2003, "cannot_allow_duplicate_tuples_in_one_request": 2004, "cannot_allow_duplicate_types_in_one_request": 2005, "cannot_allow_multiple_references_to_one_relation": 2006, "invalid_continuation_token": 2007, "invalid_tuple_set": 2008, "invalid_check_input": 2009, "invalid_expand_input": 2010, "unsupported_user_set": 2011, "invalid_object_format": 2012, "write_failed_due_to_invalid_input": 2017, "authorization_model_assertions_not_found": 2018, "latest_authorization_model_not_found": 2020, "type_not_found": 2021, "relation_not_found": 2022, "empty_relation_definition": 2023, "invalid_user": 2025, "invalid_tuple": 2027, "unknown_relation": 2028, "store_id_invalid_length": 2030, "assertions_too_many_items": 2033, "id_too_long": 2034, "authorization_model_id_too_long": 2036, "tuple_key_value_not_specified": 2037, "tuple_keys_too_many_or_too_few_items": 2038, "page_size_invalid": 2039, "param_missing_value": 2040, "difference_base_missing_value": 2041, "subtract_base_missing_value": 2042, "object_too_long": 2043, "relation_too_long": 2044, "type_definitions_too_few_items": 2045, "type_invalid_length": 2046, "type_invalid_pattern": 2047, "relations_too_few_items": 2048, "relations_too_long": 2049, "relations_invalid_pattern": 2050, "object_invalid_pattern": 2051, "query_string_type_continuation_token_mismatch": 2052, "exceeded_entity_limit": 2053, "invalid_contextual_tuple": 2054, "duplicate_contextual_tuple": 2055, "invalid_authorization_model": 2056, "unsupported_schema_version": 2057, } )
Enum value maps for ErrorCode.
var ( InternalErrorCode_name = map[int32]string{ 0: "no_internal_error", 4000: "internal_error", 4003: "cancelled", 4004: "deadline_exceeded", 4005: "already_exists", 4006: "resource_exhausted", 4007: "failed_precondition", 4008: "aborted", 4009: "out_of_range", 4010: "unavailable", 4011: "data_loss", } InternalErrorCode_value = map[string]int32{ "no_internal_error": 0, "internal_error": 4000, "cancelled": 4003, "deadline_exceeded": 4004, "already_exists": 4005, "resource_exhausted": 4006, "failed_precondition": 4007, "aborted": 4008, "out_of_range": 4009, "unavailable": 4010, "data_loss": 4011, } )
Enum value maps for InternalErrorCode.
var ( NotFoundErrorCode_name = map[int32]string{ 0: "no_not_found_error", 5000: "undefined_endpoint", 5002: "store_id_not_found", 5004: "unimplemented", } NotFoundErrorCode_value = map[string]int32{ "no_not_found_error": 0, "undefined_endpoint": 5000, "store_id_not_found": 5002, "unimplemented": 5004, } )
Enum value maps for NotFoundErrorCode.
var ( TupleOperation_name = map[int32]string{ 0: "TUPLE_OPERATION_WRITE", 1: "TUPLE_OPERATION_DELETE", } TupleOperation_value = map[string]int32{ "TUPLE_OPERATION_WRITE": 0, "TUPLE_OPERATION_DELETE": 1, } )
Enum value maps for TupleOperation.
var File_openfga_v1_authzmodel_proto protoreflect.FileDescriptor
var File_openfga_v1_errors_ignore_proto protoreflect.FileDescriptor
var File_openfga_v1_openapi_proto protoreflect.FileDescriptor
var File_openfga_v1_openfga_proto protoreflect.FileDescriptor
var File_openfga_v1_openfga_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Assertion ¶
type Assertion struct { TupleKey *TupleKey `protobuf:"bytes,1,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"` Expectation bool `protobuf:"varint,2,opt,name=expectation,proto3" json:"expectation,omitempty"` // contains filtered or unexported fields }
func (*Assertion) ProtoReflect ¶
func (x *Assertion) ProtoReflect() protoreflect.Message
type Assertions ¶
type Assertions struct { Assertions []*Assertion `protobuf:"bytes,1,rep,name=assertions,proto3" json:"assertions,omitempty"` // contains filtered or unexported fields }
func (*Assertions) Descriptor
deprecated
func (*Assertions) Descriptor() ([]byte, []int)
Deprecated: Use Assertions.ProtoReflect.Descriptor instead.
func (*Assertions) GetAssertions ¶
func (x *Assertions) GetAssertions() []*Assertion
func (*Assertions) ProtoMessage ¶
func (*Assertions) ProtoMessage()
func (*Assertions) ProtoReflect ¶
func (x *Assertions) ProtoReflect() protoreflect.Message
func (*Assertions) Reset ¶
func (x *Assertions) Reset()
func (*Assertions) String ¶
func (x *Assertions) String() string
type AuthErrorCode ¶
type AuthErrorCode int32
const ( AuthErrorCode_no_auth_error AuthErrorCode = 0 AuthErrorCode_auth_failed_invalid_subject AuthErrorCode = 1001 AuthErrorCode_auth_failed_invalid_audience AuthErrorCode = 1002 AuthErrorCode_auth_failed_invalid_issuer AuthErrorCode = 1003 AuthErrorCode_invalid_claims AuthErrorCode = 1004 AuthErrorCode_auth_failed_invalid_bearer_token AuthErrorCode = 1005 AuthErrorCode_bearer_token_missing AuthErrorCode = 1010 AuthErrorCode_unauthenticated AuthErrorCode = 1500 )
func (AuthErrorCode) Descriptor ¶
func (AuthErrorCode) Descriptor() protoreflect.EnumDescriptor
func (AuthErrorCode) Enum ¶
func (x AuthErrorCode) Enum() *AuthErrorCode
func (AuthErrorCode) EnumDescriptor
deprecated
func (AuthErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthErrorCode.Descriptor instead.
func (AuthErrorCode) Number ¶
func (x AuthErrorCode) Number() protoreflect.EnumNumber
func (AuthErrorCode) String ¶
func (x AuthErrorCode) String() string
func (AuthErrorCode) Type ¶
func (AuthErrorCode) Type() protoreflect.EnumType
type AuthorizationModel ¶
type AuthorizationModel struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SchemaVersion string `protobuf:"bytes,2,opt,name=schema_version,proto3" json:"schema_version,omitempty"` TypeDefinitions []*TypeDefinition `protobuf:"bytes,3,rep,name=type_definitions,proto3" json:"type_definitions,omitempty"` // contains filtered or unexported fields }
func (*AuthorizationModel) Descriptor
deprecated
func (*AuthorizationModel) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizationModel.ProtoReflect.Descriptor instead.
func (*AuthorizationModel) GetId ¶
func (x *AuthorizationModel) GetId() string
func (*AuthorizationModel) GetSchemaVersion ¶
func (x *AuthorizationModel) GetSchemaVersion() string
func (*AuthorizationModel) GetTypeDefinitions ¶
func (x *AuthorizationModel) GetTypeDefinitions() []*TypeDefinition
func (*AuthorizationModel) ProtoMessage ¶
func (*AuthorizationModel) ProtoMessage()
func (*AuthorizationModel) ProtoReflect ¶
func (x *AuthorizationModel) ProtoReflect() protoreflect.Message
func (*AuthorizationModel) Reset ¶
func (x *AuthorizationModel) Reset()
func (*AuthorizationModel) String ¶
func (x *AuthorizationModel) String() string
type CheckRequest ¶
type CheckRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` TupleKey *TupleKey `protobuf:"bytes,2,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"` ContextualTuples *ContextualTupleKeys `protobuf:"bytes,3,opt,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"` AuthorizationModelId string `protobuf:"bytes,4,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"` // Defaults to false. Making it true has performance implications. Trace bool `protobuf:"varint,5,opt,name=trace,proto3" json:"trace,omitempty"` // contains filtered or unexported fields }
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetAuthorizationModelId ¶
func (x *CheckRequest) GetAuthorizationModelId() string
func (*CheckRequest) GetContextualTuples ¶
func (x *CheckRequest) GetContextualTuples() *ContextualTupleKeys
func (*CheckRequest) GetStoreId ¶
func (x *CheckRequest) GetStoreId() string
func (*CheckRequest) GetTrace ¶
func (x *CheckRequest) GetTrace() bool
func (*CheckRequest) GetTupleKey ¶
func (x *CheckRequest) GetTupleKey() *TupleKey
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
type CheckResponse ¶
type CheckResponse struct { Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"` // For internal use only. Resolution string `protobuf:"bytes,2,opt,name=resolution,proto3" json:"resolution,omitempty"` // contains filtered or unexported fields }
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetAllowed ¶
func (x *CheckResponse) GetAllowed() bool
func (*CheckResponse) GetResolution ¶
func (x *CheckResponse) GetResolution() string
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) ProtoReflect ¶
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
type ContextualTupleKeys ¶
type ContextualTupleKeys struct { TupleKeys []*TupleKey `protobuf:"bytes,1,rep,name=tuple_keys,proto3" json:"tuple_keys,omitempty"` // contains filtered or unexported fields }
func (*ContextualTupleKeys) Descriptor
deprecated
func (*ContextualTupleKeys) Descriptor() ([]byte, []int)
Deprecated: Use ContextualTupleKeys.ProtoReflect.Descriptor instead.
func (*ContextualTupleKeys) GetTupleKeys ¶
func (x *ContextualTupleKeys) GetTupleKeys() []*TupleKey
func (*ContextualTupleKeys) ProtoMessage ¶
func (*ContextualTupleKeys) ProtoMessage()
func (*ContextualTupleKeys) ProtoReflect ¶
func (x *ContextualTupleKeys) ProtoReflect() protoreflect.Message
func (*ContextualTupleKeys) Reset ¶
func (x *ContextualTupleKeys) Reset()
func (*ContextualTupleKeys) String ¶
func (x *ContextualTupleKeys) String() string
type CreateStoreRequest ¶
type CreateStoreRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateStoreRequest) Descriptor
deprecated
func (*CreateStoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateStoreRequest.ProtoReflect.Descriptor instead.
func (*CreateStoreRequest) GetName ¶
func (x *CreateStoreRequest) GetName() string
func (*CreateStoreRequest) ProtoMessage ¶
func (*CreateStoreRequest) ProtoMessage()
func (*CreateStoreRequest) ProtoReflect ¶
func (x *CreateStoreRequest) ProtoReflect() protoreflect.Message
func (*CreateStoreRequest) Reset ¶
func (x *CreateStoreRequest) Reset()
func (*CreateStoreRequest) String ¶
func (x *CreateStoreRequest) String() string
type CreateStoreResponse ¶
type CreateStoreResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*CreateStoreResponse) Descriptor
deprecated
func (*CreateStoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateStoreResponse.ProtoReflect.Descriptor instead.
func (*CreateStoreResponse) GetCreatedAt ¶
func (x *CreateStoreResponse) GetCreatedAt() *timestamppb.Timestamp
func (*CreateStoreResponse) GetId ¶
func (x *CreateStoreResponse) GetId() string
func (*CreateStoreResponse) GetName ¶
func (x *CreateStoreResponse) GetName() string
func (*CreateStoreResponse) GetUpdatedAt ¶
func (x *CreateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*CreateStoreResponse) ProtoMessage ¶
func (*CreateStoreResponse) ProtoMessage()
func (*CreateStoreResponse) ProtoReflect ¶
func (x *CreateStoreResponse) ProtoReflect() protoreflect.Message
func (*CreateStoreResponse) Reset ¶
func (x *CreateStoreResponse) Reset()
func (*CreateStoreResponse) String ¶
func (x *CreateStoreResponse) String() string
type DeleteStoreRequest ¶
type DeleteStoreRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteStoreRequest) Descriptor
deprecated
func (*DeleteStoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStoreRequest.ProtoReflect.Descriptor instead.
func (*DeleteStoreRequest) GetStoreId ¶
func (x *DeleteStoreRequest) GetStoreId() string
func (*DeleteStoreRequest) ProtoMessage ¶
func (*DeleteStoreRequest) ProtoMessage()
func (*DeleteStoreRequest) ProtoReflect ¶
func (x *DeleteStoreRequest) ProtoReflect() protoreflect.Message
func (*DeleteStoreRequest) Reset ¶
func (x *DeleteStoreRequest) Reset()
func (*DeleteStoreRequest) String ¶
func (x *DeleteStoreRequest) String() string
type DeleteStoreResponse ¶
type DeleteStoreResponse struct {
// contains filtered or unexported fields
}
func (*DeleteStoreResponse) Descriptor
deprecated
func (*DeleteStoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStoreResponse.ProtoReflect.Descriptor instead.
func (*DeleteStoreResponse) ProtoMessage ¶
func (*DeleteStoreResponse) ProtoMessage()
func (*DeleteStoreResponse) ProtoReflect ¶
func (x *DeleteStoreResponse) ProtoReflect() protoreflect.Message
func (*DeleteStoreResponse) Reset ¶
func (x *DeleteStoreResponse) Reset()
func (*DeleteStoreResponse) String ¶
func (x *DeleteStoreResponse) String() string
type Difference ¶
type Difference struct { Base *Userset `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Subtract *Userset `protobuf:"bytes,2,opt,name=subtract,proto3" json:"subtract,omitempty"` // contains filtered or unexported fields }
func (*Difference) Descriptor
deprecated
func (*Difference) Descriptor() ([]byte, []int)
Deprecated: Use Difference.ProtoReflect.Descriptor instead.
func (*Difference) GetBase ¶
func (x *Difference) GetBase() *Userset
func (*Difference) GetSubtract ¶
func (x *Difference) GetSubtract() *Userset
func (*Difference) ProtoMessage ¶
func (*Difference) ProtoMessage()
func (*Difference) ProtoReflect ¶
func (x *Difference) ProtoReflect() protoreflect.Message
func (*Difference) Reset ¶
func (x *Difference) Reset()
func (*Difference) String ¶
func (x *Difference) String() string
type DirectUserset ¶
type DirectUserset struct {
// contains filtered or unexported fields
}
A DirectUserset is a sentinel message for referencing the direct members specified by an object/relation mapping.
func (*DirectUserset) Descriptor
deprecated
func (*DirectUserset) Descriptor() ([]byte, []int)
Deprecated: Use DirectUserset.ProtoReflect.Descriptor instead.
func (*DirectUserset) ProtoMessage ¶
func (*DirectUserset) ProtoMessage()
func (*DirectUserset) ProtoReflect ¶
func (x *DirectUserset) ProtoReflect() protoreflect.Message
func (*DirectUserset) Reset ¶
func (x *DirectUserset) Reset()
func (*DirectUserset) String ¶
func (x *DirectUserset) String() string
type ErrorCode ¶
type ErrorCode int32
const ( ErrorCode_no_error ErrorCode = 0 ErrorCode_validation_error ErrorCode = 2000 ErrorCode_invalid_write_input ErrorCode = 2003 ErrorCode_cannot_allow_duplicate_tuples_in_one_request ErrorCode = 2004 ErrorCode_cannot_allow_duplicate_types_in_one_request ErrorCode = 2005 ErrorCode_cannot_allow_multiple_references_to_one_relation ErrorCode = 2006 ErrorCode_invalid_continuation_token ErrorCode = 2007 ErrorCode_invalid_tuple_set ErrorCode = 2008 ErrorCode_invalid_check_input ErrorCode = 2009 ErrorCode_invalid_expand_input ErrorCode = 2010 ErrorCode_unsupported_user_set ErrorCode = 2011 ErrorCode_invalid_object_format ErrorCode = 2012 ErrorCode_write_failed_due_to_invalid_input ErrorCode = 2017 ErrorCode_type_not_found ErrorCode = 2021 ErrorCode_relation_not_found ErrorCode = 2022 ErrorCode_empty_relation_definition ErrorCode = 2023 ErrorCode_invalid_user ErrorCode = 2025 ErrorCode_invalid_tuple ErrorCode = 2027 ErrorCode_unknown_relation ErrorCode = 2028 ErrorCode_store_id_invalid_length ErrorCode = 2030 ErrorCode_assertions_too_many_items ErrorCode = 2033 ErrorCode_id_too_long ErrorCode = 2034 ErrorCode_tuple_key_value_not_specified ErrorCode = 2037 ErrorCode_tuple_keys_too_many_or_too_few_items ErrorCode = 2038 ErrorCode_page_size_invalid ErrorCode = 2039 ErrorCode_param_missing_value ErrorCode = 2040 ErrorCode_difference_base_missing_value ErrorCode = 2041 ErrorCode_subtract_base_missing_value ErrorCode = 2042 ErrorCode_object_too_long ErrorCode = 2043 ErrorCode_relation_too_long ErrorCode = 2044 ErrorCode_type_definitions_too_few_items ErrorCode = 2045 ErrorCode_type_invalid_length ErrorCode = 2046 ErrorCode_type_invalid_pattern ErrorCode = 2047 ErrorCode_relations_too_few_items ErrorCode = 2048 ErrorCode_relations_too_long ErrorCode = 2049 ErrorCode_relations_invalid_pattern ErrorCode = 2050 ErrorCode_object_invalid_pattern ErrorCode = 2051 ErrorCode_query_string_type_continuation_token_mismatch ErrorCode = 2052 ErrorCode_exceeded_entity_limit ErrorCode = 2053 ErrorCode_invalid_contextual_tuple ErrorCode = 2054 ErrorCode_duplicate_contextual_tuple ErrorCode = 2055 ErrorCode_unsupported_schema_version ErrorCode = 2057 )
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type ErrorMessageRequest ¶
type ErrorMessageRequest struct {
// contains filtered or unexported fields
}
func (*ErrorMessageRequest) Descriptor
deprecated
func (*ErrorMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ErrorMessageRequest.ProtoReflect.Descriptor instead.
func (*ErrorMessageRequest) ProtoMessage ¶
func (*ErrorMessageRequest) ProtoMessage()
func (*ErrorMessageRequest) ProtoReflect ¶
func (x *ErrorMessageRequest) ProtoReflect() protoreflect.Message
func (*ErrorMessageRequest) Reset ¶
func (x *ErrorMessageRequest) Reset()
func (*ErrorMessageRequest) String ¶
func (x *ErrorMessageRequest) String() string
type ExpandRequest ¶
type ExpandRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` TupleKey *TupleKey `protobuf:"bytes,2,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"` AuthorizationModelId string `protobuf:"bytes,3,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"` // contains filtered or unexported fields }
func (*ExpandRequest) Descriptor
deprecated
func (*ExpandRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpandRequest.ProtoReflect.Descriptor instead.
func (*ExpandRequest) GetAuthorizationModelId ¶
func (x *ExpandRequest) GetAuthorizationModelId() string
func (*ExpandRequest) GetStoreId ¶
func (x *ExpandRequest) GetStoreId() string
func (*ExpandRequest) GetTupleKey ¶
func (x *ExpandRequest) GetTupleKey() *TupleKey
func (*ExpandRequest) ProtoMessage ¶
func (*ExpandRequest) ProtoMessage()
func (*ExpandRequest) ProtoReflect ¶
func (x *ExpandRequest) ProtoReflect() protoreflect.Message
func (*ExpandRequest) Reset ¶
func (x *ExpandRequest) Reset()
func (*ExpandRequest) String ¶
func (x *ExpandRequest) String() string
type ExpandResponse ¶
type ExpandResponse struct { Tree *UsersetTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"` // contains filtered or unexported fields }
func (*ExpandResponse) Descriptor
deprecated
func (*ExpandResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpandResponse.ProtoReflect.Descriptor instead.
func (*ExpandResponse) GetTree ¶
func (x *ExpandResponse) GetTree() *UsersetTree
func (*ExpandResponse) ProtoMessage ¶
func (*ExpandResponse) ProtoMessage()
func (*ExpandResponse) ProtoReflect ¶
func (x *ExpandResponse) ProtoReflect() protoreflect.Message
func (*ExpandResponse) Reset ¶
func (x *ExpandResponse) Reset()
func (*ExpandResponse) String ¶
func (x *ExpandResponse) String() string
type GetStoreRequest ¶
type GetStoreRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` // contains filtered or unexported fields }
func (*GetStoreRequest) Descriptor
deprecated
func (*GetStoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStoreRequest.ProtoReflect.Descriptor instead.
func (*GetStoreRequest) GetStoreId ¶
func (x *GetStoreRequest) GetStoreId() string
func (*GetStoreRequest) ProtoMessage ¶
func (*GetStoreRequest) ProtoMessage()
func (*GetStoreRequest) ProtoReflect ¶
func (x *GetStoreRequest) ProtoReflect() protoreflect.Message
func (*GetStoreRequest) Reset ¶
func (x *GetStoreRequest) Reset()
func (*GetStoreRequest) String ¶
func (x *GetStoreRequest) String() string
type GetStoreResponse ¶
type GetStoreResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*GetStoreResponse) Descriptor
deprecated
func (*GetStoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStoreResponse.ProtoReflect.Descriptor instead.
func (*GetStoreResponse) GetCreatedAt ¶
func (x *GetStoreResponse) GetCreatedAt() *timestamppb.Timestamp
func (*GetStoreResponse) GetId ¶
func (x *GetStoreResponse) GetId() string
func (*GetStoreResponse) GetName ¶
func (x *GetStoreResponse) GetName() string
func (*GetStoreResponse) GetUpdatedAt ¶
func (x *GetStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*GetStoreResponse) ProtoMessage ¶
func (*GetStoreResponse) ProtoMessage()
func (*GetStoreResponse) ProtoReflect ¶
func (x *GetStoreResponse) ProtoReflect() protoreflect.Message
func (*GetStoreResponse) Reset ¶
func (x *GetStoreResponse) Reset()
func (*GetStoreResponse) String ¶
func (x *GetStoreResponse) String() string
type InternalErrorCode ¶
type InternalErrorCode int32
const ( InternalErrorCode_no_internal_error InternalErrorCode = 0 InternalErrorCode_internal_error InternalErrorCode = 4000 InternalErrorCode_cancelled InternalErrorCode = 4003 InternalErrorCode_deadline_exceeded InternalErrorCode = 4004 InternalErrorCode_already_exists InternalErrorCode = 4005 InternalErrorCode_resource_exhausted InternalErrorCode = 4006 InternalErrorCode_failed_precondition InternalErrorCode = 4007 InternalErrorCode_aborted InternalErrorCode = 4008 InternalErrorCode_out_of_range InternalErrorCode = 4009 InternalErrorCode_data_loss InternalErrorCode = 4011 )
func (InternalErrorCode) Descriptor ¶
func (InternalErrorCode) Descriptor() protoreflect.EnumDescriptor
func (InternalErrorCode) Enum ¶
func (x InternalErrorCode) Enum() *InternalErrorCode
func (InternalErrorCode) EnumDescriptor
deprecated
func (InternalErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use InternalErrorCode.Descriptor instead.
func (InternalErrorCode) Number ¶
func (x InternalErrorCode) Number() protoreflect.EnumNumber
func (InternalErrorCode) String ¶
func (x InternalErrorCode) String() string
func (InternalErrorCode) Type ¶
func (InternalErrorCode) Type() protoreflect.EnumType
type InternalErrorMessageResponse ¶
type InternalErrorMessageResponse struct { Code InternalErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=openfga.v1.InternalErrorCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*InternalErrorMessageResponse) Descriptor
deprecated
func (*InternalErrorMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use InternalErrorMessageResponse.ProtoReflect.Descriptor instead.
func (*InternalErrorMessageResponse) GetCode ¶
func (x *InternalErrorMessageResponse) GetCode() InternalErrorCode
func (*InternalErrorMessageResponse) GetMessage ¶
func (x *InternalErrorMessageResponse) GetMessage() string
func (*InternalErrorMessageResponse) ProtoMessage ¶
func (*InternalErrorMessageResponse) ProtoMessage()
func (*InternalErrorMessageResponse) ProtoReflect ¶
func (x *InternalErrorMessageResponse) ProtoReflect() protoreflect.Message
func (*InternalErrorMessageResponse) Reset ¶
func (x *InternalErrorMessageResponse) Reset()
func (*InternalErrorMessageResponse) String ¶
func (x *InternalErrorMessageResponse) String() string
type ListObjectsRequest ¶
type ListObjectsRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` AuthorizationModelId string `protobuf:"bytes,2,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Relation string `protobuf:"bytes,4,opt,name=relation,proto3" json:"relation,omitempty"` User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` ContextualTuples *ContextualTupleKeys `protobuf:"bytes,6,opt,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsRequest) Descriptor
deprecated
func (*ListObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListObjectsRequest) GetAuthorizationModelId ¶
func (x *ListObjectsRequest) GetAuthorizationModelId() string
func (*ListObjectsRequest) GetContextualTuples ¶
func (x *ListObjectsRequest) GetContextualTuples() *ContextualTupleKeys
func (*ListObjectsRequest) GetRelation ¶
func (x *ListObjectsRequest) GetRelation() string
func (*ListObjectsRequest) GetStoreId ¶
func (x *ListObjectsRequest) GetStoreId() string
func (*ListObjectsRequest) GetType ¶
func (x *ListObjectsRequest) GetType() string
func (*ListObjectsRequest) GetUser ¶
func (x *ListObjectsRequest) GetUser() string
func (*ListObjectsRequest) ProtoMessage ¶
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) ProtoReflect ¶
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListObjectsRequest) Reset ¶
func (x *ListObjectsRequest) Reset()
func (*ListObjectsRequest) String ¶
func (x *ListObjectsRequest) String() string
type ListObjectsResponse ¶
type ListObjectsResponse struct { Objects []string `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsResponse) Descriptor
deprecated
func (*ListObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListObjectsResponse) GetObjects ¶
func (x *ListObjectsResponse) GetObjects() []string
func (*ListObjectsResponse) ProtoMessage ¶
func (*ListObjectsResponse) ProtoMessage()
func (*ListObjectsResponse) ProtoReflect ¶
func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListObjectsResponse) Reset ¶
func (x *ListObjectsResponse) Reset()
func (*ListObjectsResponse) String ¶
func (x *ListObjectsResponse) String() string
type ListStoresRequest ¶
type ListStoresRequest struct { PageSize *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=page_size,proto3" json:"page_size,omitempty"` ContinuationToken string `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
func (*ListStoresRequest) Descriptor
deprecated
func (*ListStoresRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStoresRequest.ProtoReflect.Descriptor instead.
func (*ListStoresRequest) GetContinuationToken ¶
func (x *ListStoresRequest) GetContinuationToken() string
func (*ListStoresRequest) GetPageSize ¶
func (x *ListStoresRequest) GetPageSize() *wrapperspb.Int32Value
func (*ListStoresRequest) ProtoMessage ¶
func (*ListStoresRequest) ProtoMessage()
func (*ListStoresRequest) ProtoReflect ¶
func (x *ListStoresRequest) ProtoReflect() protoreflect.Message
func (*ListStoresRequest) Reset ¶
func (x *ListStoresRequest) Reset()
func (*ListStoresRequest) String ¶
func (x *ListStoresRequest) String() string
type ListStoresResponse ¶
type ListStoresResponse struct { Stores []*Store `protobuf:"bytes,1,rep,name=stores,proto3" json:"stores,omitempty"` ContinuationToken string `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
func (*ListStoresResponse) Descriptor
deprecated
func (*ListStoresResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStoresResponse.ProtoReflect.Descriptor instead.
func (*ListStoresResponse) GetContinuationToken ¶
func (x *ListStoresResponse) GetContinuationToken() string
func (*ListStoresResponse) GetStores ¶
func (x *ListStoresResponse) GetStores() []*Store
func (*ListStoresResponse) ProtoMessage ¶
func (*ListStoresResponse) ProtoMessage()
func (*ListStoresResponse) ProtoReflect ¶
func (x *ListStoresResponse) ProtoReflect() protoreflect.Message
func (*ListStoresResponse) Reset ¶
func (x *ListStoresResponse) Reset()
func (*ListStoresResponse) String ¶
func (x *ListStoresResponse) String() string
type Metadata ¶
type Metadata struct { Relations map[string]*RelationMetadata `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata) GetRelations ¶
func (x *Metadata) GetRelations() map[string]*RelationMetadata
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type NotFoundErrorCode ¶
type NotFoundErrorCode int32
const ( NotFoundErrorCode_no_not_found_error NotFoundErrorCode = 0 NotFoundErrorCode_undefined_endpoint NotFoundErrorCode = 5000 NotFoundErrorCode_store_id_not_found NotFoundErrorCode = 5002 NotFoundErrorCode_unimplemented NotFoundErrorCode = 5004 )
func (NotFoundErrorCode) Descriptor ¶
func (NotFoundErrorCode) Descriptor() protoreflect.EnumDescriptor
func (NotFoundErrorCode) Enum ¶
func (x NotFoundErrorCode) Enum() *NotFoundErrorCode
func (NotFoundErrorCode) EnumDescriptor
deprecated
func (NotFoundErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotFoundErrorCode.Descriptor instead.
func (NotFoundErrorCode) Number ¶
func (x NotFoundErrorCode) Number() protoreflect.EnumNumber
func (NotFoundErrorCode) String ¶
func (x NotFoundErrorCode) String() string
func (NotFoundErrorCode) Type ¶
func (NotFoundErrorCode) Type() protoreflect.EnumType
type Object ¶
type Object struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Object represents an OpenFGA Object.
An Object is composed of a type and identifier (e.g. 'document:1')
See https://openfga.dev/docs/concepts#what-is-an-object
func (*Object) ProtoReflect ¶
func (x *Object) ProtoReflect() protoreflect.Message
type ObjectRelation ¶
type ObjectRelation struct { Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*ObjectRelation) Descriptor
deprecated
func (*ObjectRelation) Descriptor() ([]byte, []int)
Deprecated: Use ObjectRelation.ProtoReflect.Descriptor instead.
func (*ObjectRelation) GetObject ¶
func (x *ObjectRelation) GetObject() string
func (*ObjectRelation) GetRelation ¶
func (x *ObjectRelation) GetRelation() string
func (*ObjectRelation) ProtoMessage ¶
func (*ObjectRelation) ProtoMessage()
func (*ObjectRelation) ProtoReflect ¶
func (x *ObjectRelation) ProtoReflect() protoreflect.Message
func (*ObjectRelation) Reset ¶
func (x *ObjectRelation) Reset()
func (*ObjectRelation) String ¶
func (x *ObjectRelation) String() string
type PathUnknownErrorMessageResponse ¶
type PathUnknownErrorMessageResponse struct { Code NotFoundErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=openfga.v1.NotFoundErrorCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PathUnknownErrorMessageResponse) Descriptor
deprecated
func (*PathUnknownErrorMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use PathUnknownErrorMessageResponse.ProtoReflect.Descriptor instead.
func (*PathUnknownErrorMessageResponse) GetCode ¶
func (x *PathUnknownErrorMessageResponse) GetCode() NotFoundErrorCode
func (*PathUnknownErrorMessageResponse) GetMessage ¶
func (x *PathUnknownErrorMessageResponse) GetMessage() string
func (*PathUnknownErrorMessageResponse) ProtoMessage ¶
func (*PathUnknownErrorMessageResponse) ProtoMessage()
func (*PathUnknownErrorMessageResponse) ProtoReflect ¶
func (x *PathUnknownErrorMessageResponse) ProtoReflect() protoreflect.Message
func (*PathUnknownErrorMessageResponse) Reset ¶
func (x *PathUnknownErrorMessageResponse) Reset()
func (*PathUnknownErrorMessageResponse) String ¶
func (x *PathUnknownErrorMessageResponse) String() string
type ReadAssertionsRequest ¶
type ReadAssertionsRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` AuthorizationModelId string `protobuf:"bytes,2,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"` // contains filtered or unexported fields }
func (*ReadAssertionsRequest) Descriptor
deprecated
func (*ReadAssertionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadAssertionsRequest.ProtoReflect.Descriptor instead.
func (*ReadAssertionsRequest) GetAuthorizationModelId ¶
func (x *ReadAssertionsRequest) GetAuthorizationModelId() string
func (*ReadAssertionsRequest) GetStoreId ¶
func (x *ReadAssertionsRequest) GetStoreId() string
func (*ReadAssertionsRequest) ProtoMessage ¶
func (*ReadAssertionsRequest) ProtoMessage()
func (*ReadAssertionsRequest) ProtoReflect ¶
func (x *ReadAssertionsRequest) ProtoReflect() protoreflect.Message
func (*ReadAssertionsRequest) Reset ¶
func (x *ReadAssertionsRequest) Reset()
func (*ReadAssertionsRequest) String ¶
func (x *ReadAssertionsRequest) String() string
type ReadAssertionsResponse ¶
type ReadAssertionsResponse struct { AuthorizationModelId string `protobuf:"bytes,1,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"` Assertions []*Assertion `protobuf:"bytes,2,rep,name=assertions,proto3" json:"assertions,omitempty"` // contains filtered or unexported fields }
func (*ReadAssertionsResponse) Descriptor
deprecated
func (*ReadAssertionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadAssertionsResponse.ProtoReflect.Descriptor instead.
func (*ReadAssertionsResponse) GetAssertions ¶
func (x *ReadAssertionsResponse) GetAssertions() []*Assertion
func (*ReadAssertionsResponse) GetAuthorizationModelId ¶
func (x *ReadAssertionsResponse) GetAuthorizationModelId() string
func (*ReadAssertionsResponse) ProtoMessage ¶
func (*ReadAssertionsResponse) ProtoMessage()
func (*ReadAssertionsResponse) ProtoReflect ¶
func (x *ReadAssertionsResponse) ProtoReflect() protoreflect.Message
func (*ReadAssertionsResponse) Reset ¶
func (x *ReadAssertionsResponse) Reset()
func (*ReadAssertionsResponse) String ¶
func (x *ReadAssertionsResponse) String() string
type ReadAuthorizationModelRequest ¶
type ReadAuthorizationModelRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReadAuthorizationModelRequest) Descriptor
deprecated
func (*ReadAuthorizationModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadAuthorizationModelRequest.ProtoReflect.Descriptor instead.
func (*ReadAuthorizationModelRequest) GetId ¶
func (x *ReadAuthorizationModelRequest) GetId() string
func (*ReadAuthorizationModelRequest) GetStoreId ¶
func (x *ReadAuthorizationModelRequest) GetStoreId() string
func (*ReadAuthorizationModelRequest) ProtoMessage ¶
func (*ReadAuthorizationModelRequest) ProtoMessage()
func (*ReadAuthorizationModelRequest) ProtoReflect ¶
func (x *ReadAuthorizationModelRequest) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelRequest) Reset ¶
func (x *ReadAuthorizationModelRequest) Reset()
func (*ReadAuthorizationModelRequest) String ¶
func (x *ReadAuthorizationModelRequest) String() string
type ReadAuthorizationModelResponse ¶
type ReadAuthorizationModelResponse struct { AuthorizationModel *AuthorizationModel `protobuf:"bytes,1,opt,name=authorization_model,proto3" json:"authorization_model,omitempty"` // contains filtered or unexported fields }
func (*ReadAuthorizationModelResponse) Descriptor
deprecated
func (*ReadAuthorizationModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadAuthorizationModelResponse.ProtoReflect.Descriptor instead.
func (*ReadAuthorizationModelResponse) GetAuthorizationModel ¶
func (x *ReadAuthorizationModelResponse) GetAuthorizationModel() *AuthorizationModel
func (*ReadAuthorizationModelResponse) ProtoMessage ¶
func (*ReadAuthorizationModelResponse) ProtoMessage()
func (*ReadAuthorizationModelResponse) ProtoReflect ¶
func (x *ReadAuthorizationModelResponse) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelResponse) Reset ¶
func (x *ReadAuthorizationModelResponse) Reset()
func (*ReadAuthorizationModelResponse) String ¶
func (x *ReadAuthorizationModelResponse) String() string
type ReadAuthorizationModelsRequest ¶
type ReadAuthorizationModelsRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` PageSize *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=page_size,proto3" json:"page_size,omitempty"` ContinuationToken string `protobuf:"bytes,3,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
func (*ReadAuthorizationModelsRequest) Descriptor
deprecated
func (*ReadAuthorizationModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadAuthorizationModelsRequest.ProtoReflect.Descriptor instead.
func (*ReadAuthorizationModelsRequest) GetContinuationToken ¶
func (x *ReadAuthorizationModelsRequest) GetContinuationToken() string
func (*ReadAuthorizationModelsRequest) GetPageSize ¶
func (x *ReadAuthorizationModelsRequest) GetPageSize() *wrapperspb.Int32Value
func (*ReadAuthorizationModelsRequest) GetStoreId ¶
func (x *ReadAuthorizationModelsRequest) GetStoreId() string
func (*ReadAuthorizationModelsRequest) ProtoMessage ¶
func (*ReadAuthorizationModelsRequest) ProtoMessage()
func (*ReadAuthorizationModelsRequest) ProtoReflect ¶
func (x *ReadAuthorizationModelsRequest) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelsRequest) Reset ¶
func (x *ReadAuthorizationModelsRequest) Reset()
func (*ReadAuthorizationModelsRequest) String ¶
func (x *ReadAuthorizationModelsRequest) String() string
type ReadAuthorizationModelsResponse ¶
type ReadAuthorizationModelsResponse struct { AuthorizationModels []*AuthorizationModel `protobuf:"bytes,1,rep,name=authorization_models,proto3" json:"authorization_models,omitempty"` ContinuationToken string `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
func (*ReadAuthorizationModelsResponse) Descriptor
deprecated
func (*ReadAuthorizationModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadAuthorizationModelsResponse.ProtoReflect.Descriptor instead.
func (*ReadAuthorizationModelsResponse) GetAuthorizationModels ¶
func (x *ReadAuthorizationModelsResponse) GetAuthorizationModels() []*AuthorizationModel
func (*ReadAuthorizationModelsResponse) GetContinuationToken ¶
func (x *ReadAuthorizationModelsResponse) GetContinuationToken() string
func (*ReadAuthorizationModelsResponse) ProtoMessage ¶
func (*ReadAuthorizationModelsResponse) ProtoMessage()
func (*ReadAuthorizationModelsResponse) ProtoReflect ¶
func (x *ReadAuthorizationModelsResponse) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelsResponse) Reset ¶
func (x *ReadAuthorizationModelsResponse) Reset()
func (*ReadAuthorizationModelsResponse) String ¶
func (x *ReadAuthorizationModelsResponse) String() string
type ReadChangesRequest ¶
type ReadChangesRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` PageSize *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=page_size,proto3" json:"page_size,omitempty"` ContinuationToken string `protobuf:"bytes,4,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
func (*ReadChangesRequest) Descriptor
deprecated
func (*ReadChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadChangesRequest.ProtoReflect.Descriptor instead.
func (*ReadChangesRequest) GetContinuationToken ¶
func (x *ReadChangesRequest) GetContinuationToken() string
func (*ReadChangesRequest) GetPageSize ¶
func (x *ReadChangesRequest) GetPageSize() *wrapperspb.Int32Value
func (*ReadChangesRequest) GetStoreId ¶
func (x *ReadChangesRequest) GetStoreId() string
func (*ReadChangesRequest) GetType ¶
func (x *ReadChangesRequest) GetType() string
func (*ReadChangesRequest) ProtoMessage ¶
func (*ReadChangesRequest) ProtoMessage()
func (*ReadChangesRequest) ProtoReflect ¶
func (x *ReadChangesRequest) ProtoReflect() protoreflect.Message
func (*ReadChangesRequest) Reset ¶
func (x *ReadChangesRequest) Reset()
func (*ReadChangesRequest) String ¶
func (x *ReadChangesRequest) String() string
type ReadChangesResponse ¶
type ReadChangesResponse struct { Changes []*TupleChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` ContinuationToken string `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
func (*ReadChangesResponse) Descriptor
deprecated
func (*ReadChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadChangesResponse.ProtoReflect.Descriptor instead.
func (*ReadChangesResponse) GetChanges ¶
func (x *ReadChangesResponse) GetChanges() []*TupleChange
func (*ReadChangesResponse) GetContinuationToken ¶
func (x *ReadChangesResponse) GetContinuationToken() string
func (*ReadChangesResponse) ProtoMessage ¶
func (*ReadChangesResponse) ProtoMessage()
func (*ReadChangesResponse) ProtoReflect ¶
func (x *ReadChangesResponse) ProtoReflect() protoreflect.Message
func (*ReadChangesResponse) Reset ¶
func (x *ReadChangesResponse) Reset()
func (*ReadChangesResponse) String ¶
func (x *ReadChangesResponse) String() string
type ReadRequest ¶
type ReadRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` TupleKey *TupleKey `protobuf:"bytes,2,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"` PageSize *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=page_size,proto3" json:"page_size,omitempty"` ContinuationToken string `protobuf:"bytes,4,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
func (*ReadRequest) Descriptor
deprecated
func (*ReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.
func (*ReadRequest) GetContinuationToken ¶
func (x *ReadRequest) GetContinuationToken() string
func (*ReadRequest) GetPageSize ¶
func (x *ReadRequest) GetPageSize() *wrapperspb.Int32Value
func (*ReadRequest) GetStoreId ¶
func (x *ReadRequest) GetStoreId() string
func (*ReadRequest) GetTupleKey ¶
func (x *ReadRequest) GetTupleKey() *TupleKey
func (*ReadRequest) ProtoMessage ¶
func (*ReadRequest) ProtoMessage()
func (*ReadRequest) ProtoReflect ¶
func (x *ReadRequest) ProtoReflect() protoreflect.Message
func (*ReadRequest) Reset ¶
func (x *ReadRequest) Reset()
func (*ReadRequest) String ¶
func (x *ReadRequest) String() string
type ReadResponse ¶
type ReadResponse struct { Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` ContinuationToken string `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"` // contains filtered or unexported fields }
func (*ReadResponse) Descriptor
deprecated
func (*ReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.
func (*ReadResponse) GetContinuationToken ¶
func (x *ReadResponse) GetContinuationToken() string
func (*ReadResponse) GetTuples ¶
func (x *ReadResponse) GetTuples() []*Tuple
func (*ReadResponse) ProtoMessage ¶
func (*ReadResponse) ProtoMessage()
func (*ReadResponse) ProtoReflect ¶
func (x *ReadResponse) ProtoReflect() protoreflect.Message
func (*ReadResponse) Reset ¶
func (x *ReadResponse) Reset()
func (*ReadResponse) String ¶
func (x *ReadResponse) String() string
type Relation ¶
type Relation struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Rewrite *Userset `protobuf:"bytes,2,opt,name=rewrite,proto3" json:"rewrite,omitempty"` TypeInfo *RelationTypeInfo `protobuf:"bytes,3,opt,name=type_info,json=typeInfo,proto3" json:"type_info,omitempty"` // contains filtered or unexported fields }
func (*Relation) GetTypeInfo ¶
func (x *Relation) GetTypeInfo() *RelationTypeInfo
func (*Relation) ProtoReflect ¶
func (x *Relation) ProtoReflect() protoreflect.Message
type RelationMetadata ¶
type RelationMetadata struct { DirectlyRelatedUserTypes []*RelationReference `protobuf:"bytes,1,rep,name=directly_related_user_types,proto3" json:"directly_related_user_types,omitempty"` // contains filtered or unexported fields }
func (*RelationMetadata) Descriptor
deprecated
func (*RelationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RelationMetadata.ProtoReflect.Descriptor instead.
func (*RelationMetadata) GetDirectlyRelatedUserTypes ¶
func (x *RelationMetadata) GetDirectlyRelatedUserTypes() []*RelationReference
func (*RelationMetadata) ProtoMessage ¶
func (*RelationMetadata) ProtoMessage()
func (*RelationMetadata) ProtoReflect ¶
func (x *RelationMetadata) ProtoReflect() protoreflect.Message
func (*RelationMetadata) Reset ¶
func (x *RelationMetadata) Reset()
func (*RelationMetadata) String ¶
func (x *RelationMetadata) String() string
type RelationReference ¶
type RelationReference struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Types that are assignable to RelationOrWildcard: // // *RelationReference_Relation // *RelationReference_Wildcard RelationOrWildcard isRelationReference_RelationOrWildcard `protobuf_oneof:"relation_or_wildcard"` // contains filtered or unexported fields }
RelationReference represents a relation of a particular object type (e.g. 'document#viewer').
func (*RelationReference) Descriptor
deprecated
func (*RelationReference) Descriptor() ([]byte, []int)
Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.
func (*RelationReference) GetRelation ¶
func (x *RelationReference) GetRelation() string
func (*RelationReference) GetRelationOrWildcard ¶
func (m *RelationReference) GetRelationOrWildcard() isRelationReference_RelationOrWildcard
func (*RelationReference) GetType ¶
func (x *RelationReference) GetType() string
func (*RelationReference) GetWildcard ¶
func (x *RelationReference) GetWildcard() *Wildcard
func (*RelationReference) ProtoMessage ¶
func (*RelationReference) ProtoMessage()
func (*RelationReference) ProtoReflect ¶
func (x *RelationReference) ProtoReflect() protoreflect.Message
func (*RelationReference) Reset ¶
func (x *RelationReference) Reset()
func (*RelationReference) String ¶
func (x *RelationReference) String() string
type RelationReference_Relation ¶
type RelationReference_Relation struct {
Relation string `protobuf:"bytes,2,opt,name=relation,proto3,oneof"`
}
type RelationReference_Wildcard ¶
type RelationReference_Wildcard struct {
Wildcard *Wildcard `protobuf:"bytes,3,opt,name=wildcard,proto3,oneof"`
}
type RelationTypeInfo ¶
type RelationTypeInfo struct { DirectlyRelatedUserTypes []*RelationReference `protobuf:"bytes,1,rep,name=directly_related_user_types,proto3" json:"directly_related_user_types,omitempty"` // contains filtered or unexported fields }
func (*RelationTypeInfo) Descriptor
deprecated
func (*RelationTypeInfo) Descriptor() ([]byte, []int)
Deprecated: Use RelationTypeInfo.ProtoReflect.Descriptor instead.
func (*RelationTypeInfo) GetDirectlyRelatedUserTypes ¶
func (x *RelationTypeInfo) GetDirectlyRelatedUserTypes() []*RelationReference
func (*RelationTypeInfo) ProtoMessage ¶
func (*RelationTypeInfo) ProtoMessage()
func (*RelationTypeInfo) ProtoReflect ¶
func (x *RelationTypeInfo) ProtoReflect() protoreflect.Message
func (*RelationTypeInfo) Reset ¶
func (x *RelationTypeInfo) Reset()
func (*RelationTypeInfo) String ¶
func (x *RelationTypeInfo) String() string
type Store ¶
type Store struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deleted_at,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Store) GetCreatedAt ¶
func (x *Store) GetCreatedAt() *timestamppb.Timestamp
func (*Store) GetDeletedAt ¶
func (x *Store) GetDeletedAt() *timestamppb.Timestamp
func (*Store) GetUpdatedAt ¶
func (x *Store) GetUpdatedAt() *timestamppb.Timestamp
func (*Store) ProtoReflect ¶
func (x *Store) ProtoReflect() protoreflect.Message
type StreamedListObjectsRequest ¶
type StreamedListObjectsRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` AuthorizationModelId string `protobuf:"bytes,2,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Relation string `protobuf:"bytes,4,opt,name=relation,proto3" json:"relation,omitempty"` User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` ContextualTuples *ContextualTupleKeys `protobuf:"bytes,6,opt,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"` // contains filtered or unexported fields }
func (*StreamedListObjectsRequest) Descriptor
deprecated
func (*StreamedListObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamedListObjectsRequest.ProtoReflect.Descriptor instead.
func (*StreamedListObjectsRequest) GetAuthorizationModelId ¶
func (x *StreamedListObjectsRequest) GetAuthorizationModelId() string
func (*StreamedListObjectsRequest) GetContextualTuples ¶
func (x *StreamedListObjectsRequest) GetContextualTuples() *ContextualTupleKeys
func (*StreamedListObjectsRequest) GetRelation ¶
func (x *StreamedListObjectsRequest) GetRelation() string
func (*StreamedListObjectsRequest) GetStoreId ¶
func (x *StreamedListObjectsRequest) GetStoreId() string
func (*StreamedListObjectsRequest) GetType ¶
func (x *StreamedListObjectsRequest) GetType() string
func (*StreamedListObjectsRequest) GetUser ¶
func (x *StreamedListObjectsRequest) GetUser() string
func (*StreamedListObjectsRequest) ProtoMessage ¶
func (*StreamedListObjectsRequest) ProtoMessage()
func (*StreamedListObjectsRequest) ProtoReflect ¶
func (x *StreamedListObjectsRequest) ProtoReflect() protoreflect.Message
func (*StreamedListObjectsRequest) Reset ¶
func (x *StreamedListObjectsRequest) Reset()
func (*StreamedListObjectsRequest) String ¶
func (x *StreamedListObjectsRequest) String() string
type StreamedListObjectsResponse ¶
type StreamedListObjectsResponse struct { Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
The response for a StreamedListObjects RPC.
func (*StreamedListObjectsResponse) Descriptor
deprecated
func (*StreamedListObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamedListObjectsResponse.ProtoReflect.Descriptor instead.
func (*StreamedListObjectsResponse) GetObject ¶
func (x *StreamedListObjectsResponse) GetObject() string
func (*StreamedListObjectsResponse) ProtoMessage ¶
func (*StreamedListObjectsResponse) ProtoMessage()
func (*StreamedListObjectsResponse) ProtoReflect ¶
func (x *StreamedListObjectsResponse) ProtoReflect() protoreflect.Message
func (*StreamedListObjectsResponse) Reset ¶
func (x *StreamedListObjectsResponse) Reset()
func (*StreamedListObjectsResponse) String ¶
func (x *StreamedListObjectsResponse) String() string
type Tuple ¶
type Tuple struct { Key *TupleKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Tuple) GetTimestamp ¶
func (x *Tuple) GetTimestamp() *timestamppb.Timestamp
func (*Tuple) ProtoReflect ¶
func (x *Tuple) ProtoReflect() protoreflect.Message
type TupleChange ¶
type TupleChange struct { TupleKey *TupleKey `protobuf:"bytes,1,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"` Operation TupleOperation `protobuf:"varint,2,opt,name=operation,proto3,enum=openfga.v1.TupleOperation" json:"operation,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*TupleChange) Descriptor
deprecated
func (*TupleChange) Descriptor() ([]byte, []int)
Deprecated: Use TupleChange.ProtoReflect.Descriptor instead.
func (*TupleChange) GetOperation ¶
func (x *TupleChange) GetOperation() TupleOperation
func (*TupleChange) GetTimestamp ¶
func (x *TupleChange) GetTimestamp() *timestamppb.Timestamp
func (*TupleChange) GetTupleKey ¶
func (x *TupleChange) GetTupleKey() *TupleKey
func (*TupleChange) ProtoMessage ¶
func (*TupleChange) ProtoMessage()
func (*TupleChange) ProtoReflect ¶
func (x *TupleChange) ProtoReflect() protoreflect.Message
func (*TupleChange) Reset ¶
func (x *TupleChange) Reset()
func (*TupleChange) String ¶
func (x *TupleChange) String() string
type TupleKey ¶
type TupleKey struct { Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*TupleKey) ProtoReflect ¶
func (x *TupleKey) ProtoReflect() protoreflect.Message
type TupleKeys ¶
type TupleKeys struct { TupleKeys []*TupleKey `protobuf:"bytes,1,rep,name=tuple_keys,proto3" json:"tuple_keys,omitempty"` // contains filtered or unexported fields }
func (*TupleKeys) ProtoReflect ¶
func (x *TupleKeys) ProtoReflect() protoreflect.Message
type TupleOperation ¶
type TupleOperation int32
buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
const ( TupleOperation_TUPLE_OPERATION_WRITE TupleOperation = 0 TupleOperation_TUPLE_OPERATION_DELETE TupleOperation = 1 )
func (TupleOperation) Descriptor ¶
func (TupleOperation) Descriptor() protoreflect.EnumDescriptor
func (TupleOperation) Enum ¶
func (x TupleOperation) Enum() *TupleOperation
func (TupleOperation) EnumDescriptor
deprecated
func (TupleOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use TupleOperation.Descriptor instead.
func (TupleOperation) Number ¶
func (x TupleOperation) Number() protoreflect.EnumNumber
func (TupleOperation) String ¶
func (x TupleOperation) String() string
func (TupleOperation) Type ¶
func (TupleOperation) Type() protoreflect.EnumType
type TupleToUserset ¶
type TupleToUserset struct { // The target object/relation Tupleset *ObjectRelation `protobuf:"bytes,1,opt,name=tupleset,proto3" json:"tupleset,omitempty"` ComputedUserset *ObjectRelation `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3" json:"computed_userset,omitempty"` // contains filtered or unexported fields }
func (*TupleToUserset) Descriptor
deprecated
func (*TupleToUserset) Descriptor() ([]byte, []int)
Deprecated: Use TupleToUserset.ProtoReflect.Descriptor instead.
func (*TupleToUserset) GetComputedUserset ¶
func (x *TupleToUserset) GetComputedUserset() *ObjectRelation
func (*TupleToUserset) GetTupleset ¶
func (x *TupleToUserset) GetTupleset() *ObjectRelation
func (*TupleToUserset) ProtoMessage ¶
func (*TupleToUserset) ProtoMessage()
func (*TupleToUserset) ProtoReflect ¶
func (x *TupleToUserset) ProtoReflect() protoreflect.Message
func (*TupleToUserset) Reset ¶
func (x *TupleToUserset) Reset()
func (*TupleToUserset) String ¶
func (x *TupleToUserset) String() string
type TypeDefinition ¶
type TypeDefinition struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Relations map[string]*Userset `` /* 159-byte string literal not displayed */ // A map whose keys are the name of the relation and whose value is the Metadata for that relation. Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*TypeDefinition) Descriptor
deprecated
func (*TypeDefinition) Descriptor() ([]byte, []int)
Deprecated: Use TypeDefinition.ProtoReflect.Descriptor instead.
func (*TypeDefinition) GetMetadata ¶
func (x *TypeDefinition) GetMetadata() *Metadata
func (*TypeDefinition) GetRelations ¶
func (x *TypeDefinition) GetRelations() map[string]*Userset
func (*TypeDefinition) GetType ¶
func (x *TypeDefinition) GetType() string
func (*TypeDefinition) ProtoMessage ¶
func (*TypeDefinition) ProtoMessage()
func (*TypeDefinition) ProtoReflect ¶
func (x *TypeDefinition) ProtoReflect() protoreflect.Message
func (*TypeDefinition) Reset ¶
func (x *TypeDefinition) Reset()
func (*TypeDefinition) String ¶
func (x *TypeDefinition) String() string
type UpdateStoreRequest ¶
type UpdateStoreRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateStoreRequest) Descriptor
deprecated
func (*UpdateStoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStoreRequest.ProtoReflect.Descriptor instead.
func (*UpdateStoreRequest) GetName ¶
func (x *UpdateStoreRequest) GetName() string
func (*UpdateStoreRequest) GetStoreId ¶
func (x *UpdateStoreRequest) GetStoreId() string
func (*UpdateStoreRequest) ProtoMessage ¶
func (*UpdateStoreRequest) ProtoMessage()
func (*UpdateStoreRequest) ProtoReflect ¶
func (x *UpdateStoreRequest) ProtoReflect() protoreflect.Message
func (*UpdateStoreRequest) Reset ¶
func (x *UpdateStoreRequest) Reset()
func (*UpdateStoreRequest) String ¶
func (x *UpdateStoreRequest) String() string
type UpdateStoreResponse ¶
type UpdateStoreResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*UpdateStoreResponse) Descriptor
deprecated
func (*UpdateStoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStoreResponse.ProtoReflect.Descriptor instead.
func (*UpdateStoreResponse) GetCreatedAt ¶
func (x *UpdateStoreResponse) GetCreatedAt() *timestamppb.Timestamp
func (*UpdateStoreResponse) GetId ¶
func (x *UpdateStoreResponse) GetId() string
func (*UpdateStoreResponse) GetName ¶
func (x *UpdateStoreResponse) GetName() string
func (*UpdateStoreResponse) GetUpdatedAt ¶
func (x *UpdateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*UpdateStoreResponse) ProtoMessage ¶
func (*UpdateStoreResponse) ProtoMessage()
func (*UpdateStoreResponse) ProtoReflect ¶
func (x *UpdateStoreResponse) ProtoReflect() protoreflect.Message
func (*UpdateStoreResponse) Reset ¶
func (x *UpdateStoreResponse) Reset()
func (*UpdateStoreResponse) String ¶
func (x *UpdateStoreResponse) String() string
type Userset ¶
type Userset struct { // Types that are assignable to Userset: // // *Userset_This // *Userset_ComputedUserset // *Userset_TupleToUserset // *Userset_Union // *Userset_Intersection // *Userset_Difference Userset isUserset_Userset `protobuf_oneof:"userset"` // contains filtered or unexported fields }
func (*Userset) GetComputedUserset ¶
func (x *Userset) GetComputedUserset() *ObjectRelation
func (*Userset) GetDifference ¶
func (x *Userset) GetDifference() *Difference
func (*Userset) GetThis ¶
func (x *Userset) GetThis() *DirectUserset
func (*Userset) GetTupleToUserset ¶
func (x *Userset) GetTupleToUserset() *TupleToUserset
func (*Userset) ProtoReflect ¶
func (x *Userset) ProtoReflect() protoreflect.Message
type UsersetTree ¶
type UsersetTree struct { Root *UsersetTree_Node `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
A UsersetTree contains the result of an Expansion.
func (*UsersetTree) Descriptor
deprecated
func (*UsersetTree) Descriptor() ([]byte, []int)
Deprecated: Use UsersetTree.ProtoReflect.Descriptor instead.
func (*UsersetTree) GetRoot ¶
func (x *UsersetTree) GetRoot() *UsersetTree_Node
func (*UsersetTree) ProtoMessage ¶
func (*UsersetTree) ProtoMessage()
func (*UsersetTree) ProtoReflect ¶
func (x *UsersetTree) ProtoReflect() protoreflect.Message
func (*UsersetTree) Reset ¶
func (x *UsersetTree) Reset()
func (*UsersetTree) String ¶
func (x *UsersetTree) String() string
type UsersetTree_Computed ¶
type UsersetTree_Computed struct { Userset string `protobuf:"bytes,1,opt,name=userset,proto3" json:"userset,omitempty"` // contains filtered or unexported fields }
func (*UsersetTree_Computed) Descriptor
deprecated
func (*UsersetTree_Computed) Descriptor() ([]byte, []int)
Deprecated: Use UsersetTree_Computed.ProtoReflect.Descriptor instead.
func (*UsersetTree_Computed) GetUserset ¶
func (x *UsersetTree_Computed) GetUserset() string
func (*UsersetTree_Computed) ProtoMessage ¶
func (*UsersetTree_Computed) ProtoMessage()
func (*UsersetTree_Computed) ProtoReflect ¶
func (x *UsersetTree_Computed) ProtoReflect() protoreflect.Message
func (*UsersetTree_Computed) Reset ¶
func (x *UsersetTree_Computed) Reset()
func (*UsersetTree_Computed) String ¶
func (x *UsersetTree_Computed) String() string
type UsersetTree_Difference ¶
type UsersetTree_Difference struct { Base *UsersetTree_Node `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Subtract *UsersetTree_Node `protobuf:"bytes,2,opt,name=subtract,proto3" json:"subtract,omitempty"` // contains filtered or unexported fields }
func (*UsersetTree_Difference) Descriptor
deprecated
func (*UsersetTree_Difference) Descriptor() ([]byte, []int)
Deprecated: Use UsersetTree_Difference.ProtoReflect.Descriptor instead.
func (*UsersetTree_Difference) GetBase ¶
func (x *UsersetTree_Difference) GetBase() *UsersetTree_Node
func (*UsersetTree_Difference) GetSubtract ¶
func (x *UsersetTree_Difference) GetSubtract() *UsersetTree_Node
func (*UsersetTree_Difference) ProtoMessage ¶
func (*UsersetTree_Difference) ProtoMessage()
func (*UsersetTree_Difference) ProtoReflect ¶
func (x *UsersetTree_Difference) ProtoReflect() protoreflect.Message
func (*UsersetTree_Difference) Reset ¶
func (x *UsersetTree_Difference) Reset()
func (*UsersetTree_Difference) String ¶
func (x *UsersetTree_Difference) String() string
type UsersetTree_Leaf ¶
type UsersetTree_Leaf struct { // Types that are assignable to Value: // // *UsersetTree_Leaf_Users // *UsersetTree_Leaf_Computed // *UsersetTree_Leaf_TupleToUserset Value isUsersetTree_Leaf_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
A leaf node contains either
- a set of users (which may be individual users, or usersets referencing other relations)
- a computed node, which is the result of a computed userset value in the authorization model
- a tupleToUserset nodes, containing the result of expanding a tupleToUserset value in a authorization model.
func (*UsersetTree_Leaf) Descriptor
deprecated
func (*UsersetTree_Leaf) Descriptor() ([]byte, []int)
Deprecated: Use UsersetTree_Leaf.ProtoReflect.Descriptor instead.
func (*UsersetTree_Leaf) GetComputed ¶
func (x *UsersetTree_Leaf) GetComputed() *UsersetTree_Computed
func (*UsersetTree_Leaf) GetTupleToUserset ¶
func (x *UsersetTree_Leaf) GetTupleToUserset() *UsersetTree_TupleToUserset
func (*UsersetTree_Leaf) GetUsers ¶
func (x *UsersetTree_Leaf) GetUsers() *UsersetTree_Users
func (*UsersetTree_Leaf) GetValue ¶
func (m *UsersetTree_Leaf) GetValue() isUsersetTree_Leaf_Value
func (*UsersetTree_Leaf) ProtoMessage ¶
func (*UsersetTree_Leaf) ProtoMessage()
func (*UsersetTree_Leaf) ProtoReflect ¶
func (x *UsersetTree_Leaf) ProtoReflect() protoreflect.Message
func (*UsersetTree_Leaf) Reset ¶
func (x *UsersetTree_Leaf) Reset()
func (*UsersetTree_Leaf) String ¶
func (x *UsersetTree_Leaf) String() string
type UsersetTree_Leaf_Computed ¶
type UsersetTree_Leaf_Computed struct {
Computed *UsersetTree_Computed `protobuf:"bytes,2,opt,name=computed,proto3,oneof"`
}
type UsersetTree_Leaf_TupleToUserset ¶
type UsersetTree_Leaf_TupleToUserset struct {
TupleToUserset *UsersetTree_TupleToUserset `protobuf:"bytes,3,opt,name=tuple_to_userset,json=tupleToUserset,proto3,oneof"`
}
type UsersetTree_Leaf_Users ¶
type UsersetTree_Leaf_Users struct {
Users *UsersetTree_Users `protobuf:"bytes,1,opt,name=users,proto3,oneof"`
}
type UsersetTree_Node ¶
type UsersetTree_Node struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Value: // // *UsersetTree_Node_Leaf // *UsersetTree_Node_Difference // *UsersetTree_Node_Union // *UsersetTree_Node_Intersection Value isUsersetTree_Node_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*UsersetTree_Node) Descriptor
deprecated
func (*UsersetTree_Node) Descriptor() ([]byte, []int)
Deprecated: Use UsersetTree_Node.ProtoReflect.Descriptor instead.
func (*UsersetTree_Node) GetDifference ¶
func (x *UsersetTree_Node) GetDifference() *UsersetTree_Difference
func (*UsersetTree_Node) GetIntersection ¶
func (x *UsersetTree_Node) GetIntersection() *UsersetTree_Nodes
func (*UsersetTree_Node) GetLeaf ¶
func (x *UsersetTree_Node) GetLeaf() *UsersetTree_Leaf
func (*UsersetTree_Node) GetName ¶
func (x *UsersetTree_Node) GetName() string
func (*UsersetTree_Node) GetUnion ¶
func (x *UsersetTree_Node) GetUnion() *UsersetTree_Nodes
func (*UsersetTree_Node) GetValue ¶
func (m *UsersetTree_Node) GetValue() isUsersetTree_Node_Value
func (*UsersetTree_Node) ProtoMessage ¶
func (*UsersetTree_Node) ProtoMessage()
func (*UsersetTree_Node) ProtoReflect ¶
func (x *UsersetTree_Node) ProtoReflect() protoreflect.Message
func (*UsersetTree_Node) Reset ¶
func (x *UsersetTree_Node) Reset()
func (*UsersetTree_Node) String ¶
func (x *UsersetTree_Node) String() string
type UsersetTree_Node_Difference ¶
type UsersetTree_Node_Difference struct {
Difference *UsersetTree_Difference `protobuf:"bytes,5,opt,name=difference,proto3,oneof"`
}
type UsersetTree_Node_Intersection ¶
type UsersetTree_Node_Intersection struct {
Intersection *UsersetTree_Nodes `protobuf:"bytes,7,opt,name=intersection,proto3,oneof"`
}
type UsersetTree_Node_Leaf ¶
type UsersetTree_Node_Leaf struct {
Leaf *UsersetTree_Leaf `protobuf:"bytes,2,opt,name=leaf,proto3,oneof"`
}
type UsersetTree_Node_Union ¶
type UsersetTree_Node_Union struct {
Union *UsersetTree_Nodes `protobuf:"bytes,6,opt,name=union,proto3,oneof"`
}
type UsersetTree_Nodes ¶
type UsersetTree_Nodes struct { Nodes []*UsersetTree_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*UsersetTree_Nodes) Descriptor
deprecated
func (*UsersetTree_Nodes) Descriptor() ([]byte, []int)
Deprecated: Use UsersetTree_Nodes.ProtoReflect.Descriptor instead.
func (*UsersetTree_Nodes) GetNodes ¶
func (x *UsersetTree_Nodes) GetNodes() []*UsersetTree_Node
func (*UsersetTree_Nodes) ProtoMessage ¶
func (*UsersetTree_Nodes) ProtoMessage()
func (*UsersetTree_Nodes) ProtoReflect ¶
func (x *UsersetTree_Nodes) ProtoReflect() protoreflect.Message
func (*UsersetTree_Nodes) Reset ¶
func (x *UsersetTree_Nodes) Reset()
func (*UsersetTree_Nodes) String ¶
func (x *UsersetTree_Nodes) String() string
type UsersetTree_TupleToUserset ¶
type UsersetTree_TupleToUserset struct { Tupleset string `protobuf:"bytes,1,opt,name=tupleset,proto3" json:"tupleset,omitempty"` Computed []*UsersetTree_Computed `protobuf:"bytes,2,rep,name=computed,proto3" json:"computed,omitempty"` // contains filtered or unexported fields }
func (*UsersetTree_TupleToUserset) Descriptor
deprecated
func (*UsersetTree_TupleToUserset) Descriptor() ([]byte, []int)
Deprecated: Use UsersetTree_TupleToUserset.ProtoReflect.Descriptor instead.
func (*UsersetTree_TupleToUserset) GetComputed ¶
func (x *UsersetTree_TupleToUserset) GetComputed() []*UsersetTree_Computed
func (*UsersetTree_TupleToUserset) GetTupleset ¶
func (x *UsersetTree_TupleToUserset) GetTupleset() string
func (*UsersetTree_TupleToUserset) ProtoMessage ¶
func (*UsersetTree_TupleToUserset) ProtoMessage()
func (*UsersetTree_TupleToUserset) ProtoReflect ¶
func (x *UsersetTree_TupleToUserset) ProtoReflect() protoreflect.Message
func (*UsersetTree_TupleToUserset) Reset ¶
func (x *UsersetTree_TupleToUserset) Reset()
func (*UsersetTree_TupleToUserset) String ¶
func (x *UsersetTree_TupleToUserset) String() string
type UsersetTree_Users ¶
type UsersetTree_Users struct { Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UsersetTree_Users) Descriptor
deprecated
func (*UsersetTree_Users) Descriptor() ([]byte, []int)
Deprecated: Use UsersetTree_Users.ProtoReflect.Descriptor instead.
func (*UsersetTree_Users) GetUsers ¶
func (x *UsersetTree_Users) GetUsers() []string
func (*UsersetTree_Users) ProtoMessage ¶
func (*UsersetTree_Users) ProtoMessage()
func (*UsersetTree_Users) ProtoReflect ¶
func (x *UsersetTree_Users) ProtoReflect() protoreflect.Message
func (*UsersetTree_Users) Reset ¶
func (x *UsersetTree_Users) Reset()
func (*UsersetTree_Users) String ¶
func (x *UsersetTree_Users) String() string
type Userset_ComputedUserset ¶
type Userset_ComputedUserset struct {
ComputedUserset *ObjectRelation `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3,oneof"`
}
type Userset_Difference ¶
type Userset_Difference struct {
Difference *Difference `protobuf:"bytes,6,opt,name=difference,proto3,oneof"`
}
type Userset_Intersection ¶
type Userset_Intersection struct {
Intersection *Usersets `protobuf:"bytes,5,opt,name=intersection,proto3,oneof"`
}
type Userset_This ¶
type Userset_This struct {
This *DirectUserset `protobuf:"bytes,1,opt,name=this,proto3,oneof"`
}
type Userset_TupleToUserset ¶
type Userset_TupleToUserset struct {
TupleToUserset *TupleToUserset `protobuf:"bytes,3,opt,name=tuple_to_userset,json=tupleToUserset,proto3,oneof"`
}
type Userset_Union ¶
type Userset_Union struct {
Union *Usersets `protobuf:"bytes,4,opt,name=union,proto3,oneof"`
}
type Usersets ¶
type Usersets struct { Child []*Userset `protobuf:"bytes,1,rep,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
func (*Usersets) ProtoReflect ¶
func (x *Usersets) ProtoReflect() protoreflect.Message
type ValidationErrorMessageResponse ¶
type ValidationErrorMessageResponse struct { Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=openfga.v1.ErrorCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ValidationErrorMessageResponse) Descriptor
deprecated
func (*ValidationErrorMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidationErrorMessageResponse.ProtoReflect.Descriptor instead.
func (*ValidationErrorMessageResponse) GetCode ¶
func (x *ValidationErrorMessageResponse) GetCode() ErrorCode
func (*ValidationErrorMessageResponse) GetMessage ¶
func (x *ValidationErrorMessageResponse) GetMessage() string
func (*ValidationErrorMessageResponse) ProtoMessage ¶
func (*ValidationErrorMessageResponse) ProtoMessage()
func (*ValidationErrorMessageResponse) ProtoReflect ¶
func (x *ValidationErrorMessageResponse) ProtoReflect() protoreflect.Message
func (*ValidationErrorMessageResponse) Reset ¶
func (x *ValidationErrorMessageResponse) Reset()
func (*ValidationErrorMessageResponse) String ¶
func (x *ValidationErrorMessageResponse) String() string
type Wildcard ¶
type Wildcard struct {
// contains filtered or unexported fields
}
func (*Wildcard) ProtoReflect ¶
func (x *Wildcard) ProtoReflect() protoreflect.Message
type WriteAssertionsRequest ¶
type WriteAssertionsRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` AuthorizationModelId string `protobuf:"bytes,2,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"` Assertions []*Assertion `protobuf:"bytes,3,rep,name=assertions,proto3" json:"assertions,omitempty"` // contains filtered or unexported fields }
func (*WriteAssertionsRequest) Descriptor
deprecated
func (*WriteAssertionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteAssertionsRequest.ProtoReflect.Descriptor instead.
func (*WriteAssertionsRequest) GetAssertions ¶
func (x *WriteAssertionsRequest) GetAssertions() []*Assertion
func (*WriteAssertionsRequest) GetAuthorizationModelId ¶
func (x *WriteAssertionsRequest) GetAuthorizationModelId() string
func (*WriteAssertionsRequest) GetStoreId ¶
func (x *WriteAssertionsRequest) GetStoreId() string
func (*WriteAssertionsRequest) ProtoMessage ¶
func (*WriteAssertionsRequest) ProtoMessage()
func (*WriteAssertionsRequest) ProtoReflect ¶
func (x *WriteAssertionsRequest) ProtoReflect() protoreflect.Message
func (*WriteAssertionsRequest) Reset ¶
func (x *WriteAssertionsRequest) Reset()
func (*WriteAssertionsRequest) String ¶
func (x *WriteAssertionsRequest) String() string
type WriteAssertionsResponse ¶
type WriteAssertionsResponse struct {
// contains filtered or unexported fields
}
func (*WriteAssertionsResponse) Descriptor
deprecated
func (*WriteAssertionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteAssertionsResponse.ProtoReflect.Descriptor instead.
func (*WriteAssertionsResponse) ProtoMessage ¶
func (*WriteAssertionsResponse) ProtoMessage()
func (*WriteAssertionsResponse) ProtoReflect ¶
func (x *WriteAssertionsResponse) ProtoReflect() protoreflect.Message
func (*WriteAssertionsResponse) Reset ¶
func (x *WriteAssertionsResponse) Reset()
func (*WriteAssertionsResponse) String ¶
func (x *WriteAssertionsResponse) String() string
type WriteAuthorizationModelRequest ¶
type WriteAuthorizationModelRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` TypeDefinitions []*TypeDefinition `protobuf:"bytes,2,rep,name=type_definitions,proto3" json:"type_definitions,omitempty"` SchemaVersion string `protobuf:"bytes,3,opt,name=schema_version,proto3" json:"schema_version,omitempty"` // contains filtered or unexported fields }
func (*WriteAuthorizationModelRequest) Descriptor
deprecated
func (*WriteAuthorizationModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteAuthorizationModelRequest.ProtoReflect.Descriptor instead.
func (*WriteAuthorizationModelRequest) GetSchemaVersion ¶
func (x *WriteAuthorizationModelRequest) GetSchemaVersion() string
func (*WriteAuthorizationModelRequest) GetStoreId ¶
func (x *WriteAuthorizationModelRequest) GetStoreId() string
func (*WriteAuthorizationModelRequest) GetTypeDefinitions ¶
func (x *WriteAuthorizationModelRequest) GetTypeDefinitions() []*TypeDefinition
func (*WriteAuthorizationModelRequest) ProtoMessage ¶
func (*WriteAuthorizationModelRequest) ProtoMessage()
func (*WriteAuthorizationModelRequest) ProtoReflect ¶
func (x *WriteAuthorizationModelRequest) ProtoReflect() protoreflect.Message
func (*WriteAuthorizationModelRequest) Reset ¶
func (x *WriteAuthorizationModelRequest) Reset()
func (*WriteAuthorizationModelRequest) String ¶
func (x *WriteAuthorizationModelRequest) String() string
type WriteAuthorizationModelResponse ¶
type WriteAuthorizationModelResponse struct { AuthorizationModelId string `protobuf:"bytes,1,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"` // contains filtered or unexported fields }
func (*WriteAuthorizationModelResponse) Descriptor
deprecated
func (*WriteAuthorizationModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteAuthorizationModelResponse.ProtoReflect.Descriptor instead.
func (*WriteAuthorizationModelResponse) GetAuthorizationModelId ¶
func (x *WriteAuthorizationModelResponse) GetAuthorizationModelId() string
func (*WriteAuthorizationModelResponse) ProtoMessage ¶
func (*WriteAuthorizationModelResponse) ProtoMessage()
func (*WriteAuthorizationModelResponse) ProtoReflect ¶
func (x *WriteAuthorizationModelResponse) ProtoReflect() protoreflect.Message
func (*WriteAuthorizationModelResponse) Reset ¶
func (x *WriteAuthorizationModelResponse) Reset()
func (*WriteAuthorizationModelResponse) String ¶
func (x *WriteAuthorizationModelResponse) String() string
type WriteRequest ¶
type WriteRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"` Writes *TupleKeys `protobuf:"bytes,2,opt,name=writes,proto3" json:"writes,omitempty"` Deletes *TupleKeys `protobuf:"bytes,3,opt,name=deletes,proto3" json:"deletes,omitempty"` AuthorizationModelId string `protobuf:"bytes,4,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"` // contains filtered or unexported fields }
func (*WriteRequest) Descriptor
deprecated
func (*WriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.
func (*WriteRequest) GetAuthorizationModelId ¶
func (x *WriteRequest) GetAuthorizationModelId() string
func (*WriteRequest) GetDeletes ¶
func (x *WriteRequest) GetDeletes() *TupleKeys
func (*WriteRequest) GetStoreId ¶
func (x *WriteRequest) GetStoreId() string
func (*WriteRequest) GetWrites ¶
func (x *WriteRequest) GetWrites() *TupleKeys
func (*WriteRequest) ProtoMessage ¶
func (*WriteRequest) ProtoMessage()
func (*WriteRequest) ProtoReflect ¶
func (x *WriteRequest) ProtoReflect() protoreflect.Message
func (*WriteRequest) Reset ¶
func (x *WriteRequest) Reset()
func (*WriteRequest) String ¶
func (x *WriteRequest) String() string
type WriteResponse ¶
type WriteResponse struct {
// contains filtered or unexported fields
}
func (*WriteResponse) Descriptor
deprecated
func (*WriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.
func (*WriteResponse) ProtoMessage ¶
func (*WriteResponse) ProtoMessage()
func (*WriteResponse) ProtoReflect ¶
func (x *WriteResponse) ProtoReflect() protoreflect.Message
func (*WriteResponse) Reset ¶
func (x *WriteResponse) Reset()
func (*WriteResponse) String ¶
func (x *WriteResponse) String() string