Documentation ¶
Index ¶
- Variables
- type Flagdeprecated
- type Objectdeprecated
- func (*Object) Descriptor() ([]byte, []int)deprecated
- func (x *Object) GetCreatedAt() *timestamppb.Timestamp
- func (x *Object) GetDisplayName() string
- func (x *Object) GetHash() string
- func (x *Object) GetKey() string
- func (x *Object) GetProperties() *structpb.Struct
- func (x *Object) GetType() string
- func (x *Object) GetUpdatedAt() *timestamppb.Timestamp
- func (*Object) ProtoMessage()
- func (x *Object) ProtoReflect() protoreflect.Message
- func (x *Object) Reset()
- func (x *Object) String() string
- type ObjectDependencydeprecated
- func (*ObjectDependency) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectDependency) GetDepth() int32
- func (x *ObjectDependency) GetIsCycle() bool
- func (x *ObjectDependency) GetObjectKey() string
- func (x *ObjectDependency) GetObjectType() string
- func (x *ObjectDependency) GetPath() []string
- func (x *ObjectDependency) GetRelation() string
- func (x *ObjectDependency) GetSubjectKey() string
- func (x *ObjectDependency) GetSubjectType() string
- func (*ObjectDependency) ProtoMessage()
- func (x *ObjectDependency) ProtoReflect() protoreflect.Message
- func (x *ObjectDependency) Reset()
- func (x *ObjectDependency) String() string
- type ObjectIdentifierdeprecated
- func (*ObjectIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectIdentifier) GetKey() string
- func (x *ObjectIdentifier) GetType() string
- func (*ObjectIdentifier) ProtoMessage()
- func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message
- func (x *ObjectIdentifier) Reset()
- func (x *ObjectIdentifier) String() string
- type ObjectTypedeprecated
- func (*ObjectType) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectType) GetCreatedAt() *timestamppb.Timestamp
- func (x *ObjectType) GetDisplayName() string
- func (x *ObjectType) GetHash() string
- func (x *ObjectType) GetIsSubject() bool
- func (x *ObjectType) GetName() string
- func (x *ObjectType) GetOrdinal() int32
- func (x *ObjectType) GetSchema() *structpb.Struct
- func (x *ObjectType) GetStatus() uint32
- func (x *ObjectType) GetUpdatedAt() *timestamppb.Timestamp
- func (*ObjectType) ProtoMessage()
- func (x *ObjectType) ProtoReflect() protoreflect.Message
- func (x *ObjectType) Reset()
- func (x *ObjectType) String() string
- type ObjectTypeIdentifierdeprecated
- func (*ObjectTypeIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectTypeIdentifier) GetName() string
- func (*ObjectTypeIdentifier) ProtoMessage()
- func (x *ObjectTypeIdentifier) ProtoReflect() protoreflect.Message
- func (x *ObjectTypeIdentifier) Reset()
- func (x *ObjectTypeIdentifier) String() string
- type PaginationRequestdeprecated
- func (*PaginationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationRequest) GetSize() int32
- func (x *PaginationRequest) GetToken() string
- func (*PaginationRequest) ProtoMessage()
- func (x *PaginationRequest) ProtoReflect() protoreflect.Message
- func (x *PaginationRequest) Reset()
- func (x *PaginationRequest) String() string
- type PaginationResponsedeprecated
- func (*PaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationResponse) GetNextToken() string
- func (x *PaginationResponse) GetResultSize() int32
- func (*PaginationResponse) ProtoMessage()
- func (x *PaginationResponse) ProtoReflect() protoreflect.Message
- func (x *PaginationResponse) Reset()
- func (x *PaginationResponse) String() string
- type Permissiondeprecated
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetCreatedAt() *timestamppb.Timestamp
- func (x *Permission) GetDisplayName() string
- func (x *Permission) GetHash() string
- func (x *Permission) GetName() string
- func (x *Permission) GetUpdatedAt() *timestamppb.Timestamp
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- type PermissionIdentifierdeprecated
- func (*PermissionIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionIdentifier) GetName() string
- func (*PermissionIdentifier) ProtoMessage()
- func (x *PermissionIdentifier) ProtoReflect() protoreflect.Message
- func (x *PermissionIdentifier) Reset()
- func (x *PermissionIdentifier) String() string
- type Relationdeprecated
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetCreatedAt() *timestamppb.Timestamp
- func (x *Relation) GetHash() string
- func (x *Relation) GetObject() *ObjectIdentifier
- func (x *Relation) GetRelation() string
- func (x *Relation) GetSubject() *ObjectIdentifier
- func (x *Relation) GetUpdatedAt() *timestamppb.Timestamp
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) String() string
- type RelationIdentifierdeprecated
- func (*RelationIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *RelationIdentifier) GetObject() *ObjectIdentifier
- func (x *RelationIdentifier) GetRelation() *RelationTypeIdentifier
- func (x *RelationIdentifier) GetSubject() *ObjectIdentifier
- func (*RelationIdentifier) ProtoMessage()
- func (x *RelationIdentifier) ProtoReflect() protoreflect.Message
- func (x *RelationIdentifier) Reset()
- func (x *RelationIdentifier) String() string
- type RelationTypedeprecated
- func (*RelationType) Descriptor() ([]byte, []int)deprecated
- func (x *RelationType) GetCreatedAt() *timestamppb.Timestamp
- func (x *RelationType) GetDisplayName() string
- func (x *RelationType) GetHash() string
- func (x *RelationType) GetName() string
- func (x *RelationType) GetObjectType() string
- func (x *RelationType) GetOrdinal() int32
- func (x *RelationType) GetPermissions() []string
- func (x *RelationType) GetStatus() uint32
- func (x *RelationType) GetUnions() []string
- func (x *RelationType) GetUpdatedAt() *timestamppb.Timestamp
- func (*RelationType) ProtoMessage()
- func (x *RelationType) ProtoReflect() protoreflect.Message
- func (x *RelationType) Reset()
- func (x *RelationType) String() string
- type RelationTypeIdentifierdeprecated
- func (*RelationTypeIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTypeIdentifier) GetName() string
- func (x *RelationTypeIdentifier) GetObjectType() string
- func (*RelationTypeIdentifier) ProtoMessage()
- func (x *RelationTypeIdentifier) ProtoReflect() protoreflect.Message
- func (x *RelationTypeIdentifier) Reset()
- func (x *RelationTypeIdentifier) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Flag_name = map[int32]string{ 0: "FLAG_UNKNOWN", 1: "FLAG_HIDDEN", 2: "FLAG_READONLY", 4: "FLAG_SYSTEM", 8: "FLAG_SHADOW", } Flag_value = map[string]int32{ "FLAG_UNKNOWN": 0, "FLAG_HIDDEN": 1, "FLAG_READONLY": 2, "FLAG_SYSTEM": 4, "FLAG_SHADOW": 8, } )
Enum value maps for Flag.
var File_aserto_directory_common_v2_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Flag
deprecated
type Flag int32
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (Flag) Descriptor ¶
func (Flag) Descriptor() protoreflect.EnumDescriptor
func (Flag) EnumDescriptor
deprecated
func (Flag) Number ¶
func (x Flag) Number() protoreflect.EnumNumber
func (Flag) Type ¶
func (Flag) Type() protoreflect.EnumType
type Object
deprecated
type Object struct { // external object key (cs-string) Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // object type name Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // display name object DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // property bag Properties *structpb.Struct `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"` // created at timestamp (UTC) CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // last updated timestamp (UTC) UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // object instance hash Hash string `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*Object) Descriptor
deprecated
func (*Object) GetCreatedAt ¶
func (x *Object) GetCreatedAt() *timestamppb.Timestamp
func (*Object) GetDisplayName ¶
func (*Object) GetProperties ¶
func (*Object) GetUpdatedAt ¶
func (x *Object) GetUpdatedAt() *timestamppb.Timestamp
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶
func (x *Object) ProtoReflect() protoreflect.Message
type ObjectDependency
deprecated
type ObjectDependency struct { // object type name of source object ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` // object search key of source object ObjectKey string `protobuf:"bytes,4,opt,name=object_key,json=objectKey,proto3" json:"object_key,omitempty"` // relation identifier Relation string `protobuf:"bytes,5,opt,name=relation,proto3" json:"relation,omitempty"` // object type id of target object SubjectType string `protobuf:"bytes,7,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` // object search key of target object SubjectKey string `protobuf:"bytes,10,opt,name=subject_key,json=subjectKey,proto3" json:"subject_key,omitempty"` // dependency depth Depth int32 `protobuf:"varint,11,opt,name=depth,proto3" json:"depth,omitempty"` // dependency cycle IsCycle bool `protobuf:"varint,12,opt,name=is_cycle,json=isCycle,proto3" json:"is_cycle,omitempty"` // dependency path Path []string `protobuf:"bytes,13,rep,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*ObjectDependency) Descriptor
deprecated
func (*ObjectDependency) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDependency.ProtoReflect.Descriptor instead.
func (*ObjectDependency) GetDepth ¶
func (x *ObjectDependency) GetDepth() int32
func (*ObjectDependency) GetIsCycle ¶
func (x *ObjectDependency) GetIsCycle() bool
func (*ObjectDependency) GetObjectKey ¶
func (x *ObjectDependency) GetObjectKey() string
func (*ObjectDependency) GetObjectType ¶
func (x *ObjectDependency) GetObjectType() string
func (*ObjectDependency) GetPath ¶
func (x *ObjectDependency) GetPath() []string
func (*ObjectDependency) GetRelation ¶
func (x *ObjectDependency) GetRelation() string
func (*ObjectDependency) GetSubjectKey ¶
func (x *ObjectDependency) GetSubjectKey() string
func (*ObjectDependency) GetSubjectType ¶
func (x *ObjectDependency) GetSubjectType() string
func (*ObjectDependency) ProtoMessage ¶
func (*ObjectDependency) ProtoMessage()
func (*ObjectDependency) ProtoReflect ¶
func (x *ObjectDependency) ProtoReflect() protoreflect.Message
func (*ObjectDependency) Reset ¶
func (x *ObjectDependency) Reset()
func (*ObjectDependency) String ¶
func (x *ObjectDependency) String() string
type ObjectIdentifier
deprecated
type ObjectIdentifier struct { // object type Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // external object key (cs-string) Key *string `protobuf:"bytes,3,opt,name=key,proto3,oneof" json:"key,omitempty"` // contains filtered or unexported fields }
Object identifier
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*ObjectIdentifier) Descriptor
deprecated
func (*ObjectIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ObjectIdentifier.ProtoReflect.Descriptor instead.
func (*ObjectIdentifier) GetKey ¶
func (x *ObjectIdentifier) GetKey() string
func (*ObjectIdentifier) GetType ¶
func (x *ObjectIdentifier) GetType() string
func (*ObjectIdentifier) ProtoMessage ¶
func (*ObjectIdentifier) ProtoMessage()
func (*ObjectIdentifier) ProtoReflect ¶
func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message
func (*ObjectIdentifier) Reset ¶
func (x *ObjectIdentifier) Reset()
func (*ObjectIdentifier) String ¶
func (x *ObjectIdentifier) String() string
type ObjectType
deprecated
type ObjectType struct { // object type name (unique, lc-string) Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // object type display name DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // object type is a subject (user|group) (default false) IsSubject bool `protobuf:"varint,4,opt,name=is_subject,json=isSubject,proto3" json:"is_subject,omitempty"` // sort ordinal (default 0) Ordinal int32 `protobuf:"varint,5,opt,name=ordinal,proto3" json:"ordinal,omitempty"` // status flag bitmap (default 0) Status uint32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` // object type schema definition (JSON) Schema *structpb.Struct `protobuf:"bytes,10,opt,name=schema,proto3" json:"schema,omitempty"` // created at timestamp (UTC) CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // last updated timestamp (UTC) UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // object instance hash Hash string `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*ObjectType) Descriptor
deprecated
func (*ObjectType) Descriptor() ([]byte, []int)
Deprecated: Use ObjectType.ProtoReflect.Descriptor instead.
func (*ObjectType) GetCreatedAt ¶
func (x *ObjectType) GetCreatedAt() *timestamppb.Timestamp
func (*ObjectType) GetDisplayName ¶
func (x *ObjectType) GetDisplayName() string
func (*ObjectType) GetHash ¶
func (x *ObjectType) GetHash() string
func (*ObjectType) GetIsSubject ¶
func (x *ObjectType) GetIsSubject() bool
func (*ObjectType) GetName ¶
func (x *ObjectType) GetName() string
func (*ObjectType) GetOrdinal ¶
func (x *ObjectType) GetOrdinal() int32
func (*ObjectType) GetSchema ¶
func (x *ObjectType) GetSchema() *structpb.Struct
func (*ObjectType) GetStatus ¶
func (x *ObjectType) GetStatus() uint32
func (*ObjectType) GetUpdatedAt ¶
func (x *ObjectType) GetUpdatedAt() *timestamppb.Timestamp
func (*ObjectType) ProtoMessage ¶
func (*ObjectType) ProtoMessage()
func (*ObjectType) ProtoReflect ¶
func (x *ObjectType) ProtoReflect() protoreflect.Message
func (*ObjectType) Reset ¶
func (x *ObjectType) Reset()
func (*ObjectType) String ¶
func (x *ObjectType) String() string
type ObjectTypeIdentifier
deprecated
type ObjectTypeIdentifier struct { // object type name (unique, lc-string) Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
ObjectType identifier
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*ObjectTypeIdentifier) Descriptor
deprecated
func (*ObjectTypeIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ObjectTypeIdentifier.ProtoReflect.Descriptor instead.
func (*ObjectTypeIdentifier) GetName ¶
func (x *ObjectTypeIdentifier) GetName() string
func (*ObjectTypeIdentifier) ProtoMessage ¶
func (*ObjectTypeIdentifier) ProtoMessage()
func (*ObjectTypeIdentifier) ProtoReflect ¶
func (x *ObjectTypeIdentifier) ProtoReflect() protoreflect.Message
func (*ObjectTypeIdentifier) Reset ¶
func (x *ObjectTypeIdentifier) Reset()
func (*ObjectTypeIdentifier) String ¶
func (x *ObjectTypeIdentifier) String() string
type PaginationRequest
deprecated
type PaginationRequest struct { // requested page size, valid value between 1-100 rows (default 100) Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // pagination start token, default "" Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
Pagination request
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*PaginationRequest) Descriptor
deprecated
func (*PaginationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.
func (*PaginationRequest) GetSize ¶
func (x *PaginationRequest) GetSize() int32
func (*PaginationRequest) GetToken ¶
func (x *PaginationRequest) GetToken() string
func (*PaginationRequest) ProtoMessage ¶
func (*PaginationRequest) ProtoMessage()
func (*PaginationRequest) ProtoReflect ¶
func (x *PaginationRequest) ProtoReflect() protoreflect.Message
func (*PaginationRequest) Reset ¶
func (x *PaginationRequest) Reset()
func (*PaginationRequest) String ¶
func (x *PaginationRequest) String() string
type PaginationResponse
deprecated
type PaginationResponse struct { // next page token, when empty there are no more pages to fetch NextToken string `protobuf:"bytes,1,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"` // result size of the page returned ResultSize int32 `protobuf:"varint,2,opt,name=result_size,json=resultSize,proto3" json:"result_size,omitempty"` // contains filtered or unexported fields }
Pagination response
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*PaginationResponse) Descriptor
deprecated
func (*PaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaginationResponse.ProtoReflect.Descriptor instead.
func (*PaginationResponse) GetNextToken ¶
func (x *PaginationResponse) GetNextToken() string
func (*PaginationResponse) GetResultSize ¶
func (x *PaginationResponse) GetResultSize() int32
func (*PaginationResponse) ProtoMessage ¶
func (*PaginationResponse) ProtoMessage()
func (*PaginationResponse) ProtoReflect ¶
func (x *PaginationResponse) ProtoReflect() protoreflect.Message
func (*PaginationResponse) Reset ¶
func (x *PaginationResponse) Reset()
func (*PaginationResponse) String ¶
func (x *PaginationResponse) String() string
type Permission
deprecated
type Permission struct { // permission name (unique, cs-string) Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // permission display name DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // created at timestamp (UTC) CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // last updated timestamp (UTC) UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // object instance hash Hash string `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*Permission) Descriptor
deprecated
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetCreatedAt ¶
func (x *Permission) GetCreatedAt() *timestamppb.Timestamp
func (*Permission) GetDisplayName ¶
func (x *Permission) GetDisplayName() string
func (*Permission) GetHash ¶
func (x *Permission) GetHash() string
func (*Permission) GetName ¶
func (x *Permission) GetName() string
func (*Permission) GetUpdatedAt ¶
func (x *Permission) GetUpdatedAt() *timestamppb.Timestamp
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶
func (x *Permission) Reset()
func (*Permission) String ¶
func (x *Permission) String() string
type PermissionIdentifier
deprecated
type PermissionIdentifier struct { // permission name (unique, cs-string) Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
Permission identifier
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*PermissionIdentifier) Descriptor
deprecated
func (*PermissionIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use PermissionIdentifier.ProtoReflect.Descriptor instead.
func (*PermissionIdentifier) GetName ¶
func (x *PermissionIdentifier) GetName() string
func (*PermissionIdentifier) ProtoMessage ¶
func (*PermissionIdentifier) ProtoMessage()
func (*PermissionIdentifier) ProtoReflect ¶
func (x *PermissionIdentifier) ProtoReflect() protoreflect.Message
func (*PermissionIdentifier) Reset ¶
func (x *PermissionIdentifier) Reset()
func (*PermissionIdentifier) String ¶
func (x *PermissionIdentifier) String() string
type Relation
deprecated
type Relation struct { // subject identifier Subject *ObjectIdentifier `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // relation type name Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // object identifier Object *ObjectIdentifier `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // created at timestamp (UTC) CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // last updated timestamp (UTC) UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // object instance hash Hash string `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*Relation) Descriptor
deprecated
func (*Relation) GetCreatedAt ¶
func (x *Relation) GetCreatedAt() *timestamppb.Timestamp
func (*Relation) GetObject ¶
func (x *Relation) GetObject() *ObjectIdentifier
func (*Relation) GetRelation ¶
func (*Relation) GetSubject ¶
func (x *Relation) GetSubject() *ObjectIdentifier
func (*Relation) GetUpdatedAt ¶
func (x *Relation) GetUpdatedAt() *timestamppb.Timestamp
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) ProtoReflect ¶
func (x *Relation) ProtoReflect() protoreflect.Message
type RelationIdentifier
deprecated
type RelationIdentifier struct { // subject identifier Subject *ObjectIdentifier `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // relation identifier Relation *RelationTypeIdentifier `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // object identifier Object *ObjectIdentifier `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
Relation identifier
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*RelationIdentifier) Descriptor
deprecated
func (*RelationIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use RelationIdentifier.ProtoReflect.Descriptor instead.
func (*RelationIdentifier) GetObject ¶
func (x *RelationIdentifier) GetObject() *ObjectIdentifier
func (*RelationIdentifier) GetRelation ¶
func (x *RelationIdentifier) GetRelation() *RelationTypeIdentifier
func (*RelationIdentifier) GetSubject ¶
func (x *RelationIdentifier) GetSubject() *ObjectIdentifier
func (*RelationIdentifier) ProtoMessage ¶
func (*RelationIdentifier) ProtoMessage()
func (*RelationIdentifier) ProtoReflect ¶
func (x *RelationIdentifier) ProtoReflect() protoreflect.Message
func (*RelationIdentifier) Reset ¶
func (x *RelationIdentifier) Reset()
func (*RelationIdentifier) String ¶
func (x *RelationIdentifier) String() string
type RelationType
deprecated
type RelationType struct { // relation type name selector Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // object type referenced by relation ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` // relation display name DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // sort ordinal (default 0) Ordinal int32 `protobuf:"varint,5,opt,name=ordinal,proto3" json:"ordinal,omitempty"` // status bitmap (default 0) Status uint32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` // relations union-ed with relation type instance Unions []string `protobuf:"bytes,7,rep,name=unions,proto3" json:"unions,omitempty"` // permissions associated to relation type instance Permissions []string `protobuf:"bytes,8,rep,name=permissions,proto3" json:"permissions,omitempty"` // created at timestamp (UTC) CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // last updated timestamp (UTC) UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // object instance hash Hash string `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*RelationType) Descriptor
deprecated
func (*RelationType) Descriptor() ([]byte, []int)
Deprecated: Use RelationType.ProtoReflect.Descriptor instead.
func (*RelationType) GetCreatedAt ¶
func (x *RelationType) GetCreatedAt() *timestamppb.Timestamp
func (*RelationType) GetDisplayName ¶
func (x *RelationType) GetDisplayName() string
func (*RelationType) GetHash ¶
func (x *RelationType) GetHash() string
func (*RelationType) GetName ¶
func (x *RelationType) GetName() string
func (*RelationType) GetObjectType ¶
func (x *RelationType) GetObjectType() string
func (*RelationType) GetOrdinal ¶
func (x *RelationType) GetOrdinal() int32
func (*RelationType) GetPermissions ¶
func (x *RelationType) GetPermissions() []string
func (*RelationType) GetStatus ¶
func (x *RelationType) GetStatus() uint32
func (*RelationType) GetUnions ¶
func (x *RelationType) GetUnions() []string
func (*RelationType) GetUpdatedAt ¶
func (x *RelationType) GetUpdatedAt() *timestamppb.Timestamp
func (*RelationType) ProtoMessage ¶
func (*RelationType) ProtoMessage()
func (*RelationType) ProtoReflect ¶
func (x *RelationType) ProtoReflect() protoreflect.Message
func (*RelationType) Reset ¶
func (x *RelationType) Reset()
func (*RelationType) String ¶
func (x *RelationType) String() string
type RelationTypeIdentifier
deprecated
type RelationTypeIdentifier struct { // relation type name selector Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // object type referenced by relation ObjectType *string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3,oneof" json:"object_type,omitempty"` // contains filtered or unexported fields }
RelationType identifier
Deprecated: Marked as deprecated in aserto/directory/common/v2/common.proto.
func (*RelationTypeIdentifier) Descriptor
deprecated
func (*RelationTypeIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use RelationTypeIdentifier.ProtoReflect.Descriptor instead.
func (*RelationTypeIdentifier) GetName ¶
func (x *RelationTypeIdentifier) GetName() string
func (*RelationTypeIdentifier) GetObjectType ¶
func (x *RelationTypeIdentifier) GetObjectType() string
func (*RelationTypeIdentifier) ProtoMessage ¶
func (*RelationTypeIdentifier) ProtoMessage()
func (*RelationTypeIdentifier) ProtoReflect ¶
func (x *RelationTypeIdentifier) ProtoReflect() protoreflect.Message
func (*RelationTypeIdentifier) Reset ¶
func (x *RelationTypeIdentifier) Reset()
func (*RelationTypeIdentifier) String ¶
func (x *RelationTypeIdentifier) String() string