Documentation ¶
Index ¶
- Variables
- type Object
- func (*Object) Descriptor() ([]byte, []int)deprecated
- func (x *Object) GetCreatedAt() *timestamppb.Timestamp
- func (x *Object) GetDisplayName() string
- func (x *Object) GetEtag() string
- func (x *Object) GetId() 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 ObjectDependency
- func (*ObjectDependency) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectDependency) GetDepth() int32
- func (x *ObjectDependency) GetIsCycle() bool
- func (x *ObjectDependency) GetObjectId() string
- func (x *ObjectDependency) GetObjectType() string
- func (x *ObjectDependency) GetPath() []string
- func (x *ObjectDependency) GetRelation() string
- func (x *ObjectDependency) GetSubjectId() string
- func (x *ObjectDependency) GetSubjectRelation() 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 ObjectIdentifier
- func (*ObjectIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectIdentifier) GetObjectId() string
- func (x *ObjectIdentifier) GetObjectType() string
- func (*ObjectIdentifier) ProtoMessage()
- func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message
- func (x *ObjectIdentifier) Reset()
- func (x *ObjectIdentifier) String() string
- type PaginationRequest
- 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 PaginationResponse
- func (*PaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationResponse) GetNextToken() string
- func (*PaginationResponse) ProtoMessage()
- func (x *PaginationResponse) ProtoReflect() protoreflect.Message
- func (x *PaginationResponse) Reset()
- func (x *PaginationResponse) String() string
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetCreatedAt() *timestamppb.Timestamp
- func (x *Relation) GetEtag() string
- func (x *Relation) GetObjectId() string
- func (x *Relation) GetObjectType() string
- func (x *Relation) GetRelation() string
- func (x *Relation) GetSubjectId() string
- func (x *Relation) GetSubjectRelation() string
- func (x *Relation) GetSubjectType() string
- 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 RelationIdentifier
- func (*RelationIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *RelationIdentifier) GetObjectId() string
- func (x *RelationIdentifier) GetObjectType() string
- func (x *RelationIdentifier) GetRelation() string
- func (x *RelationIdentifier) GetSubjectId() string
- func (x *RelationIdentifier) GetSubjectRelation() string
- func (x *RelationIdentifier) GetSubjectType() string
- func (*RelationIdentifier) ProtoMessage()
- func (x *RelationIdentifier) ProtoReflect() protoreflect.Message
- func (x *RelationIdentifier) Reset()
- func (x *RelationIdentifier) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_aserto_directory_common_v3_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object struct { // object type name Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // external object identifier (cs-string, no spaces or tabs) Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // display name object DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // property bag Properties *structpb.Struct `protobuf:"bytes,4,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 etag Etag string `protobuf:"bytes,23,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
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 ¶
type ObjectDependency struct { // object type ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` // object identifier ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // object relation name Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` // subject type SubjectType string `protobuf:"bytes,4,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` // subject identifier SubjectId string `protobuf:"bytes,5,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"` // optional subject relation name SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"` // dependency depth Depth int32 `protobuf:"varint,7,opt,name=depth,proto3" json:"depth,omitempty"` // dependency cycle IsCycle bool `protobuf:"varint,8,opt,name=is_cycle,json=isCycle,proto3" json:"is_cycle,omitempty"` // dependency path Path []string `protobuf:"bytes,9,rep,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
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) GetObjectId ¶
func (x *ObjectDependency) GetObjectId() 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) GetSubjectId ¶
func (x *ObjectDependency) GetSubjectId() string
func (*ObjectDependency) GetSubjectRelation ¶
func (x *ObjectDependency) GetSubjectRelation() 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 ¶
type ObjectIdentifier struct { // object type (lc-string) ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` // object identifier (cs-string) ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
Object identifier
func (*ObjectIdentifier) Descriptor
deprecated
func (*ObjectIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ObjectIdentifier.ProtoReflect.Descriptor instead.
func (*ObjectIdentifier) GetObjectId ¶
func (x *ObjectIdentifier) GetObjectId() string
func (*ObjectIdentifier) GetObjectType ¶
func (x *ObjectIdentifier) GetObjectType() 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 PaginationRequest ¶
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
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 ¶
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"` // contains filtered or unexported fields }
Pagination response
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) 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 Relation ¶
type Relation struct { // object type ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` // object identifier ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // object relation name Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` // subject type SubjectType string `protobuf:"bytes,4,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` // subject identifier SubjectId string `protobuf:"bytes,5,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"` // optional subject relation name SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,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 etag Etag string `protobuf:"bytes,23,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
func (*Relation) Descriptor
deprecated
func (*Relation) GetCreatedAt ¶
func (x *Relation) GetCreatedAt() *timestamppb.Timestamp
func (*Relation) GetObjectId ¶
func (*Relation) GetObjectType ¶
func (*Relation) GetRelation ¶
func (*Relation) GetSubjectId ¶
func (*Relation) GetSubjectRelation ¶
func (*Relation) GetSubjectType ¶
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 ¶ added in v0.30.11
type RelationIdentifier struct { // object type ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` // object identifier ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // object relation name Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` // subject type SubjectType string `protobuf:"bytes,4,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` // subject identifier SubjectId string `protobuf:"bytes,5,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"` // optional subject relation name SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"` // contains filtered or unexported fields }
Relation identifier
func (*RelationIdentifier) Descriptor
deprecated
added in
v0.30.11
func (*RelationIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use RelationIdentifier.ProtoReflect.Descriptor instead.
func (*RelationIdentifier) GetObjectId ¶ added in v0.30.11
func (x *RelationIdentifier) GetObjectId() string
func (*RelationIdentifier) GetObjectType ¶ added in v0.30.11
func (x *RelationIdentifier) GetObjectType() string
func (*RelationIdentifier) GetRelation ¶ added in v0.30.11
func (x *RelationIdentifier) GetRelation() string
func (*RelationIdentifier) GetSubjectId ¶ added in v0.30.11
func (x *RelationIdentifier) GetSubjectId() string
func (*RelationIdentifier) GetSubjectRelation ¶ added in v0.30.11
func (x *RelationIdentifier) GetSubjectRelation() string
func (*RelationIdentifier) GetSubjectType ¶ added in v0.30.11
func (x *RelationIdentifier) GetSubjectType() string
func (*RelationIdentifier) ProtoMessage ¶ added in v0.30.11
func (*RelationIdentifier) ProtoMessage()
func (*RelationIdentifier) ProtoReflect ¶ added in v0.30.11
func (x *RelationIdentifier) ProtoReflect() protoreflect.Message
func (*RelationIdentifier) Reset ¶ added in v0.30.11
func (x *RelationIdentifier) Reset()
func (*RelationIdentifier) String ¶ added in v0.30.11
func (x *RelationIdentifier) String() string
Click to show internal directories.
Click to hide internal directories.