request

package
v0.0.0-...-7cac148 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_external_iam_v2_request_introspect_proto protoreflect.FileDescriptor
View Source
var File_external_iam_v2_request_policy_proto protoreflect.FileDescriptor
View Source
var File_external_iam_v2_request_rules_proto protoreflect.FileDescriptor
View Source
var File_external_iam_v2_request_teams_proto protoreflect.FileDescriptor
View Source
var File_external_iam_v2_request_tokens_proto protoreflect.FileDescriptor
View Source
var File_external_iam_v2_request_users_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddPolicyMembersReq

type AddPolicyMembersReq struct {

	// ID of the policy.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// List of members to add to the policy.
	Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPolicyMembersReq) Descriptor deprecated

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

Deprecated: Use AddPolicyMembersReq.ProtoReflect.Descriptor instead.

func (*AddPolicyMembersReq) GetId

func (x *AddPolicyMembersReq) GetId() string

func (*AddPolicyMembersReq) GetMembers

func (x *AddPolicyMembersReq) GetMembers() []string

func (*AddPolicyMembersReq) ProtoMessage

func (*AddPolicyMembersReq) ProtoMessage()

func (*AddPolicyMembersReq) ProtoReflect

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

func (*AddPolicyMembersReq) Reset

func (x *AddPolicyMembersReq) Reset()

func (*AddPolicyMembersReq) String

func (x *AddPolicyMembersReq) String() string

type AddTeamMembersReq

type AddTeamMembersReq struct {
	Id            string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MembershipIds []string `protobuf:"bytes,2,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTeamMembersReq) Descriptor deprecated

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

Deprecated: Use AddTeamMembersReq.ProtoReflect.Descriptor instead.

func (*AddTeamMembersReq) GetId

func (x *AddTeamMembersReq) GetId() string

func (*AddTeamMembersReq) GetMembershipIds

func (x *AddTeamMembersReq) GetMembershipIds() []string

func (*AddTeamMembersReq) ProtoMessage

func (*AddTeamMembersReq) ProtoMessage()

func (*AddTeamMembersReq) ProtoReflect

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

func (*AddTeamMembersReq) Reset

func (x *AddTeamMembersReq) Reset()

func (*AddTeamMembersReq) String

func (x *AddTeamMembersReq) String() string

type ApplyRulesCancelReq

type ApplyRulesCancelReq struct {
	// contains filtered or unexported fields
}

func (*ApplyRulesCancelReq) Descriptor deprecated

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

Deprecated: Use ApplyRulesCancelReq.ProtoReflect.Descriptor instead.

func (*ApplyRulesCancelReq) ProtoMessage

func (*ApplyRulesCancelReq) ProtoMessage()

func (*ApplyRulesCancelReq) ProtoReflect

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

func (*ApplyRulesCancelReq) Reset

func (x *ApplyRulesCancelReq) Reset()

func (*ApplyRulesCancelReq) String

func (x *ApplyRulesCancelReq) String() string

type ApplyRulesStartReq

type ApplyRulesStartReq struct {
	// contains filtered or unexported fields
}

func (*ApplyRulesStartReq) Descriptor deprecated

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

Deprecated: Use ApplyRulesStartReq.ProtoReflect.Descriptor instead.

func (*ApplyRulesStartReq) ProtoMessage

func (*ApplyRulesStartReq) ProtoMessage()

func (*ApplyRulesStartReq) ProtoReflect

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

func (*ApplyRulesStartReq) Reset

func (x *ApplyRulesStartReq) Reset()

func (*ApplyRulesStartReq) String

func (x *ApplyRulesStartReq) String() string

type ApplyRulesStatusReq

type ApplyRulesStatusReq struct {
	// contains filtered or unexported fields
}

func (*ApplyRulesStatusReq) Descriptor deprecated

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

Deprecated: Use ApplyRulesStatusReq.ProtoReflect.Descriptor instead.

func (*ApplyRulesStatusReq) ProtoMessage

func (*ApplyRulesStatusReq) ProtoMessage()

func (*ApplyRulesStatusReq) ProtoReflect

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

func (*ApplyRulesStatusReq) Reset

func (x *ApplyRulesStatusReq) Reset()

func (*ApplyRulesStatusReq) String

func (x *ApplyRulesStatusReq) String() string

type ApplyV2DataMigrationsReq

type ApplyV2DataMigrationsReq struct {
	// contains filtered or unexported fields
}

func (*ApplyV2DataMigrationsReq) Descriptor deprecated

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

Deprecated: Use ApplyV2DataMigrationsReq.ProtoReflect.Descriptor instead.

func (*ApplyV2DataMigrationsReq) ProtoMessage

func (*ApplyV2DataMigrationsReq) ProtoMessage()

func (*ApplyV2DataMigrationsReq) ProtoReflect

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

func (*ApplyV2DataMigrationsReq) Reset

func (x *ApplyV2DataMigrationsReq) Reset()

func (*ApplyV2DataMigrationsReq) String

func (x *ApplyV2DataMigrationsReq) String() string

type CreatePolicyReq

type CreatePolicyReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name for the policy.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Members affected by this policy.
	Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// Statements for the policy.
	Statements []*common.Statement `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty"`
	// List of projects this policy belongs to.
	Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

Does not contain type as the enduser can only create 'custom' policies.

func (*CreatePolicyReq) Descriptor deprecated

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

Deprecated: Use CreatePolicyReq.ProtoReflect.Descriptor instead.

func (*CreatePolicyReq) GetId

func (x *CreatePolicyReq) GetId() string

func (*CreatePolicyReq) GetMembers

func (x *CreatePolicyReq) GetMembers() []string

func (*CreatePolicyReq) GetName

func (x *CreatePolicyReq) GetName() string

func (*CreatePolicyReq) GetProjects

func (x *CreatePolicyReq) GetProjects() []string

func (*CreatePolicyReq) GetStatements

func (x *CreatePolicyReq) GetStatements() []*common.Statement

func (*CreatePolicyReq) ProtoMessage

func (*CreatePolicyReq) ProtoMessage()

func (*CreatePolicyReq) ProtoReflect

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

func (*CreatePolicyReq) Reset

func (x *CreatePolicyReq) Reset()

func (*CreatePolicyReq) String

func (x *CreatePolicyReq) String() string

type CreateProjectReq

type CreateProjectReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name for the new project.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Boolean flag to skip adding policies associated with the project. Set to false by default.
	SkipPolicies bool `protobuf:"varint,3,opt,name=skip_policies,json=skipPolicies,proto3" json:"skip_policies,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectReq) Descriptor deprecated

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

Deprecated: Use CreateProjectReq.ProtoReflect.Descriptor instead.

func (*CreateProjectReq) GetId

func (x *CreateProjectReq) GetId() string

func (*CreateProjectReq) GetName

func (x *CreateProjectReq) GetName() string

func (*CreateProjectReq) GetSkipPolicies

func (x *CreateProjectReq) GetSkipPolicies() bool

func (*CreateProjectReq) ProtoMessage

func (*CreateProjectReq) ProtoMessage()

func (*CreateProjectReq) ProtoReflect

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

func (*CreateProjectReq) Reset

func (x *CreateProjectReq) Reset()

func (*CreateProjectReq) String

func (x *CreateProjectReq) String() string

type CreateRoleReq

type CreateRoleReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name for the role.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// List of actions that this role scopes to.
	Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
	// List of projects this role belongs to.
	Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

Does not contain type as the enduser can only create 'custom' roles.

func (*CreateRoleReq) Descriptor deprecated

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

Deprecated: Use CreateRoleReq.ProtoReflect.Descriptor instead.

func (*CreateRoleReq) GetActions

func (x *CreateRoleReq) GetActions() []string

func (*CreateRoleReq) GetId

func (x *CreateRoleReq) GetId() string

func (*CreateRoleReq) GetName

func (x *CreateRoleReq) GetName() string

func (*CreateRoleReq) GetProjects

func (x *CreateRoleReq) GetProjects() []string

func (*CreateRoleReq) ProtoMessage

func (*CreateRoleReq) ProtoMessage()

func (*CreateRoleReq) ProtoReflect

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

func (*CreateRoleReq) Reset

func (x *CreateRoleReq) Reset()

func (*CreateRoleReq) String

func (x *CreateRoleReq) String() string

type CreateRuleReq

type CreateRuleReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Unique ID of the project this rule belongs to. Cannot be changed.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Name for the project rule.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Whether the rule affects nodes (`NODE`) or events (`EVENT`).
	Type common.RuleType `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.api.iam.v2.RuleType" json:"type,omitempty"`
	// Conditions that ingested resources must match to belong to the project.
	// Will contain one or more.
	Conditions []*common.Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRuleReq) Descriptor deprecated

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

Deprecated: Use CreateRuleReq.ProtoReflect.Descriptor instead.

func (*CreateRuleReq) GetConditions

func (x *CreateRuleReq) GetConditions() []*common.Condition

func (*CreateRuleReq) GetId

func (x *CreateRuleReq) GetId() string

func (*CreateRuleReq) GetName

func (x *CreateRuleReq) GetName() string

func (*CreateRuleReq) GetProjectId

func (x *CreateRuleReq) GetProjectId() string

func (*CreateRuleReq) GetType

func (x *CreateRuleReq) GetType() common.RuleType

func (*CreateRuleReq) ProtoMessage

func (*CreateRuleReq) ProtoMessage()

func (*CreateRuleReq) ProtoReflect

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

func (*CreateRuleReq) Reset

func (x *CreateRuleReq) Reset()

func (*CreateRuleReq) String

func (x *CreateRuleReq) String() string

type CreateTeamReq

type CreateTeamReq struct {
	Id       string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTeamReq) Descriptor deprecated

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

Deprecated: Use CreateTeamReq.ProtoReflect.Descriptor instead.

func (*CreateTeamReq) GetId

func (x *CreateTeamReq) GetId() string

func (*CreateTeamReq) GetName

func (x *CreateTeamReq) GetName() string

func (*CreateTeamReq) GetProjects

func (x *CreateTeamReq) GetProjects() []string

func (*CreateTeamReq) ProtoMessage

func (*CreateTeamReq) ProtoMessage()

func (*CreateTeamReq) ProtoReflect

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

func (*CreateTeamReq) Reset

func (x *CreateTeamReq) Reset()

func (*CreateTeamReq) String

func (x *CreateTeamReq) String() string

type CreateTokenReq

type CreateTokenReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name for the token.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Active state. Defaults to true.
	// If set to false, token will not be authenticated or authorized.
	Active *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=active,proto3" json:"active,omitempty"`
	// Unique value for the token; if omitted the system will generate this.
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// List of projects this token belongs to.
	Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenReq) Descriptor deprecated

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

Deprecated: Use CreateTokenReq.ProtoReflect.Descriptor instead.

func (*CreateTokenReq) GetActive

func (x *CreateTokenReq) GetActive() *wrapperspb.BoolValue

func (*CreateTokenReq) GetId

func (x *CreateTokenReq) GetId() string

func (*CreateTokenReq) GetName

func (x *CreateTokenReq) GetName() string

func (*CreateTokenReq) GetProjects

func (x *CreateTokenReq) GetProjects() []string

func (*CreateTokenReq) GetValue

func (x *CreateTokenReq) GetValue() string

func (*CreateTokenReq) ProtoMessage

func (*CreateTokenReq) ProtoMessage()

func (*CreateTokenReq) ProtoReflect

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

func (*CreateTokenReq) Reset

func (x *CreateTokenReq) Reset()

func (*CreateTokenReq) String

func (x *CreateTokenReq) String() string

type CreateUserReq

type CreateUserReq struct {

	// Unique ID. Cannot be changed. Used to sign in.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Display name for local user.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Password for user. Used to sign in.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserReq) Descriptor deprecated

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

Deprecated: Use CreateUserReq.ProtoReflect.Descriptor instead.

func (*CreateUserReq) GetId

func (x *CreateUserReq) GetId() string

func (*CreateUserReq) GetName

func (x *CreateUserReq) GetName() string

func (*CreateUserReq) GetPassword

func (x *CreateUserReq) GetPassword() string

func (*CreateUserReq) ProtoMessage

func (*CreateUserReq) ProtoMessage()

func (*CreateUserReq) ProtoReflect

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

func (*CreateUserReq) Reset

func (x *CreateUserReq) Reset()

func (*CreateUserReq) String

func (x *CreateUserReq) String() string

type DeletePolicyReq

type DeletePolicyReq struct {

	// ID of the policy.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePolicyReq) Descriptor deprecated

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

Deprecated: Use DeletePolicyReq.ProtoReflect.Descriptor instead.

func (*DeletePolicyReq) GetId

func (x *DeletePolicyReq) GetId() string

func (*DeletePolicyReq) ProtoMessage

func (*DeletePolicyReq) ProtoMessage()

func (*DeletePolicyReq) ProtoReflect

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

func (*DeletePolicyReq) Reset

func (x *DeletePolicyReq) Reset()

func (*DeletePolicyReq) String

func (x *DeletePolicyReq) String() string

type DeleteProjectReq

type DeleteProjectReq struct {

	// ID of the project.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectReq) Descriptor deprecated

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

Deprecated: Use DeleteProjectReq.ProtoReflect.Descriptor instead.

func (*DeleteProjectReq) GetId

func (x *DeleteProjectReq) GetId() string

func (*DeleteProjectReq) ProtoMessage

func (*DeleteProjectReq) ProtoMessage()

func (*DeleteProjectReq) ProtoReflect

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

func (*DeleteProjectReq) Reset

func (x *DeleteProjectReq) Reset()

func (*DeleteProjectReq) String

func (x *DeleteProjectReq) String() string

type DeleteRoleReq

type DeleteRoleReq struct {

	// ID of the role.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoleReq) Descriptor deprecated

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

Deprecated: Use DeleteRoleReq.ProtoReflect.Descriptor instead.

func (*DeleteRoleReq) GetId

func (x *DeleteRoleReq) GetId() string

func (*DeleteRoleReq) ProtoMessage

func (*DeleteRoleReq) ProtoMessage()

func (*DeleteRoleReq) ProtoReflect

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

func (*DeleteRoleReq) Reset

func (x *DeleteRoleReq) Reset()

func (*DeleteRoleReq) String

func (x *DeleteRoleReq) String() string

type DeleteRuleReq

type DeleteRuleReq struct {

	// ID of the project rule.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the project the rule belongs to.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRuleReq) Descriptor deprecated

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

Deprecated: Use DeleteRuleReq.ProtoReflect.Descriptor instead.

func (*DeleteRuleReq) GetId

func (x *DeleteRuleReq) GetId() string

func (*DeleteRuleReq) GetProjectId

func (x *DeleteRuleReq) GetProjectId() string

func (*DeleteRuleReq) ProtoMessage

func (*DeleteRuleReq) ProtoMessage()

func (*DeleteRuleReq) ProtoReflect

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

func (*DeleteRuleReq) Reset

func (x *DeleteRuleReq) Reset()

func (*DeleteRuleReq) String

func (x *DeleteRuleReq) String() string

type DeleteTeamReq

type DeleteTeamReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTeamReq) Descriptor deprecated

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

Deprecated: Use DeleteTeamReq.ProtoReflect.Descriptor instead.

func (*DeleteTeamReq) GetId

func (x *DeleteTeamReq) GetId() string

func (*DeleteTeamReq) ProtoMessage

func (*DeleteTeamReq) ProtoMessage()

func (*DeleteTeamReq) ProtoReflect

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

func (*DeleteTeamReq) Reset

func (x *DeleteTeamReq) Reset()

func (*DeleteTeamReq) String

func (x *DeleteTeamReq) String() string

type DeleteTokenReq

type DeleteTokenReq struct {

	// ID of the token.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTokenReq) Descriptor deprecated

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

Deprecated: Use DeleteTokenReq.ProtoReflect.Descriptor instead.

func (*DeleteTokenReq) GetId

func (x *DeleteTokenReq) GetId() string

func (*DeleteTokenReq) ProtoMessage

func (*DeleteTokenReq) ProtoMessage()

func (*DeleteTokenReq) ProtoReflect

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

func (*DeleteTokenReq) Reset

func (x *DeleteTokenReq) Reset()

func (*DeleteTokenReq) String

func (x *DeleteTokenReq) String() string

type DeleteUserReq

type DeleteUserReq struct {

	// ID of the user.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserReq) Descriptor deprecated

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

Deprecated: Use DeleteUserReq.ProtoReflect.Descriptor instead.

func (*DeleteUserReq) GetId

func (x *DeleteUserReq) GetId() string

func (*DeleteUserReq) ProtoMessage

func (*DeleteUserReq) ProtoMessage()

func (*DeleteUserReq) ProtoReflect

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

func (*DeleteUserReq) Reset

func (x *DeleteUserReq) Reset()

func (*DeleteUserReq) String

func (x *DeleteUserReq) String() string

type GetPolicyReq

type GetPolicyReq struct {

	// ID of the policy.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPolicyReq) Descriptor deprecated

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

Deprecated: Use GetPolicyReq.ProtoReflect.Descriptor instead.

func (*GetPolicyReq) GetId

func (x *GetPolicyReq) GetId() string

func (*GetPolicyReq) ProtoMessage

func (*GetPolicyReq) ProtoMessage()

func (*GetPolicyReq) ProtoReflect

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

func (*GetPolicyReq) Reset

func (x *GetPolicyReq) Reset()

func (*GetPolicyReq) String

func (x *GetPolicyReq) String() string

type GetPolicyVersionReq

type GetPolicyVersionReq struct {
	// contains filtered or unexported fields
}

func (*GetPolicyVersionReq) Descriptor deprecated

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

Deprecated: Use GetPolicyVersionReq.ProtoReflect.Descriptor instead.

func (*GetPolicyVersionReq) ProtoMessage

func (*GetPolicyVersionReq) ProtoMessage()

func (*GetPolicyVersionReq) ProtoReflect

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

func (*GetPolicyVersionReq) Reset

func (x *GetPolicyVersionReq) Reset()

func (*GetPolicyVersionReq) String

func (x *GetPolicyVersionReq) String() string

type GetProjectReq

type GetProjectReq struct {

	// ID of the project.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectReq) Descriptor deprecated

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

Deprecated: Use GetProjectReq.ProtoReflect.Descriptor instead.

func (*GetProjectReq) GetId

func (x *GetProjectReq) GetId() string

func (*GetProjectReq) ProtoMessage

func (*GetProjectReq) ProtoMessage()

func (*GetProjectReq) ProtoReflect

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

func (*GetProjectReq) Reset

func (x *GetProjectReq) Reset()

func (*GetProjectReq) String

func (x *GetProjectReq) String() string

type GetRoleReq

type GetRoleReq struct {

	// ID of the role.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRoleReq) Descriptor deprecated

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

Deprecated: Use GetRoleReq.ProtoReflect.Descriptor instead.

func (*GetRoleReq) GetId

func (x *GetRoleReq) GetId() string

func (*GetRoleReq) ProtoMessage

func (*GetRoleReq) ProtoMessage()

func (*GetRoleReq) ProtoReflect

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

func (*GetRoleReq) Reset

func (x *GetRoleReq) Reset()

func (*GetRoleReq) String

func (x *GetRoleReq) String() string

type GetRuleReq

type GetRuleReq struct {

	// ID of the project rule.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the project the rule belongs to.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRuleReq) Descriptor deprecated

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

Deprecated: Use GetRuleReq.ProtoReflect.Descriptor instead.

func (*GetRuleReq) GetId

func (x *GetRuleReq) GetId() string

func (*GetRuleReq) GetProjectId

func (x *GetRuleReq) GetProjectId() string

func (*GetRuleReq) ProtoMessage

func (*GetRuleReq) ProtoMessage()

func (*GetRuleReq) ProtoReflect

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

func (*GetRuleReq) Reset

func (x *GetRuleReq) Reset()

func (*GetRuleReq) String

func (x *GetRuleReq) String() string

type GetTeamMembershipReq

type GetTeamMembershipReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTeamMembershipReq) Descriptor deprecated

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

Deprecated: Use GetTeamMembershipReq.ProtoReflect.Descriptor instead.

func (*GetTeamMembershipReq) GetId

func (x *GetTeamMembershipReq) GetId() string

func (*GetTeamMembershipReq) ProtoMessage

func (*GetTeamMembershipReq) ProtoMessage()

func (*GetTeamMembershipReq) ProtoReflect

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

func (*GetTeamMembershipReq) Reset

func (x *GetTeamMembershipReq) Reset()

func (*GetTeamMembershipReq) String

func (x *GetTeamMembershipReq) String() string

type GetTeamReq

type GetTeamReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTeamReq) Descriptor deprecated

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

Deprecated: Use GetTeamReq.ProtoReflect.Descriptor instead.

func (*GetTeamReq) GetId

func (x *GetTeamReq) GetId() string

func (*GetTeamReq) ProtoMessage

func (*GetTeamReq) ProtoMessage()

func (*GetTeamReq) ProtoReflect

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

func (*GetTeamReq) Reset

func (x *GetTeamReq) Reset()

func (*GetTeamReq) String

func (x *GetTeamReq) String() string

type GetTeamsForMemberReq

type GetTeamsForMemberReq struct {
	MembershipId string `protobuf:"bytes,1,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTeamsForMemberReq) Descriptor deprecated

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

Deprecated: Use GetTeamsForMemberReq.ProtoReflect.Descriptor instead.

func (*GetTeamsForMemberReq) GetMembershipId

func (x *GetTeamsForMemberReq) GetMembershipId() string

func (*GetTeamsForMemberReq) ProtoMessage

func (*GetTeamsForMemberReq) ProtoMessage()

func (*GetTeamsForMemberReq) ProtoReflect

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

func (*GetTeamsForMemberReq) Reset

func (x *GetTeamsForMemberReq) Reset()

func (*GetTeamsForMemberReq) String

func (x *GetTeamsForMemberReq) String() string

type GetTokenReq

type GetTokenReq struct {

	// ID of the token.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTokenReq) Descriptor deprecated

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

Deprecated: Use GetTokenReq.ProtoReflect.Descriptor instead.

func (*GetTokenReq) GetId

func (x *GetTokenReq) GetId() string

func (*GetTokenReq) ProtoMessage

func (*GetTokenReq) ProtoMessage()

func (*GetTokenReq) ProtoReflect

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

func (*GetTokenReq) Reset

func (x *GetTokenReq) Reset()

func (*GetTokenReq) String

func (x *GetTokenReq) String() string

type GetUserReq

type GetUserReq struct {

	// ID of the user.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReq) Descriptor deprecated

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

Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.

func (*GetUserReq) GetId

func (x *GetUserReq) GetId() string

func (*GetUserReq) ProtoMessage

func (*GetUserReq) ProtoMessage()

func (*GetUserReq) ProtoReflect

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

func (*GetUserReq) Reset

func (x *GetUserReq) Reset()

func (*GetUserReq) String

func (x *GetUserReq) String() string

type IntrospectAllReq

type IntrospectAllReq struct {
	// contains filtered or unexported fields
}

func (*IntrospectAllReq) Descriptor deprecated

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

Deprecated: Use IntrospectAllReq.ProtoReflect.Descriptor instead.

func (*IntrospectAllReq) ProtoMessage

func (*IntrospectAllReq) ProtoMessage()

func (*IntrospectAllReq) ProtoReflect

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

func (*IntrospectAllReq) Reset

func (x *IntrospectAllReq) Reset()

func (*IntrospectAllReq) String

func (x *IntrospectAllReq) String() string

type IntrospectReq

type IntrospectReq struct {
	Path       string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Parameters []string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*IntrospectReq) Descriptor deprecated

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

Deprecated: Use IntrospectReq.ProtoReflect.Descriptor instead.

func (*IntrospectReq) GetParameters

func (x *IntrospectReq) GetParameters() []string

func (*IntrospectReq) GetPath

func (x *IntrospectReq) GetPath() string

func (*IntrospectReq) ProtoMessage

func (*IntrospectReq) ProtoMessage()

func (*IntrospectReq) ProtoReflect

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

func (*IntrospectReq) Reset

func (x *IntrospectReq) Reset()

func (*IntrospectReq) String

func (x *IntrospectReq) String() string

type IntrospectSomeReq

type IntrospectSomeReq struct {
	Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*IntrospectSomeReq) Descriptor deprecated

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

Deprecated: Use IntrospectSomeReq.ProtoReflect.Descriptor instead.

func (*IntrospectSomeReq) GetPaths

func (x *IntrospectSomeReq) GetPaths() []string

func (*IntrospectSomeReq) ProtoMessage

func (*IntrospectSomeReq) ProtoMessage()

func (*IntrospectSomeReq) ProtoReflect

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

func (*IntrospectSomeReq) Reset

func (x *IntrospectSomeReq) Reset()

func (*IntrospectSomeReq) String

func (x *IntrospectSomeReq) String() string

type ListPoliciesReq

type ListPoliciesReq struct {
	// contains filtered or unexported fields
}

func (*ListPoliciesReq) Descriptor deprecated

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

Deprecated: Use ListPoliciesReq.ProtoReflect.Descriptor instead.

func (*ListPoliciesReq) ProtoMessage

func (*ListPoliciesReq) ProtoMessage()

func (*ListPoliciesReq) ProtoReflect

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

func (*ListPoliciesReq) Reset

func (x *ListPoliciesReq) Reset()

func (*ListPoliciesReq) String

func (x *ListPoliciesReq) String() string

type ListPolicyMembersReq

type ListPolicyMembersReq struct {

	// ID of the policy.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPolicyMembersReq) Descriptor deprecated

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

Deprecated: Use ListPolicyMembersReq.ProtoReflect.Descriptor instead.

func (*ListPolicyMembersReq) GetId

func (x *ListPolicyMembersReq) GetId() string

func (*ListPolicyMembersReq) ProtoMessage

func (*ListPolicyMembersReq) ProtoMessage()

func (*ListPolicyMembersReq) ProtoReflect

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

func (*ListPolicyMembersReq) Reset

func (x *ListPolicyMembersReq) Reset()

func (*ListPolicyMembersReq) String

func (x *ListPolicyMembersReq) String() string

type ListProjectsReq

type ListProjectsReq struct {
	// contains filtered or unexported fields
}

func (*ListProjectsReq) Descriptor deprecated

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

Deprecated: Use ListProjectsReq.ProtoReflect.Descriptor instead.

func (*ListProjectsReq) ProtoMessage

func (*ListProjectsReq) ProtoMessage()

func (*ListProjectsReq) ProtoReflect

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

func (*ListProjectsReq) Reset

func (x *ListProjectsReq) Reset()

func (*ListProjectsReq) String

func (x *ListProjectsReq) String() string

type ListRolesReq

type ListRolesReq struct {
	// contains filtered or unexported fields
}

func (*ListRolesReq) Descriptor deprecated

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

Deprecated: Use ListRolesReq.ProtoReflect.Descriptor instead.

func (*ListRolesReq) ProtoMessage

func (*ListRolesReq) ProtoMessage()

func (*ListRolesReq) ProtoReflect

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

func (*ListRolesReq) Reset

func (x *ListRolesReq) Reset()

func (*ListRolesReq) String

func (x *ListRolesReq) String() string

type ListRulesForProjectReq

type ListRulesForProjectReq struct {

	// ID of the project.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRulesForProjectReq) Descriptor deprecated

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

Deprecated: Use ListRulesForProjectReq.ProtoReflect.Descriptor instead.

func (*ListRulesForProjectReq) GetId

func (x *ListRulesForProjectReq) GetId() string

func (*ListRulesForProjectReq) ProtoMessage

func (*ListRulesForProjectReq) ProtoMessage()

func (*ListRulesForProjectReq) ProtoReflect

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

func (*ListRulesForProjectReq) Reset

func (x *ListRulesForProjectReq) Reset()

func (*ListRulesForProjectReq) String

func (x *ListRulesForProjectReq) String() string

type ListRulesReq

type ListRulesReq struct {
	// contains filtered or unexported fields
}

func (*ListRulesReq) Descriptor deprecated

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

Deprecated: Use ListRulesReq.ProtoReflect.Descriptor instead.

func (*ListRulesReq) ProtoMessage

func (*ListRulesReq) ProtoMessage()

func (*ListRulesReq) ProtoReflect

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

func (*ListRulesReq) Reset

func (x *ListRulesReq) Reset()

func (*ListRulesReq) String

func (x *ListRulesReq) String() string

type ListTeamsReq

type ListTeamsReq struct {
	// contains filtered or unexported fields
}

func (*ListTeamsReq) Descriptor deprecated

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

Deprecated: Use ListTeamsReq.ProtoReflect.Descriptor instead.

func (*ListTeamsReq) ProtoMessage

func (*ListTeamsReq) ProtoMessage()

func (*ListTeamsReq) ProtoReflect

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

func (*ListTeamsReq) Reset

func (x *ListTeamsReq) Reset()

func (*ListTeamsReq) String

func (x *ListTeamsReq) String() string

type ListTokensReq

type ListTokensReq struct {
	// contains filtered or unexported fields
}

func (*ListTokensReq) Descriptor deprecated

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

Deprecated: Use ListTokensReq.ProtoReflect.Descriptor instead.

func (*ListTokensReq) ProtoMessage

func (*ListTokensReq) ProtoMessage()

func (*ListTokensReq) ProtoReflect

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

func (*ListTokensReq) Reset

func (x *ListTokensReq) Reset()

func (*ListTokensReq) String

func (x *ListTokensReq) String() string

type ListUsersReq

type ListUsersReq struct {
	// contains filtered or unexported fields
}

func (*ListUsersReq) Descriptor deprecated

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

Deprecated: Use ListUsersReq.ProtoReflect.Descriptor instead.

func (*ListUsersReq) ProtoMessage

func (*ListUsersReq) ProtoMessage()

func (*ListUsersReq) ProtoReflect

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

func (*ListUsersReq) Reset

func (x *ListUsersReq) Reset()

func (*ListUsersReq) String

func (x *ListUsersReq) String() string

type RemovePolicyMembersReq

type RemovePolicyMembersReq struct {

	// ID of the policy.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// List of members to remove from the policy.
	Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePolicyMembersReq) Descriptor deprecated

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

Deprecated: Use RemovePolicyMembersReq.ProtoReflect.Descriptor instead.

func (*RemovePolicyMembersReq) GetId

func (x *RemovePolicyMembersReq) GetId() string

func (*RemovePolicyMembersReq) GetMembers

func (x *RemovePolicyMembersReq) GetMembers() []string

func (*RemovePolicyMembersReq) ProtoMessage

func (*RemovePolicyMembersReq) ProtoMessage()

func (*RemovePolicyMembersReq) ProtoReflect

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

func (*RemovePolicyMembersReq) Reset

func (x *RemovePolicyMembersReq) Reset()

func (*RemovePolicyMembersReq) String

func (x *RemovePolicyMembersReq) String() string

type RemoveTeamMembersReq

type RemoveTeamMembersReq struct {
	Id            string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MembershipIds []string `protobuf:"bytes,2,rep,name=membership_ids,json=membershipIds,proto3" json:"membership_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTeamMembersReq) Descriptor deprecated

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

Deprecated: Use RemoveTeamMembersReq.ProtoReflect.Descriptor instead.

func (*RemoveTeamMembersReq) GetId

func (x *RemoveTeamMembersReq) GetId() string

func (*RemoveTeamMembersReq) GetMembershipIds

func (x *RemoveTeamMembersReq) GetMembershipIds() []string

func (*RemoveTeamMembersReq) ProtoMessage

func (*RemoveTeamMembersReq) ProtoMessage()

func (*RemoveTeamMembersReq) ProtoReflect

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

func (*RemoveTeamMembersReq) Reset

func (x *RemoveTeamMembersReq) Reset()

func (*RemoveTeamMembersReq) String

func (x *RemoveTeamMembersReq) String() string

type ReplacePolicyMembersReq

type ReplacePolicyMembersReq struct {

	// ID of the policy.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// List of members that replaces previous policy member list.
	Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplacePolicyMembersReq) Descriptor deprecated

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

Deprecated: Use ReplacePolicyMembersReq.ProtoReflect.Descriptor instead.

func (*ReplacePolicyMembersReq) GetId

func (x *ReplacePolicyMembersReq) GetId() string

func (*ReplacePolicyMembersReq) GetMembers

func (x *ReplacePolicyMembersReq) GetMembers() []string

func (*ReplacePolicyMembersReq) ProtoMessage

func (*ReplacePolicyMembersReq) ProtoMessage()

func (*ReplacePolicyMembersReq) ProtoReflect

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

func (*ReplacePolicyMembersReq) Reset

func (x *ReplacePolicyMembersReq) Reset()

func (*ReplacePolicyMembersReq) String

func (x *ReplacePolicyMembersReq) String() string

type ResetAllTeamProjectsReq

type ResetAllTeamProjectsReq struct {
	// contains filtered or unexported fields
}

func (*ResetAllTeamProjectsReq) Descriptor deprecated

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

Deprecated: Use ResetAllTeamProjectsReq.ProtoReflect.Descriptor instead.

func (*ResetAllTeamProjectsReq) ProtoMessage

func (*ResetAllTeamProjectsReq) ProtoMessage()

func (*ResetAllTeamProjectsReq) ProtoReflect

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

func (*ResetAllTeamProjectsReq) Reset

func (x *ResetAllTeamProjectsReq) Reset()

func (*ResetAllTeamProjectsReq) String

func (x *ResetAllTeamProjectsReq) String() string

type UpdatePolicyReq

type UpdatePolicyReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Members affected by this policy.
	Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	// Statements for the policy.
	Statements []*common.Statement `protobuf:"bytes,3,rep,name=statements,proto3" json:"statements,omitempty"`
	// Name for this policy.
	Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
	// List of projects this policy belongs to.
	Projects []string `protobuf:"bytes,9,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

Does not contain type as the enduser can only create 'custom' policies.

func (*UpdatePolicyReq) Descriptor deprecated

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

Deprecated: Use UpdatePolicyReq.ProtoReflect.Descriptor instead.

func (*UpdatePolicyReq) GetId

func (x *UpdatePolicyReq) GetId() string

func (*UpdatePolicyReq) GetMembers

func (x *UpdatePolicyReq) GetMembers() []string

func (*UpdatePolicyReq) GetName

func (x *UpdatePolicyReq) GetName() string

func (*UpdatePolicyReq) GetProjects

func (x *UpdatePolicyReq) GetProjects() []string

func (*UpdatePolicyReq) GetStatements

func (x *UpdatePolicyReq) GetStatements() []*common.Statement

func (*UpdatePolicyReq) ProtoMessage

func (*UpdatePolicyReq) ProtoMessage()

func (*UpdatePolicyReq) ProtoReflect

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

func (*UpdatePolicyReq) Reset

func (x *UpdatePolicyReq) Reset()

func (*UpdatePolicyReq) String

func (x *UpdatePolicyReq) String() string

type UpdateProjectReq

type UpdateProjectReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name for the project.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProjectReq) Descriptor deprecated

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

Deprecated: Use UpdateProjectReq.ProtoReflect.Descriptor instead.

func (*UpdateProjectReq) GetId

func (x *UpdateProjectReq) GetId() string

func (*UpdateProjectReq) GetName

func (x *UpdateProjectReq) GetName() string

func (*UpdateProjectReq) ProtoMessage

func (*UpdateProjectReq) ProtoMessage()

func (*UpdateProjectReq) ProtoReflect

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

func (*UpdateProjectReq) Reset

func (x *UpdateProjectReq) Reset()

func (*UpdateProjectReq) String

func (x *UpdateProjectReq) String() string

type UpdateRoleReq

type UpdateRoleReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name for the role.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// List of actions that this role scopes to.
	Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
	// List of projects this role belongs to.
	Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleReq) Descriptor deprecated

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

Deprecated: Use UpdateRoleReq.ProtoReflect.Descriptor instead.

func (*UpdateRoleReq) GetActions

func (x *UpdateRoleReq) GetActions() []string

func (*UpdateRoleReq) GetId

func (x *UpdateRoleReq) GetId() string

func (*UpdateRoleReq) GetName

func (x *UpdateRoleReq) GetName() string

func (*UpdateRoleReq) GetProjects

func (x *UpdateRoleReq) GetProjects() []string

func (*UpdateRoleReq) ProtoMessage

func (*UpdateRoleReq) ProtoMessage()

func (*UpdateRoleReq) ProtoReflect

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

func (*UpdateRoleReq) Reset

func (x *UpdateRoleReq) Reset()

func (*UpdateRoleReq) String

func (x *UpdateRoleReq) String() string

type UpdateRuleReq

type UpdateRuleReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Unique ID of the project this rule belongs to. Cannot be changed.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Name for the project rule.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Whether the rule applies to ingested `NODE` or `EVENT` resources.
	// Cannot be changed.
	Type common.RuleType `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.api.iam.v2.RuleType" json:"type,omitempty"`
	// Conditions that ingested resources must match to belong to the project.
	// Will contain one or more.
	Conditions []*common.Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRuleReq) Descriptor deprecated

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

Deprecated: Use UpdateRuleReq.ProtoReflect.Descriptor instead.

func (*UpdateRuleReq) GetConditions

func (x *UpdateRuleReq) GetConditions() []*common.Condition

func (*UpdateRuleReq) GetId

func (x *UpdateRuleReq) GetId() string

func (*UpdateRuleReq) GetName

func (x *UpdateRuleReq) GetName() string

func (*UpdateRuleReq) GetProjectId

func (x *UpdateRuleReq) GetProjectId() string

func (*UpdateRuleReq) GetType

func (x *UpdateRuleReq) GetType() common.RuleType

func (*UpdateRuleReq) ProtoMessage

func (*UpdateRuleReq) ProtoMessage()

func (*UpdateRuleReq) ProtoReflect

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

func (*UpdateRuleReq) Reset

func (x *UpdateRuleReq) Reset()

func (*UpdateRuleReq) String

func (x *UpdateRuleReq) String() string

type UpdateSelfReq

type UpdateSelfReq struct {

	// ID of the user. Cannot be changed. Used to sign in.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Display name for local user.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// New password for user. Used to sign in.
	// Optional, but if included, previous_password is also required.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// Previous password for user.
	// Optional, but if included, password is also required.
	PreviousPassword string `protobuf:"bytes,4,opt,name=previous_password,json=previousPassword,proto3" json:"previous_password,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSelfReq) Descriptor deprecated

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

Deprecated: Use UpdateSelfReq.ProtoReflect.Descriptor instead.

func (*UpdateSelfReq) GetId

func (x *UpdateSelfReq) GetId() string

func (*UpdateSelfReq) GetName

func (x *UpdateSelfReq) GetName() string

func (*UpdateSelfReq) GetPassword

func (x *UpdateSelfReq) GetPassword() string

func (*UpdateSelfReq) GetPreviousPassword

func (x *UpdateSelfReq) GetPreviousPassword() string

func (*UpdateSelfReq) ProtoMessage

func (*UpdateSelfReq) ProtoMessage()

func (*UpdateSelfReq) ProtoReflect

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

func (*UpdateSelfReq) Reset

func (x *UpdateSelfReq) Reset()

func (*UpdateSelfReq) String

func (x *UpdateSelfReq) String() string

type UpdateTeamReq

type UpdateTeamReq struct {
	Id       string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTeamReq) Descriptor deprecated

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

Deprecated: Use UpdateTeamReq.ProtoReflect.Descriptor instead.

func (*UpdateTeamReq) GetId

func (x *UpdateTeamReq) GetId() string

func (*UpdateTeamReq) GetName

func (x *UpdateTeamReq) GetName() string

func (*UpdateTeamReq) GetProjects

func (x *UpdateTeamReq) GetProjects() []string

func (*UpdateTeamReq) ProtoMessage

func (*UpdateTeamReq) ProtoMessage()

func (*UpdateTeamReq) ProtoReflect

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

func (*UpdateTeamReq) Reset

func (x *UpdateTeamReq) Reset()

func (*UpdateTeamReq) String

func (x *UpdateTeamReq) String() string

type UpdateTokenReq

type UpdateTokenReq struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name for the token.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Active state. Defaults to true.
	// If set to false, token will not be authenticated or authorized.
	Active *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=active,proto3" json:"active,omitempty"`
	// List of projects this token belongs to.
	Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTokenReq) Descriptor deprecated

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

Deprecated: Use UpdateTokenReq.ProtoReflect.Descriptor instead.

func (*UpdateTokenReq) GetActive

func (x *UpdateTokenReq) GetActive() *wrapperspb.BoolValue

func (*UpdateTokenReq) GetId

func (x *UpdateTokenReq) GetId() string

func (*UpdateTokenReq) GetName

func (x *UpdateTokenReq) GetName() string

func (*UpdateTokenReq) GetProjects

func (x *UpdateTokenReq) GetProjects() []string

func (*UpdateTokenReq) ProtoMessage

func (*UpdateTokenReq) ProtoMessage()

func (*UpdateTokenReq) ProtoReflect

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

func (*UpdateTokenReq) Reset

func (x *UpdateTokenReq) Reset()

func (*UpdateTokenReq) String

func (x *UpdateTokenReq) String() string

type UpdateUserReq

type UpdateUserReq struct {

	// ID of the user. Cannot be changed. Used to sign in.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Display name for local user.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Password used to log in. Will overwrite preexisting password.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserReq) Descriptor deprecated

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

Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.

func (*UpdateUserReq) GetId

func (x *UpdateUserReq) GetId() string

func (*UpdateUserReq) GetName

func (x *UpdateUserReq) GetName() string

func (*UpdateUserReq) GetPassword

func (x *UpdateUserReq) GetPassword() string

func (*UpdateUserReq) ProtoMessage

func (*UpdateUserReq) ProtoMessage()

func (*UpdateUserReq) ProtoReflect

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

func (*UpdateUserReq) Reset

func (x *UpdateUserReq) Reset()

func (*UpdateUserReq) String

func (x *UpdateUserReq) String() string

Jump to

Keyboard shortcuts

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