common

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var File_aserto_directory_common_v2_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Flag

type Flag int32
const (
	Flag_FLAG_UNKNOWN  Flag = 0 // default, no special object behavior
	Flag_FLAG_HIDDEN   Flag = 1 // hidden object
	Flag_FLAG_READONLY Flag = 2 // read-only object
	Flag_FLAG_SYSTEM   Flag = 4 // system object
	Flag_FLAG_SHADOW   Flag = 8 // shadow object by type+key associated to parent object
)

func (Flag) Descriptor

func (Flag) Descriptor() protoreflect.EnumDescriptor

func (Flag) Enum

func (x Flag) Enum() *Flag

func (Flag) EnumDescriptor deprecated

func (Flag) EnumDescriptor() ([]byte, []int)

Deprecated: Use Flag.Descriptor instead.

func (Flag) Number

func (x Flag) Number() protoreflect.EnumNumber

func (Flag) String

func (x Flag) String() string

func (Flag) Type

func (Flag) Type() protoreflect.EnumType

type Object

type Object struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                      // internal object id (uuid)
	Key         string                 `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                    // external object key (cs-string)
	Type        string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`                                  // object type name
	DisplayName string                 `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // display name object
	Properties  *structpb.Struct       `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"`                      // property bag
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`      // created at timestamp (UTC)
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`      // last updated timestamp (UTC)
	DeletedAt   *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`      // deleted timestamp (UTC)
	Hash        string                 `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"`                                 // object instance hash
	// contains filtered or unexported fields
}

func (*Object) Descriptor deprecated

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetCreatedAt

func (x *Object) GetCreatedAt() *timestamppb.Timestamp

func (*Object) GetDeletedAt

func (x *Object) GetDeletedAt() *timestamppb.Timestamp

func (*Object) GetDisplayName

func (x *Object) GetDisplayName() string

func (*Object) GetHash

func (x *Object) GetHash() string

func (*Object) GetId

func (x *Object) GetId() string

func (*Object) GetKey

func (x *Object) GetKey() string

func (*Object) GetProperties

func (x *Object) GetProperties() *structpb.Struct

func (*Object) GetType

func (x *Object) GetType() string

func (*Object) GetUpdatedAt

func (x *Object) GetUpdatedAt() *timestamppb.Timestamp

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

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

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

type ObjectDependency

type ObjectDependency struct {
	ObjectType  string   `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`    // object type name of source object
	ObjectId    string   `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`          // object id (uuid) of source object
	ObjectKey   string   `protobuf:"bytes,4,opt,name=object_key,json=objectKey,proto3" json:"object_key,omitempty"`       // object search key of source object
	Relation    string   `protobuf:"bytes,5,opt,name=relation,proto3" json:"relation,omitempty"`                          // relation identifier
	SubjectType string   `protobuf:"bytes,7,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` // object type id of target object
	SubjectId   string   `protobuf:"bytes,9,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`       // object id (uuid) of target object
	SubjectKey  string   `protobuf:"bytes,10,opt,name=subject_key,json=subjectKey,proto3" json:"subject_key,omitempty"`   // object search key of target object
	Depth       int32    `protobuf:"varint,11,opt,name=depth,proto3" json:"depth,omitempty"`                              // dependency depth
	IsCycle     bool     `protobuf:"varint,12,opt,name=is_cycle,json=isCycle,proto3" json:"is_cycle,omitempty"`           // dependency cycle
	Path        []string `protobuf:"bytes,13,rep,name=path,proto3" json:"path,omitempty"`                                 // dependency path
	// 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) 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) GetSubjectId

func (x *ObjectDependency) GetSubjectId() 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

type ObjectIdentifier struct {
	Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // object type
	Id   *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`     // internal object id (uuid)
	Key  *string `protobuf:"bytes,3,opt,name=key,proto3,oneof" json:"key,omitempty"`   // external object key (cs-string)
	// contains filtered or unexported fields
}

Object identifier

func (*ObjectIdentifier) Descriptor deprecated

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

Deprecated: Use ObjectIdentifier.ProtoReflect.Descriptor instead.

func (*ObjectIdentifier) GetId

func (x *ObjectIdentifier) GetId() string

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

type ObjectType struct {
	Id          int32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                     // internal object type id
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                  // object type name (unique, lc-string)
	DisplayName string                 `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // object type display name
	IsSubject   bool                   `protobuf:"varint,4,opt,name=is_subject,json=isSubject,proto3" json:"is_subject,omitempty"`      // object type is a subject (user|group) (default false)
	Ordinal     int32                  `protobuf:"varint,5,opt,name=ordinal,proto3" json:"ordinal,omitempty"`                           // sort ordinal (default 0)
	Status      uint32                 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`                             // status flag bitmap (default 0)
	Schema      *structpb.Struct       `protobuf:"bytes,10,opt,name=schema,proto3" json:"schema,omitempty"`                             // object type schema definition (JSON)
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`      // created at timestamp (UTC)
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`      // last updated timestamp (UTC)
	DeletedAt   *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`      // deleted timestamp (UTC)
	Hash        string                 `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"`                                 // object instance hash
	// contains filtered or unexported fields
}

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) GetDeletedAt

func (x *ObjectType) GetDeletedAt() *timestamppb.Timestamp

func (*ObjectType) GetDisplayName

func (x *ObjectType) GetDisplayName() string

func (*ObjectType) GetHash

func (x *ObjectType) GetHash() string

func (*ObjectType) GetId

func (x *ObjectType) GetId() int32

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

type ObjectTypeIdentifier struct {
	Id   *int32  `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`    // internal object type id
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // object type name (unique, lc-string)
	// contains filtered or unexported fields
}

ObjectType identifier

func (*ObjectTypeIdentifier) Descriptor deprecated

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

Deprecated: Use ObjectTypeIdentifier.ProtoReflect.Descriptor instead.

func (*ObjectTypeIdentifier) GetId

func (x *ObjectTypeIdentifier) GetId() int32

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

type PaginationRequest struct {
	Size  int32  `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`  // requested page size, valid value between 1-100 rows (default 100)
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // pagination start token, default ""
	// 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 {
	NextToken  string `protobuf:"bytes,1,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`     // next page token, when empty there are no more pages to fetch
	ResultSize int32  `protobuf:"varint,2,opt,name=result_size,json=resultSize,proto3" json:"result_size,omitempty"` // result size of the page returned
	// 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) 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

type Permission struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                      // internal permission id
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                  // permission name (unique, cs-string)
	DisplayName string                 `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // permission display name
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`      // created at timestamp (UTC)
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`      // last updated timestamp (UTC)
	DeletedAt   *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`      // deleted timestamp (UTC)
	Hash        string                 `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"`                                 // object instance hash
	// contains filtered or unexported fields
}

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) GetDeletedAt

func (x *Permission) GetDeletedAt() *timestamppb.Timestamp

func (*Permission) GetDisplayName

func (x *Permission) GetDisplayName() string

func (*Permission) GetHash

func (x *Permission) GetHash() string

func (*Permission) GetId

func (x *Permission) GetId() 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

type PermissionIdentifier struct {
	Id   *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`     // internal permission id
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // permission name (unique, cs-string)
	// contains filtered or unexported fields
}

Permission identifier

func (*PermissionIdentifier) Descriptor deprecated

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

Deprecated: Use PermissionIdentifier.ProtoReflect.Descriptor instead.

func (*PermissionIdentifier) GetId

func (x *PermissionIdentifier) GetId() string

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

type Relation struct {
	Subject   *ObjectIdentifier      `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`                       // subject identifier
	Relation  string                 `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`                     // relation type ID
	Object    *ObjectIdentifier      `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`                         // object identifier
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // created at timestamp (UTC)
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // last updated timestamp (UTC)
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // deleted timestamp (UTC)
	Hash      string                 `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"`                            // object instance hash
	// contains filtered or unexported fields
}

func (*Relation) Descriptor deprecated

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

Deprecated: Use Relation.ProtoReflect.Descriptor instead.

func (*Relation) GetCreatedAt

func (x *Relation) GetCreatedAt() *timestamppb.Timestamp

func (*Relation) GetDeletedAt

func (x *Relation) GetDeletedAt() *timestamppb.Timestamp

func (*Relation) GetHash

func (x *Relation) GetHash() string

func (*Relation) GetObject

func (x *Relation) GetObject() *ObjectIdentifier

func (*Relation) GetRelation

func (x *Relation) GetRelation() string

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

func (*Relation) Reset

func (x *Relation) Reset()

func (*Relation) String

func (x *Relation) String() string

type RelationIdentifier

type RelationIdentifier struct {
	Subject  *ObjectIdentifier       `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`   // subject identifier
	Relation *RelationTypeIdentifier `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // relation identifier
	Object   *ObjectIdentifier       `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`     // object identifier
	// contains filtered or unexported fields
}

Relation identifier

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

type RelationType struct {
	Id          int32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                     // relation type id selector
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                  // relation type name selector
	ObjectType  string                 `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`    // object type referenced by relation
	DisplayName string                 `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // relation display name
	Ordinal     int32                  `protobuf:"varint,5,opt,name=ordinal,proto3" json:"ordinal,omitempty"`                           // sort ordinal (default 0)
	Status      uint32                 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`                             // status bitmap (default 0)
	Unions      []string               `protobuf:"bytes,7,rep,name=unions,proto3" json:"unions,omitempty"`                              // relations union-ed with relation type instance
	Permissions []string               `protobuf:"bytes,8,rep,name=permissions,proto3" json:"permissions,omitempty"`                    // permissions associated to relation type instance
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`      // created at timestamp (UTC)
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`      // last updated timestamp (UTC)
	DeletedAt   *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`      // deleted timestamp (UTC)
	Hash        string                 `protobuf:"bytes,23,opt,name=hash,proto3" json:"hash,omitempty"`                                 // object instance hash
	// contains filtered or unexported fields
}

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) GetDeletedAt

func (x *RelationType) GetDeletedAt() *timestamppb.Timestamp

func (*RelationType) GetDisplayName

func (x *RelationType) GetDisplayName() string

func (*RelationType) GetHash

func (x *RelationType) GetHash() string

func (*RelationType) GetId

func (x *RelationType) GetId() int32

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

type RelationTypeIdentifier struct {
	Id         *int32  `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`                                  // relation type id selector
	Name       *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`                               // relation type name selector
	ObjectType *string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3,oneof" json:"object_type,omitempty"` // object type referenced by relation
	// contains filtered or unexported fields
}

RelationType identifier

func (*RelationTypeIdentifier) Descriptor deprecated

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

Deprecated: Use RelationTypeIdentifier.ProtoReflect.Descriptor instead.

func (*RelationTypeIdentifier) GetId

func (x *RelationTypeIdentifier) GetId() int32

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

Jump to

Keyboard shortcuts

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