Documentation
¶
Index ¶
- Constants
- Variables
- type AbortedMessageResponse
- func (x *AbortedMessageResponse) GetCode() string
- func (x *AbortedMessageResponse) GetMessage() string
- func (*AbortedMessageResponse) ProtoMessage()
- func (x *AbortedMessageResponse) ProtoReflect() protoreflect.Message
- func (x *AbortedMessageResponse) Reset()
- func (x *AbortedMessageResponse) SetCode(v string)
- func (x *AbortedMessageResponse) SetMessage(v string)
- func (x *AbortedMessageResponse) String() string
- type AbortedMessageResponse_builder
- type Assertion
- func (x *Assertion) ClearContext()
- func (x *Assertion) ClearTupleKey()
- func (x *Assertion) GetContext() *structpb.Struct
- func (x *Assertion) GetContextualTuples() []*TupleKey
- func (x *Assertion) GetExpectation() bool
- func (x *Assertion) GetTupleKey() *AssertionTupleKey
- func (x *Assertion) HasContext() bool
- func (x *Assertion) HasTupleKey() bool
- func (*Assertion) ProtoMessage()
- func (x *Assertion) ProtoReflect() protoreflect.Message
- func (x *Assertion) Reset()
- func (x *Assertion) SetContext(v *structpb.Struct)
- func (x *Assertion) SetContextualTuples(v []*TupleKey)
- func (x *Assertion) SetExpectation(v bool)
- func (x *Assertion) SetTupleKey(v *AssertionTupleKey)
- func (x *Assertion) String() string
- type AssertionTupleKey
- func (x *AssertionTupleKey) GetObject() string
- func (x *AssertionTupleKey) GetRelation() string
- func (x *AssertionTupleKey) GetUser() string
- func (*AssertionTupleKey) ProtoMessage()
- func (x *AssertionTupleKey) ProtoReflect() protoreflect.Message
- func (x *AssertionTupleKey) Reset()
- func (x *AssertionTupleKey) SetObject(v string)
- func (x *AssertionTupleKey) SetRelation(v string)
- func (x *AssertionTupleKey) SetUser(v string)
- func (x *AssertionTupleKey) String() string
- type AssertionTupleKey_builder
- type Assertion_builder
- type Assertions
- type Assertions_builder
- type AuthErrorCode
- type AuthorizationModel
- func (x *AuthorizationModel) GetConditions() map[string]*Condition
- 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) SetConditions(v map[string]*Condition)
- func (x *AuthorizationModel) SetId(v string)
- func (x *AuthorizationModel) SetSchemaVersion(v string)
- func (x *AuthorizationModel) SetTypeDefinitions(v []*TypeDefinition)
- func (x *AuthorizationModel) String() string
- type AuthorizationModel_builder
- type BatchCheckItem
- func (x *BatchCheckItem) ClearContext()
- func (x *BatchCheckItem) ClearContextualTuples()
- func (x *BatchCheckItem) ClearTupleKey()
- func (x *BatchCheckItem) GetContext() *structpb.Struct
- func (x *BatchCheckItem) GetContextualTuples() *ContextualTupleKeys
- func (x *BatchCheckItem) GetCorrelationId() string
- func (x *BatchCheckItem) GetTupleKey() *CheckRequestTupleKey
- func (x *BatchCheckItem) HasContext() bool
- func (x *BatchCheckItem) HasContextualTuples() bool
- func (x *BatchCheckItem) HasTupleKey() bool
- func (*BatchCheckItem) ProtoMessage()
- func (x *BatchCheckItem) ProtoReflect() protoreflect.Message
- func (x *BatchCheckItem) Reset()
- func (x *BatchCheckItem) SetContext(v *structpb.Struct)
- func (x *BatchCheckItem) SetContextualTuples(v *ContextualTupleKeys)
- func (x *BatchCheckItem) SetCorrelationId(v string)
- func (x *BatchCheckItem) SetTupleKey(v *CheckRequestTupleKey)
- func (x *BatchCheckItem) String() string
- type BatchCheckItem_builder
- type BatchCheckRequest
- func (x *BatchCheckRequest) GetAuthorizationModelId() string
- func (x *BatchCheckRequest) GetChecks() []*BatchCheckItem
- func (x *BatchCheckRequest) GetConsistency() ConsistencyPreference
- func (x *BatchCheckRequest) GetStoreId() string
- func (*BatchCheckRequest) ProtoMessage()
- func (x *BatchCheckRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCheckRequest) Reset()
- func (x *BatchCheckRequest) SetAuthorizationModelId(v string)
- func (x *BatchCheckRequest) SetChecks(v []*BatchCheckItem)
- func (x *BatchCheckRequest) SetConsistency(v ConsistencyPreference)
- func (x *BatchCheckRequest) SetStoreId(v string)
- func (x *BatchCheckRequest) String() string
- type BatchCheckRequest_builder
- type BatchCheckResponse
- func (x *BatchCheckResponse) GetResult() map[string]*BatchCheckSingleResult
- func (*BatchCheckResponse) ProtoMessage()
- func (x *BatchCheckResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCheckResponse) Reset()
- func (x *BatchCheckResponse) SetResult(v map[string]*BatchCheckSingleResult)
- func (x *BatchCheckResponse) String() string
- type BatchCheckResponse_builder
- type BatchCheckSingleResult
- func (x *BatchCheckSingleResult) ClearAllowed()
- func (x *BatchCheckSingleResult) ClearCheckResult()
- func (x *BatchCheckSingleResult) ClearError()
- func (x *BatchCheckSingleResult) GetAllowed() bool
- func (x *BatchCheckSingleResult) GetCheckResult() isBatchCheckSingleResult_CheckResult
- func (x *BatchCheckSingleResult) GetError() *CheckError
- func (x *BatchCheckSingleResult) HasAllowed() bool
- func (x *BatchCheckSingleResult) HasCheckResult() bool
- func (x *BatchCheckSingleResult) HasError() bool
- func (*BatchCheckSingleResult) ProtoMessage()
- func (x *BatchCheckSingleResult) ProtoReflect() protoreflect.Message
- func (x *BatchCheckSingleResult) Reset()
- func (x *BatchCheckSingleResult) SetAllowed(v bool)
- func (x *BatchCheckSingleResult) SetError(v *CheckError)
- func (x *BatchCheckSingleResult) String() string
- func (x *BatchCheckSingleResult) WhichCheckResult() case_BatchCheckSingleResult_CheckResult
- type BatchCheckSingleResult_Allowed
- type BatchCheckSingleResult_Error
- type BatchCheckSingleResult_builder
- type CheckError
- func (x *CheckError) ClearCode()
- func (x *CheckError) ClearInputError()
- func (x *CheckError) ClearInternalError()
- func (x *CheckError) GetCode() isCheckError_Code
- func (x *CheckError) GetInputError() ErrorCode
- func (x *CheckError) GetInternalError() InternalErrorCode
- func (x *CheckError) GetMessage() string
- func (x *CheckError) HasCode() bool
- func (x *CheckError) HasInputError() bool
- func (x *CheckError) HasInternalError() bool
- func (*CheckError) ProtoMessage()
- func (x *CheckError) ProtoReflect() protoreflect.Message
- func (x *CheckError) Reset()
- func (x *CheckError) SetInputError(v ErrorCode)
- func (x *CheckError) SetInternalError(v InternalErrorCode)
- func (x *CheckError) SetMessage(v string)
- func (x *CheckError) String() string
- func (x *CheckError) WhichCode() case_CheckError_Code
- type CheckError_InputError
- type CheckError_InternalError
- type CheckError_builder
- type CheckRequest
- func (x *CheckRequest) ClearContext()
- func (x *CheckRequest) ClearContextualTuples()
- func (x *CheckRequest) ClearTupleKey()
- func (x *CheckRequest) GetAuthorizationModelId() string
- func (x *CheckRequest) GetConsistency() ConsistencyPreference
- func (x *CheckRequest) GetContext() *structpb.Struct
- func (x *CheckRequest) GetContextualTuples() *ContextualTupleKeys
- func (x *CheckRequest) GetStoreId() string
- func (x *CheckRequest) GetTrace() bool
- func (x *CheckRequest) GetTupleKey() *CheckRequestTupleKey
- func (x *CheckRequest) HasContext() bool
- func (x *CheckRequest) HasContextualTuples() bool
- func (x *CheckRequest) HasTupleKey() bool
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) SetAuthorizationModelId(v string)
- func (x *CheckRequest) SetConsistency(v ConsistencyPreference)
- func (x *CheckRequest) SetContext(v *structpb.Struct)
- func (x *CheckRequest) SetContextualTuples(v *ContextualTupleKeys)
- func (x *CheckRequest) SetStoreId(v string)
- func (x *CheckRequest) SetTrace(v bool)
- func (x *CheckRequest) SetTupleKey(v *CheckRequestTupleKey)
- func (x *CheckRequest) String() string
- type CheckRequestTupleKey
- func (x *CheckRequestTupleKey) GetObject() string
- func (x *CheckRequestTupleKey) GetRelation() string
- func (x *CheckRequestTupleKey) GetUser() string
- func (*CheckRequestTupleKey) ProtoMessage()
- func (x *CheckRequestTupleKey) ProtoReflect() protoreflect.Message
- func (x *CheckRequestTupleKey) Reset()
- func (x *CheckRequestTupleKey) SetObject(v string)
- func (x *CheckRequestTupleKey) SetRelation(v string)
- func (x *CheckRequestTupleKey) SetUser(v string)
- func (x *CheckRequestTupleKey) String() string
- type CheckRequestTupleKey_builder
- type CheckRequest_builder
- type CheckResponse
- 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) SetAllowed(v bool)
- func (x *CheckResponse) SetResolution(v string)
- func (x *CheckResponse) String() string
- type CheckResponse_builder
- type ComputedUserset
- type ComputedUserset_builder
- type Condition
- func (x *Condition) ClearMetadata()
- func (x *Condition) GetExpression() string
- func (x *Condition) GetMetadata() *ConditionMetadata
- func (x *Condition) GetName() string
- func (x *Condition) GetParameters() map[string]*ConditionParamTypeRef
- func (x *Condition) HasMetadata() bool
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) SetExpression(v string)
- func (x *Condition) SetMetadata(v *ConditionMetadata)
- func (x *Condition) SetName(v string)
- func (x *Condition) SetParameters(v map[string]*ConditionParamTypeRef)
- func (x *Condition) String() string
- type ConditionMetadata
- func (x *ConditionMetadata) ClearSourceInfo()
- func (x *ConditionMetadata) GetModule() string
- func (x *ConditionMetadata) GetSourceInfo() *SourceInfo
- func (x *ConditionMetadata) HasSourceInfo() bool
- func (*ConditionMetadata) ProtoMessage()
- func (x *ConditionMetadata) ProtoReflect() protoreflect.Message
- func (x *ConditionMetadata) Reset()
- func (x *ConditionMetadata) SetModule(v string)
- func (x *ConditionMetadata) SetSourceInfo(v *SourceInfo)
- func (x *ConditionMetadata) String() string
- type ConditionMetadata_builder
- type ConditionParamTypeRef
- func (x *ConditionParamTypeRef) GetGenericTypes() []*ConditionParamTypeRef
- func (x *ConditionParamTypeRef) GetTypeName() ConditionParamTypeRef_TypeName
- func (*ConditionParamTypeRef) ProtoMessage()
- func (x *ConditionParamTypeRef) ProtoReflect() protoreflect.Message
- func (x *ConditionParamTypeRef) Reset()
- func (x *ConditionParamTypeRef) SetGenericTypes(v []*ConditionParamTypeRef)
- func (x *ConditionParamTypeRef) SetTypeName(v ConditionParamTypeRef_TypeName)
- func (x *ConditionParamTypeRef) String() string
- type ConditionParamTypeRef_TypeName
- func (ConditionParamTypeRef_TypeName) Descriptor() protoreflect.EnumDescriptor
- func (x ConditionParamTypeRef_TypeName) Enum() *ConditionParamTypeRef_TypeName
- func (x ConditionParamTypeRef_TypeName) Number() protoreflect.EnumNumber
- func (x ConditionParamTypeRef_TypeName) String() string
- func (ConditionParamTypeRef_TypeName) Type() protoreflect.EnumType
- type ConditionParamTypeRef_builder
- type Condition_builder
- type ConsistencyPreference
- type ContextualTupleKeys
- func (x *ContextualTupleKeys) GetTupleKeys() []*TupleKey
- func (*ContextualTupleKeys) ProtoMessage()
- func (x *ContextualTupleKeys) ProtoReflect() protoreflect.Message
- func (x *ContextualTupleKeys) Reset()
- func (x *ContextualTupleKeys) SetTupleKeys(v []*TupleKey)
- func (x *ContextualTupleKeys) String() string
- type ContextualTupleKeys_builder
- type CreateStoreRequest
- type CreateStoreRequest_builder
- type CreateStoreResponse
- func (x *CreateStoreResponse) ClearCreatedAt()
- func (x *CreateStoreResponse) ClearUpdatedAt()
- func (x *CreateStoreResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateStoreResponse) GetId() string
- func (x *CreateStoreResponse) GetName() string
- func (x *CreateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (x *CreateStoreResponse) HasCreatedAt() bool
- func (x *CreateStoreResponse) HasUpdatedAt() bool
- func (*CreateStoreResponse) ProtoMessage()
- func (x *CreateStoreResponse) ProtoReflect() protoreflect.Message
- func (x *CreateStoreResponse) Reset()
- func (x *CreateStoreResponse) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *CreateStoreResponse) SetId(v string)
- func (x *CreateStoreResponse) SetName(v string)
- func (x *CreateStoreResponse) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *CreateStoreResponse) String() string
- type CreateStoreResponse_builder
- type DeleteStoreRequest
- type DeleteStoreRequest_builder
- type DeleteStoreResponse
- type DeleteStoreResponse_builder
- type Difference
- func (x *Difference) ClearBase()
- func (x *Difference) ClearSubtract()
- func (x *Difference) GetBase() *Userset
- func (x *Difference) GetSubtract() *Userset
- func (x *Difference) HasBase() bool
- func (x *Difference) HasSubtract() bool
- func (*Difference) ProtoMessage()
- func (x *Difference) ProtoReflect() protoreflect.Message
- func (x *Difference) Reset()
- func (x *Difference) SetBase(v *Userset)
- func (x *Difference) SetSubtract(v *Userset)
- func (x *Difference) String() string
- type Difference_builder
- type DirectUserset
- type DirectUserset_builder
- type ErrorCode
- type ErrorMessageRequest
- type ErrorMessageRequest_builder
- type ExpandRequest
- func (x *ExpandRequest) ClearContextualTuples()
- func (x *ExpandRequest) ClearTupleKey()
- func (x *ExpandRequest) GetAuthorizationModelId() string
- func (x *ExpandRequest) GetConsistency() ConsistencyPreference
- func (x *ExpandRequest) GetContextualTuples() *ContextualTupleKeys
- func (x *ExpandRequest) GetStoreId() string
- func (x *ExpandRequest) GetTupleKey() *ExpandRequestTupleKey
- func (x *ExpandRequest) HasContextualTuples() bool
- func (x *ExpandRequest) HasTupleKey() bool
- func (*ExpandRequest) ProtoMessage()
- func (x *ExpandRequest) ProtoReflect() protoreflect.Message
- func (x *ExpandRequest) Reset()
- func (x *ExpandRequest) SetAuthorizationModelId(v string)
- func (x *ExpandRequest) SetConsistency(v ConsistencyPreference)
- func (x *ExpandRequest) SetContextualTuples(v *ContextualTupleKeys)
- func (x *ExpandRequest) SetStoreId(v string)
- func (x *ExpandRequest) SetTupleKey(v *ExpandRequestTupleKey)
- func (x *ExpandRequest) String() string
- type ExpandRequestTupleKey
- func (x *ExpandRequestTupleKey) GetObject() string
- func (x *ExpandRequestTupleKey) GetRelation() string
- func (*ExpandRequestTupleKey) ProtoMessage()
- func (x *ExpandRequestTupleKey) ProtoReflect() protoreflect.Message
- func (x *ExpandRequestTupleKey) Reset()
- func (x *ExpandRequestTupleKey) SetObject(v string)
- func (x *ExpandRequestTupleKey) SetRelation(v string)
- func (x *ExpandRequestTupleKey) String() string
- type ExpandRequestTupleKey_builder
- type ExpandRequest_builder
- type ExpandResponse
- func (x *ExpandResponse) ClearTree()
- func (x *ExpandResponse) GetTree() *UsersetTree
- func (x *ExpandResponse) HasTree() bool
- func (*ExpandResponse) ProtoMessage()
- func (x *ExpandResponse) ProtoReflect() protoreflect.Message
- func (x *ExpandResponse) Reset()
- func (x *ExpandResponse) SetTree(v *UsersetTree)
- func (x *ExpandResponse) String() string
- type ExpandResponse_builder
- type ForbiddenResponse
- func (x *ForbiddenResponse) GetCode() AuthErrorCode
- func (x *ForbiddenResponse) GetMessage() string
- func (*ForbiddenResponse) ProtoMessage()
- func (x *ForbiddenResponse) ProtoReflect() protoreflect.Message
- func (x *ForbiddenResponse) Reset()
- func (x *ForbiddenResponse) SetCode(v AuthErrorCode)
- func (x *ForbiddenResponse) SetMessage(v string)
- func (x *ForbiddenResponse) String() string
- type ForbiddenResponse_builder
- type GetStoreRequest
- type GetStoreRequest_builder
- type GetStoreResponse
- func (x *GetStoreResponse) ClearCreatedAt()
- func (x *GetStoreResponse) ClearDeletedAt()
- func (x *GetStoreResponse) ClearUpdatedAt()
- func (x *GetStoreResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *GetStoreResponse) GetDeletedAt() *timestamppb.Timestamp
- func (x *GetStoreResponse) GetId() string
- func (x *GetStoreResponse) GetName() string
- func (x *GetStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (x *GetStoreResponse) HasCreatedAt() bool
- func (x *GetStoreResponse) HasDeletedAt() bool
- func (x *GetStoreResponse) HasUpdatedAt() bool
- func (*GetStoreResponse) ProtoMessage()
- func (x *GetStoreResponse) ProtoReflect() protoreflect.Message
- func (x *GetStoreResponse) Reset()
- func (x *GetStoreResponse) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *GetStoreResponse) SetDeletedAt(v *timestamppb.Timestamp)
- func (x *GetStoreResponse) SetId(v string)
- func (x *GetStoreResponse) SetName(v string)
- func (x *GetStoreResponse) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *GetStoreResponse) String() string
- type GetStoreResponse_builder
- type InternalErrorCode
- type InternalErrorMessageResponse
- 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) SetCode(v InternalErrorCode)
- func (x *InternalErrorMessageResponse) SetMessage(v string)
- func (x *InternalErrorMessageResponse) String() string
- type InternalErrorMessageResponse_builder
- type ListObjectsRequest
- func (x *ListObjectsRequest) ClearContext()
- func (x *ListObjectsRequest) ClearContextualTuples()
- func (x *ListObjectsRequest) GetAuthorizationModelId() string
- func (x *ListObjectsRequest) GetConsistency() ConsistencyPreference
- func (x *ListObjectsRequest) GetContext() *structpb.Struct
- 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 (x *ListObjectsRequest) HasContext() bool
- func (x *ListObjectsRequest) HasContextualTuples() bool
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) SetAuthorizationModelId(v string)
- func (x *ListObjectsRequest) SetConsistency(v ConsistencyPreference)
- func (x *ListObjectsRequest) SetContext(v *structpb.Struct)
- func (x *ListObjectsRequest) SetContextualTuples(v *ContextualTupleKeys)
- func (x *ListObjectsRequest) SetRelation(v string)
- func (x *ListObjectsRequest) SetStoreId(v string)
- func (x *ListObjectsRequest) SetType(v string)
- func (x *ListObjectsRequest) SetUser(v string)
- func (x *ListObjectsRequest) String() string
- type ListObjectsRequest_builder
- type ListObjectsResponse
- type ListObjectsResponse_builder
- type ListStoresRequest
- func (x *ListStoresRequest) ClearPageSize()
- func (x *ListStoresRequest) GetContinuationToken() string
- func (x *ListStoresRequest) GetName() string
- func (x *ListStoresRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ListStoresRequest) HasPageSize() bool
- func (*ListStoresRequest) ProtoMessage()
- func (x *ListStoresRequest) ProtoReflect() protoreflect.Message
- func (x *ListStoresRequest) Reset()
- func (x *ListStoresRequest) SetContinuationToken(v string)
- func (x *ListStoresRequest) SetName(v string)
- func (x *ListStoresRequest) SetPageSize(v *wrapperspb.Int32Value)
- func (x *ListStoresRequest) String() string
- type ListStoresRequest_builder
- type ListStoresResponse
- 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) SetContinuationToken(v string)
- func (x *ListStoresResponse) SetStores(v []*Store)
- func (x *ListStoresResponse) String() string
- type ListStoresResponse_builder
- type ListUsersRequest
- func (x *ListUsersRequest) ClearContext()
- func (x *ListUsersRequest) ClearObject()
- func (x *ListUsersRequest) GetAuthorizationModelId() string
- func (x *ListUsersRequest) GetConsistency() ConsistencyPreference
- func (x *ListUsersRequest) GetContext() *structpb.Struct
- func (x *ListUsersRequest) GetContextualTuples() []*TupleKey
- func (x *ListUsersRequest) GetObject() *Object
- func (x *ListUsersRequest) GetRelation() string
- func (x *ListUsersRequest) GetStoreId() string
- func (x *ListUsersRequest) GetUserFilters() []*UserTypeFilter
- func (x *ListUsersRequest) HasContext() bool
- func (x *ListUsersRequest) HasObject() bool
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) SetAuthorizationModelId(v string)
- func (x *ListUsersRequest) SetConsistency(v ConsistencyPreference)
- func (x *ListUsersRequest) SetContext(v *structpb.Struct)
- func (x *ListUsersRequest) SetContextualTuples(v []*TupleKey)
- func (x *ListUsersRequest) SetObject(v *Object)
- func (x *ListUsersRequest) SetRelation(v string)
- func (x *ListUsersRequest) SetStoreId(v string)
- func (x *ListUsersRequest) SetUserFilters(v []*UserTypeFilter)
- func (x *ListUsersRequest) String() string
- type ListUsersRequest_builder
- type ListUsersResponse
- type ListUsersResponse_builder
- type Metadata
- func (x *Metadata) ClearSourceInfo()
- func (x *Metadata) GetModule() string
- func (x *Metadata) GetRelations() map[string]*RelationMetadata
- func (x *Metadata) GetSourceInfo() *SourceInfo
- func (x *Metadata) HasSourceInfo() bool
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) SetModule(v string)
- func (x *Metadata) SetRelations(v map[string]*RelationMetadata)
- func (x *Metadata) SetSourceInfo(v *SourceInfo)
- func (x *Metadata) String() string
- type Metadata_builder
- type NotFoundErrorCode
- type Object
- type ObjectRelation
- 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) SetObject(v string)
- func (x *ObjectRelation) SetRelation(v string)
- func (x *ObjectRelation) String() string
- type ObjectRelation_builder
- type Object_builder
- type PathUnknownErrorMessageResponse
- 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) SetCode(v NotFoundErrorCode)
- func (x *PathUnknownErrorMessageResponse) SetMessage(v string)
- func (x *PathUnknownErrorMessageResponse) String() string
- type PathUnknownErrorMessageResponse_builder
- type ReadAssertionsRequest
- 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) SetAuthorizationModelId(v string)
- func (x *ReadAssertionsRequest) SetStoreId(v string)
- func (x *ReadAssertionsRequest) String() string
- type ReadAssertionsRequest_builder
- type ReadAssertionsResponse
- 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) SetAssertions(v []*Assertion)
- func (x *ReadAssertionsResponse) SetAuthorizationModelId(v string)
- func (x *ReadAssertionsResponse) String() string
- type ReadAssertionsResponse_builder
- type ReadAuthorizationModelRequest
- 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) SetId(v string)
- func (x *ReadAuthorizationModelRequest) SetStoreId(v string)
- func (x *ReadAuthorizationModelRequest) String() string
- type ReadAuthorizationModelRequest_builder
- type ReadAuthorizationModelResponse
- func (x *ReadAuthorizationModelResponse) ClearAuthorizationModel()
- func (x *ReadAuthorizationModelResponse) GetAuthorizationModel() *AuthorizationModel
- func (x *ReadAuthorizationModelResponse) HasAuthorizationModel() bool
- func (*ReadAuthorizationModelResponse) ProtoMessage()
- func (x *ReadAuthorizationModelResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelResponse) Reset()
- func (x *ReadAuthorizationModelResponse) SetAuthorizationModel(v *AuthorizationModel)
- func (x *ReadAuthorizationModelResponse) String() string
- type ReadAuthorizationModelResponse_builder
- type ReadAuthorizationModelsRequest
- func (x *ReadAuthorizationModelsRequest) ClearPageSize()
- func (x *ReadAuthorizationModelsRequest) GetContinuationToken() string
- func (x *ReadAuthorizationModelsRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ReadAuthorizationModelsRequest) GetStoreId() string
- func (x *ReadAuthorizationModelsRequest) HasPageSize() bool
- func (*ReadAuthorizationModelsRequest) ProtoMessage()
- func (x *ReadAuthorizationModelsRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelsRequest) Reset()
- func (x *ReadAuthorizationModelsRequest) SetContinuationToken(v string)
- func (x *ReadAuthorizationModelsRequest) SetPageSize(v *wrapperspb.Int32Value)
- func (x *ReadAuthorizationModelsRequest) SetStoreId(v string)
- func (x *ReadAuthorizationModelsRequest) String() string
- type ReadAuthorizationModelsRequest_builder
- type ReadAuthorizationModelsResponse
- 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) SetAuthorizationModels(v []*AuthorizationModel)
- func (x *ReadAuthorizationModelsResponse) SetContinuationToken(v string)
- func (x *ReadAuthorizationModelsResponse) String() string
- type ReadAuthorizationModelsResponse_builder
- type ReadChangesRequest
- func (x *ReadChangesRequest) ClearPageSize()
- func (x *ReadChangesRequest) ClearStartTime()
- func (x *ReadChangesRequest) GetContinuationToken() string
- func (x *ReadChangesRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ReadChangesRequest) GetStartTime() *timestamppb.Timestamp
- func (x *ReadChangesRequest) GetStoreId() string
- func (x *ReadChangesRequest) GetType() string
- func (x *ReadChangesRequest) HasPageSize() bool
- func (x *ReadChangesRequest) HasStartTime() bool
- func (*ReadChangesRequest) ProtoMessage()
- func (x *ReadChangesRequest) ProtoReflect() protoreflect.Message
- func (x *ReadChangesRequest) Reset()
- func (x *ReadChangesRequest) SetContinuationToken(v string)
- func (x *ReadChangesRequest) SetPageSize(v *wrapperspb.Int32Value)
- func (x *ReadChangesRequest) SetStartTime(v *timestamppb.Timestamp)
- func (x *ReadChangesRequest) SetStoreId(v string)
- func (x *ReadChangesRequest) SetType(v string)
- func (x *ReadChangesRequest) String() string
- type ReadChangesRequest_builder
- type ReadChangesResponse
- 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) SetChanges(v []*TupleChange)
- func (x *ReadChangesResponse) SetContinuationToken(v string)
- func (x *ReadChangesResponse) String() string
- type ReadChangesResponse_builder
- type ReadRequest
- func (x *ReadRequest) ClearPageSize()
- func (x *ReadRequest) ClearTupleKey()
- func (x *ReadRequest) GetConsistency() ConsistencyPreference
- func (x *ReadRequest) GetContinuationToken() string
- func (x *ReadRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ReadRequest) GetStoreId() string
- func (x *ReadRequest) GetTupleKey() *ReadRequestTupleKey
- func (x *ReadRequest) HasPageSize() bool
- func (x *ReadRequest) HasTupleKey() bool
- func (*ReadRequest) ProtoMessage()
- func (x *ReadRequest) ProtoReflect() protoreflect.Message
- func (x *ReadRequest) Reset()
- func (x *ReadRequest) SetConsistency(v ConsistencyPreference)
- func (x *ReadRequest) SetContinuationToken(v string)
- func (x *ReadRequest) SetPageSize(v *wrapperspb.Int32Value)
- func (x *ReadRequest) SetStoreId(v string)
- func (x *ReadRequest) SetTupleKey(v *ReadRequestTupleKey)
- func (x *ReadRequest) String() string
- type ReadRequestTupleKey
- func (x *ReadRequestTupleKey) GetObject() string
- func (x *ReadRequestTupleKey) GetRelation() string
- func (x *ReadRequestTupleKey) GetUser() string
- func (*ReadRequestTupleKey) ProtoMessage()
- func (x *ReadRequestTupleKey) ProtoReflect() protoreflect.Message
- func (x *ReadRequestTupleKey) Reset()
- func (x *ReadRequestTupleKey) SetObject(v string)
- func (x *ReadRequestTupleKey) SetRelation(v string)
- func (x *ReadRequestTupleKey) SetUser(v string)
- func (x *ReadRequestTupleKey) String() string
- type ReadRequestTupleKey_builder
- type ReadRequest_builder
- type ReadResponse
- 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) SetContinuationToken(v string)
- func (x *ReadResponse) SetTuples(v []*Tuple)
- func (x *ReadResponse) String() string
- type ReadResponse_builder
- type Relation
- func (x *Relation) ClearRewrite()
- func (x *Relation) ClearTypeInfo()
- func (x *Relation) GetName() string
- func (x *Relation) GetRewrite() *Userset
- func (x *Relation) GetTypeInfo() *RelationTypeInfo
- func (x *Relation) HasRewrite() bool
- func (x *Relation) HasTypeInfo() bool
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) SetName(v string)
- func (x *Relation) SetRewrite(v *Userset)
- func (x *Relation) SetTypeInfo(v *RelationTypeInfo)
- func (x *Relation) String() string
- type RelationMetadata
- func (x *RelationMetadata) ClearSourceInfo()
- func (x *RelationMetadata) GetDirectlyRelatedUserTypes() []*RelationReference
- func (x *RelationMetadata) GetModule() string
- func (x *RelationMetadata) GetSourceInfo() *SourceInfo
- func (x *RelationMetadata) HasSourceInfo() bool
- func (*RelationMetadata) ProtoMessage()
- func (x *RelationMetadata) ProtoReflect() protoreflect.Message
- func (x *RelationMetadata) Reset()
- func (x *RelationMetadata) SetDirectlyRelatedUserTypes(v []*RelationReference)
- func (x *RelationMetadata) SetModule(v string)
- func (x *RelationMetadata) SetSourceInfo(v *SourceInfo)
- func (x *RelationMetadata) String() string
- type RelationMetadata_builder
- type RelationReference
- func (x *RelationReference) ClearRelation()
- func (x *RelationReference) ClearRelationOrWildcard()
- func (x *RelationReference) ClearWildcard()
- func (x *RelationReference) GetCondition() string
- func (x *RelationReference) GetRelation() string
- func (x *RelationReference) GetRelationOrWildcard() isRelationReference_RelationOrWildcard
- func (x *RelationReference) GetType() string
- func (x *RelationReference) GetWildcard() *Wildcard
- func (x *RelationReference) HasRelation() bool
- func (x *RelationReference) HasRelationOrWildcard() bool
- func (x *RelationReference) HasWildcard() bool
- func (*RelationReference) ProtoMessage()
- func (x *RelationReference) ProtoReflect() protoreflect.Message
- func (x *RelationReference) Reset()
- func (x *RelationReference) SetCondition(v string)
- func (x *RelationReference) SetRelation(v string)
- func (x *RelationReference) SetType(v string)
- func (x *RelationReference) SetWildcard(v *Wildcard)
- func (x *RelationReference) String() string
- func (x *RelationReference) WhichRelationOrWildcard() case_RelationReference_RelationOrWildcard
- type RelationReference_Relation
- type RelationReference_Wildcard
- type RelationReference_builder
- type RelationTypeInfo
- func (x *RelationTypeInfo) GetDirectlyRelatedUserTypes() []*RelationReference
- func (*RelationTypeInfo) ProtoMessage()
- func (x *RelationTypeInfo) ProtoReflect() protoreflect.Message
- func (x *RelationTypeInfo) Reset()
- func (x *RelationTypeInfo) SetDirectlyRelatedUserTypes(v []*RelationReference)
- func (x *RelationTypeInfo) String() string
- type RelationTypeInfo_builder
- type Relation_builder
- type RelationshipCondition
- func (x *RelationshipCondition) ClearContext()
- func (x *RelationshipCondition) GetContext() *structpb.Struct
- func (x *RelationshipCondition) GetName() string
- func (x *RelationshipCondition) HasContext() bool
- func (*RelationshipCondition) ProtoMessage()
- func (x *RelationshipCondition) ProtoReflect() protoreflect.Message
- func (x *RelationshipCondition) Reset()
- func (x *RelationshipCondition) SetContext(v *structpb.Struct)
- func (x *RelationshipCondition) SetName(v string)
- func (x *RelationshipCondition) String() string
- type RelationshipCondition_builder
- type SourceInfo
- type SourceInfo_builder
- type Store
- func (x *Store) ClearCreatedAt()
- func (x *Store) ClearDeletedAt()
- func (x *Store) ClearUpdatedAt()
- 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 (x *Store) HasCreatedAt() bool
- func (x *Store) HasDeletedAt() bool
- func (x *Store) HasUpdatedAt() bool
- func (*Store) ProtoMessage()
- func (x *Store) ProtoReflect() protoreflect.Message
- func (x *Store) Reset()
- func (x *Store) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *Store) SetDeletedAt(v *timestamppb.Timestamp)
- func (x *Store) SetId(v string)
- func (x *Store) SetName(v string)
- func (x *Store) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *Store) String() string
- type Store_builder
- type StreamedListObjectsRequest
- func (x *StreamedListObjectsRequest) ClearContext()
- func (x *StreamedListObjectsRequest) ClearContextualTuples()
- func (x *StreamedListObjectsRequest) GetAuthorizationModelId() string
- func (x *StreamedListObjectsRequest) GetConsistency() ConsistencyPreference
- func (x *StreamedListObjectsRequest) GetContext() *structpb.Struct
- 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 (x *StreamedListObjectsRequest) HasContext() bool
- func (x *StreamedListObjectsRequest) HasContextualTuples() bool
- func (*StreamedListObjectsRequest) ProtoMessage()
- func (x *StreamedListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamedListObjectsRequest) Reset()
- func (x *StreamedListObjectsRequest) SetAuthorizationModelId(v string)
- func (x *StreamedListObjectsRequest) SetConsistency(v ConsistencyPreference)
- func (x *StreamedListObjectsRequest) SetContext(v *structpb.Struct)
- func (x *StreamedListObjectsRequest) SetContextualTuples(v *ContextualTupleKeys)
- func (x *StreamedListObjectsRequest) SetRelation(v string)
- func (x *StreamedListObjectsRequest) SetStoreId(v string)
- func (x *StreamedListObjectsRequest) SetType(v string)
- func (x *StreamedListObjectsRequest) SetUser(v string)
- func (x *StreamedListObjectsRequest) String() string
- type StreamedListObjectsRequest_builder
- type StreamedListObjectsResponse
- func (x *StreamedListObjectsResponse) GetObject() string
- func (*StreamedListObjectsResponse) ProtoMessage()
- func (x *StreamedListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamedListObjectsResponse) Reset()
- func (x *StreamedListObjectsResponse) SetObject(v string)
- func (x *StreamedListObjectsResponse) String() string
- type StreamedListObjectsResponse_builder
- type Tuple
- func (x *Tuple) ClearKey()
- func (x *Tuple) ClearTimestamp()
- func (x *Tuple) GetKey() *TupleKey
- func (x *Tuple) GetTimestamp() *timestamppb.Timestamp
- func (x *Tuple) HasKey() bool
- func (x *Tuple) HasTimestamp() bool
- func (*Tuple) ProtoMessage()
- func (x *Tuple) ProtoReflect() protoreflect.Message
- func (x *Tuple) Reset()
- func (x *Tuple) SetKey(v *TupleKey)
- func (x *Tuple) SetTimestamp(v *timestamppb.Timestamp)
- func (x *Tuple) String() string
- type TupleChange
- func (x *TupleChange) ClearTimestamp()
- func (x *TupleChange) ClearTupleKey()
- func (x *TupleChange) GetOperation() TupleOperation
- func (x *TupleChange) GetTimestamp() *timestamppb.Timestamp
- func (x *TupleChange) GetTupleKey() *TupleKey
- func (x *TupleChange) HasTimestamp() bool
- func (x *TupleChange) HasTupleKey() bool
- func (*TupleChange) ProtoMessage()
- func (x *TupleChange) ProtoReflect() protoreflect.Message
- func (x *TupleChange) Reset()
- func (x *TupleChange) SetOperation(v TupleOperation)
- func (x *TupleChange) SetTimestamp(v *timestamppb.Timestamp)
- func (x *TupleChange) SetTupleKey(v *TupleKey)
- func (x *TupleChange) String() string
- type TupleChange_builder
- type TupleKey
- func (x *TupleKey) ClearCondition()
- func (x *TupleKey) GetCondition() *RelationshipCondition
- func (x *TupleKey) GetObject() string
- func (x *TupleKey) GetRelation() string
- func (x *TupleKey) GetUser() string
- func (x *TupleKey) HasCondition() bool
- func (*TupleKey) ProtoMessage()
- func (x *TupleKey) ProtoReflect() protoreflect.Message
- func (x *TupleKey) Reset()
- func (x *TupleKey) SetCondition(v *RelationshipCondition)
- func (x *TupleKey) SetObject(v string)
- func (x *TupleKey) SetRelation(v string)
- func (x *TupleKey) SetUser(v string)
- func (x *TupleKey) String() string
- type TupleKeyWithoutCondition
- func (x *TupleKeyWithoutCondition) GetObject() string
- func (x *TupleKeyWithoutCondition) GetRelation() string
- func (x *TupleKeyWithoutCondition) GetUser() string
- func (*TupleKeyWithoutCondition) ProtoMessage()
- func (x *TupleKeyWithoutCondition) ProtoReflect() protoreflect.Message
- func (x *TupleKeyWithoutCondition) Reset()
- func (x *TupleKeyWithoutCondition) SetObject(v string)
- func (x *TupleKeyWithoutCondition) SetRelation(v string)
- func (x *TupleKeyWithoutCondition) SetUser(v string)
- func (x *TupleKeyWithoutCondition) String() string
- type TupleKeyWithoutCondition_builder
- type TupleKey_builder
- type TupleKeys
- type TupleKeys_builder
- type TupleOperation
- type TupleToUserset
- func (x *TupleToUserset) ClearComputedUserset()
- func (x *TupleToUserset) ClearTupleset()
- func (x *TupleToUserset) GetComputedUserset() *ObjectRelation
- func (x *TupleToUserset) GetTupleset() *ObjectRelation
- func (x *TupleToUserset) HasComputedUserset() bool
- func (x *TupleToUserset) HasTupleset() bool
- func (*TupleToUserset) ProtoMessage()
- func (x *TupleToUserset) ProtoReflect() protoreflect.Message
- func (x *TupleToUserset) Reset()
- func (x *TupleToUserset) SetComputedUserset(v *ObjectRelation)
- func (x *TupleToUserset) SetTupleset(v *ObjectRelation)
- func (x *TupleToUserset) String() string
- type TupleToUserset_builder
- type Tuple_builder
- type TypeDefinition
- func (x *TypeDefinition) ClearMetadata()
- func (x *TypeDefinition) GetMetadata() *Metadata
- func (x *TypeDefinition) GetRelations() map[string]*Userset
- func (x *TypeDefinition) GetType() string
- func (x *TypeDefinition) HasMetadata() bool
- func (*TypeDefinition) ProtoMessage()
- func (x *TypeDefinition) ProtoReflect() protoreflect.Message
- func (x *TypeDefinition) Reset()
- func (x *TypeDefinition) SetMetadata(v *Metadata)
- func (x *TypeDefinition) SetRelations(v map[string]*Userset)
- func (x *TypeDefinition) SetType(v string)
- func (x *TypeDefinition) String() string
- type TypeDefinition_builder
- type TypedWildcard
- type TypedWildcard_builder
- type UnauthenticatedResponse
- func (x *UnauthenticatedResponse) GetCode() ErrorCode
- func (x *UnauthenticatedResponse) GetMessage() string
- func (*UnauthenticatedResponse) ProtoMessage()
- func (x *UnauthenticatedResponse) ProtoReflect() protoreflect.Message
- func (x *UnauthenticatedResponse) Reset()
- func (x *UnauthenticatedResponse) SetCode(v ErrorCode)
- func (x *UnauthenticatedResponse) SetMessage(v string)
- func (x *UnauthenticatedResponse) String() string
- type UnauthenticatedResponse_builder
- type UnprocessableContentErrorCode
- func (UnprocessableContentErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x UnprocessableContentErrorCode) Enum() *UnprocessableContentErrorCode
- func (x UnprocessableContentErrorCode) Number() protoreflect.EnumNumber
- func (x UnprocessableContentErrorCode) String() string
- func (UnprocessableContentErrorCode) Type() protoreflect.EnumType
- type UnprocessableContentMessageResponse
- func (x *UnprocessableContentMessageResponse) GetCode() UnprocessableContentErrorCode
- func (x *UnprocessableContentMessageResponse) GetMessage() string
- func (*UnprocessableContentMessageResponse) ProtoMessage()
- func (x *UnprocessableContentMessageResponse) ProtoReflect() protoreflect.Message
- func (x *UnprocessableContentMessageResponse) Reset()
- func (x *UnprocessableContentMessageResponse) SetCode(v UnprocessableContentErrorCode)
- func (x *UnprocessableContentMessageResponse) SetMessage(v string)
- func (x *UnprocessableContentMessageResponse) String() string
- type UnprocessableContentMessageResponse_builder
- type UpdateStoreRequest
- 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) SetName(v string)
- func (x *UpdateStoreRequest) SetStoreId(v string)
- func (x *UpdateStoreRequest) String() string
- type UpdateStoreRequest_builder
- type UpdateStoreResponse
- func (x *UpdateStoreResponse) ClearCreatedAt()
- func (x *UpdateStoreResponse) ClearUpdatedAt()
- func (x *UpdateStoreResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *UpdateStoreResponse) GetId() string
- func (x *UpdateStoreResponse) GetName() string
- func (x *UpdateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (x *UpdateStoreResponse) HasCreatedAt() bool
- func (x *UpdateStoreResponse) HasUpdatedAt() bool
- func (*UpdateStoreResponse) ProtoMessage()
- func (x *UpdateStoreResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateStoreResponse) Reset()
- func (x *UpdateStoreResponse) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *UpdateStoreResponse) SetId(v string)
- func (x *UpdateStoreResponse) SetName(v string)
- func (x *UpdateStoreResponse) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *UpdateStoreResponse) String() string
- type UpdateStoreResponse_builder
- type User
- func (x *User) ClearObject()
- func (x *User) ClearUser()
- func (x *User) ClearUserset()
- func (x *User) ClearWildcard()
- func (x *User) GetObject() *Object
- func (x *User) GetUser() isUser_User
- func (x *User) GetUserset() *UsersetUser
- func (x *User) GetWildcard() *TypedWildcard
- func (x *User) HasObject() bool
- func (x *User) HasUser() bool
- func (x *User) HasUserset() bool
- func (x *User) HasWildcard() bool
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) SetObject(v *Object)
- func (x *User) SetUserset(v *UsersetUser)
- func (x *User) SetWildcard(v *TypedWildcard)
- func (x *User) String() string
- func (x *User) WhichUser() case_User_User
- type UserTypeFilter
- func (x *UserTypeFilter) GetRelation() string
- func (x *UserTypeFilter) GetType() string
- func (*UserTypeFilter) ProtoMessage()
- func (x *UserTypeFilter) ProtoReflect() protoreflect.Message
- func (x *UserTypeFilter) Reset()
- func (x *UserTypeFilter) SetRelation(v string)
- func (x *UserTypeFilter) SetType(v string)
- func (x *UserTypeFilter) String() string
- type UserTypeFilter_builder
- type User_Object
- type User_Userset
- type User_Wildcard
- type User_builder
- type Userset
- func (x *Userset) ClearComputedUserset()
- func (x *Userset) ClearDifference()
- func (x *Userset) ClearIntersection()
- func (x *Userset) ClearThis()
- func (x *Userset) ClearTupleToUserset()
- func (x *Userset) ClearUnion()
- func (x *Userset) ClearUserset()
- 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 (x *Userset) GetUserset() isUserset_Userset
- func (x *Userset) HasComputedUserset() bool
- func (x *Userset) HasDifference() bool
- func (x *Userset) HasIntersection() bool
- func (x *Userset) HasThis() bool
- func (x *Userset) HasTupleToUserset() bool
- func (x *Userset) HasUnion() bool
- func (x *Userset) HasUserset() bool
- func (*Userset) ProtoMessage()
- func (x *Userset) ProtoReflect() protoreflect.Message
- func (x *Userset) Reset()
- func (x *Userset) SetComputedUserset(v *ObjectRelation)
- func (x *Userset) SetDifference(v *Difference)
- func (x *Userset) SetIntersection(v *Usersets)
- func (x *Userset) SetThis(v *DirectUserset)
- func (x *Userset) SetTupleToUserset(v *TupleToUserset)
- func (x *Userset) SetUnion(v *Usersets)
- func (x *Userset) String() string
- func (x *Userset) WhichUserset() case_Userset_Userset
- type UsersetTree
- func (x *UsersetTree) ClearRoot()
- func (x *UsersetTree) GetRoot() *UsersetTree_Node
- func (x *UsersetTree) HasRoot() bool
- func (*UsersetTree) ProtoMessage()
- func (x *UsersetTree) ProtoReflect() protoreflect.Message
- func (x *UsersetTree) Reset()
- func (x *UsersetTree) SetRoot(v *UsersetTree_Node)
- func (x *UsersetTree) String() string
- type UsersetTree_Computed
- type UsersetTree_Computed_builder
- type UsersetTree_Difference
- func (x *UsersetTree_Difference) ClearBase()
- func (x *UsersetTree_Difference) ClearSubtract()
- func (x *UsersetTree_Difference) GetBase() *UsersetTree_Node
- func (x *UsersetTree_Difference) GetSubtract() *UsersetTree_Node
- func (x *UsersetTree_Difference) HasBase() bool
- func (x *UsersetTree_Difference) HasSubtract() bool
- func (*UsersetTree_Difference) ProtoMessage()
- func (x *UsersetTree_Difference) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Difference) Reset()
- func (x *UsersetTree_Difference) SetBase(v *UsersetTree_Node)
- func (x *UsersetTree_Difference) SetSubtract(v *UsersetTree_Node)
- func (x *UsersetTree_Difference) String() string
- type UsersetTree_Difference_builder
- type UsersetTree_Leaf
- func (x *UsersetTree_Leaf) ClearComputed()
- func (x *UsersetTree_Leaf) ClearTupleToUserset()
- func (x *UsersetTree_Leaf) ClearUsers()
- func (x *UsersetTree_Leaf) ClearValue()
- func (x *UsersetTree_Leaf) GetComputed() *UsersetTree_Computed
- func (x *UsersetTree_Leaf) GetTupleToUserset() *UsersetTree_TupleToUserset
- func (x *UsersetTree_Leaf) GetUsers() *UsersetTree_Users
- func (x *UsersetTree_Leaf) GetValue() isUsersetTree_Leaf_Value
- func (x *UsersetTree_Leaf) HasComputed() bool
- func (x *UsersetTree_Leaf) HasTupleToUserset() bool
- func (x *UsersetTree_Leaf) HasUsers() bool
- func (x *UsersetTree_Leaf) HasValue() bool
- func (*UsersetTree_Leaf) ProtoMessage()
- func (x *UsersetTree_Leaf) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Leaf) Reset()
- func (x *UsersetTree_Leaf) SetComputed(v *UsersetTree_Computed)
- func (x *UsersetTree_Leaf) SetTupleToUserset(v *UsersetTree_TupleToUserset)
- func (x *UsersetTree_Leaf) SetUsers(v *UsersetTree_Users)
- func (x *UsersetTree_Leaf) String() string
- func (x *UsersetTree_Leaf) WhichValue() case_UsersetTree_Leaf_Value
- type UsersetTree_Leaf_Computed
- type UsersetTree_Leaf_TupleToUserset
- type UsersetTree_Leaf_Users
- type UsersetTree_Leaf_builder
- type UsersetTree_Node
- func (x *UsersetTree_Node) ClearDifference()
- func (x *UsersetTree_Node) ClearIntersection()
- func (x *UsersetTree_Node) ClearLeaf()
- func (x *UsersetTree_Node) ClearUnion()
- func (x *UsersetTree_Node) ClearValue()
- 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 (x *UsersetTree_Node) GetValue() isUsersetTree_Node_Value
- func (x *UsersetTree_Node) HasDifference() bool
- func (x *UsersetTree_Node) HasIntersection() bool
- func (x *UsersetTree_Node) HasLeaf() bool
- func (x *UsersetTree_Node) HasUnion() bool
- func (x *UsersetTree_Node) HasValue() bool
- func (*UsersetTree_Node) ProtoMessage()
- func (x *UsersetTree_Node) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Node) Reset()
- func (x *UsersetTree_Node) SetDifference(v *UsersetTree_Difference)
- func (x *UsersetTree_Node) SetIntersection(v *UsersetTree_Nodes)
- func (x *UsersetTree_Node) SetLeaf(v *UsersetTree_Leaf)
- func (x *UsersetTree_Node) SetName(v string)
- func (x *UsersetTree_Node) SetUnion(v *UsersetTree_Nodes)
- func (x *UsersetTree_Node) String() string
- func (x *UsersetTree_Node) WhichValue() case_UsersetTree_Node_Value
- type UsersetTree_Node_Difference
- type UsersetTree_Node_Intersection
- type UsersetTree_Node_Leaf
- type UsersetTree_Node_Union
- type UsersetTree_Node_builder
- type UsersetTree_Nodes
- 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) SetNodes(v []*UsersetTree_Node)
- func (x *UsersetTree_Nodes) String() string
- type UsersetTree_Nodes_builder
- type UsersetTree_TupleToUserset
- 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) SetComputed(v []*UsersetTree_Computed)
- func (x *UsersetTree_TupleToUserset) SetTupleset(v string)
- func (x *UsersetTree_TupleToUserset) String() string
- type UsersetTree_TupleToUserset_builder
- type UsersetTree_Users
- type UsersetTree_Users_builder
- type UsersetTree_builder
- type UsersetUser
- func (x *UsersetUser) GetId() string
- func (x *UsersetUser) GetRelation() string
- func (x *UsersetUser) GetType() string
- func (*UsersetUser) ProtoMessage()
- func (x *UsersetUser) ProtoReflect() protoreflect.Message
- func (x *UsersetUser) Reset()
- func (x *UsersetUser) SetId(v string)
- func (x *UsersetUser) SetRelation(v string)
- func (x *UsersetUser) SetType(v string)
- func (x *UsersetUser) String() string
- type UsersetUser_builder
- type Userset_ComputedUserset
- type Userset_Difference
- type Userset_Intersection
- type Userset_This
- type Userset_TupleToUserset
- type Userset_Union
- type Userset_builder
- type Usersets
- type Usersets_builder
- type ValidationErrorMessageResponse
- 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) SetCode(v ErrorCode)
- func (x *ValidationErrorMessageResponse) SetMessage(v string)
- func (x *ValidationErrorMessageResponse) String() string
- type ValidationErrorMessageResponse_builder
- type Wildcard
- type Wildcard_builder
- type WriteAssertionsRequest
- 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) SetAssertions(v []*Assertion)
- func (x *WriteAssertionsRequest) SetAuthorizationModelId(v string)
- func (x *WriteAssertionsRequest) SetStoreId(v string)
- func (x *WriteAssertionsRequest) String() string
- type WriteAssertionsRequest_builder
- type WriteAssertionsResponse
- type WriteAssertionsResponse_builder
- type WriteAuthorizationModelRequest
- func (x *WriteAuthorizationModelRequest) GetConditions() map[string]*Condition
- 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) SetConditions(v map[string]*Condition)
- func (x *WriteAuthorizationModelRequest) SetSchemaVersion(v string)
- func (x *WriteAuthorizationModelRequest) SetStoreId(v string)
- func (x *WriteAuthorizationModelRequest) SetTypeDefinitions(v []*TypeDefinition)
- func (x *WriteAuthorizationModelRequest) String() string
- type WriteAuthorizationModelRequest_builder
- type WriteAuthorizationModelResponse
- func (x *WriteAuthorizationModelResponse) GetAuthorizationModelId() string
- func (*WriteAuthorizationModelResponse) ProtoMessage()
- func (x *WriteAuthorizationModelResponse) ProtoReflect() protoreflect.Message
- func (x *WriteAuthorizationModelResponse) Reset()
- func (x *WriteAuthorizationModelResponse) SetAuthorizationModelId(v string)
- func (x *WriteAuthorizationModelResponse) String() string
- type WriteAuthorizationModelResponse_builder
- type WriteRequest
- func (x *WriteRequest) ClearDeletes()
- func (x *WriteRequest) ClearWrites()
- func (x *WriteRequest) GetAuthorizationModelId() string
- func (x *WriteRequest) GetDeletes() *WriteRequestDeletes
- func (x *WriteRequest) GetStoreId() string
- func (x *WriteRequest) GetWrites() *WriteRequestWrites
- func (x *WriteRequest) HasDeletes() bool
- func (x *WriteRequest) HasWrites() bool
- func (*WriteRequest) ProtoMessage()
- func (x *WriteRequest) ProtoReflect() protoreflect.Message
- func (x *WriteRequest) Reset()
- func (x *WriteRequest) SetAuthorizationModelId(v string)
- func (x *WriteRequest) SetDeletes(v *WriteRequestDeletes)
- func (x *WriteRequest) SetStoreId(v string)
- func (x *WriteRequest) SetWrites(v *WriteRequestWrites)
- func (x *WriteRequest) String() string
- type WriteRequestDeletes
- func (x *WriteRequestDeletes) GetOnMissing() string
- func (x *WriteRequestDeletes) GetTupleKeys() []*TupleKeyWithoutCondition
- func (*WriteRequestDeletes) ProtoMessage()
- func (x *WriteRequestDeletes) ProtoReflect() protoreflect.Message
- func (x *WriteRequestDeletes) Reset()
- func (x *WriteRequestDeletes) SetOnMissing(v string)
- func (x *WriteRequestDeletes) SetTupleKeys(v []*TupleKeyWithoutCondition)
- func (x *WriteRequestDeletes) String() string
- type WriteRequestDeletes_builder
- type WriteRequestWrites
- func (x *WriteRequestWrites) GetOnDuplicate() string
- func (x *WriteRequestWrites) GetTupleKeys() []*TupleKey
- func (*WriteRequestWrites) ProtoMessage()
- func (x *WriteRequestWrites) ProtoReflect() protoreflect.Message
- func (x *WriteRequestWrites) Reset()
- func (x *WriteRequestWrites) SetOnDuplicate(v string)
- func (x *WriteRequestWrites) SetTupleKeys(v []*TupleKey)
- func (x *WriteRequestWrites) String() string
- type WriteRequestWrites_builder
- type WriteRequest_builder
- type WriteResponse
- type WriteResponse_builder
Constants ¶
const BatchCheckSingleResult_Allowed_case case_BatchCheckSingleResult_CheckResult = 1
const BatchCheckSingleResult_CheckResult_not_set_case case_BatchCheckSingleResult_CheckResult = 0
const BatchCheckSingleResult_Error_case case_BatchCheckSingleResult_CheckResult = 2
const CheckError_Code_not_set_case case_CheckError_Code = 0
const CheckError_InputError_case case_CheckError_Code = 1
const CheckError_InternalError_case case_CheckError_Code = 2
const RelationReference_RelationOrWildcard_not_set_case case_RelationReference_RelationOrWildcard = 0
const RelationReference_Relation_case case_RelationReference_RelationOrWildcard = 2
const RelationReference_Wildcard_case case_RelationReference_RelationOrWildcard = 3
const User_Object_case case_User_User = 1
const User_User_not_set_case case_User_User = 0
const User_Userset_case case_User_User = 2
const User_Wildcard_case case_User_User = 3
const UsersetTree_Leaf_Computed_case case_UsersetTree_Leaf_Value = 2
const UsersetTree_Leaf_TupleToUserset_case case_UsersetTree_Leaf_Value = 3
const UsersetTree_Leaf_Users_case case_UsersetTree_Leaf_Value = 1
const UsersetTree_Leaf_Value_not_set_case case_UsersetTree_Leaf_Value = 0
const UsersetTree_Node_Difference_case case_UsersetTree_Node_Value = 5
const UsersetTree_Node_Intersection_case case_UsersetTree_Node_Value = 7
const UsersetTree_Node_Leaf_case case_UsersetTree_Node_Value = 2
const UsersetTree_Node_Union_case case_UsersetTree_Node_Value = 6
const UsersetTree_Node_Value_not_set_case case_UsersetTree_Node_Value = 0
const Userset_ComputedUserset_case case_Userset_Userset = 2
const Userset_Difference_case case_Userset_Userset = 6
const Userset_Intersection_case case_Userset_Userset = 5
const Userset_This_case case_Userset_Userset = 1
const Userset_TupleToUserset_case case_Userset_Userset = 3
const Userset_Union_case case_Userset_Userset = 4
const Userset_Userset_not_set_case case_Userset_Userset = 0
Variables ¶
var ( ConditionParamTypeRef_TypeName_name = map[int32]string{ 0: "TYPE_NAME_UNSPECIFIED", 1: "TYPE_NAME_ANY", 2: "TYPE_NAME_BOOL", 3: "TYPE_NAME_STRING", 4: "TYPE_NAME_INT", 5: "TYPE_NAME_UINT", 6: "TYPE_NAME_DOUBLE", 7: "TYPE_NAME_DURATION", 8: "TYPE_NAME_TIMESTAMP", 9: "TYPE_NAME_MAP", 10: "TYPE_NAME_LIST", 11: "TYPE_NAME_IPADDRESS", } ConditionParamTypeRef_TypeName_value = map[string]int32{ "TYPE_NAME_UNSPECIFIED": 0, "TYPE_NAME_ANY": 1, "TYPE_NAME_BOOL": 2, "TYPE_NAME_STRING": 3, "TYPE_NAME_INT": 4, "TYPE_NAME_UINT": 5, "TYPE_NAME_DOUBLE": 6, "TYPE_NAME_DURATION": 7, "TYPE_NAME_TIMESTAMP": 8, "TYPE_NAME_MAP": 9, "TYPE_NAME_LIST": 10, "TYPE_NAME_IPADDRESS": 11, } )
Enum value maps for ConditionParamTypeRef_TypeName.
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", 1600: "forbidden", } 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, "forbidden": 1600, } )
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", 2058: "cancelled", 2059: "invalid_start_time", } 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, "cancelled": 2058, "invalid_start_time": 2059, } )
Enum value maps for ErrorCode.
var ( UnprocessableContentErrorCode_name = map[int32]string{ 0: "no_throttled_error_code", 3500: "throttled_timeout_error", } UnprocessableContentErrorCode_value = map[string]int32{ "no_throttled_error_code": 0, "throttled_timeout_error": 3500, } )
Enum value maps for UnprocessableContentErrorCode.
var ( InternalErrorCode_name = map[int32]string{ 0: "no_internal_error", 4000: "internal_error", 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, "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 ( ConsistencyPreference_name = map[int32]string{ 0: "UNSPECIFIED", 100: "MINIMIZE_LATENCY", 200: "HIGHER_CONSISTENCY", } ConsistencyPreference_value = map[string]int32{ "UNSPECIFIED": 0, "MINIMIZE_LATENCY": 100, "HIGHER_CONSISTENCY": 200, } )
Enum value maps for ConsistencyPreference.
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_consistency_proto protoreflect.FileDescriptor
var File_openfga_v1_openfga_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AbortedMessageResponse ¶
type AbortedMessageResponse struct {
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*AbortedMessageResponse) GetCode ¶
func (x *AbortedMessageResponse) GetCode() string
func (*AbortedMessageResponse) GetMessage ¶
func (x *AbortedMessageResponse) GetMessage() string
func (*AbortedMessageResponse) ProtoMessage ¶
func (*AbortedMessageResponse) ProtoMessage()
func (*AbortedMessageResponse) ProtoReflect ¶
func (x *AbortedMessageResponse) ProtoReflect() protoreflect.Message
func (*AbortedMessageResponse) Reset ¶
func (x *AbortedMessageResponse) Reset()
func (*AbortedMessageResponse) SetCode ¶
func (x *AbortedMessageResponse) SetCode(v string)
func (*AbortedMessageResponse) SetMessage ¶
func (x *AbortedMessageResponse) SetMessage(v string)
func (*AbortedMessageResponse) String ¶
func (x *AbortedMessageResponse) String() string
type AbortedMessageResponse_builder ¶
type AbortedMessageResponse_builder struct {
Code string
Message string
// contains filtered or unexported fields
}
func (AbortedMessageResponse_builder) Build ¶
func (b0 AbortedMessageResponse_builder) Build() *AbortedMessageResponse
type Assertion ¶
type Assertion struct {
TupleKey *AssertionTupleKey `protobuf:"bytes,1,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"`
Expectation bool `protobuf:"varint,2,opt,name=expectation,proto3" json:"expectation,omitempty"`
ContextualTuples []*TupleKey `protobuf:"bytes,3,rep,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"`
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*Assertion) GetTupleKey ¶
func (x *Assertion) GetTupleKey() *AssertionTupleKey
func (*Assertion) ProtoReflect ¶
func (x *Assertion) ProtoReflect() protoreflect.Message
func (*Assertion) SetTupleKey ¶
func (x *Assertion) SetTupleKey(v *AssertionTupleKey)
type AssertionTupleKey ¶
type AssertionTupleKey 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 (*AssertionTupleKey) GetObject ¶
func (x *AssertionTupleKey) GetObject() string
func (*AssertionTupleKey) GetRelation ¶
func (x *AssertionTupleKey) GetRelation() string
func (*AssertionTupleKey) GetUser ¶
func (x *AssertionTupleKey) GetUser() string
func (*AssertionTupleKey) ProtoMessage ¶
func (*AssertionTupleKey) ProtoMessage()
func (*AssertionTupleKey) ProtoReflect ¶
func (x *AssertionTupleKey) ProtoReflect() protoreflect.Message
func (*AssertionTupleKey) Reset ¶
func (x *AssertionTupleKey) Reset()
func (*AssertionTupleKey) SetObject ¶
func (x *AssertionTupleKey) SetObject(v string)
func (*AssertionTupleKey) SetRelation ¶
func (x *AssertionTupleKey) SetRelation(v string)
func (*AssertionTupleKey) SetUser ¶
func (x *AssertionTupleKey) SetUser(v string)
func (*AssertionTupleKey) String ¶
func (x *AssertionTupleKey) String() string
type AssertionTupleKey_builder ¶
type AssertionTupleKey_builder struct {
Object string
Relation string
User string
// contains filtered or unexported fields
}
func (AssertionTupleKey_builder) Build ¶
func (b0 AssertionTupleKey_builder) Build() *AssertionTupleKey
type Assertion_builder ¶
type Assertion_builder struct {
TupleKey *AssertionTupleKey
Expectation bool
ContextualTuples []*TupleKey
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct
// contains filtered or unexported fields
}
func (Assertion_builder) Build ¶
func (b0 Assertion_builder) Build() *Assertion
type Assertions ¶
type Assertions struct {
Assertions []*Assertion `protobuf:"bytes,1,rep,name=assertions,proto3" json:"assertions,omitempty"`
// contains filtered or unexported fields
}
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) SetAssertions ¶
func (x *Assertions) SetAssertions(v []*Assertion)
func (*Assertions) String ¶
func (x *Assertions) String() string
type Assertions_builder ¶
type Assertions_builder struct {
Assertions []*Assertion
// contains filtered or unexported fields
}
func (Assertions_builder) Build ¶
func (b0 Assertions_builder) Build() *Assertions
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 AuthErrorCode_forbidden AuthErrorCode = 1600 )
func (AuthErrorCode) Descriptor ¶
func (AuthErrorCode) Descriptor() protoreflect.EnumDescriptor
func (AuthErrorCode) Enum ¶
func (x AuthErrorCode) Enum() *AuthErrorCode
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"`
Conditions map[string]*Condition `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*AuthorizationModel) GetConditions ¶
func (x *AuthorizationModel) GetConditions() map[string]*Condition
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) SetConditions ¶
func (x *AuthorizationModel) SetConditions(v map[string]*Condition)
func (*AuthorizationModel) SetId ¶
func (x *AuthorizationModel) SetId(v string)
func (*AuthorizationModel) SetSchemaVersion ¶
func (x *AuthorizationModel) SetSchemaVersion(v string)
func (*AuthorizationModel) SetTypeDefinitions ¶
func (x *AuthorizationModel) SetTypeDefinitions(v []*TypeDefinition)
func (*AuthorizationModel) String ¶
func (x *AuthorizationModel) String() string
type AuthorizationModel_builder ¶
type AuthorizationModel_builder struct {
Id string
SchemaVersion string
TypeDefinitions []*TypeDefinition
Conditions map[string]*Condition
// contains filtered or unexported fields
}
func (AuthorizationModel_builder) Build ¶
func (b0 AuthorizationModel_builder) Build() *AuthorizationModel
type BatchCheckItem ¶
type BatchCheckItem struct {
TupleKey *CheckRequestTupleKey `protobuf:"bytes,1,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"`
ContextualTuples *ContextualTupleKeys `protobuf:"bytes,2,opt,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"`
Context *structpb.Struct `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
CorrelationId string `protobuf:"bytes,4,opt,name=correlation_id,proto3" json:"correlation_id,omitempty"`
// contains filtered or unexported fields
}
func (*BatchCheckItem) ClearContext ¶
func (x *BatchCheckItem) ClearContext()
func (*BatchCheckItem) ClearContextualTuples ¶
func (x *BatchCheckItem) ClearContextualTuples()
func (*BatchCheckItem) ClearTupleKey ¶
func (x *BatchCheckItem) ClearTupleKey()
func (*BatchCheckItem) GetContext ¶
func (x *BatchCheckItem) GetContext() *structpb.Struct
func (*BatchCheckItem) GetContextualTuples ¶
func (x *BatchCheckItem) GetContextualTuples() *ContextualTupleKeys
func (*BatchCheckItem) GetCorrelationId ¶
func (x *BatchCheckItem) GetCorrelationId() string
func (*BatchCheckItem) GetTupleKey ¶
func (x *BatchCheckItem) GetTupleKey() *CheckRequestTupleKey
func (*BatchCheckItem) HasContext ¶
func (x *BatchCheckItem) HasContext() bool
func (*BatchCheckItem) HasContextualTuples ¶
func (x *BatchCheckItem) HasContextualTuples() bool
func (*BatchCheckItem) HasTupleKey ¶
func (x *BatchCheckItem) HasTupleKey() bool
func (*BatchCheckItem) ProtoMessage ¶
func (*BatchCheckItem) ProtoMessage()
func (*BatchCheckItem) ProtoReflect ¶
func (x *BatchCheckItem) ProtoReflect() protoreflect.Message
func (*BatchCheckItem) Reset ¶
func (x *BatchCheckItem) Reset()
func (*BatchCheckItem) SetContext ¶
func (x *BatchCheckItem) SetContext(v *structpb.Struct)
func (*BatchCheckItem) SetContextualTuples ¶
func (x *BatchCheckItem) SetContextualTuples(v *ContextualTupleKeys)
func (*BatchCheckItem) SetCorrelationId ¶
func (x *BatchCheckItem) SetCorrelationId(v string)
func (*BatchCheckItem) SetTupleKey ¶
func (x *BatchCheckItem) SetTupleKey(v *CheckRequestTupleKey)
func (*BatchCheckItem) String ¶
func (x *BatchCheckItem) String() string
type BatchCheckItem_builder ¶
type BatchCheckItem_builder struct {
TupleKey *CheckRequestTupleKey
ContextualTuples *ContextualTupleKeys
Context *structpb.Struct
CorrelationId string
// contains filtered or unexported fields
}
func (BatchCheckItem_builder) Build ¶
func (b0 BatchCheckItem_builder) Build() *BatchCheckItem
type BatchCheckRequest ¶
type BatchCheckRequest struct {
StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
Checks []*BatchCheckItem `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty"`
AuthorizationModelId string `protobuf:"bytes,3,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"`
Consistency ConsistencyPreference `protobuf:"varint,4,opt,name=consistency,proto3,enum=openfga.v1.ConsistencyPreference" json:"consistency,omitempty"`
// contains filtered or unexported fields
}
func (*BatchCheckRequest) GetAuthorizationModelId ¶
func (x *BatchCheckRequest) GetAuthorizationModelId() string
func (*BatchCheckRequest) GetChecks ¶
func (x *BatchCheckRequest) GetChecks() []*BatchCheckItem
func (*BatchCheckRequest) GetConsistency ¶
func (x *BatchCheckRequest) GetConsistency() ConsistencyPreference
func (*BatchCheckRequest) GetStoreId ¶
func (x *BatchCheckRequest) GetStoreId() string
func (*BatchCheckRequest) ProtoMessage ¶
func (*BatchCheckRequest) ProtoMessage()
func (*BatchCheckRequest) ProtoReflect ¶
func (x *BatchCheckRequest) ProtoReflect() protoreflect.Message
func (*BatchCheckRequest) Reset ¶
func (x *BatchCheckRequest) Reset()
func (*BatchCheckRequest) SetAuthorizationModelId ¶
func (x *BatchCheckRequest) SetAuthorizationModelId(v string)
func (*BatchCheckRequest) SetChecks ¶
func (x *BatchCheckRequest) SetChecks(v []*BatchCheckItem)
func (*BatchCheckRequest) SetConsistency ¶
func (x *BatchCheckRequest) SetConsistency(v ConsistencyPreference)
func (*BatchCheckRequest) SetStoreId ¶
func (x *BatchCheckRequest) SetStoreId(v string)
func (*BatchCheckRequest) String ¶
func (x *BatchCheckRequest) String() string
type BatchCheckRequest_builder ¶
type BatchCheckRequest_builder struct {
StoreId string
Checks []*BatchCheckItem
AuthorizationModelId string
Consistency ConsistencyPreference
// contains filtered or unexported fields
}
func (BatchCheckRequest_builder) Build ¶
func (b0 BatchCheckRequest_builder) Build() *BatchCheckRequest
type BatchCheckResponse ¶
type BatchCheckResponse struct {
Result map[string]*BatchCheckSingleResult `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*BatchCheckResponse) GetResult ¶
func (x *BatchCheckResponse) GetResult() map[string]*BatchCheckSingleResult
func (*BatchCheckResponse) ProtoMessage ¶
func (*BatchCheckResponse) ProtoMessage()
func (*BatchCheckResponse) ProtoReflect ¶
func (x *BatchCheckResponse) ProtoReflect() protoreflect.Message
func (*BatchCheckResponse) Reset ¶
func (x *BatchCheckResponse) Reset()
func (*BatchCheckResponse) SetResult ¶
func (x *BatchCheckResponse) SetResult(v map[string]*BatchCheckSingleResult)
func (*BatchCheckResponse) String ¶
func (x *BatchCheckResponse) String() string
type BatchCheckResponse_builder ¶
type BatchCheckResponse_builder struct {
Result map[string]*BatchCheckSingleResult
// contains filtered or unexported fields
}
func (BatchCheckResponse_builder) Build ¶
func (b0 BatchCheckResponse_builder) Build() *BatchCheckResponse
type BatchCheckSingleResult ¶
type BatchCheckSingleResult struct {
// Types that are valid to be assigned to CheckResult:
//
// *BatchCheckSingleResult_Allowed
// *BatchCheckSingleResult_Error
CheckResult isBatchCheckSingleResult_CheckResult `protobuf_oneof:"check_result"`
// contains filtered or unexported fields
}
func (*BatchCheckSingleResult) ClearAllowed ¶
func (x *BatchCheckSingleResult) ClearAllowed()
func (*BatchCheckSingleResult) ClearCheckResult ¶
func (x *BatchCheckSingleResult) ClearCheckResult()
func (*BatchCheckSingleResult) ClearError ¶
func (x *BatchCheckSingleResult) ClearError()
func (*BatchCheckSingleResult) GetAllowed ¶
func (x *BatchCheckSingleResult) GetAllowed() bool
func (*BatchCheckSingleResult) GetCheckResult ¶
func (x *BatchCheckSingleResult) GetCheckResult() isBatchCheckSingleResult_CheckResult
func (*BatchCheckSingleResult) GetError ¶
func (x *BatchCheckSingleResult) GetError() *CheckError
func (*BatchCheckSingleResult) HasAllowed ¶
func (x *BatchCheckSingleResult) HasAllowed() bool
func (*BatchCheckSingleResult) HasCheckResult ¶
func (x *BatchCheckSingleResult) HasCheckResult() bool
func (*BatchCheckSingleResult) HasError ¶
func (x *BatchCheckSingleResult) HasError() bool
func (*BatchCheckSingleResult) ProtoMessage ¶
func (*BatchCheckSingleResult) ProtoMessage()
func (*BatchCheckSingleResult) ProtoReflect ¶
func (x *BatchCheckSingleResult) ProtoReflect() protoreflect.Message
func (*BatchCheckSingleResult) Reset ¶
func (x *BatchCheckSingleResult) Reset()
func (*BatchCheckSingleResult) SetAllowed ¶
func (x *BatchCheckSingleResult) SetAllowed(v bool)
func (*BatchCheckSingleResult) SetError ¶
func (x *BatchCheckSingleResult) SetError(v *CheckError)
func (*BatchCheckSingleResult) String ¶
func (x *BatchCheckSingleResult) String() string
func (*BatchCheckSingleResult) WhichCheckResult ¶
func (x *BatchCheckSingleResult) WhichCheckResult() case_BatchCheckSingleResult_CheckResult
type BatchCheckSingleResult_Allowed ¶
type BatchCheckSingleResult_Allowed struct {
Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3,oneof"`
}
type BatchCheckSingleResult_Error ¶
type BatchCheckSingleResult_Error struct {
Error *CheckError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type BatchCheckSingleResult_builder ¶
type BatchCheckSingleResult_builder struct {
// Fields of oneof CheckResult:
Allowed *bool
Error *CheckError
// contains filtered or unexported fields
}
func (BatchCheckSingleResult_builder) Build ¶
func (b0 BatchCheckSingleResult_builder) Build() *BatchCheckSingleResult
type CheckError ¶
type CheckError struct {
// Types that are valid to be assigned to Code:
//
// *CheckError_InputError
// *CheckError_InternalError
Code isCheckError_Code `protobuf_oneof:"code"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*CheckError) ClearCode ¶
func (x *CheckError) ClearCode()
func (*CheckError) ClearInputError ¶
func (x *CheckError) ClearInputError()
func (*CheckError) ClearInternalError ¶
func (x *CheckError) ClearInternalError()
func (*CheckError) GetCode ¶
func (x *CheckError) GetCode() isCheckError_Code
func (*CheckError) GetInputError ¶
func (x *CheckError) GetInputError() ErrorCode
func (*CheckError) GetInternalError ¶
func (x *CheckError) GetInternalError() InternalErrorCode
func (*CheckError) GetMessage ¶
func (x *CheckError) GetMessage() string
func (*CheckError) HasCode ¶
func (x *CheckError) HasCode() bool
func (*CheckError) HasInputError ¶
func (x *CheckError) HasInputError() bool
func (*CheckError) HasInternalError ¶
func (x *CheckError) HasInternalError() bool
func (*CheckError) ProtoMessage ¶
func (*CheckError) ProtoMessage()
func (*CheckError) ProtoReflect ¶
func (x *CheckError) ProtoReflect() protoreflect.Message
func (*CheckError) Reset ¶
func (x *CheckError) Reset()
func (*CheckError) SetInputError ¶
func (x *CheckError) SetInputError(v ErrorCode)
func (*CheckError) SetInternalError ¶
func (x *CheckError) SetInternalError(v InternalErrorCode)
func (*CheckError) SetMessage ¶
func (x *CheckError) SetMessage(v string)
func (*CheckError) String ¶
func (x *CheckError) String() string
func (*CheckError) WhichCode ¶
func (x *CheckError) WhichCode() case_CheckError_Code
type CheckError_InputError ¶
type CheckError_InputError struct {
InputError ErrorCode `protobuf:"varint,1,opt,name=input_error,proto3,enum=openfga.v1.ErrorCode,oneof"`
}
type CheckError_InternalError ¶
type CheckError_InternalError struct {
InternalError InternalErrorCode `protobuf:"varint,2,opt,name=internal_error,proto3,enum=openfga.v1.InternalErrorCode,oneof"`
}
type CheckError_builder ¶
type CheckError_builder struct {
// Fields of oneof Code:
InputError *ErrorCode
InternalError *InternalErrorCode
// -- end of Code
Message string
// contains filtered or unexported fields
}
func (CheckError_builder) Build ¶
func (b0 CheckError_builder) Build() *CheckError
type CheckRequest ¶
type CheckRequest struct {
StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
TupleKey *CheckRequestTupleKey `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"`
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference `protobuf:"varint,7,opt,name=consistency,proto3,enum=openfga.v1.ConsistencyPreference" json:"consistency,omitempty"`
// contains filtered or unexported fields
}
func (*CheckRequest) ClearContext ¶
func (x *CheckRequest) ClearContext()
func (*CheckRequest) ClearContextualTuples ¶
func (x *CheckRequest) ClearContextualTuples()
func (*CheckRequest) ClearTupleKey ¶
func (x *CheckRequest) ClearTupleKey()
func (*CheckRequest) GetAuthorizationModelId ¶
func (x *CheckRequest) GetAuthorizationModelId() string
func (*CheckRequest) GetConsistency ¶
func (x *CheckRequest) GetConsistency() ConsistencyPreference
func (*CheckRequest) GetContext ¶
func (x *CheckRequest) GetContext() *structpb.Struct
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() *CheckRequestTupleKey
func (*CheckRequest) HasContext ¶
func (x *CheckRequest) HasContext() bool
func (*CheckRequest) HasContextualTuples ¶
func (x *CheckRequest) HasContextualTuples() bool
func (*CheckRequest) HasTupleKey ¶
func (x *CheckRequest) HasTupleKey() bool
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) SetAuthorizationModelId ¶
func (x *CheckRequest) SetAuthorizationModelId(v string)
func (*CheckRequest) SetConsistency ¶
func (x *CheckRequest) SetConsistency(v ConsistencyPreference)
func (*CheckRequest) SetContext ¶
func (x *CheckRequest) SetContext(v *structpb.Struct)
func (*CheckRequest) SetContextualTuples ¶
func (x *CheckRequest) SetContextualTuples(v *ContextualTupleKeys)
func (*CheckRequest) SetStoreId ¶
func (x *CheckRequest) SetStoreId(v string)
func (*CheckRequest) SetTrace ¶
func (x *CheckRequest) SetTrace(v bool)
func (*CheckRequest) SetTupleKey ¶
func (x *CheckRequest) SetTupleKey(v *CheckRequestTupleKey)
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
type CheckRequestTupleKey ¶
type CheckRequestTupleKey struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
// contains filtered or unexported fields
}
func (*CheckRequestTupleKey) GetObject ¶
func (x *CheckRequestTupleKey) GetObject() string
func (*CheckRequestTupleKey) GetRelation ¶
func (x *CheckRequestTupleKey) GetRelation() string
func (*CheckRequestTupleKey) GetUser ¶
func (x *CheckRequestTupleKey) GetUser() string
func (*CheckRequestTupleKey) ProtoMessage ¶
func (*CheckRequestTupleKey) ProtoMessage()
func (*CheckRequestTupleKey) ProtoReflect ¶
func (x *CheckRequestTupleKey) ProtoReflect() protoreflect.Message
func (*CheckRequestTupleKey) Reset ¶
func (x *CheckRequestTupleKey) Reset()
func (*CheckRequestTupleKey) SetObject ¶
func (x *CheckRequestTupleKey) SetObject(v string)
func (*CheckRequestTupleKey) SetRelation ¶
func (x *CheckRequestTupleKey) SetRelation(v string)
func (*CheckRequestTupleKey) SetUser ¶
func (x *CheckRequestTupleKey) SetUser(v string)
func (*CheckRequestTupleKey) String ¶
func (x *CheckRequestTupleKey) String() string
type CheckRequestTupleKey_builder ¶
type CheckRequestTupleKey_builder struct {
User string
Relation string
Object string
// contains filtered or unexported fields
}
func (CheckRequestTupleKey_builder) Build ¶
func (b0 CheckRequestTupleKey_builder) Build() *CheckRequestTupleKey
type CheckRequest_builder ¶
type CheckRequest_builder struct {
StoreId string
TupleKey *CheckRequestTupleKey
ContextualTuples *ContextualTupleKeys
AuthorizationModelId string
// Defaults to false. Making it true has performance implications.
Trace bool
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference
// contains filtered or unexported fields
}
func (CheckRequest_builder) Build ¶
func (b0 CheckRequest_builder) Build() *CheckRequest
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) 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) SetAllowed ¶
func (x *CheckResponse) SetAllowed(v bool)
func (*CheckResponse) SetResolution ¶
func (x *CheckResponse) SetResolution(v string)
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
type CheckResponse_builder ¶
type CheckResponse_builder struct {
Allowed bool
// For internal use only.
Resolution string
// contains filtered or unexported fields
}
func (CheckResponse_builder) Build ¶
func (b0 CheckResponse_builder) Build() *CheckResponse
type ComputedUserset ¶
type ComputedUserset struct {
Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"`
// contains filtered or unexported fields
}
func (*ComputedUserset) GetRelation ¶
func (x *ComputedUserset) GetRelation() string
func (*ComputedUserset) ProtoMessage ¶
func (*ComputedUserset) ProtoMessage()
func (*ComputedUserset) ProtoReflect ¶
func (x *ComputedUserset) ProtoReflect() protoreflect.Message
func (*ComputedUserset) Reset ¶
func (x *ComputedUserset) Reset()
func (*ComputedUserset) SetRelation ¶
func (x *ComputedUserset) SetRelation(v string)
func (*ComputedUserset) String ¶
func (x *ComputedUserset) String() string
type ComputedUserset_builder ¶
type ComputedUserset_builder struct {
Relation string
// contains filtered or unexported fields
}
func (ComputedUserset_builder) Build ¶
func (b0 ComputedUserset_builder) Build() *ComputedUserset
type Condition ¶
type Condition struct {
// A unique name for the condition
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A Google CEL expression, expressed as a string.
Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
// A map of parameter names to the parameter's defined type reference.
Parameters map[string]*ConditionParamTypeRef `` /* 147-byte string literal not displayed */
Metadata *ConditionMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
func (*Condition) GetMetadata ¶
func (x *Condition) GetMetadata() *ConditionMetadata
func (*Condition) GetParameters ¶
func (x *Condition) GetParameters() map[string]*ConditionParamTypeRef
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
func (*Condition) SetMetadata ¶
func (x *Condition) SetMetadata(v *ConditionMetadata)
func (*Condition) SetParameters ¶
func (x *Condition) SetParameters(v map[string]*ConditionParamTypeRef)
type ConditionMetadata ¶
type ConditionMetadata struct {
Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
SourceInfo *SourceInfo `protobuf:"bytes,2,opt,name=source_info,proto3" json:"source_info,omitempty"`
// contains filtered or unexported fields
}
func (*ConditionMetadata) ClearSourceInfo ¶
func (x *ConditionMetadata) ClearSourceInfo()
func (*ConditionMetadata) GetModule ¶
func (x *ConditionMetadata) GetModule() string
func (*ConditionMetadata) GetSourceInfo ¶
func (x *ConditionMetadata) GetSourceInfo() *SourceInfo
func (*ConditionMetadata) HasSourceInfo ¶
func (x *ConditionMetadata) HasSourceInfo() bool
func (*ConditionMetadata) ProtoMessage ¶
func (*ConditionMetadata) ProtoMessage()
func (*ConditionMetadata) ProtoReflect ¶
func (x *ConditionMetadata) ProtoReflect() protoreflect.Message
func (*ConditionMetadata) Reset ¶
func (x *ConditionMetadata) Reset()
func (*ConditionMetadata) SetModule ¶
func (x *ConditionMetadata) SetModule(v string)
func (*ConditionMetadata) SetSourceInfo ¶
func (x *ConditionMetadata) SetSourceInfo(v *SourceInfo)
func (*ConditionMetadata) String ¶
func (x *ConditionMetadata) String() string
type ConditionMetadata_builder ¶
type ConditionMetadata_builder struct {
Module string
SourceInfo *SourceInfo
// contains filtered or unexported fields
}
func (ConditionMetadata_builder) Build ¶
func (b0 ConditionMetadata_builder) Build() *ConditionMetadata
type ConditionParamTypeRef ¶
type ConditionParamTypeRef struct {
TypeName ConditionParamTypeRef_TypeName `protobuf:"varint,1,opt,name=type_name,proto3,enum=openfga.v1.ConditionParamTypeRef_TypeName" json:"type_name,omitempty"`
GenericTypes []*ConditionParamTypeRef `protobuf:"bytes,2,rep,name=generic_types,proto3" json:"generic_types,omitempty"`
// contains filtered or unexported fields
}
func (*ConditionParamTypeRef) GetGenericTypes ¶
func (x *ConditionParamTypeRef) GetGenericTypes() []*ConditionParamTypeRef
func (*ConditionParamTypeRef) GetTypeName ¶
func (x *ConditionParamTypeRef) GetTypeName() ConditionParamTypeRef_TypeName
func (*ConditionParamTypeRef) ProtoMessage ¶
func (*ConditionParamTypeRef) ProtoMessage()
func (*ConditionParamTypeRef) ProtoReflect ¶
func (x *ConditionParamTypeRef) ProtoReflect() protoreflect.Message
func (*ConditionParamTypeRef) Reset ¶
func (x *ConditionParamTypeRef) Reset()
func (*ConditionParamTypeRef) SetGenericTypes ¶
func (x *ConditionParamTypeRef) SetGenericTypes(v []*ConditionParamTypeRef)
func (*ConditionParamTypeRef) SetTypeName ¶
func (x *ConditionParamTypeRef) SetTypeName(v ConditionParamTypeRef_TypeName)
func (*ConditionParamTypeRef) String ¶
func (x *ConditionParamTypeRef) String() string
type ConditionParamTypeRef_TypeName ¶
type ConditionParamTypeRef_TypeName int32
const ( ConditionParamTypeRef_TYPE_NAME_UNSPECIFIED ConditionParamTypeRef_TypeName = 0 ConditionParamTypeRef_TYPE_NAME_ANY ConditionParamTypeRef_TypeName = 1 ConditionParamTypeRef_TYPE_NAME_BOOL ConditionParamTypeRef_TypeName = 2 ConditionParamTypeRef_TYPE_NAME_STRING ConditionParamTypeRef_TypeName = 3 ConditionParamTypeRef_TYPE_NAME_INT ConditionParamTypeRef_TypeName = 4 ConditionParamTypeRef_TYPE_NAME_UINT ConditionParamTypeRef_TypeName = 5 ConditionParamTypeRef_TYPE_NAME_DOUBLE ConditionParamTypeRef_TypeName = 6 ConditionParamTypeRef_TYPE_NAME_DURATION ConditionParamTypeRef_TypeName = 7 ConditionParamTypeRef_TYPE_NAME_TIMESTAMP ConditionParamTypeRef_TypeName = 8 ConditionParamTypeRef_TYPE_NAME_MAP ConditionParamTypeRef_TypeName = 9 ConditionParamTypeRef_TYPE_NAME_LIST ConditionParamTypeRef_TypeName = 10 ConditionParamTypeRef_TYPE_NAME_IPADDRESS ConditionParamTypeRef_TypeName = 11 )
func (ConditionParamTypeRef_TypeName) Descriptor ¶
func (ConditionParamTypeRef_TypeName) Descriptor() protoreflect.EnumDescriptor
func (ConditionParamTypeRef_TypeName) Enum ¶
func (x ConditionParamTypeRef_TypeName) Enum() *ConditionParamTypeRef_TypeName
func (ConditionParamTypeRef_TypeName) Number ¶
func (x ConditionParamTypeRef_TypeName) Number() protoreflect.EnumNumber
func (ConditionParamTypeRef_TypeName) String ¶
func (x ConditionParamTypeRef_TypeName) String() string
func (ConditionParamTypeRef_TypeName) Type ¶
func (ConditionParamTypeRef_TypeName) Type() protoreflect.EnumType
type ConditionParamTypeRef_builder ¶
type ConditionParamTypeRef_builder struct {
TypeName ConditionParamTypeRef_TypeName
GenericTypes []*ConditionParamTypeRef
// contains filtered or unexported fields
}
func (ConditionParamTypeRef_builder) Build ¶
func (b0 ConditionParamTypeRef_builder) Build() *ConditionParamTypeRef
type Condition_builder ¶
type Condition_builder struct {
// A unique name for the condition
Name string
// A Google CEL expression, expressed as a string.
Expression string
// A map of parameter names to the parameter's defined type reference.
Parameters map[string]*ConditionParamTypeRef
Metadata *ConditionMetadata
// contains filtered or unexported fields
}
func (Condition_builder) Build ¶
func (b0 Condition_builder) Build() *Condition
type ConsistencyPreference ¶
type ConsistencyPreference int32
Controls the consistency preferences when calling the query APIs.
const ( // Default if not set. Behavior will be the same as MINIMIZE_LATENCY. ConsistencyPreference_UNSPECIFIED ConsistencyPreference = 0 // Minimize latency at the potential expense of lower consistency. ConsistencyPreference_MINIMIZE_LATENCY ConsistencyPreference = 100 // Prefer higher consistency, at the potential expense of increased latency. ConsistencyPreference_HIGHER_CONSISTENCY ConsistencyPreference = 200 )
func (ConsistencyPreference) Descriptor ¶
func (ConsistencyPreference) Descriptor() protoreflect.EnumDescriptor
func (ConsistencyPreference) Enum ¶
func (x ConsistencyPreference) Enum() *ConsistencyPreference
func (ConsistencyPreference) Number ¶
func (x ConsistencyPreference) Number() protoreflect.EnumNumber
func (ConsistencyPreference) String ¶
func (x ConsistencyPreference) String() string
func (ConsistencyPreference) Type ¶
func (ConsistencyPreference) Type() protoreflect.EnumType
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) 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) SetTupleKeys ¶
func (x *ContextualTupleKeys) SetTupleKeys(v []*TupleKey)
func (*ContextualTupleKeys) String ¶
func (x *ContextualTupleKeys) String() string
type ContextualTupleKeys_builder ¶
type ContextualTupleKeys_builder struct {
TupleKeys []*TupleKey
// contains filtered or unexported fields
}
func (ContextualTupleKeys_builder) Build ¶
func (b0 ContextualTupleKeys_builder) Build() *ContextualTupleKeys
type CreateStoreRequest ¶
type CreateStoreRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
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) SetName ¶
func (x *CreateStoreRequest) SetName(v string)
func (*CreateStoreRequest) String ¶
func (x *CreateStoreRequest) String() string
type CreateStoreRequest_builder ¶
type CreateStoreRequest_builder struct {
Name string
// contains filtered or unexported fields
}
func (CreateStoreRequest_builder) Build ¶
func (b0 CreateStoreRequest_builder) Build() *CreateStoreRequest
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) ClearCreatedAt ¶
func (x *CreateStoreResponse) ClearCreatedAt()
func (*CreateStoreResponse) ClearUpdatedAt ¶
func (x *CreateStoreResponse) ClearUpdatedAt()
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) HasCreatedAt ¶
func (x *CreateStoreResponse) HasCreatedAt() bool
func (*CreateStoreResponse) HasUpdatedAt ¶
func (x *CreateStoreResponse) HasUpdatedAt() bool
func (*CreateStoreResponse) ProtoMessage ¶
func (*CreateStoreResponse) ProtoMessage()
func (*CreateStoreResponse) ProtoReflect ¶
func (x *CreateStoreResponse) ProtoReflect() protoreflect.Message
func (*CreateStoreResponse) Reset ¶
func (x *CreateStoreResponse) Reset()
func (*CreateStoreResponse) SetCreatedAt ¶
func (x *CreateStoreResponse) SetCreatedAt(v *timestamppb.Timestamp)
func (*CreateStoreResponse) SetId ¶
func (x *CreateStoreResponse) SetId(v string)
func (*CreateStoreResponse) SetName ¶
func (x *CreateStoreResponse) SetName(v string)
func (*CreateStoreResponse) SetUpdatedAt ¶
func (x *CreateStoreResponse) SetUpdatedAt(v *timestamppb.Timestamp)
func (*CreateStoreResponse) String ¶
func (x *CreateStoreResponse) String() string
type CreateStoreResponse_builder ¶
type CreateStoreResponse_builder struct {
Id string
Name string
CreatedAt *timestamppb.Timestamp
UpdatedAt *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (CreateStoreResponse_builder) Build ¶
func (b0 CreateStoreResponse_builder) Build() *CreateStoreResponse
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) 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) SetStoreId ¶
func (x *DeleteStoreRequest) SetStoreId(v string)
func (*DeleteStoreRequest) String ¶
func (x *DeleteStoreRequest) String() string
type DeleteStoreRequest_builder ¶
type DeleteStoreRequest_builder struct {
StoreId string
// contains filtered or unexported fields
}
func (DeleteStoreRequest_builder) Build ¶
func (b0 DeleteStoreRequest_builder) Build() *DeleteStoreRequest
type DeleteStoreResponse ¶
type DeleteStoreResponse struct {
// contains filtered or unexported fields
}
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 DeleteStoreResponse_builder ¶
type DeleteStoreResponse_builder struct {
// contains filtered or unexported fields
}
func (DeleteStoreResponse_builder) Build ¶
func (b0 DeleteStoreResponse_builder) Build() *DeleteStoreResponse
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) ClearBase ¶
func (x *Difference) ClearBase()
func (*Difference) ClearSubtract ¶
func (x *Difference) ClearSubtract()
func (*Difference) GetBase ¶
func (x *Difference) GetBase() *Userset
func (*Difference) GetSubtract ¶
func (x *Difference) GetSubtract() *Userset
func (*Difference) HasBase ¶
func (x *Difference) HasBase() bool
func (*Difference) HasSubtract ¶
func (x *Difference) HasSubtract() bool
func (*Difference) ProtoMessage ¶
func (*Difference) ProtoMessage()
func (*Difference) ProtoReflect ¶
func (x *Difference) ProtoReflect() protoreflect.Message
func (*Difference) Reset ¶
func (x *Difference) Reset()
func (*Difference) SetBase ¶
func (x *Difference) SetBase(v *Userset)
func (*Difference) SetSubtract ¶
func (x *Difference) SetSubtract(v *Userset)
func (*Difference) String ¶
func (x *Difference) String() string
type Difference_builder ¶
type Difference_builder struct {
Base *Userset
Subtract *Userset
// contains filtered or unexported fields
}
func (Difference_builder) Build ¶
func (b0 Difference_builder) Build() *Difference
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) 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 DirectUserset_builder ¶
type DirectUserset_builder struct {
// contains filtered or unexported fields
}
func (DirectUserset_builder) Build ¶
func (b0 DirectUserset_builder) Build() *DirectUserset
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 ErrorCode_cancelled ErrorCode = 2058 ErrorCode_invalid_start_time ErrorCode = 2059 )
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) 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 ErrorMessageRequest_builder ¶
type ErrorMessageRequest_builder struct {
// contains filtered or unexported fields
}
func (ErrorMessageRequest_builder) Build ¶
func (b0 ErrorMessageRequest_builder) Build() *ErrorMessageRequest
type ExpandRequest ¶
type ExpandRequest struct {
StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
TupleKey *ExpandRequestTupleKey `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"`
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference `protobuf:"varint,4,opt,name=consistency,proto3,enum=openfga.v1.ConsistencyPreference" json:"consistency,omitempty"`
ContextualTuples *ContextualTupleKeys `protobuf:"bytes,5,opt,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"`
// contains filtered or unexported fields
}
func (*ExpandRequest) ClearContextualTuples ¶
func (x *ExpandRequest) ClearContextualTuples()
func (*ExpandRequest) ClearTupleKey ¶
func (x *ExpandRequest) ClearTupleKey()
func (*ExpandRequest) GetAuthorizationModelId ¶
func (x *ExpandRequest) GetAuthorizationModelId() string
func (*ExpandRequest) GetConsistency ¶
func (x *ExpandRequest) GetConsistency() ConsistencyPreference
func (*ExpandRequest) GetContextualTuples ¶
func (x *ExpandRequest) GetContextualTuples() *ContextualTupleKeys
func (*ExpandRequest) GetStoreId ¶
func (x *ExpandRequest) GetStoreId() string
func (*ExpandRequest) GetTupleKey ¶
func (x *ExpandRequest) GetTupleKey() *ExpandRequestTupleKey
func (*ExpandRequest) HasContextualTuples ¶
func (x *ExpandRequest) HasContextualTuples() bool
func (*ExpandRequest) HasTupleKey ¶
func (x *ExpandRequest) HasTupleKey() bool
func (*ExpandRequest) ProtoMessage ¶
func (*ExpandRequest) ProtoMessage()
func (*ExpandRequest) ProtoReflect ¶
func (x *ExpandRequest) ProtoReflect() protoreflect.Message
func (*ExpandRequest) Reset ¶
func (x *ExpandRequest) Reset()
func (*ExpandRequest) SetAuthorizationModelId ¶
func (x *ExpandRequest) SetAuthorizationModelId(v string)
func (*ExpandRequest) SetConsistency ¶
func (x *ExpandRequest) SetConsistency(v ConsistencyPreference)
func (*ExpandRequest) SetContextualTuples ¶
func (x *ExpandRequest) SetContextualTuples(v *ContextualTupleKeys)
func (*ExpandRequest) SetStoreId ¶
func (x *ExpandRequest) SetStoreId(v string)
func (*ExpandRequest) SetTupleKey ¶
func (x *ExpandRequest) SetTupleKey(v *ExpandRequestTupleKey)
func (*ExpandRequest) String ¶
func (x *ExpandRequest) String() string
type ExpandRequestTupleKey ¶
type ExpandRequestTupleKey struct {
Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"`
Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
// contains filtered or unexported fields
}
func (*ExpandRequestTupleKey) GetObject ¶
func (x *ExpandRequestTupleKey) GetObject() string
func (*ExpandRequestTupleKey) GetRelation ¶
func (x *ExpandRequestTupleKey) GetRelation() string
func (*ExpandRequestTupleKey) ProtoMessage ¶
func (*ExpandRequestTupleKey) ProtoMessage()
func (*ExpandRequestTupleKey) ProtoReflect ¶
func (x *ExpandRequestTupleKey) ProtoReflect() protoreflect.Message
func (*ExpandRequestTupleKey) Reset ¶
func (x *ExpandRequestTupleKey) Reset()
func (*ExpandRequestTupleKey) SetObject ¶
func (x *ExpandRequestTupleKey) SetObject(v string)
func (*ExpandRequestTupleKey) SetRelation ¶
func (x *ExpandRequestTupleKey) SetRelation(v string)
func (*ExpandRequestTupleKey) String ¶
func (x *ExpandRequestTupleKey) String() string
type ExpandRequestTupleKey_builder ¶
type ExpandRequestTupleKey_builder struct {
Relation string
Object string
// contains filtered or unexported fields
}
func (ExpandRequestTupleKey_builder) Build ¶
func (b0 ExpandRequestTupleKey_builder) Build() *ExpandRequestTupleKey
type ExpandRequest_builder ¶
type ExpandRequest_builder struct {
StoreId string
TupleKey *ExpandRequestTupleKey
AuthorizationModelId string
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference
ContextualTuples *ContextualTupleKeys
// contains filtered or unexported fields
}
func (ExpandRequest_builder) Build ¶
func (b0 ExpandRequest_builder) Build() *ExpandRequest
type ExpandResponse ¶
type ExpandResponse struct {
Tree *UsersetTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"`
// contains filtered or unexported fields
}
func (*ExpandResponse) ClearTree ¶
func (x *ExpandResponse) ClearTree()
func (*ExpandResponse) GetTree ¶
func (x *ExpandResponse) GetTree() *UsersetTree
func (*ExpandResponse) HasTree ¶
func (x *ExpandResponse) HasTree() bool
func (*ExpandResponse) ProtoMessage ¶
func (*ExpandResponse) ProtoMessage()
func (*ExpandResponse) ProtoReflect ¶
func (x *ExpandResponse) ProtoReflect() protoreflect.Message
func (*ExpandResponse) Reset ¶
func (x *ExpandResponse) Reset()
func (*ExpandResponse) SetTree ¶
func (x *ExpandResponse) SetTree(v *UsersetTree)
func (*ExpandResponse) String ¶
func (x *ExpandResponse) String() string
type ExpandResponse_builder ¶
type ExpandResponse_builder struct {
Tree *UsersetTree
// contains filtered or unexported fields
}
func (ExpandResponse_builder) Build ¶
func (b0 ExpandResponse_builder) Build() *ExpandResponse
type ForbiddenResponse ¶
type ForbiddenResponse struct {
Code AuthErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=openfga.v1.AuthErrorCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ForbiddenResponse) GetCode ¶
func (x *ForbiddenResponse) GetCode() AuthErrorCode
func (*ForbiddenResponse) GetMessage ¶
func (x *ForbiddenResponse) GetMessage() string
func (*ForbiddenResponse) ProtoMessage ¶
func (*ForbiddenResponse) ProtoMessage()
func (*ForbiddenResponse) ProtoReflect ¶
func (x *ForbiddenResponse) ProtoReflect() protoreflect.Message
func (*ForbiddenResponse) Reset ¶
func (x *ForbiddenResponse) Reset()
func (*ForbiddenResponse) SetCode ¶
func (x *ForbiddenResponse) SetCode(v AuthErrorCode)
func (*ForbiddenResponse) SetMessage ¶
func (x *ForbiddenResponse) SetMessage(v string)
func (*ForbiddenResponse) String ¶
func (x *ForbiddenResponse) String() string
type ForbiddenResponse_builder ¶
type ForbiddenResponse_builder struct {
Code AuthErrorCode
Message string
// contains filtered or unexported fields
}
func (ForbiddenResponse_builder) Build ¶
func (b0 ForbiddenResponse_builder) Build() *ForbiddenResponse
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) 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) SetStoreId ¶
func (x *GetStoreRequest) SetStoreId(v string)
func (*GetStoreRequest) String ¶
func (x *GetStoreRequest) String() string
type GetStoreRequest_builder ¶
type GetStoreRequest_builder struct {
StoreId string
// contains filtered or unexported fields
}
func (GetStoreRequest_builder) Build ¶
func (b0 GetStoreRequest_builder) Build() *GetStoreRequest
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"`
DeletedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deleted_at,proto3" json:"deleted_at,omitempty"`
// contains filtered or unexported fields
}
func (*GetStoreResponse) ClearCreatedAt ¶
func (x *GetStoreResponse) ClearCreatedAt()
func (*GetStoreResponse) ClearDeletedAt ¶
func (x *GetStoreResponse) ClearDeletedAt()
func (*GetStoreResponse) ClearUpdatedAt ¶
func (x *GetStoreResponse) ClearUpdatedAt()
func (*GetStoreResponse) GetCreatedAt ¶
func (x *GetStoreResponse) GetCreatedAt() *timestamppb.Timestamp
func (*GetStoreResponse) GetDeletedAt ¶
func (x *GetStoreResponse) GetDeletedAt() *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) HasCreatedAt ¶
func (x *GetStoreResponse) HasCreatedAt() bool
func (*GetStoreResponse) HasDeletedAt ¶
func (x *GetStoreResponse) HasDeletedAt() bool
func (*GetStoreResponse) HasUpdatedAt ¶
func (x *GetStoreResponse) HasUpdatedAt() bool
func (*GetStoreResponse) ProtoMessage ¶
func (*GetStoreResponse) ProtoMessage()
func (*GetStoreResponse) ProtoReflect ¶
func (x *GetStoreResponse) ProtoReflect() protoreflect.Message
func (*GetStoreResponse) Reset ¶
func (x *GetStoreResponse) Reset()
func (*GetStoreResponse) SetCreatedAt ¶
func (x *GetStoreResponse) SetCreatedAt(v *timestamppb.Timestamp)
func (*GetStoreResponse) SetDeletedAt ¶
func (x *GetStoreResponse) SetDeletedAt(v *timestamppb.Timestamp)
func (*GetStoreResponse) SetId ¶
func (x *GetStoreResponse) SetId(v string)
func (*GetStoreResponse) SetName ¶
func (x *GetStoreResponse) SetName(v string)
func (*GetStoreResponse) SetUpdatedAt ¶
func (x *GetStoreResponse) SetUpdatedAt(v *timestamppb.Timestamp)
func (*GetStoreResponse) String ¶
func (x *GetStoreResponse) String() string
type GetStoreResponse_builder ¶
type GetStoreResponse_builder struct {
Id string
Name string
CreatedAt *timestamppb.Timestamp
UpdatedAt *timestamppb.Timestamp
DeletedAt *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (GetStoreResponse_builder) Build ¶
func (b0 GetStoreResponse_builder) Build() *GetStoreResponse
type InternalErrorCode ¶
type InternalErrorCode int32
const ( InternalErrorCode_no_internal_error InternalErrorCode = 0 InternalErrorCode_internal_error InternalErrorCode = 4000 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) 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) 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) SetCode ¶
func (x *InternalErrorMessageResponse) SetCode(v InternalErrorCode)
func (*InternalErrorMessageResponse) SetMessage ¶
func (x *InternalErrorMessageResponse) SetMessage(v string)
func (*InternalErrorMessageResponse) String ¶
func (x *InternalErrorMessageResponse) String() string
type InternalErrorMessageResponse_builder ¶
type InternalErrorMessageResponse_builder struct {
Code InternalErrorCode
Message string
// contains filtered or unexported fields
}
func (InternalErrorMessageResponse_builder) Build ¶
func (b0 InternalErrorMessageResponse_builder) Build() *InternalErrorMessageResponse
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"`
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference `protobuf:"varint,8,opt,name=consistency,proto3,enum=openfga.v1.ConsistencyPreference" json:"consistency,omitempty"`
// contains filtered or unexported fields
}
func (*ListObjectsRequest) ClearContext ¶
func (x *ListObjectsRequest) ClearContext()
func (*ListObjectsRequest) ClearContextualTuples ¶
func (x *ListObjectsRequest) ClearContextualTuples()
func (*ListObjectsRequest) GetAuthorizationModelId ¶
func (x *ListObjectsRequest) GetAuthorizationModelId() string
func (*ListObjectsRequest) GetConsistency ¶
func (x *ListObjectsRequest) GetConsistency() ConsistencyPreference
func (*ListObjectsRequest) GetContext ¶
func (x *ListObjectsRequest) GetContext() *structpb.Struct
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) HasContext ¶
func (x *ListObjectsRequest) HasContext() bool
func (*ListObjectsRequest) HasContextualTuples ¶
func (x *ListObjectsRequest) HasContextualTuples() bool
func (*ListObjectsRequest) ProtoMessage ¶
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) ProtoReflect ¶
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListObjectsRequest) Reset ¶
func (x *ListObjectsRequest) Reset()
func (*ListObjectsRequest) SetAuthorizationModelId ¶
func (x *ListObjectsRequest) SetAuthorizationModelId(v string)
func (*ListObjectsRequest) SetConsistency ¶
func (x *ListObjectsRequest) SetConsistency(v ConsistencyPreference)
func (*ListObjectsRequest) SetContext ¶
func (x *ListObjectsRequest) SetContext(v *structpb.Struct)
func (*ListObjectsRequest) SetContextualTuples ¶
func (x *ListObjectsRequest) SetContextualTuples(v *ContextualTupleKeys)
func (*ListObjectsRequest) SetRelation ¶
func (x *ListObjectsRequest) SetRelation(v string)
func (*ListObjectsRequest) SetStoreId ¶
func (x *ListObjectsRequest) SetStoreId(v string)
func (*ListObjectsRequest) SetType ¶
func (x *ListObjectsRequest) SetType(v string)
func (*ListObjectsRequest) SetUser ¶
func (x *ListObjectsRequest) SetUser(v string)
func (*ListObjectsRequest) String ¶
func (x *ListObjectsRequest) String() string
type ListObjectsRequest_builder ¶
type ListObjectsRequest_builder struct {
StoreId string
AuthorizationModelId string
Type string
Relation string
User string
ContextualTuples *ContextualTupleKeys
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference
// contains filtered or unexported fields
}
func (ListObjectsRequest_builder) Build ¶
func (b0 ListObjectsRequest_builder) Build() *ListObjectsRequest
type ListObjectsResponse ¶
type ListObjectsResponse struct {
Objects []string `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
// contains filtered or unexported fields
}
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) SetObjects ¶
func (x *ListObjectsResponse) SetObjects(v []string)
func (*ListObjectsResponse) String ¶
func (x *ListObjectsResponse) String() string
type ListObjectsResponse_builder ¶
type ListObjectsResponse_builder struct {
Objects []string
// contains filtered or unexported fields
}
func (ListObjectsResponse_builder) Build ¶
func (b0 ListObjectsResponse_builder) Build() *ListObjectsResponse
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"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ListStoresRequest) ClearPageSize ¶
func (x *ListStoresRequest) ClearPageSize()
func (*ListStoresRequest) GetContinuationToken ¶
func (x *ListStoresRequest) GetContinuationToken() string
func (*ListStoresRequest) GetName ¶
func (x *ListStoresRequest) GetName() string
func (*ListStoresRequest) GetPageSize ¶
func (x *ListStoresRequest) GetPageSize() *wrapperspb.Int32Value
func (*ListStoresRequest) HasPageSize ¶
func (x *ListStoresRequest) HasPageSize() bool
func (*ListStoresRequest) ProtoMessage ¶
func (*ListStoresRequest) ProtoMessage()
func (*ListStoresRequest) ProtoReflect ¶
func (x *ListStoresRequest) ProtoReflect() protoreflect.Message
func (*ListStoresRequest) Reset ¶
func (x *ListStoresRequest) Reset()
func (*ListStoresRequest) SetContinuationToken ¶
func (x *ListStoresRequest) SetContinuationToken(v string)
func (*ListStoresRequest) SetName ¶
func (x *ListStoresRequest) SetName(v string)
func (*ListStoresRequest) SetPageSize ¶
func (x *ListStoresRequest) SetPageSize(v *wrapperspb.Int32Value)
func (*ListStoresRequest) String ¶
func (x *ListStoresRequest) String() string
type ListStoresRequest_builder ¶
type ListStoresRequest_builder struct {
PageSize *wrapperspb.Int32Value
ContinuationToken string
Name string
// contains filtered or unexported fields
}
func (ListStoresRequest_builder) Build ¶
func (b0 ListStoresRequest_builder) Build() *ListStoresRequest
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) 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) SetContinuationToken ¶
func (x *ListStoresResponse) SetContinuationToken(v string)
func (*ListStoresResponse) SetStores ¶
func (x *ListStoresResponse) SetStores(v []*Store)
func (*ListStoresResponse) String ¶
func (x *ListStoresResponse) String() string
type ListStoresResponse_builder ¶
type ListStoresResponse_builder struct {
Stores []*Store
ContinuationToken string
// contains filtered or unexported fields
}
func (ListStoresResponse_builder) Build ¶
func (b0 ListStoresResponse_builder) Build() *ListStoresResponse
type ListUsersRequest ¶
type ListUsersRequest 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"`
Object *Object `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
Relation string `protobuf:"bytes,4,opt,name=relation,proto3" json:"relation,omitempty"`
UserFilters []*UserTypeFilter `protobuf:"bytes,5,rep,name=user_filters,proto3" json:"user_filters,omitempty"`
ContextualTuples []*TupleKey `protobuf:"bytes,6,rep,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"`
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference `protobuf:"varint,8,opt,name=consistency,proto3,enum=openfga.v1.ConsistencyPreference" json:"consistency,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersRequest) ClearContext ¶
func (x *ListUsersRequest) ClearContext()
func (*ListUsersRequest) ClearObject ¶
func (x *ListUsersRequest) ClearObject()
func (*ListUsersRequest) GetAuthorizationModelId ¶
func (x *ListUsersRequest) GetAuthorizationModelId() string
func (*ListUsersRequest) GetConsistency ¶
func (x *ListUsersRequest) GetConsistency() ConsistencyPreference
func (*ListUsersRequest) GetContext ¶
func (x *ListUsersRequest) GetContext() *structpb.Struct
func (*ListUsersRequest) GetContextualTuples ¶
func (x *ListUsersRequest) GetContextualTuples() []*TupleKey
func (*ListUsersRequest) GetObject ¶
func (x *ListUsersRequest) GetObject() *Object
func (*ListUsersRequest) GetRelation ¶
func (x *ListUsersRequest) GetRelation() string
func (*ListUsersRequest) GetStoreId ¶
func (x *ListUsersRequest) GetStoreId() string
func (*ListUsersRequest) GetUserFilters ¶
func (x *ListUsersRequest) GetUserFilters() []*UserTypeFilter
func (*ListUsersRequest) HasContext ¶
func (x *ListUsersRequest) HasContext() bool
func (*ListUsersRequest) HasObject ¶
func (x *ListUsersRequest) HasObject() bool
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) SetAuthorizationModelId ¶
func (x *ListUsersRequest) SetAuthorizationModelId(v string)
func (*ListUsersRequest) SetConsistency ¶
func (x *ListUsersRequest) SetConsistency(v ConsistencyPreference)
func (*ListUsersRequest) SetContext ¶
func (x *ListUsersRequest) SetContext(v *structpb.Struct)
func (*ListUsersRequest) SetContextualTuples ¶
func (x *ListUsersRequest) SetContextualTuples(v []*TupleKey)
func (*ListUsersRequest) SetObject ¶
func (x *ListUsersRequest) SetObject(v *Object)
func (*ListUsersRequest) SetRelation ¶
func (x *ListUsersRequest) SetRelation(v string)
func (*ListUsersRequest) SetStoreId ¶
func (x *ListUsersRequest) SetStoreId(v string)
func (*ListUsersRequest) SetUserFilters ¶
func (x *ListUsersRequest) SetUserFilters(v []*UserTypeFilter)
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersRequest_builder ¶
type ListUsersRequest_builder struct {
StoreId string
AuthorizationModelId string
Object *Object
Relation string
UserFilters []*UserTypeFilter
ContextualTuples []*TupleKey
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference
// contains filtered or unexported fields
}
func (ListUsersRequest_builder) Build ¶
func (b0 ListUsersRequest_builder) Build() *ListUsersRequest
type ListUsersResponse ¶
type ListUsersResponse struct {
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) SetUsers ¶
func (x *ListUsersResponse) SetUsers(v []*User)
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type ListUsersResponse_builder ¶
type ListUsersResponse_builder struct {
Users []*User
// contains filtered or unexported fields
}
func (ListUsersResponse_builder) Build ¶
func (b0 ListUsersResponse_builder) Build() *ListUsersResponse
type Metadata ¶
type Metadata struct {
Relations map[string]*RelationMetadata `` /* 145-byte string literal not displayed */
Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
SourceInfo *SourceInfo `protobuf:"bytes,3,opt,name=source_info,proto3" json:"source_info,omitempty"`
// contains filtered or unexported fields
}
func (*Metadata) GetRelations ¶
func (x *Metadata) GetRelations() map[string]*RelationMetadata
func (*Metadata) GetSourceInfo ¶
func (x *Metadata) GetSourceInfo() *SourceInfo
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) SetRelations ¶
func (x *Metadata) SetRelations(v map[string]*RelationMetadata)
func (*Metadata) SetSourceInfo ¶
func (x *Metadata) SetSourceInfo(v *SourceInfo)
type Metadata_builder ¶
type Metadata_builder struct {
Relations map[string]*RelationMetadata
Module string
SourceInfo *SourceInfo
// contains filtered or unexported fields
}
func (Metadata_builder) Build ¶
func (b0 Metadata_builder) Build() *Metadata
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) 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) 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) SetObject ¶
func (x *ObjectRelation) SetObject(v string)
func (*ObjectRelation) SetRelation ¶
func (x *ObjectRelation) SetRelation(v string)
func (*ObjectRelation) String ¶
func (x *ObjectRelation) String() string
type ObjectRelation_builder ¶
type ObjectRelation_builder struct {
Object string
Relation string
// contains filtered or unexported fields
}
func (ObjectRelation_builder) Build ¶
func (b0 ObjectRelation_builder) Build() *ObjectRelation
type Object_builder ¶
func (Object_builder) Build ¶
func (b0 Object_builder) Build() *Object
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) 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) SetCode ¶
func (x *PathUnknownErrorMessageResponse) SetCode(v NotFoundErrorCode)
func (*PathUnknownErrorMessageResponse) SetMessage ¶
func (x *PathUnknownErrorMessageResponse) SetMessage(v string)
func (*PathUnknownErrorMessageResponse) String ¶
func (x *PathUnknownErrorMessageResponse) String() string
type PathUnknownErrorMessageResponse_builder ¶
type PathUnknownErrorMessageResponse_builder struct {
Code NotFoundErrorCode
Message string
// contains filtered or unexported fields
}
func (PathUnknownErrorMessageResponse_builder) Build ¶
func (b0 PathUnknownErrorMessageResponse_builder) Build() *PathUnknownErrorMessageResponse
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) 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) SetAuthorizationModelId ¶
func (x *ReadAssertionsRequest) SetAuthorizationModelId(v string)
func (*ReadAssertionsRequest) SetStoreId ¶
func (x *ReadAssertionsRequest) SetStoreId(v string)
func (*ReadAssertionsRequest) String ¶
func (x *ReadAssertionsRequest) String() string
type ReadAssertionsRequest_builder ¶
type ReadAssertionsRequest_builder struct {
StoreId string
AuthorizationModelId string
// contains filtered or unexported fields
}
func (ReadAssertionsRequest_builder) Build ¶
func (b0 ReadAssertionsRequest_builder) Build() *ReadAssertionsRequest
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) 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) SetAssertions ¶
func (x *ReadAssertionsResponse) SetAssertions(v []*Assertion)
func (*ReadAssertionsResponse) SetAuthorizationModelId ¶
func (x *ReadAssertionsResponse) SetAuthorizationModelId(v string)
func (*ReadAssertionsResponse) String ¶
func (x *ReadAssertionsResponse) String() string
type ReadAssertionsResponse_builder ¶
type ReadAssertionsResponse_builder struct {
AuthorizationModelId string
Assertions []*Assertion
// contains filtered or unexported fields
}
func (ReadAssertionsResponse_builder) Build ¶
func (b0 ReadAssertionsResponse_builder) Build() *ReadAssertionsResponse
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) 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) SetId ¶
func (x *ReadAuthorizationModelRequest) SetId(v string)
func (*ReadAuthorizationModelRequest) SetStoreId ¶
func (x *ReadAuthorizationModelRequest) SetStoreId(v string)
func (*ReadAuthorizationModelRequest) String ¶
func (x *ReadAuthorizationModelRequest) String() string
type ReadAuthorizationModelRequest_builder ¶
type ReadAuthorizationModelRequest_builder struct {
StoreId string
Id string
// contains filtered or unexported fields
}
func (ReadAuthorizationModelRequest_builder) Build ¶
func (b0 ReadAuthorizationModelRequest_builder) Build() *ReadAuthorizationModelRequest
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) ClearAuthorizationModel ¶
func (x *ReadAuthorizationModelResponse) ClearAuthorizationModel()
func (*ReadAuthorizationModelResponse) GetAuthorizationModel ¶
func (x *ReadAuthorizationModelResponse) GetAuthorizationModel() *AuthorizationModel
func (*ReadAuthorizationModelResponse) HasAuthorizationModel ¶
func (x *ReadAuthorizationModelResponse) HasAuthorizationModel() bool
func (*ReadAuthorizationModelResponse) ProtoMessage ¶
func (*ReadAuthorizationModelResponse) ProtoMessage()
func (*ReadAuthorizationModelResponse) ProtoReflect ¶
func (x *ReadAuthorizationModelResponse) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelResponse) Reset ¶
func (x *ReadAuthorizationModelResponse) Reset()
func (*ReadAuthorizationModelResponse) SetAuthorizationModel ¶
func (x *ReadAuthorizationModelResponse) SetAuthorizationModel(v *AuthorizationModel)
func (*ReadAuthorizationModelResponse) String ¶
func (x *ReadAuthorizationModelResponse) String() string
type ReadAuthorizationModelResponse_builder ¶
type ReadAuthorizationModelResponse_builder struct {
AuthorizationModel *AuthorizationModel
// contains filtered or unexported fields
}
func (ReadAuthorizationModelResponse_builder) Build ¶
func (b0 ReadAuthorizationModelResponse_builder) Build() *ReadAuthorizationModelResponse
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) ClearPageSize ¶
func (x *ReadAuthorizationModelsRequest) ClearPageSize()
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) HasPageSize ¶
func (x *ReadAuthorizationModelsRequest) HasPageSize() bool
func (*ReadAuthorizationModelsRequest) ProtoMessage ¶
func (*ReadAuthorizationModelsRequest) ProtoMessage()
func (*ReadAuthorizationModelsRequest) ProtoReflect ¶
func (x *ReadAuthorizationModelsRequest) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelsRequest) Reset ¶
func (x *ReadAuthorizationModelsRequest) Reset()
func (*ReadAuthorizationModelsRequest) SetContinuationToken ¶
func (x *ReadAuthorizationModelsRequest) SetContinuationToken(v string)
func (*ReadAuthorizationModelsRequest) SetPageSize ¶
func (x *ReadAuthorizationModelsRequest) SetPageSize(v *wrapperspb.Int32Value)
func (*ReadAuthorizationModelsRequest) SetStoreId ¶
func (x *ReadAuthorizationModelsRequest) SetStoreId(v string)
func (*ReadAuthorizationModelsRequest) String ¶
func (x *ReadAuthorizationModelsRequest) String() string
type ReadAuthorizationModelsRequest_builder ¶
type ReadAuthorizationModelsRequest_builder struct {
StoreId string
PageSize *wrapperspb.Int32Value
ContinuationToken string
// contains filtered or unexported fields
}
func (ReadAuthorizationModelsRequest_builder) Build ¶
func (b0 ReadAuthorizationModelsRequest_builder) Build() *ReadAuthorizationModelsRequest
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) 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) SetAuthorizationModels ¶
func (x *ReadAuthorizationModelsResponse) SetAuthorizationModels(v []*AuthorizationModel)
func (*ReadAuthorizationModelsResponse) SetContinuationToken ¶
func (x *ReadAuthorizationModelsResponse) SetContinuationToken(v string)
func (*ReadAuthorizationModelsResponse) String ¶
func (x *ReadAuthorizationModelsResponse) String() string
type ReadAuthorizationModelsResponse_builder ¶
type ReadAuthorizationModelsResponse_builder struct {
AuthorizationModels []*AuthorizationModel
ContinuationToken string
// contains filtered or unexported fields
}
func (ReadAuthorizationModelsResponse_builder) Build ¶
func (b0 ReadAuthorizationModelsResponse_builder) Build() *ReadAuthorizationModelsResponse
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"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,proto3" json:"start_time,omitempty"`
// contains filtered or unexported fields
}
func (*ReadChangesRequest) ClearPageSize ¶
func (x *ReadChangesRequest) ClearPageSize()
func (*ReadChangesRequest) ClearStartTime ¶
func (x *ReadChangesRequest) ClearStartTime()
func (*ReadChangesRequest) GetContinuationToken ¶
func (x *ReadChangesRequest) GetContinuationToken() string
func (*ReadChangesRequest) GetPageSize ¶
func (x *ReadChangesRequest) GetPageSize() *wrapperspb.Int32Value
func (*ReadChangesRequest) GetStartTime ¶
func (x *ReadChangesRequest) GetStartTime() *timestamppb.Timestamp
func (*ReadChangesRequest) GetStoreId ¶
func (x *ReadChangesRequest) GetStoreId() string
func (*ReadChangesRequest) GetType ¶
func (x *ReadChangesRequest) GetType() string
func (*ReadChangesRequest) HasPageSize ¶
func (x *ReadChangesRequest) HasPageSize() bool
func (*ReadChangesRequest) HasStartTime ¶
func (x *ReadChangesRequest) HasStartTime() bool
func (*ReadChangesRequest) ProtoMessage ¶
func (*ReadChangesRequest) ProtoMessage()
func (*ReadChangesRequest) ProtoReflect ¶
func (x *ReadChangesRequest) ProtoReflect() protoreflect.Message
func (*ReadChangesRequest) Reset ¶
func (x *ReadChangesRequest) Reset()
func (*ReadChangesRequest) SetContinuationToken ¶
func (x *ReadChangesRequest) SetContinuationToken(v string)
func (*ReadChangesRequest) SetPageSize ¶
func (x *ReadChangesRequest) SetPageSize(v *wrapperspb.Int32Value)
func (*ReadChangesRequest) SetStartTime ¶
func (x *ReadChangesRequest) SetStartTime(v *timestamppb.Timestamp)
func (*ReadChangesRequest) SetStoreId ¶
func (x *ReadChangesRequest) SetStoreId(v string)
func (*ReadChangesRequest) SetType ¶
func (x *ReadChangesRequest) SetType(v string)
func (*ReadChangesRequest) String ¶
func (x *ReadChangesRequest) String() string
type ReadChangesRequest_builder ¶
type ReadChangesRequest_builder struct {
StoreId string
Type string
PageSize *wrapperspb.Int32Value
ContinuationToken string
StartTime *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (ReadChangesRequest_builder) Build ¶
func (b0 ReadChangesRequest_builder) Build() *ReadChangesRequest
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) 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) SetChanges ¶
func (x *ReadChangesResponse) SetChanges(v []*TupleChange)
func (*ReadChangesResponse) SetContinuationToken ¶
func (x *ReadChangesResponse) SetContinuationToken(v string)
func (*ReadChangesResponse) String ¶
func (x *ReadChangesResponse) String() string
type ReadChangesResponse_builder ¶
type ReadChangesResponse_builder struct {
Changes []*TupleChange
ContinuationToken string
// contains filtered or unexported fields
}
func (ReadChangesResponse_builder) Build ¶
func (b0 ReadChangesResponse_builder) Build() *ReadChangesResponse
type ReadRequest ¶
type ReadRequest struct {
StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
TupleKey *ReadRequestTupleKey `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"`
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference `protobuf:"varint,5,opt,name=consistency,proto3,enum=openfga.v1.ConsistencyPreference" json:"consistency,omitempty"`
// contains filtered or unexported fields
}
func (*ReadRequest) ClearPageSize ¶
func (x *ReadRequest) ClearPageSize()
func (*ReadRequest) ClearTupleKey ¶
func (x *ReadRequest) ClearTupleKey()
func (*ReadRequest) GetConsistency ¶
func (x *ReadRequest) GetConsistency() ConsistencyPreference
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() *ReadRequestTupleKey
func (*ReadRequest) HasPageSize ¶
func (x *ReadRequest) HasPageSize() bool
func (*ReadRequest) HasTupleKey ¶
func (x *ReadRequest) HasTupleKey() bool
func (*ReadRequest) ProtoMessage ¶
func (*ReadRequest) ProtoMessage()
func (*ReadRequest) ProtoReflect ¶
func (x *ReadRequest) ProtoReflect() protoreflect.Message
func (*ReadRequest) Reset ¶
func (x *ReadRequest) Reset()
func (*ReadRequest) SetConsistency ¶
func (x *ReadRequest) SetConsistency(v ConsistencyPreference)
func (*ReadRequest) SetContinuationToken ¶
func (x *ReadRequest) SetContinuationToken(v string)
func (*ReadRequest) SetPageSize ¶
func (x *ReadRequest) SetPageSize(v *wrapperspb.Int32Value)
func (*ReadRequest) SetStoreId ¶
func (x *ReadRequest) SetStoreId(v string)
func (*ReadRequest) SetTupleKey ¶
func (x *ReadRequest) SetTupleKey(v *ReadRequestTupleKey)
func (*ReadRequest) String ¶
func (x *ReadRequest) String() string
type ReadRequestTupleKey ¶
type ReadRequestTupleKey struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
// contains filtered or unexported fields
}
func (*ReadRequestTupleKey) GetObject ¶
func (x *ReadRequestTupleKey) GetObject() string
func (*ReadRequestTupleKey) GetRelation ¶
func (x *ReadRequestTupleKey) GetRelation() string
func (*ReadRequestTupleKey) GetUser ¶
func (x *ReadRequestTupleKey) GetUser() string
func (*ReadRequestTupleKey) ProtoMessage ¶
func (*ReadRequestTupleKey) ProtoMessage()
func (*ReadRequestTupleKey) ProtoReflect ¶
func (x *ReadRequestTupleKey) ProtoReflect() protoreflect.Message
func (*ReadRequestTupleKey) Reset ¶
func (x *ReadRequestTupleKey) Reset()
func (*ReadRequestTupleKey) SetObject ¶
func (x *ReadRequestTupleKey) SetObject(v string)
func (*ReadRequestTupleKey) SetRelation ¶
func (x *ReadRequestTupleKey) SetRelation(v string)
func (*ReadRequestTupleKey) SetUser ¶
func (x *ReadRequestTupleKey) SetUser(v string)
func (*ReadRequestTupleKey) String ¶
func (x *ReadRequestTupleKey) String() string
type ReadRequestTupleKey_builder ¶
type ReadRequestTupleKey_builder struct {
User string
Relation string
Object string
// contains filtered or unexported fields
}
func (ReadRequestTupleKey_builder) Build ¶
func (b0 ReadRequestTupleKey_builder) Build() *ReadRequestTupleKey
type ReadRequest_builder ¶
type ReadRequest_builder struct {
StoreId string
TupleKey *ReadRequestTupleKey
PageSize *wrapperspb.Int32Value
ContinuationToken string
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference
// contains filtered or unexported fields
}
func (ReadRequest_builder) Build ¶
func (b0 ReadRequest_builder) Build() *ReadRequest
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) 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) SetContinuationToken ¶
func (x *ReadResponse) SetContinuationToken(v string)
func (*ReadResponse) SetTuples ¶
func (x *ReadResponse) SetTuples(v []*Tuple)
func (*ReadResponse) String ¶
func (x *ReadResponse) String() string
type ReadResponse_builder ¶
type ReadResponse_builder struct {
Tuples []*Tuple
ContinuationToken string
// contains filtered or unexported fields
}
func (ReadResponse_builder) Build ¶
func (b0 ReadResponse_builder) Build() *ReadResponse
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
func (*Relation) SetTypeInfo ¶
func (x *Relation) SetTypeInfo(v *RelationTypeInfo)
type RelationMetadata ¶
type RelationMetadata struct {
DirectlyRelatedUserTypes []*RelationReference `protobuf:"bytes,1,rep,name=directly_related_user_types,proto3" json:"directly_related_user_types,omitempty"`
Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
SourceInfo *SourceInfo `protobuf:"bytes,3,opt,name=source_info,proto3" json:"source_info,omitempty"`
// contains filtered or unexported fields
}
func (*RelationMetadata) ClearSourceInfo ¶
func (x *RelationMetadata) ClearSourceInfo()
func (*RelationMetadata) GetDirectlyRelatedUserTypes ¶
func (x *RelationMetadata) GetDirectlyRelatedUserTypes() []*RelationReference
func (*RelationMetadata) GetModule ¶
func (x *RelationMetadata) GetModule() string
func (*RelationMetadata) GetSourceInfo ¶
func (x *RelationMetadata) GetSourceInfo() *SourceInfo
func (*RelationMetadata) HasSourceInfo ¶
func (x *RelationMetadata) HasSourceInfo() bool
func (*RelationMetadata) ProtoMessage ¶
func (*RelationMetadata) ProtoMessage()
func (*RelationMetadata) ProtoReflect ¶
func (x *RelationMetadata) ProtoReflect() protoreflect.Message
func (*RelationMetadata) Reset ¶
func (x *RelationMetadata) Reset()
func (*RelationMetadata) SetDirectlyRelatedUserTypes ¶
func (x *RelationMetadata) SetDirectlyRelatedUserTypes(v []*RelationReference)
func (*RelationMetadata) SetModule ¶
func (x *RelationMetadata) SetModule(v string)
func (*RelationMetadata) SetSourceInfo ¶
func (x *RelationMetadata) SetSourceInfo(v *SourceInfo)
func (*RelationMetadata) String ¶
func (x *RelationMetadata) String() string
type RelationMetadata_builder ¶
type RelationMetadata_builder struct {
DirectlyRelatedUserTypes []*RelationReference
Module string
SourceInfo *SourceInfo
// contains filtered or unexported fields
}
func (RelationMetadata_builder) Build ¶
func (b0 RelationMetadata_builder) Build() *RelationMetadata
type RelationReference ¶
type RelationReference struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// Types that are valid to be assigned to RelationOrWildcard:
//
// *RelationReference_Relation
// *RelationReference_Wildcard
RelationOrWildcard isRelationReference_RelationOrWildcard `protobuf_oneof:"relation_or_wildcard"`
// The name of a condition that is enforced over the allowed relation.
Condition string `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
// contains filtered or unexported fields
}
RelationReference represents a relation of a particular object type (e.g. 'document#viewer').
func (*RelationReference) ClearRelation ¶
func (x *RelationReference) ClearRelation()
func (*RelationReference) ClearRelationOrWildcard ¶
func (x *RelationReference) ClearRelationOrWildcard()
func (*RelationReference) ClearWildcard ¶
func (x *RelationReference) ClearWildcard()
func (*RelationReference) GetCondition ¶
func (x *RelationReference) GetCondition() string
func (*RelationReference) GetRelation ¶
func (x *RelationReference) GetRelation() string
func (*RelationReference) GetRelationOrWildcard ¶
func (x *RelationReference) GetRelationOrWildcard() isRelationReference_RelationOrWildcard
func (*RelationReference) GetType ¶
func (x *RelationReference) GetType() string
func (*RelationReference) GetWildcard ¶
func (x *RelationReference) GetWildcard() *Wildcard
func (*RelationReference) HasRelation ¶
func (x *RelationReference) HasRelation() bool
func (*RelationReference) HasRelationOrWildcard ¶
func (x *RelationReference) HasRelationOrWildcard() bool
func (*RelationReference) HasWildcard ¶
func (x *RelationReference) HasWildcard() bool
func (*RelationReference) ProtoMessage ¶
func (*RelationReference) ProtoMessage()
func (*RelationReference) ProtoReflect ¶
func (x *RelationReference) ProtoReflect() protoreflect.Message
func (*RelationReference) Reset ¶
func (x *RelationReference) Reset()
func (*RelationReference) SetCondition ¶
func (x *RelationReference) SetCondition(v string)
func (*RelationReference) SetRelation ¶
func (x *RelationReference) SetRelation(v string)
func (*RelationReference) SetType ¶
func (x *RelationReference) SetType(v string)
func (*RelationReference) SetWildcard ¶
func (x *RelationReference) SetWildcard(v *Wildcard)
func (*RelationReference) String ¶
func (x *RelationReference) String() string
func (*RelationReference) WhichRelationOrWildcard ¶
func (x *RelationReference) WhichRelationOrWildcard() case_RelationReference_RelationOrWildcard
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 RelationReference_builder ¶
type RelationReference_builder struct {
Type string
// Fields of oneof RelationOrWildcard:
Relation *string
Wildcard *Wildcard
// -- end of RelationOrWildcard
// The name of a condition that is enforced over the allowed relation.
Condition string
// contains filtered or unexported fields
}
func (RelationReference_builder) Build ¶
func (b0 RelationReference_builder) Build() *RelationReference
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) 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) SetDirectlyRelatedUserTypes ¶
func (x *RelationTypeInfo) SetDirectlyRelatedUserTypes(v []*RelationReference)
func (*RelationTypeInfo) String ¶
func (x *RelationTypeInfo) String() string
type RelationTypeInfo_builder ¶
type RelationTypeInfo_builder struct {
DirectlyRelatedUserTypes []*RelationReference
// contains filtered or unexported fields
}
func (RelationTypeInfo_builder) Build ¶
func (b0 RelationTypeInfo_builder) Build() *RelationTypeInfo
type Relation_builder ¶
type Relation_builder struct {
Name string
Rewrite *Userset
TypeInfo *RelationTypeInfo
// contains filtered or unexported fields
}
func (Relation_builder) Build ¶
func (b0 Relation_builder) Build() *Relation
type RelationshipCondition ¶
type RelationshipCondition struct {
// A reference (by name) of the relationship condition defined in the authorization model.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Additional context/data to persist along with the condition.
// The keys must match the parameters defined by the condition, and the value types must
// match the parameter type definitions.
Context *structpb.Struct `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*RelationshipCondition) ClearContext ¶
func (x *RelationshipCondition) ClearContext()
func (*RelationshipCondition) GetContext ¶
func (x *RelationshipCondition) GetContext() *structpb.Struct
func (*RelationshipCondition) GetName ¶
func (x *RelationshipCondition) GetName() string
func (*RelationshipCondition) HasContext ¶
func (x *RelationshipCondition) HasContext() bool
func (*RelationshipCondition) ProtoMessage ¶
func (*RelationshipCondition) ProtoMessage()
func (*RelationshipCondition) ProtoReflect ¶
func (x *RelationshipCondition) ProtoReflect() protoreflect.Message
func (*RelationshipCondition) Reset ¶
func (x *RelationshipCondition) Reset()
func (*RelationshipCondition) SetContext ¶
func (x *RelationshipCondition) SetContext(v *structpb.Struct)
func (*RelationshipCondition) SetName ¶
func (x *RelationshipCondition) SetName(v string)
func (*RelationshipCondition) String ¶
func (x *RelationshipCondition) String() string
type RelationshipCondition_builder ¶
type RelationshipCondition_builder struct {
// A reference (by name) of the relationship condition defined in the authorization model.
Name string
// Additional context/data to persist along with the condition.
// The keys must match the parameters defined by the condition, and the value types must
// match the parameter type definitions.
Context *structpb.Struct
// contains filtered or unexported fields
}
func (RelationshipCondition_builder) Build ¶
func (b0 RelationshipCondition_builder) Build() *RelationshipCondition
type SourceInfo ¶
type SourceInfo struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*SourceInfo) GetFile ¶
func (x *SourceInfo) GetFile() string
func (*SourceInfo) ProtoMessage ¶
func (*SourceInfo) ProtoMessage()
func (*SourceInfo) ProtoReflect ¶
func (x *SourceInfo) ProtoReflect() protoreflect.Message
func (*SourceInfo) Reset ¶
func (x *SourceInfo) Reset()
func (*SourceInfo) SetFile ¶
func (x *SourceInfo) SetFile(v string)
func (*SourceInfo) String ¶
func (x *SourceInfo) String() string
type SourceInfo_builder ¶
type SourceInfo_builder struct {
File string
// contains filtered or unexported fields
}
func (SourceInfo_builder) Build ¶
func (b0 SourceInfo_builder) Build() *SourceInfo
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
func (*Store) SetCreatedAt ¶
func (x *Store) SetCreatedAt(v *timestamppb.Timestamp)
func (*Store) SetDeletedAt ¶
func (x *Store) SetDeletedAt(v *timestamppb.Timestamp)
func (*Store) SetUpdatedAt ¶
func (x *Store) SetUpdatedAt(v *timestamppb.Timestamp)
type Store_builder ¶
type Store_builder struct {
Id string
Name string
CreatedAt *timestamppb.Timestamp
UpdatedAt *timestamppb.Timestamp
DeletedAt *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (Store_builder) Build ¶
func (b0 Store_builder) Build() *Store
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"`
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference `protobuf:"varint,8,opt,name=consistency,proto3,enum=openfga.v1.ConsistencyPreference" json:"consistency,omitempty"`
// contains filtered or unexported fields
}
func (*StreamedListObjectsRequest) ClearContext ¶
func (x *StreamedListObjectsRequest) ClearContext()
func (*StreamedListObjectsRequest) ClearContextualTuples ¶
func (x *StreamedListObjectsRequest) ClearContextualTuples()
func (*StreamedListObjectsRequest) GetAuthorizationModelId ¶
func (x *StreamedListObjectsRequest) GetAuthorizationModelId() string
func (*StreamedListObjectsRequest) GetConsistency ¶
func (x *StreamedListObjectsRequest) GetConsistency() ConsistencyPreference
func (*StreamedListObjectsRequest) GetContext ¶
func (x *StreamedListObjectsRequest) GetContext() *structpb.Struct
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) HasContext ¶
func (x *StreamedListObjectsRequest) HasContext() bool
func (*StreamedListObjectsRequest) HasContextualTuples ¶
func (x *StreamedListObjectsRequest) HasContextualTuples() bool
func (*StreamedListObjectsRequest) ProtoMessage ¶
func (*StreamedListObjectsRequest) ProtoMessage()
func (*StreamedListObjectsRequest) ProtoReflect ¶
func (x *StreamedListObjectsRequest) ProtoReflect() protoreflect.Message
func (*StreamedListObjectsRequest) Reset ¶
func (x *StreamedListObjectsRequest) Reset()
func (*StreamedListObjectsRequest) SetAuthorizationModelId ¶
func (x *StreamedListObjectsRequest) SetAuthorizationModelId(v string)
func (*StreamedListObjectsRequest) SetConsistency ¶
func (x *StreamedListObjectsRequest) SetConsistency(v ConsistencyPreference)
func (*StreamedListObjectsRequest) SetContext ¶
func (x *StreamedListObjectsRequest) SetContext(v *structpb.Struct)
func (*StreamedListObjectsRequest) SetContextualTuples ¶
func (x *StreamedListObjectsRequest) SetContextualTuples(v *ContextualTupleKeys)
func (*StreamedListObjectsRequest) SetRelation ¶
func (x *StreamedListObjectsRequest) SetRelation(v string)
func (*StreamedListObjectsRequest) SetStoreId ¶
func (x *StreamedListObjectsRequest) SetStoreId(v string)
func (*StreamedListObjectsRequest) SetType ¶
func (x *StreamedListObjectsRequest) SetType(v string)
func (*StreamedListObjectsRequest) SetUser ¶
func (x *StreamedListObjectsRequest) SetUser(v string)
func (*StreamedListObjectsRequest) String ¶
func (x *StreamedListObjectsRequest) String() string
type StreamedListObjectsRequest_builder ¶
type StreamedListObjectsRequest_builder struct {
StoreId string
AuthorizationModelId string
Type string
Relation string
User string
ContextualTuples *ContextualTupleKeys
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
Context *structpb.Struct
// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
Consistency ConsistencyPreference
// contains filtered or unexported fields
}
func (StreamedListObjectsRequest_builder) Build ¶
func (b0 StreamedListObjectsRequest_builder) Build() *StreamedListObjectsRequest
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) 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) SetObject ¶
func (x *StreamedListObjectsResponse) SetObject(v string)
func (*StreamedListObjectsResponse) String ¶
func (x *StreamedListObjectsResponse) String() string
type StreamedListObjectsResponse_builder ¶
type StreamedListObjectsResponse_builder struct {
Object string
// contains filtered or unexported fields
}
func (StreamedListObjectsResponse_builder) Build ¶
func (b0 StreamedListObjectsResponse_builder) Build() *StreamedListObjectsResponse
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
func (*Tuple) SetTimestamp ¶
func (x *Tuple) SetTimestamp(v *timestamppb.Timestamp)
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) ClearTimestamp ¶
func (x *TupleChange) ClearTimestamp()
func (*TupleChange) ClearTupleKey ¶
func (x *TupleChange) ClearTupleKey()
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) HasTimestamp ¶
func (x *TupleChange) HasTimestamp() bool
func (*TupleChange) HasTupleKey ¶
func (x *TupleChange) HasTupleKey() bool
func (*TupleChange) ProtoMessage ¶
func (*TupleChange) ProtoMessage()
func (*TupleChange) ProtoReflect ¶
func (x *TupleChange) ProtoReflect() protoreflect.Message
func (*TupleChange) Reset ¶
func (x *TupleChange) Reset()
func (*TupleChange) SetOperation ¶
func (x *TupleChange) SetOperation(v TupleOperation)
func (*TupleChange) SetTimestamp ¶
func (x *TupleChange) SetTimestamp(v *timestamppb.Timestamp)
func (*TupleChange) SetTupleKey ¶
func (x *TupleChange) SetTupleKey(v *TupleKey)
func (*TupleChange) String ¶
func (x *TupleChange) String() string
type TupleChange_builder ¶
type TupleChange_builder struct {
TupleKey *TupleKey
Operation TupleOperation
Timestamp *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (TupleChange_builder) Build ¶
func (b0 TupleChange_builder) Build() *TupleChange
type TupleKey ¶
type TupleKey struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
Condition *RelationshipCondition `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
// contains filtered or unexported fields
}
func (*TupleKey) GetCondition ¶
func (x *TupleKey) GetCondition() *RelationshipCondition
func (*TupleKey) ProtoReflect ¶
func (x *TupleKey) ProtoReflect() protoreflect.Message
func (*TupleKey) SetCondition ¶
func (x *TupleKey) SetCondition(v *RelationshipCondition)
type TupleKeyWithoutCondition ¶
type TupleKeyWithoutCondition struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
// contains filtered or unexported fields
}
func (*TupleKeyWithoutCondition) GetObject ¶
func (x *TupleKeyWithoutCondition) GetObject() string
func (*TupleKeyWithoutCondition) GetRelation ¶
func (x *TupleKeyWithoutCondition) GetRelation() string
func (*TupleKeyWithoutCondition) GetUser ¶
func (x *TupleKeyWithoutCondition) GetUser() string
func (*TupleKeyWithoutCondition) ProtoMessage ¶
func (*TupleKeyWithoutCondition) ProtoMessage()
func (*TupleKeyWithoutCondition) ProtoReflect ¶
func (x *TupleKeyWithoutCondition) ProtoReflect() protoreflect.Message
func (*TupleKeyWithoutCondition) Reset ¶
func (x *TupleKeyWithoutCondition) Reset()
func (*TupleKeyWithoutCondition) SetObject ¶
func (x *TupleKeyWithoutCondition) SetObject(v string)
func (*TupleKeyWithoutCondition) SetRelation ¶
func (x *TupleKeyWithoutCondition) SetRelation(v string)
func (*TupleKeyWithoutCondition) SetUser ¶
func (x *TupleKeyWithoutCondition) SetUser(v string)
func (*TupleKeyWithoutCondition) String ¶
func (x *TupleKeyWithoutCondition) String() string
type TupleKeyWithoutCondition_builder ¶
type TupleKeyWithoutCondition_builder struct {
User string
Relation string
Object string
// contains filtered or unexported fields
}
func (TupleKeyWithoutCondition_builder) Build ¶
func (b0 TupleKeyWithoutCondition_builder) Build() *TupleKeyWithoutCondition
type TupleKey_builder ¶
type TupleKey_builder struct {
User string
Relation string
Object string
Condition *RelationshipCondition
// contains filtered or unexported fields
}
func (TupleKey_builder) Build ¶
func (b0 TupleKey_builder) Build() *TupleKey
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 TupleKeys_builder ¶
type TupleKeys_builder struct {
TupleKeys []*TupleKey
// contains filtered or unexported fields
}
func (TupleKeys_builder) Build ¶
func (b0 TupleKeys_builder) Build() *TupleKeys
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) 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) ClearComputedUserset ¶
func (x *TupleToUserset) ClearComputedUserset()
func (*TupleToUserset) ClearTupleset ¶
func (x *TupleToUserset) ClearTupleset()
func (*TupleToUserset) GetComputedUserset ¶
func (x *TupleToUserset) GetComputedUserset() *ObjectRelation
func (*TupleToUserset) GetTupleset ¶
func (x *TupleToUserset) GetTupleset() *ObjectRelation
func (*TupleToUserset) HasComputedUserset ¶
func (x *TupleToUserset) HasComputedUserset() bool
func (*TupleToUserset) HasTupleset ¶
func (x *TupleToUserset) HasTupleset() bool
func (*TupleToUserset) ProtoMessage ¶
func (*TupleToUserset) ProtoMessage()
func (*TupleToUserset) ProtoReflect ¶
func (x *TupleToUserset) ProtoReflect() protoreflect.Message
func (*TupleToUserset) Reset ¶
func (x *TupleToUserset) Reset()
func (*TupleToUserset) SetComputedUserset ¶
func (x *TupleToUserset) SetComputedUserset(v *ObjectRelation)
func (*TupleToUserset) SetTupleset ¶
func (x *TupleToUserset) SetTupleset(v *ObjectRelation)
func (*TupleToUserset) String ¶
func (x *TupleToUserset) String() string
type TupleToUserset_builder ¶
type TupleToUserset_builder struct {
// The target object/relation
Tupleset *ObjectRelation
ComputedUserset *ObjectRelation
// contains filtered or unexported fields
}
func (TupleToUserset_builder) Build ¶
func (b0 TupleToUserset_builder) Build() *TupleToUserset
type Tuple_builder ¶
type Tuple_builder struct {
Key *TupleKey
Timestamp *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (Tuple_builder) Build ¶
func (b0 Tuple_builder) Build() *Tuple
type TypeDefinition ¶
type TypeDefinition struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Relations map[string]*Userset `` /* 145-byte string literal not displayed */
// A map whose keys are the name of the relation and whose value is the Metadata for that relation.
// It also holds information around the module name and source file if this model was constructed
// from a modular model.
Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
func (*TypeDefinition) ClearMetadata ¶
func (x *TypeDefinition) ClearMetadata()
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) HasMetadata ¶
func (x *TypeDefinition) HasMetadata() bool
func (*TypeDefinition) ProtoMessage ¶
func (*TypeDefinition) ProtoMessage()
func (*TypeDefinition) ProtoReflect ¶
func (x *TypeDefinition) ProtoReflect() protoreflect.Message
func (*TypeDefinition) Reset ¶
func (x *TypeDefinition) Reset()
func (*TypeDefinition) SetMetadata ¶
func (x *TypeDefinition) SetMetadata(v *Metadata)
func (*TypeDefinition) SetRelations ¶
func (x *TypeDefinition) SetRelations(v map[string]*Userset)
func (*TypeDefinition) SetType ¶
func (x *TypeDefinition) SetType(v string)
func (*TypeDefinition) String ¶
func (x *TypeDefinition) String() string
type TypeDefinition_builder ¶
type TypeDefinition_builder struct {
Type string
Relations map[string]*Userset
// A map whose keys are the name of the relation and whose value is the Metadata for that relation.
// It also holds information around the module name and source file if this model was constructed
// from a modular model.
Metadata *Metadata
// contains filtered or unexported fields
}
func (TypeDefinition_builder) Build ¶
func (b0 TypeDefinition_builder) Build() *TypeDefinition
type TypedWildcard ¶
type TypedWildcard struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
Type bound public access.
Normally represented using the `<type>:*` syntax
`employee:*` represents every object of type `employee`, including those not currently present in the system
See https://openfga.dev/docs/concepts#what-is-type-bound-public-access
func (*TypedWildcard) GetType ¶
func (x *TypedWildcard) GetType() string
func (*TypedWildcard) ProtoMessage ¶
func (*TypedWildcard) ProtoMessage()
func (*TypedWildcard) ProtoReflect ¶
func (x *TypedWildcard) ProtoReflect() protoreflect.Message
func (*TypedWildcard) Reset ¶
func (x *TypedWildcard) Reset()
func (*TypedWildcard) SetType ¶
func (x *TypedWildcard) SetType(v string)
func (*TypedWildcard) String ¶
func (x *TypedWildcard) String() string
type TypedWildcard_builder ¶
type TypedWildcard_builder struct {
Type string
// contains filtered or unexported fields
}
func (TypedWildcard_builder) Build ¶
func (b0 TypedWildcard_builder) Build() *TypedWildcard
type UnauthenticatedResponse ¶
type UnauthenticatedResponse 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 (*UnauthenticatedResponse) GetCode ¶
func (x *UnauthenticatedResponse) GetCode() ErrorCode
func (*UnauthenticatedResponse) GetMessage ¶
func (x *UnauthenticatedResponse) GetMessage() string
func (*UnauthenticatedResponse) ProtoMessage ¶
func (*UnauthenticatedResponse) ProtoMessage()
func (*UnauthenticatedResponse) ProtoReflect ¶
func (x *UnauthenticatedResponse) ProtoReflect() protoreflect.Message
func (*UnauthenticatedResponse) Reset ¶
func (x *UnauthenticatedResponse) Reset()
func (*UnauthenticatedResponse) SetCode ¶
func (x *UnauthenticatedResponse) SetCode(v ErrorCode)
func (*UnauthenticatedResponse) SetMessage ¶
func (x *UnauthenticatedResponse) SetMessage(v string)
func (*UnauthenticatedResponse) String ¶
func (x *UnauthenticatedResponse) String() string
type UnauthenticatedResponse_builder ¶
type UnauthenticatedResponse_builder struct {
Code ErrorCode
Message string
// contains filtered or unexported fields
}
func (UnauthenticatedResponse_builder) Build ¶
func (b0 UnauthenticatedResponse_builder) Build() *UnauthenticatedResponse
type UnprocessableContentErrorCode ¶
type UnprocessableContentErrorCode int32
const ( UnprocessableContentErrorCode_no_throttled_error_code UnprocessableContentErrorCode = 0 UnprocessableContentErrorCode_throttled_timeout_error UnprocessableContentErrorCode = 3500 )
func (UnprocessableContentErrorCode) Descriptor ¶
func (UnprocessableContentErrorCode) Descriptor() protoreflect.EnumDescriptor
func (UnprocessableContentErrorCode) Enum ¶
func (x UnprocessableContentErrorCode) Enum() *UnprocessableContentErrorCode
func (UnprocessableContentErrorCode) Number ¶
func (x UnprocessableContentErrorCode) Number() protoreflect.EnumNumber
func (UnprocessableContentErrorCode) String ¶
func (x UnprocessableContentErrorCode) String() string
func (UnprocessableContentErrorCode) Type ¶
func (UnprocessableContentErrorCode) Type() protoreflect.EnumType
type UnprocessableContentMessageResponse ¶
type UnprocessableContentMessageResponse struct {
Code UnprocessableContentErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=openfga.v1.UnprocessableContentErrorCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*UnprocessableContentMessageResponse) GetCode ¶
func (x *UnprocessableContentMessageResponse) GetCode() UnprocessableContentErrorCode
func (*UnprocessableContentMessageResponse) GetMessage ¶
func (x *UnprocessableContentMessageResponse) GetMessage() string
func (*UnprocessableContentMessageResponse) ProtoMessage ¶
func (*UnprocessableContentMessageResponse) ProtoMessage()
func (*UnprocessableContentMessageResponse) ProtoReflect ¶
func (x *UnprocessableContentMessageResponse) ProtoReflect() protoreflect.Message
func (*UnprocessableContentMessageResponse) Reset ¶
func (x *UnprocessableContentMessageResponse) Reset()
func (*UnprocessableContentMessageResponse) SetCode ¶
func (x *UnprocessableContentMessageResponse) SetCode(v UnprocessableContentErrorCode)
func (*UnprocessableContentMessageResponse) SetMessage ¶
func (x *UnprocessableContentMessageResponse) SetMessage(v string)
func (*UnprocessableContentMessageResponse) String ¶
func (x *UnprocessableContentMessageResponse) String() string
type UnprocessableContentMessageResponse_builder ¶
type UnprocessableContentMessageResponse_builder struct {
Code UnprocessableContentErrorCode
Message string
// contains filtered or unexported fields
}
func (UnprocessableContentMessageResponse_builder) Build ¶
func (b0 UnprocessableContentMessageResponse_builder) Build() *UnprocessableContentMessageResponse
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) 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) SetName ¶
func (x *UpdateStoreRequest) SetName(v string)
func (*UpdateStoreRequest) SetStoreId ¶
func (x *UpdateStoreRequest) SetStoreId(v string)
func (*UpdateStoreRequest) String ¶
func (x *UpdateStoreRequest) String() string
type UpdateStoreRequest_builder ¶
type UpdateStoreRequest_builder struct {
StoreId string
Name string
// contains filtered or unexported fields
}
func (UpdateStoreRequest_builder) Build ¶
func (b0 UpdateStoreRequest_builder) Build() *UpdateStoreRequest
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) ClearCreatedAt ¶
func (x *UpdateStoreResponse) ClearCreatedAt()
func (*UpdateStoreResponse) ClearUpdatedAt ¶
func (x *UpdateStoreResponse) ClearUpdatedAt()
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) HasCreatedAt ¶
func (x *UpdateStoreResponse) HasCreatedAt() bool
func (*UpdateStoreResponse) HasUpdatedAt ¶
func (x *UpdateStoreResponse) HasUpdatedAt() bool
func (*UpdateStoreResponse) ProtoMessage ¶
func (*UpdateStoreResponse) ProtoMessage()
func (*UpdateStoreResponse) ProtoReflect ¶
func (x *UpdateStoreResponse) ProtoReflect() protoreflect.Message
func (*UpdateStoreResponse) Reset ¶
func (x *UpdateStoreResponse) Reset()
func (*UpdateStoreResponse) SetCreatedAt ¶
func (x *UpdateStoreResponse) SetCreatedAt(v *timestamppb.Timestamp)
func (*UpdateStoreResponse) SetId ¶
func (x *UpdateStoreResponse) SetId(v string)
func (*UpdateStoreResponse) SetName ¶
func (x *UpdateStoreResponse) SetName(v string)
func (*UpdateStoreResponse) SetUpdatedAt ¶
func (x *UpdateStoreResponse) SetUpdatedAt(v *timestamppb.Timestamp)
func (*UpdateStoreResponse) String ¶
func (x *UpdateStoreResponse) String() string
type UpdateStoreResponse_builder ¶
type UpdateStoreResponse_builder struct {
Id string
Name string
CreatedAt *timestamppb.Timestamp
UpdatedAt *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (UpdateStoreResponse_builder) Build ¶
func (b0 UpdateStoreResponse_builder) Build() *UpdateStoreResponse
type User ¶
type User struct {
// Types that are valid to be assigned to User:
//
// *User_Object
// *User_Userset
// *User_Wildcard
User isUser_User `protobuf_oneof:"user"`
// contains filtered or unexported fields
}
User.
Represents any possible value for a user (subject or principal). Can be a: - Specific user object e.g.: 'user:will', 'folder:marketing', 'org:contoso', ...) - Specific userset (e.g. 'group:engineering#member') - Public-typed wildcard (e.g. 'user:*')
See https://openfga.dev/docs/concepts#what-is-a-user
func (*User) GetUserset ¶
func (x *User) GetUserset() *UsersetUser
func (*User) GetWildcard ¶
func (x *User) GetWildcard() *TypedWildcard
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) SetUserset ¶
func (x *User) SetUserset(v *UsersetUser)
func (*User) SetWildcard ¶
func (x *User) SetWildcard(v *TypedWildcard)
type UserTypeFilter ¶
type UserTypeFilter struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
// contains filtered or unexported fields
}
func (*UserTypeFilter) GetRelation ¶
func (x *UserTypeFilter) GetRelation() string
func (*UserTypeFilter) GetType ¶
func (x *UserTypeFilter) GetType() string
func (*UserTypeFilter) ProtoMessage ¶
func (*UserTypeFilter) ProtoMessage()
func (*UserTypeFilter) ProtoReflect ¶
func (x *UserTypeFilter) ProtoReflect() protoreflect.Message
func (*UserTypeFilter) Reset ¶
func (x *UserTypeFilter) Reset()
func (*UserTypeFilter) SetRelation ¶
func (x *UserTypeFilter) SetRelation(v string)
func (*UserTypeFilter) SetType ¶
func (x *UserTypeFilter) SetType(v string)
func (*UserTypeFilter) String ¶
func (x *UserTypeFilter) String() string
type UserTypeFilter_builder ¶
type UserTypeFilter_builder struct {
Type string
Relation string
// contains filtered or unexported fields
}
func (UserTypeFilter_builder) Build ¶
func (b0 UserTypeFilter_builder) Build() *UserTypeFilter
type User_Object ¶
type User_Object struct {
Object *Object `protobuf:"bytes,1,opt,name=object,proto3,oneof"`
}
type User_Userset ¶
type User_Userset struct {
Userset *UsersetUser `protobuf:"bytes,2,opt,name=userset,proto3,oneof"`
}
type User_Wildcard ¶
type User_Wildcard struct {
Wildcard *TypedWildcard `protobuf:"bytes,3,opt,name=wildcard,proto3,oneof"`
}
type User_builder ¶
type User_builder struct {
// Fields of oneof User:
Object *Object
Userset *UsersetUser
Wildcard *TypedWildcard
// contains filtered or unexported fields
}
func (User_builder) Build ¶
func (b0 User_builder) Build() *User
type Userset ¶
type Userset struct {
// Types that are valid to be assigned 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
func (*Userset) SetComputedUserset ¶
func (x *Userset) SetComputedUserset(v *ObjectRelation)
func (*Userset) SetDifference ¶
func (x *Userset) SetDifference(v *Difference)
func (*Userset) SetThis ¶
func (x *Userset) SetThis(v *DirectUserset)
func (*Userset) SetTupleToUserset ¶
func (x *Userset) SetTupleToUserset(v *TupleToUserset)
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) ClearRoot ¶
func (x *UsersetTree) ClearRoot()
func (*UsersetTree) GetRoot ¶
func (x *UsersetTree) GetRoot() *UsersetTree_Node
func (*UsersetTree) HasRoot ¶
func (x *UsersetTree) HasRoot() bool
func (*UsersetTree) ProtoMessage ¶
func (*UsersetTree) ProtoMessage()
func (*UsersetTree) ProtoReflect ¶
func (x *UsersetTree) ProtoReflect() protoreflect.Message
func (*UsersetTree) Reset ¶
func (x *UsersetTree) Reset()
func (*UsersetTree) SetRoot ¶
func (x *UsersetTree) SetRoot(v *UsersetTree_Node)
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) 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) SetUserset ¶
func (x *UsersetTree_Computed) SetUserset(v string)
func (*UsersetTree_Computed) String ¶
func (x *UsersetTree_Computed) String() string
type UsersetTree_Computed_builder ¶
type UsersetTree_Computed_builder struct {
Userset string
// contains filtered or unexported fields
}
func (UsersetTree_Computed_builder) Build ¶
func (b0 UsersetTree_Computed_builder) Build() *UsersetTree_Computed
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) ClearBase ¶
func (x *UsersetTree_Difference) ClearBase()
func (*UsersetTree_Difference) ClearSubtract ¶
func (x *UsersetTree_Difference) ClearSubtract()
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) HasBase ¶
func (x *UsersetTree_Difference) HasBase() bool
func (*UsersetTree_Difference) HasSubtract ¶
func (x *UsersetTree_Difference) HasSubtract() bool
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) SetBase ¶
func (x *UsersetTree_Difference) SetBase(v *UsersetTree_Node)
func (*UsersetTree_Difference) SetSubtract ¶
func (x *UsersetTree_Difference) SetSubtract(v *UsersetTree_Node)
func (*UsersetTree_Difference) String ¶
func (x *UsersetTree_Difference) String() string
type UsersetTree_Difference_builder ¶
type UsersetTree_Difference_builder struct {
Base *UsersetTree_Node
Subtract *UsersetTree_Node
// contains filtered or unexported fields
}
func (UsersetTree_Difference_builder) Build ¶
func (b0 UsersetTree_Difference_builder) Build() *UsersetTree_Difference
type UsersetTree_Leaf ¶
type UsersetTree_Leaf struct {
// Types that are valid to be assigned 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) ClearComputed ¶
func (x *UsersetTree_Leaf) ClearComputed()
func (*UsersetTree_Leaf) ClearTupleToUserset ¶
func (x *UsersetTree_Leaf) ClearTupleToUserset()
func (*UsersetTree_Leaf) ClearUsers ¶
func (x *UsersetTree_Leaf) ClearUsers()
func (*UsersetTree_Leaf) ClearValue ¶
func (x *UsersetTree_Leaf) ClearValue()
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 (x *UsersetTree_Leaf) GetValue() isUsersetTree_Leaf_Value
func (*UsersetTree_Leaf) HasComputed ¶
func (x *UsersetTree_Leaf) HasComputed() bool
func (*UsersetTree_Leaf) HasTupleToUserset ¶
func (x *UsersetTree_Leaf) HasTupleToUserset() bool
func (*UsersetTree_Leaf) HasUsers ¶
func (x *UsersetTree_Leaf) HasUsers() bool
func (*UsersetTree_Leaf) HasValue ¶
func (x *UsersetTree_Leaf) HasValue() bool
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) SetComputed ¶
func (x *UsersetTree_Leaf) SetComputed(v *UsersetTree_Computed)
func (*UsersetTree_Leaf) SetTupleToUserset ¶
func (x *UsersetTree_Leaf) SetTupleToUserset(v *UsersetTree_TupleToUserset)
func (*UsersetTree_Leaf) SetUsers ¶
func (x *UsersetTree_Leaf) SetUsers(v *UsersetTree_Users)
func (*UsersetTree_Leaf) String ¶
func (x *UsersetTree_Leaf) String() string
func (*UsersetTree_Leaf) WhichValue ¶
func (x *UsersetTree_Leaf) WhichValue() case_UsersetTree_Leaf_Value
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_Leaf_builder ¶
type UsersetTree_Leaf_builder struct {
// Fields of oneof Value:
Users *UsersetTree_Users
Computed *UsersetTree_Computed
TupleToUserset *UsersetTree_TupleToUserset
// contains filtered or unexported fields
}
func (UsersetTree_Leaf_builder) Build ¶
func (b0 UsersetTree_Leaf_builder) Build() *UsersetTree_Leaf
type UsersetTree_Node ¶
type UsersetTree_Node struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Types that are valid to be assigned 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) ClearDifference ¶
func (x *UsersetTree_Node) ClearDifference()
func (*UsersetTree_Node) ClearIntersection ¶
func (x *UsersetTree_Node) ClearIntersection()
func (*UsersetTree_Node) ClearLeaf ¶
func (x *UsersetTree_Node) ClearLeaf()
func (*UsersetTree_Node) ClearUnion ¶
func (x *UsersetTree_Node) ClearUnion()
func (*UsersetTree_Node) ClearValue ¶
func (x *UsersetTree_Node) ClearValue()
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 (x *UsersetTree_Node) GetValue() isUsersetTree_Node_Value
func (*UsersetTree_Node) HasDifference ¶
func (x *UsersetTree_Node) HasDifference() bool
func (*UsersetTree_Node) HasIntersection ¶
func (x *UsersetTree_Node) HasIntersection() bool
func (*UsersetTree_Node) HasLeaf ¶
func (x *UsersetTree_Node) HasLeaf() bool
func (*UsersetTree_Node) HasUnion ¶
func (x *UsersetTree_Node) HasUnion() bool
func (*UsersetTree_Node) HasValue ¶
func (x *UsersetTree_Node) HasValue() bool
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) SetDifference ¶
func (x *UsersetTree_Node) SetDifference(v *UsersetTree_Difference)
func (*UsersetTree_Node) SetIntersection ¶
func (x *UsersetTree_Node) SetIntersection(v *UsersetTree_Nodes)
func (*UsersetTree_Node) SetLeaf ¶
func (x *UsersetTree_Node) SetLeaf(v *UsersetTree_Leaf)
func (*UsersetTree_Node) SetName ¶
func (x *UsersetTree_Node) SetName(v string)
func (*UsersetTree_Node) SetUnion ¶
func (x *UsersetTree_Node) SetUnion(v *UsersetTree_Nodes)
func (*UsersetTree_Node) String ¶
func (x *UsersetTree_Node) String() string
func (*UsersetTree_Node) WhichValue ¶
func (x *UsersetTree_Node) WhichValue() case_UsersetTree_Node_Value
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_Node_builder ¶
type UsersetTree_Node_builder struct {
Name string
// Fields of oneof Value:
Leaf *UsersetTree_Leaf
Difference *UsersetTree_Difference
Union *UsersetTree_Nodes
Intersection *UsersetTree_Nodes
// contains filtered or unexported fields
}
func (UsersetTree_Node_builder) Build ¶
func (b0 UsersetTree_Node_builder) Build() *UsersetTree_Node
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) 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) SetNodes ¶
func (x *UsersetTree_Nodes) SetNodes(v []*UsersetTree_Node)
func (*UsersetTree_Nodes) String ¶
func (x *UsersetTree_Nodes) String() string
type UsersetTree_Nodes_builder ¶
type UsersetTree_Nodes_builder struct {
Nodes []*UsersetTree_Node
// contains filtered or unexported fields
}
func (UsersetTree_Nodes_builder) Build ¶
func (b0 UsersetTree_Nodes_builder) Build() *UsersetTree_Nodes
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) 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) SetComputed ¶
func (x *UsersetTree_TupleToUserset) SetComputed(v []*UsersetTree_Computed)
func (*UsersetTree_TupleToUserset) SetTupleset ¶
func (x *UsersetTree_TupleToUserset) SetTupleset(v string)
func (*UsersetTree_TupleToUserset) String ¶
func (x *UsersetTree_TupleToUserset) String() string
type UsersetTree_TupleToUserset_builder ¶
type UsersetTree_TupleToUserset_builder struct {
Tupleset string
Computed []*UsersetTree_Computed
// contains filtered or unexported fields
}
func (UsersetTree_TupleToUserset_builder) Build ¶
func (b0 UsersetTree_TupleToUserset_builder) Build() *UsersetTree_TupleToUserset
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) 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) SetUsers ¶
func (x *UsersetTree_Users) SetUsers(v []string)
func (*UsersetTree_Users) String ¶
func (x *UsersetTree_Users) String() string
type UsersetTree_Users_builder ¶
type UsersetTree_Users_builder struct {
Users []string
// contains filtered or unexported fields
}
func (UsersetTree_Users_builder) Build ¶
func (b0 UsersetTree_Users_builder) Build() *UsersetTree_Users
type UsersetTree_builder ¶
type UsersetTree_builder struct {
Root *UsersetTree_Node
// contains filtered or unexported fields
}
func (UsersetTree_builder) Build ¶
func (b0 UsersetTree_builder) Build() *UsersetTree
type UsersetUser ¶
type UsersetUser 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"`
Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
// contains filtered or unexported fields
}
Userset.
A set or group of users, represented in the `<type>:<id>#<relation>` format
`group:fga#member` represents all members of group FGA, not to be confused by `group:fga` which represents the group itself as a specific object.
See: https://openfga.dev/docs/modeling/building-blocks/usersets#what-is-a-userset
func (*UsersetUser) GetId ¶
func (x *UsersetUser) GetId() string
func (*UsersetUser) GetRelation ¶
func (x *UsersetUser) GetRelation() string
func (*UsersetUser) GetType ¶
func (x *UsersetUser) GetType() string
func (*UsersetUser) ProtoMessage ¶
func (*UsersetUser) ProtoMessage()
func (*UsersetUser) ProtoReflect ¶
func (x *UsersetUser) ProtoReflect() protoreflect.Message
func (*UsersetUser) Reset ¶
func (x *UsersetUser) Reset()
func (*UsersetUser) SetId ¶
func (x *UsersetUser) SetId(v string)
func (*UsersetUser) SetRelation ¶
func (x *UsersetUser) SetRelation(v string)
func (*UsersetUser) SetType ¶
func (x *UsersetUser) SetType(v string)
func (*UsersetUser) String ¶
func (x *UsersetUser) String() string
type UsersetUser_builder ¶
type UsersetUser_builder struct {
Type string
Id string
Relation string
// contains filtered or unexported fields
}
func (UsersetUser_builder) Build ¶
func (b0 UsersetUser_builder) Build() *UsersetUser
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 Userset_builder ¶
type Userset_builder struct {
// Fields of oneof Userset:
This *DirectUserset
ComputedUserset *ObjectRelation
TupleToUserset *TupleToUserset
Union *Usersets
Intersection *Usersets
Difference *Difference
// contains filtered or unexported fields
}
func (Userset_builder) Build ¶
func (b0 Userset_builder) Build() *Userset
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 Usersets_builder ¶
type Usersets_builder struct {
Child []*Userset
// contains filtered or unexported fields
}
func (Usersets_builder) Build ¶
func (b0 Usersets_builder) Build() *Usersets
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) 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) SetCode ¶
func (x *ValidationErrorMessageResponse) SetCode(v ErrorCode)
func (*ValidationErrorMessageResponse) SetMessage ¶
func (x *ValidationErrorMessageResponse) SetMessage(v string)
func (*ValidationErrorMessageResponse) String ¶
func (x *ValidationErrorMessageResponse) String() string
type ValidationErrorMessageResponse_builder ¶
type ValidationErrorMessageResponse_builder struct {
Code ErrorCode
Message string
// contains filtered or unexported fields
}
func (ValidationErrorMessageResponse_builder) Build ¶
func (b0 ValidationErrorMessageResponse_builder) Build() *ValidationErrorMessageResponse
type Wildcard ¶
type Wildcard struct {
// contains filtered or unexported fields
}
func (*Wildcard) ProtoReflect ¶
func (x *Wildcard) ProtoReflect() protoreflect.Message
type Wildcard_builder ¶
type Wildcard_builder struct {
// contains filtered or unexported fields
}
func (Wildcard_builder) Build ¶
func (b0 Wildcard_builder) Build() *Wildcard
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) 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) SetAssertions ¶
func (x *WriteAssertionsRequest) SetAssertions(v []*Assertion)
func (*WriteAssertionsRequest) SetAuthorizationModelId ¶
func (x *WriteAssertionsRequest) SetAuthorizationModelId(v string)
func (*WriteAssertionsRequest) SetStoreId ¶
func (x *WriteAssertionsRequest) SetStoreId(v string)
func (*WriteAssertionsRequest) String ¶
func (x *WriteAssertionsRequest) String() string
type WriteAssertionsRequest_builder ¶
type WriteAssertionsRequest_builder struct {
StoreId string
AuthorizationModelId string
Assertions []*Assertion
// contains filtered or unexported fields
}
func (WriteAssertionsRequest_builder) Build ¶
func (b0 WriteAssertionsRequest_builder) Build() *WriteAssertionsRequest
type WriteAssertionsResponse ¶
type WriteAssertionsResponse struct {
// contains filtered or unexported fields
}
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 WriteAssertionsResponse_builder ¶
type WriteAssertionsResponse_builder struct {
// contains filtered or unexported fields
}
func (WriteAssertionsResponse_builder) Build ¶
func (b0 WriteAssertionsResponse_builder) Build() *WriteAssertionsResponse
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"`
Conditions map[string]*Condition `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*WriteAuthorizationModelRequest) GetConditions ¶
func (x *WriteAuthorizationModelRequest) GetConditions() map[string]*Condition
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) SetConditions ¶
func (x *WriteAuthorizationModelRequest) SetConditions(v map[string]*Condition)
func (*WriteAuthorizationModelRequest) SetSchemaVersion ¶
func (x *WriteAuthorizationModelRequest) SetSchemaVersion(v string)
func (*WriteAuthorizationModelRequest) SetStoreId ¶
func (x *WriteAuthorizationModelRequest) SetStoreId(v string)
func (*WriteAuthorizationModelRequest) SetTypeDefinitions ¶
func (x *WriteAuthorizationModelRequest) SetTypeDefinitions(v []*TypeDefinition)
func (*WriteAuthorizationModelRequest) String ¶
func (x *WriteAuthorizationModelRequest) String() string
type WriteAuthorizationModelRequest_builder ¶
type WriteAuthorizationModelRequest_builder struct {
StoreId string
TypeDefinitions []*TypeDefinition
SchemaVersion string
Conditions map[string]*Condition
// contains filtered or unexported fields
}
func (WriteAuthorizationModelRequest_builder) Build ¶
func (b0 WriteAuthorizationModelRequest_builder) Build() *WriteAuthorizationModelRequest
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) 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) SetAuthorizationModelId ¶
func (x *WriteAuthorizationModelResponse) SetAuthorizationModelId(v string)
func (*WriteAuthorizationModelResponse) String ¶
func (x *WriteAuthorizationModelResponse) String() string
type WriteAuthorizationModelResponse_builder ¶
type WriteAuthorizationModelResponse_builder struct {
AuthorizationModelId string
// contains filtered or unexported fields
}
func (WriteAuthorizationModelResponse_builder) Build ¶
func (b0 WriteAuthorizationModelResponse_builder) Build() *WriteAuthorizationModelResponse
type WriteRequest ¶
type WriteRequest struct {
StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
Writes *WriteRequestWrites `protobuf:"bytes,2,opt,name=writes,proto3" json:"writes,omitempty"`
Deletes *WriteRequestDeletes `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) ClearDeletes ¶
func (x *WriteRequest) ClearDeletes()
func (*WriteRequest) ClearWrites ¶
func (x *WriteRequest) ClearWrites()
func (*WriteRequest) GetAuthorizationModelId ¶
func (x *WriteRequest) GetAuthorizationModelId() string
func (*WriteRequest) GetDeletes ¶
func (x *WriteRequest) GetDeletes() *WriteRequestDeletes
func (*WriteRequest) GetStoreId ¶
func (x *WriteRequest) GetStoreId() string
func (*WriteRequest) GetWrites ¶
func (x *WriteRequest) GetWrites() *WriteRequestWrites
func (*WriteRequest) HasDeletes ¶
func (x *WriteRequest) HasDeletes() bool
func (*WriteRequest) HasWrites ¶
func (x *WriteRequest) HasWrites() bool
func (*WriteRequest) ProtoMessage ¶
func (*WriteRequest) ProtoMessage()
func (*WriteRequest) ProtoReflect ¶
func (x *WriteRequest) ProtoReflect() protoreflect.Message
func (*WriteRequest) Reset ¶
func (x *WriteRequest) Reset()
func (*WriteRequest) SetAuthorizationModelId ¶
func (x *WriteRequest) SetAuthorizationModelId(v string)
func (*WriteRequest) SetDeletes ¶
func (x *WriteRequest) SetDeletes(v *WriteRequestDeletes)
func (*WriteRequest) SetStoreId ¶
func (x *WriteRequest) SetStoreId(v string)
func (*WriteRequest) SetWrites ¶
func (x *WriteRequest) SetWrites(v *WriteRequestWrites)
func (*WriteRequest) String ¶
func (x *WriteRequest) String() string
type WriteRequestDeletes ¶
type WriteRequestDeletes struct {
TupleKeys []*TupleKeyWithoutCondition `protobuf:"bytes,1,rep,name=tuple_keys,proto3" json:"tuple_keys,omitempty"`
OnMissing string `protobuf:"bytes,2,opt,name=on_missing,proto3" json:"on_missing,omitempty"`
// contains filtered or unexported fields
}
func (*WriteRequestDeletes) GetOnMissing ¶
func (x *WriteRequestDeletes) GetOnMissing() string
func (*WriteRequestDeletes) GetTupleKeys ¶
func (x *WriteRequestDeletes) GetTupleKeys() []*TupleKeyWithoutCondition
func (*WriteRequestDeletes) ProtoMessage ¶
func (*WriteRequestDeletes) ProtoMessage()
func (*WriteRequestDeletes) ProtoReflect ¶
func (x *WriteRequestDeletes) ProtoReflect() protoreflect.Message
func (*WriteRequestDeletes) Reset ¶
func (x *WriteRequestDeletes) Reset()
func (*WriteRequestDeletes) SetOnMissing ¶
func (x *WriteRequestDeletes) SetOnMissing(v string)
func (*WriteRequestDeletes) SetTupleKeys ¶
func (x *WriteRequestDeletes) SetTupleKeys(v []*TupleKeyWithoutCondition)
func (*WriteRequestDeletes) String ¶
func (x *WriteRequestDeletes) String() string
type WriteRequestDeletes_builder ¶
type WriteRequestDeletes_builder struct {
TupleKeys []*TupleKeyWithoutCondition
OnMissing string
// contains filtered or unexported fields
}
func (WriteRequestDeletes_builder) Build ¶
func (b0 WriteRequestDeletes_builder) Build() *WriteRequestDeletes
type WriteRequestWrites ¶
type WriteRequestWrites struct {
TupleKeys []*TupleKey `protobuf:"bytes,1,rep,name=tuple_keys,proto3" json:"tuple_keys,omitempty"`
OnDuplicate string `protobuf:"bytes,2,opt,name=on_duplicate,proto3" json:"on_duplicate,omitempty"`
// contains filtered or unexported fields
}
func (*WriteRequestWrites) GetOnDuplicate ¶
func (x *WriteRequestWrites) GetOnDuplicate() string
func (*WriteRequestWrites) GetTupleKeys ¶
func (x *WriteRequestWrites) GetTupleKeys() []*TupleKey
func (*WriteRequestWrites) ProtoMessage ¶
func (*WriteRequestWrites) ProtoMessage()
func (*WriteRequestWrites) ProtoReflect ¶
func (x *WriteRequestWrites) ProtoReflect() protoreflect.Message
func (*WriteRequestWrites) Reset ¶
func (x *WriteRequestWrites) Reset()
func (*WriteRequestWrites) SetOnDuplicate ¶
func (x *WriteRequestWrites) SetOnDuplicate(v string)
func (*WriteRequestWrites) SetTupleKeys ¶
func (x *WriteRequestWrites) SetTupleKeys(v []*TupleKey)
func (*WriteRequestWrites) String ¶
func (x *WriteRequestWrites) String() string
type WriteRequestWrites_builder ¶
type WriteRequestWrites_builder struct {
TupleKeys []*TupleKey
OnDuplicate string
// contains filtered or unexported fields
}
func (WriteRequestWrites_builder) Build ¶
func (b0 WriteRequestWrites_builder) Build() *WriteRequestWrites
type WriteRequest_builder ¶
type WriteRequest_builder struct {
StoreId string
Writes *WriteRequestWrites
Deletes *WriteRequestDeletes
AuthorizationModelId string
// contains filtered or unexported fields
}
func (WriteRequest_builder) Build ¶
func (b0 WriteRequest_builder) Build() *WriteRequest
type WriteResponse ¶
type WriteResponse struct {
// contains filtered or unexported fields
}
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
type WriteResponse_builder ¶
type WriteResponse_builder struct {
// contains filtered or unexported fields
}
func (WriteResponse_builder) Build ¶
func (b0 WriteResponse_builder) Build() *WriteResponse
Source Files
¶
- authzmodel.pb.go
- errors_ignore.pb.go
- openapi.pb.go
- openfga.pb.go
- openfga_service.pb.go
- openfga_service_consistency.pb.go