project

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProjectState_name = map[int32]string{
		0: "PROJECT_STATE_UNSPECIFIED",
		1: "PROJECT_STATE_ACTIVE",
		2: "PROJECT_STATE_INACTIVE",
	}
	ProjectState_value = map[string]int32{
		"PROJECT_STATE_UNSPECIFIED": 0,
		"PROJECT_STATE_ACTIVE":      1,
		"PROJECT_STATE_INACTIVE":    2,
	}
)

Enum value maps for ProjectState.

View Source
var (
	PrivateLabelingSetting_name = map[int32]string{
		0: "PRIVATE_LABELING_SETTING_UNSPECIFIED",
		1: "PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY",
		2: "PRIVATE_LABELING_SETTING_ALLOW_LOGIN_USER_RESOURCE_OWNER_POLICY",
	}
	PrivateLabelingSetting_value = map[string]int32{
		"PRIVATE_LABELING_SETTING_UNSPECIFIED":                            0,
		"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY":  1,
		"PRIVATE_LABELING_SETTING_ALLOW_LOGIN_USER_RESOURCE_OWNER_POLICY": 2,
	}
)

Enum value maps for PrivateLabelingSetting.

View Source
var (
	ProjectGrantState_name = map[int32]string{
		0: "PROJECT_GRANT_STATE_UNSPECIFIED",
		1: "PROJECT_GRANT_STATE_ACTIVE",
		2: "PROJECT_GRANT_STATE_INACTIVE",
	}
	ProjectGrantState_value = map[string]int32{
		"PROJECT_GRANT_STATE_UNSPECIFIED": 0,
		"PROJECT_GRANT_STATE_ACTIVE":      1,
		"PROJECT_GRANT_STATE_INACTIVE":    2,
	}
)

Enum value maps for ProjectGrantState.

View Source
var File_zitadel_project_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AllProjectGrantQuery

type AllProjectGrantQuery struct {

	// Types that are assignable to Query:
	//
	//	*AllProjectGrantQuery_ProjectNameQuery
	//	*AllProjectGrantQuery_RoleKeyQuery
	//	*AllProjectGrantQuery_ProjectIdQuery
	//	*AllProjectGrantQuery_GrantedOrgIdQuery
	Query isAllProjectGrantQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*AllProjectGrantQuery) Descriptor deprecated

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

Deprecated: Use AllProjectGrantQuery.ProtoReflect.Descriptor instead.

func (*AllProjectGrantQuery) GetGrantedOrgIdQuery

func (x *AllProjectGrantQuery) GetGrantedOrgIdQuery() *GrantedOrgIDQuery

func (*AllProjectGrantQuery) GetProjectIdQuery

func (x *AllProjectGrantQuery) GetProjectIdQuery() *ProjectIDQuery

func (*AllProjectGrantQuery) GetProjectNameQuery

func (x *AllProjectGrantQuery) GetProjectNameQuery() *GrantProjectNameQuery

func (*AllProjectGrantQuery) GetQuery

func (m *AllProjectGrantQuery) GetQuery() isAllProjectGrantQuery_Query

func (*AllProjectGrantQuery) GetRoleKeyQuery

func (x *AllProjectGrantQuery) GetRoleKeyQuery() *GrantRoleKeyQuery

func (*AllProjectGrantQuery) ProtoMessage

func (*AllProjectGrantQuery) ProtoMessage()

func (*AllProjectGrantQuery) ProtoReflect

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

func (*AllProjectGrantQuery) Reset

func (x *AllProjectGrantQuery) Reset()

func (*AllProjectGrantQuery) String

func (x *AllProjectGrantQuery) String() string

type AllProjectGrantQuery_GrantedOrgIdQuery

type AllProjectGrantQuery_GrantedOrgIdQuery struct {
	GrantedOrgIdQuery *GrantedOrgIDQuery `protobuf:"bytes,4,opt,name=granted_org_id_query,json=grantedOrgIdQuery,proto3,oneof"`
}

type AllProjectGrantQuery_ProjectIdQuery

type AllProjectGrantQuery_ProjectIdQuery struct {
	ProjectIdQuery *ProjectIDQuery `protobuf:"bytes,3,opt,name=project_id_query,json=projectIdQuery,proto3,oneof"`
}

type AllProjectGrantQuery_ProjectNameQuery

type AllProjectGrantQuery_ProjectNameQuery struct {
	ProjectNameQuery *GrantProjectNameQuery `protobuf:"bytes,1,opt,name=project_name_query,json=projectNameQuery,proto3,oneof"`
}

type AllProjectGrantQuery_RoleKeyQuery

type AllProjectGrantQuery_RoleKeyQuery struct {
	RoleKeyQuery *GrantRoleKeyQuery `protobuf:"bytes,2,opt,name=role_key_query,json=roleKeyQuery,proto3,oneof"`
}

type GrantProjectNameQuery

type GrantProjectNameQuery struct {
	Name   string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Method object.TextQueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=zitadel.v1.TextQueryMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantProjectNameQuery) Descriptor deprecated

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

Deprecated: Use GrantProjectNameQuery.ProtoReflect.Descriptor instead.

func (*GrantProjectNameQuery) GetMethod

func (*GrantProjectNameQuery) GetName

func (x *GrantProjectNameQuery) GetName() string

func (*GrantProjectNameQuery) ProtoMessage

func (*GrantProjectNameQuery) ProtoMessage()

func (*GrantProjectNameQuery) ProtoReflect

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

func (*GrantProjectNameQuery) Reset

func (x *GrantProjectNameQuery) Reset()

func (*GrantProjectNameQuery) String

func (x *GrantProjectNameQuery) String() string

type GrantRoleKeyQuery

type GrantRoleKeyQuery struct {
	RoleKey string                 `protobuf:"bytes,1,opt,name=role_key,json=roleKey,proto3" json:"role_key,omitempty"`
	Method  object.TextQueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=zitadel.v1.TextQueryMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantRoleKeyQuery) Descriptor deprecated

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

Deprecated: Use GrantRoleKeyQuery.ProtoReflect.Descriptor instead.

func (*GrantRoleKeyQuery) GetMethod

func (x *GrantRoleKeyQuery) GetMethod() object.TextQueryMethod

func (*GrantRoleKeyQuery) GetRoleKey

func (x *GrantRoleKeyQuery) GetRoleKey() string

func (*GrantRoleKeyQuery) ProtoMessage

func (*GrantRoleKeyQuery) ProtoMessage()

func (*GrantRoleKeyQuery) ProtoReflect

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

func (*GrantRoleKeyQuery) Reset

func (x *GrantRoleKeyQuery) Reset()

func (*GrantRoleKeyQuery) String

func (x *GrantRoleKeyQuery) String() string

type GrantedOrgIDQuery

type GrantedOrgIDQuery struct {
	GrantedOrgId string `protobuf:"bytes,1,opt,name=granted_org_id,json=grantedOrgId,proto3" json:"granted_org_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantedOrgIDQuery) Descriptor deprecated

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

Deprecated: Use GrantedOrgIDQuery.ProtoReflect.Descriptor instead.

func (*GrantedOrgIDQuery) GetGrantedOrgId

func (x *GrantedOrgIDQuery) GetGrantedOrgId() string

func (*GrantedOrgIDQuery) ProtoMessage

func (*GrantedOrgIDQuery) ProtoMessage()

func (*GrantedOrgIDQuery) ProtoReflect

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

func (*GrantedOrgIDQuery) Reset

func (x *GrantedOrgIDQuery) Reset()

func (*GrantedOrgIDQuery) String

func (x *GrantedOrgIDQuery) String() string

type GrantedProject

type GrantedProject struct {
	GrantId          string                `protobuf:"bytes,1,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"`
	GrantedOrgId     string                `protobuf:"bytes,2,opt,name=granted_org_id,json=grantedOrgId,proto3" json:"granted_org_id,omitempty"`
	GrantedOrgName   string                `protobuf:"bytes,3,opt,name=granted_org_name,json=grantedOrgName,proto3" json:"granted_org_name,omitempty"`
	GrantedRoleKeys  []string              `protobuf:"bytes,4,rep,name=granted_role_keys,json=grantedRoleKeys,proto3" json:"granted_role_keys,omitempty"`
	State            ProjectGrantState     `protobuf:"varint,5,opt,name=state,proto3,enum=zitadel.project.v1.ProjectGrantState" json:"state,omitempty"`
	ProjectId        string                `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ProjectName      string                `protobuf:"bytes,7,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	ProjectOwnerId   string                `protobuf:"bytes,8,opt,name=project_owner_id,json=projectOwnerId,proto3" json:"project_owner_id,omitempty"`
	ProjectOwnerName string                `protobuf:"bytes,9,opt,name=project_owner_name,json=projectOwnerName,proto3" json:"project_owner_name,omitempty"`
	Details          *object.ObjectDetails `protobuf:"bytes,10,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantedProject) Descriptor deprecated

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

Deprecated: Use GrantedProject.ProtoReflect.Descriptor instead.

func (*GrantedProject) GetDetails

func (x *GrantedProject) GetDetails() *object.ObjectDetails

func (*GrantedProject) GetGrantId

func (x *GrantedProject) GetGrantId() string

func (*GrantedProject) GetGrantedOrgId

func (x *GrantedProject) GetGrantedOrgId() string

func (*GrantedProject) GetGrantedOrgName

func (x *GrantedProject) GetGrantedOrgName() string

func (*GrantedProject) GetGrantedRoleKeys

func (x *GrantedProject) GetGrantedRoleKeys() []string

func (*GrantedProject) GetProjectId

func (x *GrantedProject) GetProjectId() string

func (*GrantedProject) GetProjectName

func (x *GrantedProject) GetProjectName() string

func (*GrantedProject) GetProjectOwnerId

func (x *GrantedProject) GetProjectOwnerId() string

func (*GrantedProject) GetProjectOwnerName

func (x *GrantedProject) GetProjectOwnerName() string

func (*GrantedProject) GetState

func (x *GrantedProject) GetState() ProjectGrantState

func (*GrantedProject) ProtoMessage

func (*GrantedProject) ProtoMessage()

func (*GrantedProject) ProtoReflect

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

func (*GrantedProject) Reset

func (x *GrantedProject) Reset()

func (*GrantedProject) String

func (x *GrantedProject) String() string

type PrivateLabelingSetting

type PrivateLabelingSetting int32
const (
	PrivateLabelingSetting_PRIVATE_LABELING_SETTING_UNSPECIFIED                            PrivateLabelingSetting = 0
	PrivateLabelingSetting_PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY  PrivateLabelingSetting = 1
	PrivateLabelingSetting_PRIVATE_LABELING_SETTING_ALLOW_LOGIN_USER_RESOURCE_OWNER_POLICY PrivateLabelingSetting = 2
)

func (PrivateLabelingSetting) Descriptor

func (PrivateLabelingSetting) Enum

func (PrivateLabelingSetting) EnumDescriptor deprecated

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

Deprecated: Use PrivateLabelingSetting.Descriptor instead.

func (PrivateLabelingSetting) Number

func (PrivateLabelingSetting) String

func (x PrivateLabelingSetting) String() string

func (PrivateLabelingSetting) Type

type Project

type Project struct {
	Id      string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Details *object.ObjectDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	Name    string                `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	State   ProjectState          `protobuf:"varint,4,opt,name=state,proto3,enum=zitadel.project.v1.ProjectState" json:"state,omitempty"`
	// describes if the roles of the user should be added to the token
	ProjectRoleAssertion bool `protobuf:"varint,5,opt,name=project_role_assertion,json=projectRoleAssertion,proto3" json:"project_role_assertion,omitempty"`
	// ZITADEL checks if the user has at least one on this project
	ProjectRoleCheck bool `protobuf:"varint,6,opt,name=project_role_check,json=projectRoleCheck,proto3" json:"project_role_check,omitempty"`
	// ZITADEL checks if the org of the user has permission for this project
	HasProjectCheck bool `protobuf:"varint,7,opt,name=has_project_check,json=hasProjectCheck,proto3" json:"has_project_check,omitempty"`
	// Defines from where the private labeling should be triggered
	PrivateLabelingSetting PrivateLabelingSetting `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetDetails

func (x *Project) GetDetails() *object.ObjectDetails

func (*Project) GetHasProjectCheck

func (x *Project) GetHasProjectCheck() bool

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetPrivateLabelingSetting

func (x *Project) GetPrivateLabelingSetting() PrivateLabelingSetting

func (*Project) GetProjectRoleAssertion

func (x *Project) GetProjectRoleAssertion() bool

func (*Project) GetProjectRoleCheck

func (x *Project) GetProjectRoleCheck() bool

func (*Project) GetState

func (x *Project) GetState() ProjectState

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProjectGrantQuery

type ProjectGrantQuery struct {

	// Types that are assignable to Query:
	//
	//	*ProjectGrantQuery_ProjectNameQuery
	//	*ProjectGrantQuery_RoleKeyQuery
	Query isProjectGrantQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*ProjectGrantQuery) Descriptor deprecated

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

Deprecated: Use ProjectGrantQuery.ProtoReflect.Descriptor instead.

func (*ProjectGrantQuery) GetProjectNameQuery

func (x *ProjectGrantQuery) GetProjectNameQuery() *GrantProjectNameQuery

func (*ProjectGrantQuery) GetQuery

func (m *ProjectGrantQuery) GetQuery() isProjectGrantQuery_Query

func (*ProjectGrantQuery) GetRoleKeyQuery

func (x *ProjectGrantQuery) GetRoleKeyQuery() *GrantRoleKeyQuery

func (*ProjectGrantQuery) ProtoMessage

func (*ProjectGrantQuery) ProtoMessage()

func (*ProjectGrantQuery) ProtoReflect

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

func (*ProjectGrantQuery) Reset

func (x *ProjectGrantQuery) Reset()

func (*ProjectGrantQuery) String

func (x *ProjectGrantQuery) String() string

type ProjectGrantQuery_ProjectNameQuery

type ProjectGrantQuery_ProjectNameQuery struct {
	ProjectNameQuery *GrantProjectNameQuery `protobuf:"bytes,1,opt,name=project_name_query,json=projectNameQuery,proto3,oneof"`
}

type ProjectGrantQuery_RoleKeyQuery

type ProjectGrantQuery_RoleKeyQuery struct {
	RoleKeyQuery *GrantRoleKeyQuery `protobuf:"bytes,2,opt,name=role_key_query,json=roleKeyQuery,proto3,oneof"`
}

type ProjectGrantState

type ProjectGrantState int32
const (
	ProjectGrantState_PROJECT_GRANT_STATE_UNSPECIFIED ProjectGrantState = 0
	ProjectGrantState_PROJECT_GRANT_STATE_ACTIVE      ProjectGrantState = 1
	ProjectGrantState_PROJECT_GRANT_STATE_INACTIVE    ProjectGrantState = 2
)

func (ProjectGrantState) Descriptor

func (ProjectGrantState) Enum

func (ProjectGrantState) EnumDescriptor deprecated

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

Deprecated: Use ProjectGrantState.Descriptor instead.

func (ProjectGrantState) Number

func (ProjectGrantState) String

func (x ProjectGrantState) String() string

func (ProjectGrantState) Type

type ProjectIDQuery

type ProjectIDQuery struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectIDQuery) Descriptor deprecated

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

Deprecated: Use ProjectIDQuery.ProtoReflect.Descriptor instead.

func (*ProjectIDQuery) GetProjectId

func (x *ProjectIDQuery) GetProjectId() string

func (*ProjectIDQuery) ProtoMessage

func (*ProjectIDQuery) ProtoMessage()

func (*ProjectIDQuery) ProtoReflect

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

func (*ProjectIDQuery) Reset

func (x *ProjectIDQuery) Reset()

func (*ProjectIDQuery) String

func (x *ProjectIDQuery) String() string

type ProjectNameQuery

type ProjectNameQuery struct {
	Name   string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Method object.TextQueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=zitadel.v1.TextQueryMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectNameQuery) Descriptor deprecated

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

Deprecated: Use ProjectNameQuery.ProtoReflect.Descriptor instead.

func (*ProjectNameQuery) GetMethod

func (x *ProjectNameQuery) GetMethod() object.TextQueryMethod

func (*ProjectNameQuery) GetName

func (x *ProjectNameQuery) GetName() string

func (*ProjectNameQuery) ProtoMessage

func (*ProjectNameQuery) ProtoMessage()

func (*ProjectNameQuery) ProtoReflect

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

func (*ProjectNameQuery) Reset

func (x *ProjectNameQuery) Reset()

func (*ProjectNameQuery) String

func (x *ProjectNameQuery) String() string

type ProjectQuery

type ProjectQuery struct {

	// Types that are assignable to Query:
	//
	//	*ProjectQuery_NameQuery
	//	*ProjectQuery_ProjectResourceOwnerQuery
	Query isProjectQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*ProjectQuery) Descriptor deprecated

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

Deprecated: Use ProjectQuery.ProtoReflect.Descriptor instead.

func (*ProjectQuery) GetNameQuery

func (x *ProjectQuery) GetNameQuery() *ProjectNameQuery

func (*ProjectQuery) GetProjectResourceOwnerQuery

func (x *ProjectQuery) GetProjectResourceOwnerQuery() *ProjectResourceOwnerQuery

func (*ProjectQuery) GetQuery

func (m *ProjectQuery) GetQuery() isProjectQuery_Query

func (*ProjectQuery) ProtoMessage

func (*ProjectQuery) ProtoMessage()

func (*ProjectQuery) ProtoReflect

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

func (*ProjectQuery) Reset

func (x *ProjectQuery) Reset()

func (*ProjectQuery) String

func (x *ProjectQuery) String() string

type ProjectQuery_NameQuery

type ProjectQuery_NameQuery struct {
	NameQuery *ProjectNameQuery `protobuf:"bytes,1,opt,name=name_query,json=nameQuery,proto3,oneof"`
}

type ProjectQuery_ProjectResourceOwnerQuery

type ProjectQuery_ProjectResourceOwnerQuery struct {
	ProjectResourceOwnerQuery *ProjectResourceOwnerQuery `protobuf:"bytes,2,opt,name=project_resource_owner_query,json=projectResourceOwnerQuery,proto3,oneof"`
}

type ProjectResourceOwnerQuery

type ProjectResourceOwnerQuery struct {
	ResourceOwner string `protobuf:"bytes,1,opt,name=resource_owner,json=resourceOwner,proto3" json:"resource_owner,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectResourceOwnerQuery) Descriptor deprecated

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

Deprecated: Use ProjectResourceOwnerQuery.ProtoReflect.Descriptor instead.

func (*ProjectResourceOwnerQuery) GetResourceOwner

func (x *ProjectResourceOwnerQuery) GetResourceOwner() string

func (*ProjectResourceOwnerQuery) ProtoMessage

func (*ProjectResourceOwnerQuery) ProtoMessage()

func (*ProjectResourceOwnerQuery) ProtoReflect

func (*ProjectResourceOwnerQuery) Reset

func (x *ProjectResourceOwnerQuery) Reset()

func (*ProjectResourceOwnerQuery) String

func (x *ProjectResourceOwnerQuery) String() string

type ProjectState

type ProjectState int32
const (
	ProjectState_PROJECT_STATE_UNSPECIFIED ProjectState = 0
	ProjectState_PROJECT_STATE_ACTIVE      ProjectState = 1
	ProjectState_PROJECT_STATE_INACTIVE    ProjectState = 2
)

func (ProjectState) Descriptor

func (ProjectState) Enum

func (x ProjectState) Enum() *ProjectState

func (ProjectState) EnumDescriptor deprecated

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

Deprecated: Use ProjectState.Descriptor instead.

func (ProjectState) Number

func (ProjectState) String

func (x ProjectState) String() string

func (ProjectState) Type

type Role

type Role struct {
	Key         string                `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Details     *object.ObjectDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	DisplayName string                `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Group       string                `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetDetails

func (x *Role) GetDetails() *object.ObjectDetails

func (*Role) GetDisplayName

func (x *Role) GetDisplayName() string

func (*Role) GetGroup

func (x *Role) GetGroup() string

func (*Role) GetKey

func (x *Role) GetKey() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type RoleDisplayNameQuery

type RoleDisplayNameQuery struct {
	DisplayName string                 `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Method      object.TextQueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=zitadel.v1.TextQueryMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleDisplayNameQuery) Descriptor deprecated

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

Deprecated: Use RoleDisplayNameQuery.ProtoReflect.Descriptor instead.

func (*RoleDisplayNameQuery) GetDisplayName

func (x *RoleDisplayNameQuery) GetDisplayName() string

func (*RoleDisplayNameQuery) GetMethod

func (*RoleDisplayNameQuery) ProtoMessage

func (*RoleDisplayNameQuery) ProtoMessage()

func (*RoleDisplayNameQuery) ProtoReflect

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

func (*RoleDisplayNameQuery) Reset

func (x *RoleDisplayNameQuery) Reset()

func (*RoleDisplayNameQuery) String

func (x *RoleDisplayNameQuery) String() string

type RoleKeyQuery

type RoleKeyQuery struct {
	Key    string                 `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Method object.TextQueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=zitadel.v1.TextQueryMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleKeyQuery) Descriptor deprecated

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

Deprecated: Use RoleKeyQuery.ProtoReflect.Descriptor instead.

func (*RoleKeyQuery) GetKey

func (x *RoleKeyQuery) GetKey() string

func (*RoleKeyQuery) GetMethod

func (x *RoleKeyQuery) GetMethod() object.TextQueryMethod

func (*RoleKeyQuery) ProtoMessage

func (*RoleKeyQuery) ProtoMessage()

func (*RoleKeyQuery) ProtoReflect

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

func (*RoleKeyQuery) Reset

func (x *RoleKeyQuery) Reset()

func (*RoleKeyQuery) String

func (x *RoleKeyQuery) String() string

type RoleQuery

type RoleQuery struct {

	// Types that are assignable to Query:
	//
	//	*RoleQuery_KeyQuery
	//	*RoleQuery_DisplayNameQuery
	Query isRoleQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*RoleQuery) Descriptor deprecated

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

Deprecated: Use RoleQuery.ProtoReflect.Descriptor instead.

func (*RoleQuery) GetDisplayNameQuery

func (x *RoleQuery) GetDisplayNameQuery() *RoleDisplayNameQuery

func (*RoleQuery) GetKeyQuery

func (x *RoleQuery) GetKeyQuery() *RoleKeyQuery

func (*RoleQuery) GetQuery

func (m *RoleQuery) GetQuery() isRoleQuery_Query

func (*RoleQuery) ProtoMessage

func (*RoleQuery) ProtoMessage()

func (*RoleQuery) ProtoReflect

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

func (*RoleQuery) Reset

func (x *RoleQuery) Reset()

func (*RoleQuery) String

func (x *RoleQuery) String() string

type RoleQuery_DisplayNameQuery

type RoleQuery_DisplayNameQuery struct {
	DisplayNameQuery *RoleDisplayNameQuery `protobuf:"bytes,2,opt,name=display_name_query,json=displayNameQuery,proto3,oneof"`
}

type RoleQuery_KeyQuery

type RoleQuery_KeyQuery struct {
	KeyQuery *RoleKeyQuery `protobuf:"bytes,1,opt,name=key_query,json=keyQuery,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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