guardianv1beta1

package
v0.7.3-alpha.1 Latest Latest
Warning

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

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

Documentation

Overview

Package guardianv1beta1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_gotocompany_guardian_v1beta1_guardian_proto protoreflect.FileDescriptor
View Source
var GuardianService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gotocompany.guardian.v1beta1.GuardianService",
	HandlerType: (*GuardianServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListProviders",
			Handler:    _GuardianService_ListProviders_Handler,
		},
		{
			MethodName: "GetProvider",
			Handler:    _GuardianService_GetProvider_Handler,
		},
		{
			MethodName: "GetProviderTypes",
			Handler:    _GuardianService_GetProviderTypes_Handler,
		},
		{
			MethodName: "CreateProvider",
			Handler:    _GuardianService_CreateProvider_Handler,
		},
		{
			MethodName: "UpdateProvider",
			Handler:    _GuardianService_UpdateProvider_Handler,
		},
		{
			MethodName: "DeleteProvider",
			Handler:    _GuardianService_DeleteProvider_Handler,
		},
		{
			MethodName: "ListRoles",
			Handler:    _GuardianService_ListRoles_Handler,
		},
		{
			MethodName: "ImportActivities",
			Handler:    _GuardianService_ImportActivities_Handler,
		},
		{
			MethodName: "GetActivity",
			Handler:    _GuardianService_GetActivity_Handler,
		},
		{
			MethodName: "ListActivities",
			Handler:    _GuardianService_ListActivities_Handler,
		},
		{
			MethodName: "ListPolicies",
			Handler:    _GuardianService_ListPolicies_Handler,
		},
		{
			MethodName: "GetPolicy",
			Handler:    _GuardianService_GetPolicy_Handler,
		},
		{
			MethodName: "CreatePolicy",
			Handler:    _GuardianService_CreatePolicy_Handler,
		},
		{
			MethodName: "UpdatePolicy",
			Handler:    _GuardianService_UpdatePolicy_Handler,
		},
		{
			MethodName: "GetPolicyPreferences",
			Handler:    _GuardianService_GetPolicyPreferences_Handler,
		},
		{
			MethodName: "ListResources",
			Handler:    _GuardianService_ListResources_Handler,
		},
		{
			MethodName: "GetResource",
			Handler:    _GuardianService_GetResource_Handler,
		},
		{
			MethodName: "UpdateResource",
			Handler:    _GuardianService_UpdateResource_Handler,
		},
		{
			MethodName: "DeleteResource",
			Handler:    _GuardianService_DeleteResource_Handler,
		},
		{
			MethodName: "ListUserAppeals",
			Handler:    _GuardianService_ListUserAppeals_Handler,
		},
		{
			MethodName: "ListAppeals",
			Handler:    _GuardianService_ListAppeals_Handler,
		},
		{
			MethodName: "GetAppeal",
			Handler:    _GuardianService_GetAppeal_Handler,
		},
		{
			MethodName: "CancelAppeal",
			Handler:    _GuardianService_CancelAppeal_Handler,
		},
		{
			MethodName: "CreateAppeal",
			Handler:    _GuardianService_CreateAppeal_Handler,
		},
		{
			MethodName: "ListUserApprovals",
			Handler:    _GuardianService_ListUserApprovals_Handler,
		},
		{
			MethodName: "ListApprovals",
			Handler:    _GuardianService_ListApprovals_Handler,
		},
		{
			MethodName: "UpdateApproval",
			Handler:    _GuardianService_UpdateApproval_Handler,
		},
		{
			MethodName: "AddApprover",
			Handler:    _GuardianService_AddApprover_Handler,
		},
		{
			MethodName: "DeleteApprover",
			Handler:    _GuardianService_DeleteApprover_Handler,
		},
		{
			MethodName: "ListGrants",
			Handler:    _GuardianService_ListGrants_Handler,
		},
		{
			MethodName: "ListUserGrants",
			Handler:    _GuardianService_ListUserGrants_Handler,
		},
		{
			MethodName: "GetGrant",
			Handler:    _GuardianService_GetGrant_Handler,
		},
		{
			MethodName: "UpdateGrant",
			Handler:    _GuardianService_UpdateGrant_Handler,
		},
		{
			MethodName: "RevokeGrant",
			Handler:    _GuardianService_RevokeGrant_Handler,
		},
		{
			MethodName: "RevokeGrants",
			Handler:    _GuardianService_RevokeGrants_Handler,
		},
		{
			MethodName: "ImportGrantsFromProvider",
			Handler:    _GuardianService_ImportGrantsFromProvider_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gotocompany/guardian/v1beta1/guardian.proto",
}

GuardianService_ServiceDesc is the grpc.ServiceDesc for GuardianService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGuardianServiceHandler

func RegisterGuardianServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterGuardianServiceHandler registers the http handlers for service GuardianService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterGuardianServiceHandlerClient

func RegisterGuardianServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GuardianServiceClient) error

RegisterGuardianServiceHandlerClient registers the http handlers for service GuardianService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GuardianServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GuardianServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GuardianServiceClient" to call the correct interceptors.

func RegisterGuardianServiceHandlerFromEndpoint

func RegisterGuardianServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterGuardianServiceHandlerFromEndpoint is same as RegisterGuardianServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterGuardianServiceHandlerServer

func RegisterGuardianServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GuardianServiceServer) error

RegisterGuardianServiceHandlerServer registers the http handlers for service GuardianService to "mux". UnaryRPC :call GuardianServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGuardianServiceHandlerFromEndpoint instead.

func RegisterGuardianServiceServer

func RegisterGuardianServiceServer(s grpc.ServiceRegistrar, srv GuardianServiceServer)

Types

type AddApproverRequest

type AddApproverRequest struct {
	AppealId   string `protobuf:"bytes,1,opt,name=appeal_id,json=appealId,proto3" json:"appeal_id,omitempty"`
	ApprovalId string `protobuf:"bytes,2,opt,name=approval_id,json=approvalId,proto3" json:"approval_id,omitempty"`
	Email      string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*AddApproverRequest) Descriptor deprecated

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

Deprecated: Use AddApproverRequest.ProtoReflect.Descriptor instead.

func (*AddApproverRequest) GetAppealId

func (x *AddApproverRequest) GetAppealId() string

func (*AddApproverRequest) GetApprovalId

func (x *AddApproverRequest) GetApprovalId() string

func (*AddApproverRequest) GetEmail

func (x *AddApproverRequest) GetEmail() string

func (*AddApproverRequest) ProtoMessage

func (*AddApproverRequest) ProtoMessage()

func (*AddApproverRequest) ProtoReflect

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

func (*AddApproverRequest) Reset

func (x *AddApproverRequest) Reset()

func (*AddApproverRequest) String

func (x *AddApproverRequest) String() string

type AddApproverResponse

type AddApproverResponse struct {
	Appeal *Appeal `protobuf:"bytes,1,opt,name=appeal,proto3" json:"appeal,omitempty"`
	// contains filtered or unexported fields
}

func (*AddApproverResponse) Descriptor deprecated

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

Deprecated: Use AddApproverResponse.ProtoReflect.Descriptor instead.

func (*AddApproverResponse) GetAppeal

func (x *AddApproverResponse) GetAppeal() *Appeal

func (*AddApproverResponse) ProtoMessage

func (*AddApproverResponse) ProtoMessage()

func (*AddApproverResponse) ProtoReflect

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

func (*AddApproverResponse) Reset

func (x *AddApproverResponse) Reset()

func (*AddApproverResponse) String

func (x *AddApproverResponse) String() string

type Appeal

type Appeal struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ResourceId    string                 `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	PolicyId      string                 `protobuf:"bytes,3,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	PolicyVersion uint32                 `protobuf:"varint,4,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
	Status        string                 `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	AccountId     string                 `protobuf:"bytes,6,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Role          string                 `protobuf:"bytes,7,opt,name=role,proto3" json:"role,omitempty"`
	Options       *AppealOptions         `protobuf:"bytes,8,opt,name=options,proto3" json:"options,omitempty"`    // optional
	Labels        map[string]string      ``                                                                       /* 153-byte string literal not displayed */
	Resource      *Resource              `protobuf:"bytes,10,opt,name=resource,proto3" json:"resource,omitempty"` // optional
	Approvals     []*Approval            `protobuf:"bytes,11,rep,name=approvals,proto3" json:"approvals,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Details       *structpb.Struct       `protobuf:"bytes,17,opt,name=details,proto3" json:"details,omitempty"`
	AccountType   string                 `protobuf:"bytes,18,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	CreatedBy     string                 `protobuf:"bytes,19,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	Creator       *structpb.Value        `protobuf:"bytes,20,opt,name=creator,proto3" json:"creator,omitempty"`
	Permissions   []string               `protobuf:"bytes,21,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Grant         *Grant                 `protobuf:"bytes,22,opt,name=grant,proto3" json:"grant,omitempty"`
	Description   string                 `protobuf:"bytes,23,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Appeal is created by user to get access to one or more resources

func (*Appeal) Descriptor deprecated

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

Deprecated: Use Appeal.ProtoReflect.Descriptor instead.

func (*Appeal) GetAccountId

func (x *Appeal) GetAccountId() string

func (*Appeal) GetAccountType

func (x *Appeal) GetAccountType() string

func (*Appeal) GetApprovals

func (x *Appeal) GetApprovals() []*Approval

func (*Appeal) GetCreatedAt

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

func (*Appeal) GetCreatedBy

func (x *Appeal) GetCreatedBy() string

func (*Appeal) GetCreator

func (x *Appeal) GetCreator() *structpb.Value

func (*Appeal) GetDescription

func (x *Appeal) GetDescription() string

func (*Appeal) GetDetails

func (x *Appeal) GetDetails() *structpb.Struct

func (*Appeal) GetGrant

func (x *Appeal) GetGrant() *Grant

func (*Appeal) GetId

func (x *Appeal) GetId() string

func (*Appeal) GetLabels

func (x *Appeal) GetLabels() map[string]string

func (*Appeal) GetOptions

func (x *Appeal) GetOptions() *AppealOptions

func (*Appeal) GetPermissions

func (x *Appeal) GetPermissions() []string

func (*Appeal) GetPolicyId

func (x *Appeal) GetPolicyId() string

func (*Appeal) GetPolicyVersion

func (x *Appeal) GetPolicyVersion() uint32

func (*Appeal) GetResource

func (x *Appeal) GetResource() *Resource

func (*Appeal) GetResourceId

func (x *Appeal) GetResourceId() string

func (*Appeal) GetRole

func (x *Appeal) GetRole() string

func (*Appeal) GetStatus

func (x *Appeal) GetStatus() string

func (*Appeal) GetUpdatedAt

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

func (*Appeal) ProtoMessage

func (*Appeal) ProtoMessage()

func (*Appeal) ProtoReflect

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

func (*Appeal) Reset

func (x *Appeal) Reset()

func (*Appeal) String

func (x *Appeal) String() string

type AppealOptions

type AppealOptions struct {
	ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` // optional
	Duration       string                 `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*AppealOptions) Descriptor deprecated

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

Deprecated: Use AppealOptions.ProtoReflect.Descriptor instead.

func (*AppealOptions) GetDuration

func (x *AppealOptions) GetDuration() string

func (*AppealOptions) GetExpirationDate

func (x *AppealOptions) GetExpirationDate() *timestamppb.Timestamp

func (*AppealOptions) ProtoMessage

func (*AppealOptions) ProtoMessage()

func (*AppealOptions) ProtoReflect

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

func (*AppealOptions) Reset

func (x *AppealOptions) Reset()

func (*AppealOptions) String

func (x *AppealOptions) String() string

type Approval

type Approval 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"`
	AppealId      string                 `protobuf:"bytes,3,opt,name=appeal_id,json=appealId,proto3" json:"appeal_id,omitempty"`
	Status        string                 `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	Actor         string                 `protobuf:"bytes,5,opt,name=actor,proto3" json:"actor,omitempty"`
	PolicyId      string                 `protobuf:"bytes,6,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	PolicyVersion uint32                 `protobuf:"varint,7,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
	Approvers     []string               `protobuf:"bytes,8,rep,name=approvers,proto3" json:"approvers,omitempty"`
	Appeal        *Appeal                `protobuf:"bytes,9,opt,name=appeal,proto3" json:"appeal,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Reason        string                 `protobuf:"bytes,12,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

Approval is an approval item that generated in an appeal based on the selected policy

func (*Approval) Descriptor deprecated

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

Deprecated: Use Approval.ProtoReflect.Descriptor instead.

func (*Approval) GetActor

func (x *Approval) GetActor() string

func (*Approval) GetAppeal

func (x *Approval) GetAppeal() *Appeal

func (*Approval) GetAppealId

func (x *Approval) GetAppealId() string

func (*Approval) GetApprovers

func (x *Approval) GetApprovers() []string

func (*Approval) GetCreatedAt

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

func (*Approval) GetId

func (x *Approval) GetId() string

func (*Approval) GetName

func (x *Approval) GetName() string

func (*Approval) GetPolicyId

func (x *Approval) GetPolicyId() string

func (*Approval) GetPolicyVersion

func (x *Approval) GetPolicyVersion() uint32

func (*Approval) GetReason

func (x *Approval) GetReason() string

func (*Approval) GetStatus

func (x *Approval) GetStatus() string

func (*Approval) GetUpdatedAt

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

func (*Approval) ProtoMessage

func (*Approval) ProtoMessage()

func (*Approval) ProtoReflect

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

func (*Approval) Reset

func (x *Approval) Reset()

func (*Approval) String

func (x *Approval) String() string

type CancelAppealRequest

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

func (*CancelAppealRequest) Descriptor deprecated

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

Deprecated: Use CancelAppealRequest.ProtoReflect.Descriptor instead.

func (*CancelAppealRequest) GetId

func (x *CancelAppealRequest) GetId() string

func (*CancelAppealRequest) ProtoMessage

func (*CancelAppealRequest) ProtoMessage()

func (*CancelAppealRequest) ProtoReflect

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

func (*CancelAppealRequest) Reset

func (x *CancelAppealRequest) Reset()

func (*CancelAppealRequest) String

func (x *CancelAppealRequest) String() string

type CancelAppealResponse

type CancelAppealResponse struct {
	Appeal *Appeal `protobuf:"bytes,1,opt,name=appeal,proto3" json:"appeal,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelAppealResponse) Descriptor deprecated

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

Deprecated: Use CancelAppealResponse.ProtoReflect.Descriptor instead.

func (*CancelAppealResponse) GetAppeal

func (x *CancelAppealResponse) GetAppeal() *Appeal

func (*CancelAppealResponse) ProtoMessage

func (*CancelAppealResponse) ProtoMessage()

func (*CancelAppealResponse) ProtoReflect

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

func (*CancelAppealResponse) Reset

func (x *CancelAppealResponse) Reset()

func (*CancelAppealResponse) String

func (x *CancelAppealResponse) String() string

type Condition

type Condition struct {
	Field string                    `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Match *Condition_MatchCondition `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetField

func (x *Condition) GetField() string

func (*Condition) GetMatch

func (x *Condition) GetMatch() *Condition_MatchCondition

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

type Condition_MatchCondition

type Condition_MatchCondition struct {
	Eq *structpb.Value `protobuf:"bytes,1,opt,name=eq,proto3" json:"eq,omitempty"`
	// contains filtered or unexported fields
}

func (*Condition_MatchCondition) Descriptor deprecated

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

Deprecated: Use Condition_MatchCondition.ProtoReflect.Descriptor instead.

func (*Condition_MatchCondition) GetEq

func (*Condition_MatchCondition) ProtoMessage

func (*Condition_MatchCondition) ProtoMessage()

func (*Condition_MatchCondition) ProtoReflect

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

func (*Condition_MatchCondition) Reset

func (x *Condition_MatchCondition) Reset()

func (*Condition_MatchCondition) String

func (x *Condition_MatchCondition) String() string

type CreateAppealRequest

type CreateAppealRequest struct {
	AccountId   string                          `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Resources   []*CreateAppealRequest_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	AccountType string                          `protobuf:"bytes,3,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	Description string                          `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppealRequest) Descriptor deprecated

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

Deprecated: Use CreateAppealRequest.ProtoReflect.Descriptor instead.

func (*CreateAppealRequest) GetAccountId

func (x *CreateAppealRequest) GetAccountId() string

func (*CreateAppealRequest) GetAccountType

func (x *CreateAppealRequest) GetAccountType() string

func (*CreateAppealRequest) GetDescription

func (x *CreateAppealRequest) GetDescription() string

func (*CreateAppealRequest) GetResources

func (*CreateAppealRequest) ProtoMessage

func (*CreateAppealRequest) ProtoMessage()

func (*CreateAppealRequest) ProtoReflect

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

func (*CreateAppealRequest) Reset

func (x *CreateAppealRequest) Reset()

func (*CreateAppealRequest) String

func (x *CreateAppealRequest) String() string

type CreateAppealRequest_Resource

type CreateAppealRequest_Resource struct {
	Id      string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Role    string           `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Options *structpb.Struct `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
	Details *structpb.Struct `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppealRequest_Resource) Descriptor deprecated

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

Deprecated: Use CreateAppealRequest_Resource.ProtoReflect.Descriptor instead.

func (*CreateAppealRequest_Resource) GetDetails

func (x *CreateAppealRequest_Resource) GetDetails() *structpb.Struct

func (*CreateAppealRequest_Resource) GetId

func (*CreateAppealRequest_Resource) GetOptions

func (x *CreateAppealRequest_Resource) GetOptions() *structpb.Struct

func (*CreateAppealRequest_Resource) GetRole

func (x *CreateAppealRequest_Resource) GetRole() string

func (*CreateAppealRequest_Resource) ProtoMessage

func (*CreateAppealRequest_Resource) ProtoMessage()

func (*CreateAppealRequest_Resource) ProtoReflect

func (*CreateAppealRequest_Resource) Reset

func (x *CreateAppealRequest_Resource) Reset()

func (*CreateAppealRequest_Resource) String

type CreateAppealResponse

type CreateAppealResponse struct {
	Appeals []*Appeal `protobuf:"bytes,1,rep,name=appeals,proto3" json:"appeals,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppealResponse) Descriptor deprecated

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

Deprecated: Use CreateAppealResponse.ProtoReflect.Descriptor instead.

func (*CreateAppealResponse) GetAppeals

func (x *CreateAppealResponse) GetAppeals() []*Appeal

func (*CreateAppealResponse) ProtoMessage

func (*CreateAppealResponse) ProtoMessage()

func (*CreateAppealResponse) ProtoReflect

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

func (*CreateAppealResponse) Reset

func (x *CreateAppealResponse) Reset()

func (*CreateAppealResponse) String

func (x *CreateAppealResponse) String() string

type CreatePolicyRequest

type CreatePolicyRequest struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	DryRun bool    `protobuf:"varint,2,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePolicyRequest) Descriptor deprecated

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

Deprecated: Use CreatePolicyRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyRequest) GetDryRun

func (x *CreatePolicyRequest) GetDryRun() bool

func (*CreatePolicyRequest) GetPolicy

func (x *CreatePolicyRequest) GetPolicy() *Policy

func (*CreatePolicyRequest) ProtoMessage

func (*CreatePolicyRequest) ProtoMessage()

func (*CreatePolicyRequest) ProtoReflect

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

func (*CreatePolicyRequest) Reset

func (x *CreatePolicyRequest) Reset()

func (*CreatePolicyRequest) String

func (x *CreatePolicyRequest) String() string

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePolicyResponse) Descriptor deprecated

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

Deprecated: Use CreatePolicyResponse.ProtoReflect.Descriptor instead.

func (*CreatePolicyResponse) GetPolicy

func (x *CreatePolicyResponse) GetPolicy() *Policy

func (*CreatePolicyResponse) ProtoMessage

func (*CreatePolicyResponse) ProtoMessage()

func (*CreatePolicyResponse) ProtoReflect

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

func (*CreatePolicyResponse) Reset

func (x *CreatePolicyResponse) Reset()

func (*CreatePolicyResponse) String

func (x *CreatePolicyResponse) String() string

type CreateProviderRequest

type CreateProviderRequest struct {
	Config *ProviderConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	DryRun bool            `protobuf:"varint,2,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProviderRequest) Descriptor deprecated

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

Deprecated: Use CreateProviderRequest.ProtoReflect.Descriptor instead.

func (*CreateProviderRequest) GetConfig

func (x *CreateProviderRequest) GetConfig() *ProviderConfig

func (*CreateProviderRequest) GetDryRun

func (x *CreateProviderRequest) GetDryRun() bool

func (*CreateProviderRequest) ProtoMessage

func (*CreateProviderRequest) ProtoMessage()

func (*CreateProviderRequest) ProtoReflect

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

func (*CreateProviderRequest) Reset

func (x *CreateProviderRequest) Reset()

func (*CreateProviderRequest) String

func (x *CreateProviderRequest) String() string

type CreateProviderResponse

type CreateProviderResponse struct {
	Provider *Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProviderResponse) Descriptor deprecated

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

Deprecated: Use CreateProviderResponse.ProtoReflect.Descriptor instead.

func (*CreateProviderResponse) GetProvider

func (x *CreateProviderResponse) GetProvider() *Provider

func (*CreateProviderResponse) ProtoMessage

func (*CreateProviderResponse) ProtoMessage()

func (*CreateProviderResponse) ProtoReflect

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

func (*CreateProviderResponse) Reset

func (x *CreateProviderResponse) Reset()

func (*CreateProviderResponse) String

func (x *CreateProviderResponse) String() string

type DeleteApproverRequest

type DeleteApproverRequest struct {
	AppealId   string `protobuf:"bytes,1,opt,name=appeal_id,json=appealId,proto3" json:"appeal_id,omitempty"`
	ApprovalId string `protobuf:"bytes,2,opt,name=approval_id,json=approvalId,proto3" json:"approval_id,omitempty"`
	Email      string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteApproverRequest) Descriptor deprecated

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

Deprecated: Use DeleteApproverRequest.ProtoReflect.Descriptor instead.

func (*DeleteApproverRequest) GetAppealId

func (x *DeleteApproverRequest) GetAppealId() string

func (*DeleteApproverRequest) GetApprovalId

func (x *DeleteApproverRequest) GetApprovalId() string

func (*DeleteApproverRequest) GetEmail

func (x *DeleteApproverRequest) GetEmail() string

func (*DeleteApproverRequest) ProtoMessage

func (*DeleteApproverRequest) ProtoMessage()

func (*DeleteApproverRequest) ProtoReflect

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

func (*DeleteApproverRequest) Reset

func (x *DeleteApproverRequest) Reset()

func (*DeleteApproverRequest) String

func (x *DeleteApproverRequest) String() string

type DeleteApproverResponse

type DeleteApproverResponse struct {
	Appeal *Appeal `protobuf:"bytes,1,opt,name=appeal,proto3" json:"appeal,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteApproverResponse) Descriptor deprecated

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

Deprecated: Use DeleteApproverResponse.ProtoReflect.Descriptor instead.

func (*DeleteApproverResponse) GetAppeal

func (x *DeleteApproverResponse) GetAppeal() *Appeal

func (*DeleteApproverResponse) ProtoMessage

func (*DeleteApproverResponse) ProtoMessage()

func (*DeleteApproverResponse) ProtoReflect

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

func (*DeleteApproverResponse) Reset

func (x *DeleteApproverResponse) Reset()

func (*DeleteApproverResponse) String

func (x *DeleteApproverResponse) String() string

type DeleteProviderRequest

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

func (*DeleteProviderRequest) Descriptor deprecated

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

Deprecated: Use DeleteProviderRequest.ProtoReflect.Descriptor instead.

func (*DeleteProviderRequest) GetId

func (x *DeleteProviderRequest) GetId() string

func (*DeleteProviderRequest) ProtoMessage

func (*DeleteProviderRequest) ProtoMessage()

func (*DeleteProviderRequest) ProtoReflect

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

func (*DeleteProviderRequest) Reset

func (x *DeleteProviderRequest) Reset()

func (*DeleteProviderRequest) String

func (x *DeleteProviderRequest) String() string

type DeleteProviderResponse

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

func (*DeleteProviderResponse) Descriptor deprecated

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

Deprecated: Use DeleteProviderResponse.ProtoReflect.Descriptor instead.

func (*DeleteProviderResponse) ProtoMessage

func (*DeleteProviderResponse) ProtoMessage()

func (*DeleteProviderResponse) ProtoReflect

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

func (*DeleteProviderResponse) Reset

func (x *DeleteProviderResponse) Reset()

func (*DeleteProviderResponse) String

func (x *DeleteProviderResponse) String() string

type DeleteResourceRequest

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

func (*DeleteResourceRequest) Descriptor deprecated

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

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetId

func (x *DeleteResourceRequest) GetId() string

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

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

func (*DeleteResourceRequest) Reset

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) String

func (x *DeleteResourceRequest) String() string

type DeleteResourceResponse

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

func (*DeleteResourceResponse) Descriptor deprecated

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

Deprecated: Use DeleteResourceResponse.ProtoReflect.Descriptor instead.

func (*DeleteResourceResponse) ProtoMessage

func (*DeleteResourceResponse) ProtoMessage()

func (*DeleteResourceResponse) ProtoReflect

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

func (*DeleteResourceResponse) Reset

func (x *DeleteResourceResponse) Reset()

func (*DeleteResourceResponse) String

func (x *DeleteResourceResponse) String() string

type GetActivityRequest

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

func (*GetActivityRequest) Descriptor deprecated

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

Deprecated: Use GetActivityRequest.ProtoReflect.Descriptor instead.

func (*GetActivityRequest) GetId

func (x *GetActivityRequest) GetId() string

func (*GetActivityRequest) ProtoMessage

func (*GetActivityRequest) ProtoMessage()

func (*GetActivityRequest) ProtoReflect

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

func (*GetActivityRequest) Reset

func (x *GetActivityRequest) Reset()

func (*GetActivityRequest) String

func (x *GetActivityRequest) String() string

type GetActivityResponse

type GetActivityResponse struct {
	Activity *ProviderActivity `protobuf:"bytes,1,opt,name=activity,proto3" json:"activity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActivityResponse) Descriptor deprecated

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

Deprecated: Use GetActivityResponse.ProtoReflect.Descriptor instead.

func (*GetActivityResponse) GetActivity

func (x *GetActivityResponse) GetActivity() *ProviderActivity

func (*GetActivityResponse) ProtoMessage

func (*GetActivityResponse) ProtoMessage()

func (*GetActivityResponse) ProtoReflect

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

func (*GetActivityResponse) Reset

func (x *GetActivityResponse) Reset()

func (*GetActivityResponse) String

func (x *GetActivityResponse) String() string

type GetAppealRequest

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

func (*GetAppealRequest) Descriptor deprecated

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

Deprecated: Use GetAppealRequest.ProtoReflect.Descriptor instead.

func (*GetAppealRequest) GetId

func (x *GetAppealRequest) GetId() string

func (*GetAppealRequest) ProtoMessage

func (*GetAppealRequest) ProtoMessage()

func (*GetAppealRequest) ProtoReflect

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

func (*GetAppealRequest) Reset

func (x *GetAppealRequest) Reset()

func (*GetAppealRequest) String

func (x *GetAppealRequest) String() string

type GetAppealResponse

type GetAppealResponse struct {
	Appeal *Appeal `protobuf:"bytes,1,opt,name=appeal,proto3" json:"appeal,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppealResponse) Descriptor deprecated

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

Deprecated: Use GetAppealResponse.ProtoReflect.Descriptor instead.

func (*GetAppealResponse) GetAppeal

func (x *GetAppealResponse) GetAppeal() *Appeal

func (*GetAppealResponse) ProtoMessage

func (*GetAppealResponse) ProtoMessage()

func (*GetAppealResponse) ProtoReflect

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

func (*GetAppealResponse) Reset

func (x *GetAppealResponse) Reset()

func (*GetAppealResponse) String

func (x *GetAppealResponse) String() string

type GetGrantRequest

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

func (*GetGrantRequest) Descriptor deprecated

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

Deprecated: Use GetGrantRequest.ProtoReflect.Descriptor instead.

func (*GetGrantRequest) GetId

func (x *GetGrantRequest) GetId() string

func (*GetGrantRequest) ProtoMessage

func (*GetGrantRequest) ProtoMessage()

func (*GetGrantRequest) ProtoReflect

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

func (*GetGrantRequest) Reset

func (x *GetGrantRequest) Reset()

func (*GetGrantRequest) String

func (x *GetGrantRequest) String() string

type GetGrantResponse

type GetGrantResponse struct {
	Grant *Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGrantResponse) Descriptor deprecated

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

Deprecated: Use GetGrantResponse.ProtoReflect.Descriptor instead.

func (*GetGrantResponse) GetGrant

func (x *GetGrantResponse) GetGrant() *Grant

func (*GetGrantResponse) ProtoMessage

func (*GetGrantResponse) ProtoMessage()

func (*GetGrantResponse) ProtoReflect

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

func (*GetGrantResponse) Reset

func (x *GetGrantResponse) Reset()

func (*GetGrantResponse) String

func (x *GetGrantResponse) String() string

type GetPolicyPreferencesRequest

type GetPolicyPreferencesRequest struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPolicyPreferencesRequest) Descriptor deprecated

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

Deprecated: Use GetPolicyPreferencesRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyPreferencesRequest) GetId

func (*GetPolicyPreferencesRequest) GetVersion

func (x *GetPolicyPreferencesRequest) GetVersion() uint32

func (*GetPolicyPreferencesRequest) ProtoMessage

func (*GetPolicyPreferencesRequest) ProtoMessage()

func (*GetPolicyPreferencesRequest) ProtoReflect

func (*GetPolicyPreferencesRequest) Reset

func (x *GetPolicyPreferencesRequest) Reset()

func (*GetPolicyPreferencesRequest) String

func (x *GetPolicyPreferencesRequest) String() string

type GetPolicyPreferencesResponse

type GetPolicyPreferencesResponse struct {
	Appeal *PolicyAppealConfig `protobuf:"bytes,1,opt,name=appeal,proto3" json:"appeal,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPolicyPreferencesResponse) Descriptor deprecated

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

Deprecated: Use GetPolicyPreferencesResponse.ProtoReflect.Descriptor instead.

func (*GetPolicyPreferencesResponse) GetAppeal

func (*GetPolicyPreferencesResponse) ProtoMessage

func (*GetPolicyPreferencesResponse) ProtoMessage()

func (*GetPolicyPreferencesResponse) ProtoReflect

func (*GetPolicyPreferencesResponse) Reset

func (x *GetPolicyPreferencesResponse) Reset()

func (*GetPolicyPreferencesResponse) String

type GetPolicyRequest

type GetPolicyRequest struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPolicyRequest) Descriptor deprecated

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

Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyRequest) GetId

func (x *GetPolicyRequest) GetId() string

func (*GetPolicyRequest) GetVersion

func (x *GetPolicyRequest) GetVersion() uint32

func (*GetPolicyRequest) ProtoMessage

func (*GetPolicyRequest) ProtoMessage()

func (*GetPolicyRequest) ProtoReflect

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

func (*GetPolicyRequest) Reset

func (x *GetPolicyRequest) Reset()

func (*GetPolicyRequest) String

func (x *GetPolicyRequest) String() string

type GetPolicyResponse

type GetPolicyResponse struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPolicyResponse) Descriptor deprecated

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

Deprecated: Use GetPolicyResponse.ProtoReflect.Descriptor instead.

func (*GetPolicyResponse) GetPolicy

func (x *GetPolicyResponse) GetPolicy() *Policy

func (*GetPolicyResponse) ProtoMessage

func (*GetPolicyResponse) ProtoMessage()

func (*GetPolicyResponse) ProtoReflect

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

func (*GetPolicyResponse) Reset

func (x *GetPolicyResponse) Reset()

func (*GetPolicyResponse) String

func (x *GetPolicyResponse) String() string

type GetProviderRequest

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

func (*GetProviderRequest) Descriptor deprecated

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

Deprecated: Use GetProviderRequest.ProtoReflect.Descriptor instead.

func (*GetProviderRequest) GetId

func (x *GetProviderRequest) GetId() string

func (*GetProviderRequest) ProtoMessage

func (*GetProviderRequest) ProtoMessage()

func (*GetProviderRequest) ProtoReflect

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

func (*GetProviderRequest) Reset

func (x *GetProviderRequest) Reset()

func (*GetProviderRequest) String

func (x *GetProviderRequest) String() string

type GetProviderResponse

type GetProviderResponse struct {
	Provider *Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderResponse) Descriptor deprecated

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

Deprecated: Use GetProviderResponse.ProtoReflect.Descriptor instead.

func (*GetProviderResponse) GetProvider

func (x *GetProviderResponse) GetProvider() *Provider

func (*GetProviderResponse) ProtoMessage

func (*GetProviderResponse) ProtoMessage()

func (*GetProviderResponse) ProtoReflect

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

func (*GetProviderResponse) Reset

func (x *GetProviderResponse) Reset()

func (*GetProviderResponse) String

func (x *GetProviderResponse) String() string

type GetProviderTypesRequest

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

func (*GetProviderTypesRequest) Descriptor deprecated

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

Deprecated: Use GetProviderTypesRequest.ProtoReflect.Descriptor instead.

func (*GetProviderTypesRequest) ProtoMessage

func (*GetProviderTypesRequest) ProtoMessage()

func (*GetProviderTypesRequest) ProtoReflect

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

func (*GetProviderTypesRequest) Reset

func (x *GetProviderTypesRequest) Reset()

func (*GetProviderTypesRequest) String

func (x *GetProviderTypesRequest) String() string

type GetProviderTypesResponse

type GetProviderTypesResponse struct {
	ProviderTypes []*ProviderType `protobuf:"bytes,1,rep,name=provider_types,json=providerTypes,proto3" json:"provider_types,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderTypesResponse) Descriptor deprecated

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

Deprecated: Use GetProviderTypesResponse.ProtoReflect.Descriptor instead.

func (*GetProviderTypesResponse) GetProviderTypes

func (x *GetProviderTypesResponse) GetProviderTypes() []*ProviderType

func (*GetProviderTypesResponse) ProtoMessage

func (*GetProviderTypesResponse) ProtoMessage()

func (*GetProviderTypesResponse) ProtoReflect

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

func (*GetProviderTypesResponse) Reset

func (x *GetProviderTypesResponse) Reset()

func (*GetProviderTypesResponse) String

func (x *GetProviderTypesResponse) String() string

type GetResourceRequest

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

func (*GetResourceRequest) Descriptor deprecated

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

Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRequest) GetId

func (x *GetResourceRequest) GetId() string

func (*GetResourceRequest) ProtoMessage

func (*GetResourceRequest) ProtoMessage()

func (*GetResourceRequest) ProtoReflect

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

func (*GetResourceRequest) Reset

func (x *GetResourceRequest) Reset()

func (*GetResourceRequest) String

func (x *GetResourceRequest) String() string

type GetResourceResponse

type GetResourceResponse struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceResponse) Descriptor deprecated

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

Deprecated: Use GetResourceResponse.ProtoReflect.Descriptor instead.

func (*GetResourceResponse) GetResource

func (x *GetResourceResponse) GetResource() *Resource

func (*GetResourceResponse) ProtoMessage

func (*GetResourceResponse) ProtoMessage()

func (*GetResourceResponse) ProtoReflect

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

func (*GetResourceResponse) Reset

func (x *GetResourceResponse) Reset()

func (*GetResourceResponse) String

func (x *GetResourceResponse) String() string

type Grant

type Grant struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status           string                 `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	AccountId        string                 `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AccountType      string                 `protobuf:"bytes,4,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	ResourceId       string                 `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Role             string                 `protobuf:"bytes,6,opt,name=role,proto3" json:"role,omitempty"`
	Permissions      []string               `protobuf:"bytes,7,rep,name=permissions,proto3" json:"permissions,omitempty"`
	ExpirationDate   *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`
	AppealId         string                 `protobuf:"bytes,9,opt,name=appeal_id,json=appealId,proto3" json:"appeal_id,omitempty"`
	RevokedBy        string                 `protobuf:"bytes,10,opt,name=revoked_by,json=revokedBy,proto3" json:"revoked_by,omitempty"`
	RevokedAt        *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"`
	RevokeReason     string                 `protobuf:"bytes,12,opt,name=revoke_reason,json=revokeReason,proto3" json:"revoke_reason,omitempty"`
	CreatedBy        string                 `protobuf:"bytes,13,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	CreatedAt        *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt        *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Resource         *Resource              `protobuf:"bytes,16,opt,name=resource,proto3" json:"resource,omitempty"`
	Appeal           *Appeal                `protobuf:"bytes,17,opt,name=appeal,proto3" json:"appeal,omitempty"`
	IsPermanent      bool                   `protobuf:"varint,18,opt,name=is_permanent,json=isPermanent,proto3" json:"is_permanent,omitempty"`
	Source           string                 `protobuf:"bytes,19,opt,name=source,proto3" json:"source,omitempty"`
	StatusInProvider string                 `protobuf:"bytes,20,opt,name=status_in_provider,json=statusInProvider,proto3" json:"status_in_provider,omitempty"`
	Owner            string                 `protobuf:"bytes,21,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

func (*Grant) Descriptor deprecated

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

Deprecated: Use Grant.ProtoReflect.Descriptor instead.

func (*Grant) GetAccountId

func (x *Grant) GetAccountId() string

func (*Grant) GetAccountType

func (x *Grant) GetAccountType() string

func (*Grant) GetAppeal

func (x *Grant) GetAppeal() *Appeal

func (*Grant) GetAppealId

func (x *Grant) GetAppealId() string

func (*Grant) GetCreatedAt

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

func (*Grant) GetCreatedBy

func (x *Grant) GetCreatedBy() string

func (*Grant) GetExpirationDate

func (x *Grant) GetExpirationDate() *timestamppb.Timestamp

func (*Grant) GetId

func (x *Grant) GetId() string

func (*Grant) GetIsPermanent

func (x *Grant) GetIsPermanent() bool

func (*Grant) GetOwner

func (x *Grant) GetOwner() string

func (*Grant) GetPermissions

func (x *Grant) GetPermissions() []string

func (*Grant) GetResource

func (x *Grant) GetResource() *Resource

func (*Grant) GetResourceId

func (x *Grant) GetResourceId() string

func (*Grant) GetRevokeReason

func (x *Grant) GetRevokeReason() string

func (*Grant) GetRevokedAt

func (x *Grant) GetRevokedAt() *timestamppb.Timestamp

func (*Grant) GetRevokedBy

func (x *Grant) GetRevokedBy() string

func (*Grant) GetRole

func (x *Grant) GetRole() string

func (*Grant) GetSource

func (x *Grant) GetSource() string

func (*Grant) GetStatus

func (x *Grant) GetStatus() string

func (*Grant) GetStatusInProvider

func (x *Grant) GetStatusInProvider() string

func (*Grant) GetUpdatedAt

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

func (*Grant) ProtoMessage

func (*Grant) ProtoMessage()

func (*Grant) ProtoReflect

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

func (*Grant) Reset

func (x *Grant) Reset()

func (*Grant) String

func (x *Grant) String() string

type GuardianServiceClient

type GuardianServiceClient interface {
	ListProviders(ctx context.Context, in *ListProvidersRequest, opts ...grpc.CallOption) (*ListProvidersResponse, error)
	GetProvider(ctx context.Context, in *GetProviderRequest, opts ...grpc.CallOption) (*GetProviderResponse, error)
	GetProviderTypes(ctx context.Context, in *GetProviderTypesRequest, opts ...grpc.CallOption) (*GetProviderTypesResponse, error)
	CreateProvider(ctx context.Context, in *CreateProviderRequest, opts ...grpc.CallOption) (*CreateProviderResponse, error)
	UpdateProvider(ctx context.Context, in *UpdateProviderRequest, opts ...grpc.CallOption) (*UpdateProviderResponse, error)
	DeleteProvider(ctx context.Context, in *DeleteProviderRequest, opts ...grpc.CallOption) (*DeleteProviderResponse, error)
	ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error)
	ImportActivities(ctx context.Context, in *ImportActivitiesRequest, opts ...grpc.CallOption) (*ImportActivitiesResponse, error)
	GetActivity(ctx context.Context, in *GetActivityRequest, opts ...grpc.CallOption) (*GetActivityResponse, error)
	ListActivities(ctx context.Context, in *ListActivitiesRequest, opts ...grpc.CallOption) (*ListActivitiesResponse, error)
	ListPolicies(ctx context.Context, in *ListPoliciesRequest, opts ...grpc.CallOption) (*ListPoliciesResponse, error)
	GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error)
	CreatePolicy(ctx context.Context, in *CreatePolicyRequest, opts ...grpc.CallOption) (*CreatePolicyResponse, error)
	UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*UpdatePolicyResponse, error)
	GetPolicyPreferences(ctx context.Context, in *GetPolicyPreferencesRequest, opts ...grpc.CallOption) (*GetPolicyPreferencesResponse, error)
	ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
	GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error)
	UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error)
	DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*DeleteResourceResponse, error)
	ListUserAppeals(ctx context.Context, in *ListUserAppealsRequest, opts ...grpc.CallOption) (*ListUserAppealsResponse, error)
	ListAppeals(ctx context.Context, in *ListAppealsRequest, opts ...grpc.CallOption) (*ListAppealsResponse, error)
	GetAppeal(ctx context.Context, in *GetAppealRequest, opts ...grpc.CallOption) (*GetAppealResponse, error)
	CancelAppeal(ctx context.Context, in *CancelAppealRequest, opts ...grpc.CallOption) (*CancelAppealResponse, error)
	CreateAppeal(ctx context.Context, in *CreateAppealRequest, opts ...grpc.CallOption) (*CreateAppealResponse, error)
	ListUserApprovals(ctx context.Context, in *ListUserApprovalsRequest, opts ...grpc.CallOption) (*ListUserApprovalsResponse, error)
	ListApprovals(ctx context.Context, in *ListApprovalsRequest, opts ...grpc.CallOption) (*ListApprovalsResponse, error)
	UpdateApproval(ctx context.Context, in *UpdateApprovalRequest, opts ...grpc.CallOption) (*UpdateApprovalResponse, error)
	AddApprover(ctx context.Context, in *AddApproverRequest, opts ...grpc.CallOption) (*AddApproverResponse, error)
	DeleteApprover(ctx context.Context, in *DeleteApproverRequest, opts ...grpc.CallOption) (*DeleteApproverResponse, error)
	ListGrants(ctx context.Context, in *ListGrantsRequest, opts ...grpc.CallOption) (*ListGrantsResponse, error)
	ListUserGrants(ctx context.Context, in *ListUserGrantsRequest, opts ...grpc.CallOption) (*ListUserGrantsResponse, error)
	GetGrant(ctx context.Context, in *GetGrantRequest, opts ...grpc.CallOption) (*GetGrantResponse, error)
	UpdateGrant(ctx context.Context, in *UpdateGrantRequest, opts ...grpc.CallOption) (*UpdateGrantResponse, error)
	RevokeGrant(ctx context.Context, in *RevokeGrantRequest, opts ...grpc.CallOption) (*RevokeGrantResponse, error)
	RevokeGrants(ctx context.Context, in *RevokeGrantsRequest, opts ...grpc.CallOption) (*RevokeGrantsResponse, error)
	ImportGrantsFromProvider(ctx context.Context, in *ImportGrantsFromProviderRequest, opts ...grpc.CallOption) (*ImportGrantsFromProviderResponse, error)
}

GuardianServiceClient is the client API for GuardianService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type GuardianServiceServer

type GuardianServiceServer interface {
	ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
	GetProvider(context.Context, *GetProviderRequest) (*GetProviderResponse, error)
	GetProviderTypes(context.Context, *GetProviderTypesRequest) (*GetProviderTypesResponse, error)
	CreateProvider(context.Context, *CreateProviderRequest) (*CreateProviderResponse, error)
	UpdateProvider(context.Context, *UpdateProviderRequest) (*UpdateProviderResponse, error)
	DeleteProvider(context.Context, *DeleteProviderRequest) (*DeleteProviderResponse, error)
	ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
	ImportActivities(context.Context, *ImportActivitiesRequest) (*ImportActivitiesResponse, error)
	GetActivity(context.Context, *GetActivityRequest) (*GetActivityResponse, error)
	ListActivities(context.Context, *ListActivitiesRequest) (*ListActivitiesResponse, error)
	ListPolicies(context.Context, *ListPoliciesRequest) (*ListPoliciesResponse, error)
	GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
	CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error)
	UpdatePolicy(context.Context, *UpdatePolicyRequest) (*UpdatePolicyResponse, error)
	GetPolicyPreferences(context.Context, *GetPolicyPreferencesRequest) (*GetPolicyPreferencesResponse, error)
	ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
	GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
	UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
	DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
	ListUserAppeals(context.Context, *ListUserAppealsRequest) (*ListUserAppealsResponse, error)
	ListAppeals(context.Context, *ListAppealsRequest) (*ListAppealsResponse, error)
	GetAppeal(context.Context, *GetAppealRequest) (*GetAppealResponse, error)
	CancelAppeal(context.Context, *CancelAppealRequest) (*CancelAppealResponse, error)
	CreateAppeal(context.Context, *CreateAppealRequest) (*CreateAppealResponse, error)
	ListUserApprovals(context.Context, *ListUserApprovalsRequest) (*ListUserApprovalsResponse, error)
	ListApprovals(context.Context, *ListApprovalsRequest) (*ListApprovalsResponse, error)
	UpdateApproval(context.Context, *UpdateApprovalRequest) (*UpdateApprovalResponse, error)
	AddApprover(context.Context, *AddApproverRequest) (*AddApproverResponse, error)
	DeleteApprover(context.Context, *DeleteApproverRequest) (*DeleteApproverResponse, error)
	ListGrants(context.Context, *ListGrantsRequest) (*ListGrantsResponse, error)
	ListUserGrants(context.Context, *ListUserGrantsRequest) (*ListUserGrantsResponse, error)
	GetGrant(context.Context, *GetGrantRequest) (*GetGrantResponse, error)
	UpdateGrant(context.Context, *UpdateGrantRequest) (*UpdateGrantResponse, error)
	RevokeGrant(context.Context, *RevokeGrantRequest) (*RevokeGrantResponse, error)
	RevokeGrants(context.Context, *RevokeGrantsRequest) (*RevokeGrantsResponse, error)
	ImportGrantsFromProvider(context.Context, *ImportGrantsFromProviderRequest) (*ImportGrantsFromProviderResponse, error)
	// contains filtered or unexported methods
}

GuardianServiceServer is the server API for GuardianService service. All implementations must embed UnimplementedGuardianServiceServer for forward compatibility

type ImportActivitiesRequest

type ImportActivitiesRequest struct {
	ProviderId   string                 `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	AccountIds   []string               `protobuf:"bytes,2,rep,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"`
	ResourceIds  []string               `protobuf:"bytes,3,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
	TimestampGte *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp_gte,json=timestampGte,proto3" json:"timestamp_gte,omitempty"`
	TimestampLte *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp_lte,json=timestampLte,proto3" json:"timestamp_lte,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportActivitiesRequest) Descriptor deprecated

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

Deprecated: Use ImportActivitiesRequest.ProtoReflect.Descriptor instead.

func (*ImportActivitiesRequest) GetAccountIds

func (x *ImportActivitiesRequest) GetAccountIds() []string

func (*ImportActivitiesRequest) GetProviderId

func (x *ImportActivitiesRequest) GetProviderId() string

func (*ImportActivitiesRequest) GetResourceIds

func (x *ImportActivitiesRequest) GetResourceIds() []string

func (*ImportActivitiesRequest) GetTimestampGte

func (x *ImportActivitiesRequest) GetTimestampGte() *timestamppb.Timestamp

func (*ImportActivitiesRequest) GetTimestampLte

func (x *ImportActivitiesRequest) GetTimestampLte() *timestamppb.Timestamp

func (*ImportActivitiesRequest) ProtoMessage

func (*ImportActivitiesRequest) ProtoMessage()

func (*ImportActivitiesRequest) ProtoReflect

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

func (*ImportActivitiesRequest) Reset

func (x *ImportActivitiesRequest) Reset()

func (*ImportActivitiesRequest) String

func (x *ImportActivitiesRequest) String() string

type ImportActivitiesResponse

type ImportActivitiesResponse struct {
	Activities []*ProviderActivity `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportActivitiesResponse) Descriptor deprecated

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

Deprecated: Use ImportActivitiesResponse.ProtoReflect.Descriptor instead.

func (*ImportActivitiesResponse) GetActivities

func (x *ImportActivitiesResponse) GetActivities() []*ProviderActivity

func (*ImportActivitiesResponse) ProtoMessage

func (*ImportActivitiesResponse) ProtoMessage()

func (*ImportActivitiesResponse) ProtoReflect

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

func (*ImportActivitiesResponse) Reset

func (x *ImportActivitiesResponse) Reset()

func (*ImportActivitiesResponse) String

func (x *ImportActivitiesResponse) String() string

type ImportGrantsFromProviderRequest

type ImportGrantsFromProviderRequest struct {
	ProviderId    string   `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	ResourceIds   []string `protobuf:"bytes,2,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
	ResourceTypes []string `protobuf:"bytes,3,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	ResourceUrns  []string `protobuf:"bytes,4,rep,name=resource_urns,json=resourceUrns,proto3" json:"resource_urns,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportGrantsFromProviderRequest) Descriptor deprecated

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

Deprecated: Use ImportGrantsFromProviderRequest.ProtoReflect.Descriptor instead.

func (*ImportGrantsFromProviderRequest) GetProviderId

func (x *ImportGrantsFromProviderRequest) GetProviderId() string

func (*ImportGrantsFromProviderRequest) GetResourceIds

func (x *ImportGrantsFromProviderRequest) GetResourceIds() []string

func (*ImportGrantsFromProviderRequest) GetResourceTypes

func (x *ImportGrantsFromProviderRequest) GetResourceTypes() []string

func (*ImportGrantsFromProviderRequest) GetResourceUrns

func (x *ImportGrantsFromProviderRequest) GetResourceUrns() []string

func (*ImportGrantsFromProviderRequest) ProtoMessage

func (*ImportGrantsFromProviderRequest) ProtoMessage()

func (*ImportGrantsFromProviderRequest) ProtoReflect

func (*ImportGrantsFromProviderRequest) Reset

func (*ImportGrantsFromProviderRequest) String

type ImportGrantsFromProviderResponse

type ImportGrantsFromProviderResponse struct {
	Grants []*Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportGrantsFromProviderResponse) Descriptor deprecated

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

Deprecated: Use ImportGrantsFromProviderResponse.ProtoReflect.Descriptor instead.

func (*ImportGrantsFromProviderResponse) GetGrants

func (x *ImportGrantsFromProviderResponse) GetGrants() []*Grant

func (*ImportGrantsFromProviderResponse) ProtoMessage

func (*ImportGrantsFromProviderResponse) ProtoMessage()

func (*ImportGrantsFromProviderResponse) ProtoReflect

func (*ImportGrantsFromProviderResponse) Reset

func (*ImportGrantsFromProviderResponse) String

type ListActivitiesRequest

type ListActivitiesRequest struct {
	ProviderIds  []string               `protobuf:"bytes,1,rep,name=provider_ids,json=providerIds,proto3" json:"provider_ids,omitempty"`
	AccountIds   []string               `protobuf:"bytes,2,rep,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"`
	ResourceIds  []string               `protobuf:"bytes,3,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
	Types        []string               `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"`
	TimestampGte *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp_gte,json=timestampGte,proto3" json:"timestamp_gte,omitempty"`
	TimestampLte *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp_lte,json=timestampLte,proto3" json:"timestamp_lte,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivitiesRequest) Descriptor deprecated

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

Deprecated: Use ListActivitiesRequest.ProtoReflect.Descriptor instead.

func (*ListActivitiesRequest) GetAccountIds

func (x *ListActivitiesRequest) GetAccountIds() []string

func (*ListActivitiesRequest) GetProviderIds

func (x *ListActivitiesRequest) GetProviderIds() []string

func (*ListActivitiesRequest) GetResourceIds

func (x *ListActivitiesRequest) GetResourceIds() []string

func (*ListActivitiesRequest) GetTimestampGte

func (x *ListActivitiesRequest) GetTimestampGte() *timestamppb.Timestamp

func (*ListActivitiesRequest) GetTimestampLte

func (x *ListActivitiesRequest) GetTimestampLte() *timestamppb.Timestamp

func (*ListActivitiesRequest) GetTypes

func (x *ListActivitiesRequest) GetTypes() []string

func (*ListActivitiesRequest) ProtoMessage

func (*ListActivitiesRequest) ProtoMessage()

func (*ListActivitiesRequest) ProtoReflect

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

func (*ListActivitiesRequest) Reset

func (x *ListActivitiesRequest) Reset()

func (*ListActivitiesRequest) String

func (x *ListActivitiesRequest) String() string

type ListActivitiesResponse

type ListActivitiesResponse struct {
	Activities []*ProviderActivity `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivitiesResponse) Descriptor deprecated

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

Deprecated: Use ListActivitiesResponse.ProtoReflect.Descriptor instead.

func (*ListActivitiesResponse) GetActivities

func (x *ListActivitiesResponse) GetActivities() []*ProviderActivity

func (*ListActivitiesResponse) ProtoMessage

func (*ListActivitiesResponse) ProtoMessage()

func (*ListActivitiesResponse) ProtoReflect

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

func (*ListActivitiesResponse) Reset

func (x *ListActivitiesResponse) Reset()

func (*ListActivitiesResponse) String

func (x *ListActivitiesResponse) String() string

type ListAppealsRequest

type ListAppealsRequest struct {
	AccountId     string   `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Statuses      []string `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"`
	Role          string   `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	ProviderTypes []string `protobuf:"bytes,4,rep,name=provider_types,json=providerTypes,proto3" json:"provider_types,omitempty"`
	ProviderUrns  []string `protobuf:"bytes,5,rep,name=provider_urns,json=providerUrns,proto3" json:"provider_urns,omitempty"`
	ResourceTypes []string `protobuf:"bytes,6,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	ResourceUrns  []string `protobuf:"bytes,7,rep,name=resource_urns,json=resourceUrns,proto3" json:"resource_urns,omitempty"`
	OrderBy       []string `protobuf:"bytes,8,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	CreatedBy     string   `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppealsRequest) Descriptor deprecated

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

Deprecated: Use ListAppealsRequest.ProtoReflect.Descriptor instead.

func (*ListAppealsRequest) GetAccountId

func (x *ListAppealsRequest) GetAccountId() string

func (*ListAppealsRequest) GetCreatedBy

func (x *ListAppealsRequest) GetCreatedBy() string

func (*ListAppealsRequest) GetOrderBy

func (x *ListAppealsRequest) GetOrderBy() []string

func (*ListAppealsRequest) GetProviderTypes

func (x *ListAppealsRequest) GetProviderTypes() []string

func (*ListAppealsRequest) GetProviderUrns

func (x *ListAppealsRequest) GetProviderUrns() []string

func (*ListAppealsRequest) GetResourceTypes

func (x *ListAppealsRequest) GetResourceTypes() []string

func (*ListAppealsRequest) GetResourceUrns

func (x *ListAppealsRequest) GetResourceUrns() []string

func (*ListAppealsRequest) GetRole

func (x *ListAppealsRequest) GetRole() string

func (*ListAppealsRequest) GetStatuses

func (x *ListAppealsRequest) GetStatuses() []string

func (*ListAppealsRequest) ProtoMessage

func (*ListAppealsRequest) ProtoMessage()

func (*ListAppealsRequest) ProtoReflect

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

func (*ListAppealsRequest) Reset

func (x *ListAppealsRequest) Reset()

func (*ListAppealsRequest) String

func (x *ListAppealsRequest) String() string

type ListAppealsResponse

type ListAppealsResponse struct {
	Appeals []*Appeal `protobuf:"bytes,1,rep,name=appeals,proto3" json:"appeals,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppealsResponse) Descriptor deprecated

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

Deprecated: Use ListAppealsResponse.ProtoReflect.Descriptor instead.

func (*ListAppealsResponse) GetAppeals

func (x *ListAppealsResponse) GetAppeals() []*Appeal

func (*ListAppealsResponse) ProtoMessage

func (*ListAppealsResponse) ProtoMessage()

func (*ListAppealsResponse) ProtoReflect

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

func (*ListAppealsResponse) Reset

func (x *ListAppealsResponse) Reset()

func (*ListAppealsResponse) String

func (x *ListAppealsResponse) String() string

type ListApprovalsRequest

type ListApprovalsRequest struct {
	AccountId      string   `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Statuses       []string `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"`
	OrderBy        []string `protobuf:"bytes,3,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	CreatedBy      string   `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	Size           uint32   `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	Offset         uint32   `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	AppealStatuses []string `protobuf:"bytes,7,rep,name=appeal_statuses,json=appealStatuses,proto3" json:"appeal_statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApprovalsRequest) Descriptor deprecated

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

Deprecated: Use ListApprovalsRequest.ProtoReflect.Descriptor instead.

func (*ListApprovalsRequest) GetAccountId

func (x *ListApprovalsRequest) GetAccountId() string

func (*ListApprovalsRequest) GetAppealStatuses added in v0.7.2

func (x *ListApprovalsRequest) GetAppealStatuses() []string

func (*ListApprovalsRequest) GetCreatedBy

func (x *ListApprovalsRequest) GetCreatedBy() string

func (*ListApprovalsRequest) GetOffset added in v0.7.1

func (x *ListApprovalsRequest) GetOffset() uint32

func (*ListApprovalsRequest) GetOrderBy

func (x *ListApprovalsRequest) GetOrderBy() []string

func (*ListApprovalsRequest) GetSize added in v0.7.1

func (x *ListApprovalsRequest) GetSize() uint32

func (*ListApprovalsRequest) GetStatuses

func (x *ListApprovalsRequest) GetStatuses() []string

func (*ListApprovalsRequest) ProtoMessage

func (*ListApprovalsRequest) ProtoMessage()

func (*ListApprovalsRequest) ProtoReflect

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

func (*ListApprovalsRequest) Reset

func (x *ListApprovalsRequest) Reset()

func (*ListApprovalsRequest) String

func (x *ListApprovalsRequest) String() string

type ListApprovalsResponse

type ListApprovalsResponse struct {
	Approvals []*Approval `protobuf:"bytes,1,rep,name=approvals,proto3" json:"approvals,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApprovalsResponse) Descriptor deprecated

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

Deprecated: Use ListApprovalsResponse.ProtoReflect.Descriptor instead.

func (*ListApprovalsResponse) GetApprovals

func (x *ListApprovalsResponse) GetApprovals() []*Approval

func (*ListApprovalsResponse) ProtoMessage

func (*ListApprovalsResponse) ProtoMessage()

func (*ListApprovalsResponse) ProtoReflect

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

func (*ListApprovalsResponse) Reset

func (x *ListApprovalsResponse) Reset()

func (*ListApprovalsResponse) String

func (x *ListApprovalsResponse) String() string

type ListGrantsRequest

type ListGrantsRequest struct {
	Statuses      []string `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
	AccountIds    []string `protobuf:"bytes,2,rep,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"`
	AccountTypes  []string `protobuf:"bytes,3,rep,name=account_types,json=accountTypes,proto3" json:"account_types,omitempty"`
	ResourceIds   []string `protobuf:"bytes,4,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
	ProviderTypes []string `protobuf:"bytes,5,rep,name=provider_types,json=providerTypes,proto3" json:"provider_types,omitempty"`
	ProviderUrns  []string `protobuf:"bytes,6,rep,name=provider_urns,json=providerUrns,proto3" json:"provider_urns,omitempty"`
	ResourceTypes []string `protobuf:"bytes,7,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	ResourceUrns  []string `protobuf:"bytes,8,rep,name=resource_urns,json=resourceUrns,proto3" json:"resource_urns,omitempty"`
	Roles         []string `protobuf:"bytes,9,rep,name=roles,proto3" json:"roles,omitempty"`
	CreatedBy     string   `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	OrderBy       []string `protobuf:"bytes,11,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Owner         string   `protobuf:"bytes,12,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGrantsRequest) Descriptor deprecated

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

Deprecated: Use ListGrantsRequest.ProtoReflect.Descriptor instead.

func (*ListGrantsRequest) GetAccountIds

func (x *ListGrantsRequest) GetAccountIds() []string

func (*ListGrantsRequest) GetAccountTypes

func (x *ListGrantsRequest) GetAccountTypes() []string

func (*ListGrantsRequest) GetCreatedBy

func (x *ListGrantsRequest) GetCreatedBy() string

func (*ListGrantsRequest) GetOrderBy

func (x *ListGrantsRequest) GetOrderBy() []string

func (*ListGrantsRequest) GetOwner

func (x *ListGrantsRequest) GetOwner() string

func (*ListGrantsRequest) GetProviderTypes

func (x *ListGrantsRequest) GetProviderTypes() []string

func (*ListGrantsRequest) GetProviderUrns

func (x *ListGrantsRequest) GetProviderUrns() []string

func (*ListGrantsRequest) GetResourceIds

func (x *ListGrantsRequest) GetResourceIds() []string

func (*ListGrantsRequest) GetResourceTypes

func (x *ListGrantsRequest) GetResourceTypes() []string

func (*ListGrantsRequest) GetResourceUrns

func (x *ListGrantsRequest) GetResourceUrns() []string

func (*ListGrantsRequest) GetRoles

func (x *ListGrantsRequest) GetRoles() []string

func (*ListGrantsRequest) GetStatuses

func (x *ListGrantsRequest) GetStatuses() []string

func (*ListGrantsRequest) ProtoMessage

func (*ListGrantsRequest) ProtoMessage()

func (*ListGrantsRequest) ProtoReflect

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

func (*ListGrantsRequest) Reset

func (x *ListGrantsRequest) Reset()

func (*ListGrantsRequest) String

func (x *ListGrantsRequest) String() string

type ListGrantsResponse

type ListGrantsResponse struct {
	Grants []*Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGrantsResponse) Descriptor deprecated

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

Deprecated: Use ListGrantsResponse.ProtoReflect.Descriptor instead.

func (*ListGrantsResponse) GetGrants

func (x *ListGrantsResponse) GetGrants() []*Grant

func (*ListGrantsResponse) ProtoMessage

func (*ListGrantsResponse) ProtoMessage()

func (*ListGrantsResponse) ProtoReflect

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

func (*ListGrantsResponse) Reset

func (x *ListGrantsResponse) Reset()

func (*ListGrantsResponse) String

func (x *ListGrantsResponse) String() string

type ListPoliciesRequest

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

func (*ListPoliciesRequest) Descriptor deprecated

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

Deprecated: Use ListPoliciesRequest.ProtoReflect.Descriptor instead.

func (*ListPoliciesRequest) ProtoMessage

func (*ListPoliciesRequest) ProtoMessage()

func (*ListPoliciesRequest) ProtoReflect

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

func (*ListPoliciesRequest) Reset

func (x *ListPoliciesRequest) Reset()

func (*ListPoliciesRequest) String

func (x *ListPoliciesRequest) String() string

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPoliciesResponse) Descriptor deprecated

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

Deprecated: Use ListPoliciesResponse.ProtoReflect.Descriptor instead.

func (*ListPoliciesResponse) GetPolicies

func (x *ListPoliciesResponse) GetPolicies() []*Policy

func (*ListPoliciesResponse) ProtoMessage

func (*ListPoliciesResponse) ProtoMessage()

func (*ListPoliciesResponse) ProtoReflect

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

func (*ListPoliciesResponse) Reset

func (x *ListPoliciesResponse) Reset()

func (*ListPoliciesResponse) String

func (x *ListPoliciesResponse) String() string

type ListProvidersRequest

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

func (*ListProvidersRequest) Descriptor deprecated

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

Deprecated: Use ListProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListProvidersRequest) ProtoMessage

func (*ListProvidersRequest) ProtoMessage()

func (*ListProvidersRequest) ProtoReflect

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

func (*ListProvidersRequest) Reset

func (x *ListProvidersRequest) Reset()

func (*ListProvidersRequest) String

func (x *ListProvidersRequest) String() string

type ListProvidersResponse

type ListProvidersResponse struct {
	Providers []*Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProvidersResponse) Descriptor deprecated

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

Deprecated: Use ListProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListProvidersResponse) GetProviders

func (x *ListProvidersResponse) GetProviders() []*Provider

func (*ListProvidersResponse) ProtoMessage

func (*ListProvidersResponse) ProtoMessage()

func (*ListProvidersResponse) ProtoReflect

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

func (*ListProvidersResponse) Reset

func (x *ListProvidersResponse) Reset()

func (*ListProvidersResponse) String

func (x *ListProvidersResponse) String() string

type ListResourcesRequest

type ListResourcesRequest struct {
	IsDeleted    bool     `protobuf:"varint,1,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	ProviderType string   `protobuf:"bytes,2,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
	ProviderUrn  string   `protobuf:"bytes,3,opt,name=provider_urn,json=providerUrn,proto3" json:"provider_urn,omitempty"`
	Type         string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Urn          string   `protobuf:"bytes,5,opt,name=urn,proto3" json:"urn,omitempty"`
	Name         string   `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Details      []string `protobuf:"bytes,7,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesRequest) Descriptor deprecated

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

Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListResourcesRequest) GetDetails

func (x *ListResourcesRequest) GetDetails() []string

func (*ListResourcesRequest) GetIsDeleted

func (x *ListResourcesRequest) GetIsDeleted() bool

func (*ListResourcesRequest) GetName

func (x *ListResourcesRequest) GetName() string

func (*ListResourcesRequest) GetProviderType

func (x *ListResourcesRequest) GetProviderType() string

func (*ListResourcesRequest) GetProviderUrn

func (x *ListResourcesRequest) GetProviderUrn() string

func (*ListResourcesRequest) GetType

func (x *ListResourcesRequest) GetType() string

func (*ListResourcesRequest) GetUrn

func (x *ListResourcesRequest) GetUrn() string

func (*ListResourcesRequest) ProtoMessage

func (*ListResourcesRequest) ProtoMessage()

func (*ListResourcesRequest) ProtoReflect

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

func (*ListResourcesRequest) Reset

func (x *ListResourcesRequest) Reset()

func (*ListResourcesRequest) String

func (x *ListResourcesRequest) String() string

type ListResourcesResponse

type ListResourcesResponse struct {
	Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesResponse) Descriptor deprecated

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

Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse) GetResources

func (x *ListResourcesResponse) GetResources() []*Resource

func (*ListResourcesResponse) ProtoMessage

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) ProtoReflect

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

func (*ListResourcesResponse) Reset

func (x *ListResourcesResponse) Reset()

func (*ListResourcesResponse) String

func (x *ListResourcesResponse) String() string

type ListRolesRequest

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

func (*ListRolesRequest) Descriptor deprecated

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

Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetId

func (x *ListRolesRequest) GetId() string

func (*ListRolesRequest) GetResourceType

func (x *ListRolesRequest) GetResourceType() string

func (*ListRolesRequest) ProtoMessage

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect

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

func (*ListRolesRequest) Reset

func (x *ListRolesRequest) Reset()

func (*ListRolesRequest) String

func (x *ListRolesRequest) String() string

type ListRolesResponse

type ListRolesResponse struct {
	Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesResponse) Descriptor deprecated

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

Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetRoles

func (x *ListRolesResponse) GetRoles() []*Role

func (*ListRolesResponse) ProtoMessage

func (*ListRolesResponse) ProtoMessage()

func (*ListRolesResponse) ProtoReflect

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

func (*ListRolesResponse) Reset

func (x *ListRolesResponse) Reset()

func (*ListRolesResponse) String

func (x *ListRolesResponse) String() string

type ListUserAppealsRequest

type ListUserAppealsRequest struct {
	Statuses      []string `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
	Role          string   `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	ProviderTypes []string `protobuf:"bytes,3,rep,name=provider_types,json=providerTypes,proto3" json:"provider_types,omitempty"`
	ProviderUrns  []string `protobuf:"bytes,4,rep,name=provider_urns,json=providerUrns,proto3" json:"provider_urns,omitempty"`
	ResourceTypes []string `protobuf:"bytes,5,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	ResourceUrns  []string `protobuf:"bytes,6,rep,name=resource_urns,json=resourceUrns,proto3" json:"resource_urns,omitempty"`
	OrderBy       []string `protobuf:"bytes,7,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserAppealsRequest) Descriptor deprecated

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

Deprecated: Use ListUserAppealsRequest.ProtoReflect.Descriptor instead.

func (*ListUserAppealsRequest) GetOrderBy

func (x *ListUserAppealsRequest) GetOrderBy() []string

func (*ListUserAppealsRequest) GetProviderTypes

func (x *ListUserAppealsRequest) GetProviderTypes() []string

func (*ListUserAppealsRequest) GetProviderUrns

func (x *ListUserAppealsRequest) GetProviderUrns() []string

func (*ListUserAppealsRequest) GetResourceTypes

func (x *ListUserAppealsRequest) GetResourceTypes() []string

func (*ListUserAppealsRequest) GetResourceUrns

func (x *ListUserAppealsRequest) GetResourceUrns() []string

func (*ListUserAppealsRequest) GetRole

func (x *ListUserAppealsRequest) GetRole() string

func (*ListUserAppealsRequest) GetStatuses

func (x *ListUserAppealsRequest) GetStatuses() []string

func (*ListUserAppealsRequest) ProtoMessage

func (*ListUserAppealsRequest) ProtoMessage()

func (*ListUserAppealsRequest) ProtoReflect

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

func (*ListUserAppealsRequest) Reset

func (x *ListUserAppealsRequest) Reset()

func (*ListUserAppealsRequest) String

func (x *ListUserAppealsRequest) String() string

type ListUserAppealsResponse

type ListUserAppealsResponse struct {
	Appeals []*Appeal `protobuf:"bytes,1,rep,name=appeals,proto3" json:"appeals,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserAppealsResponse) Descriptor deprecated

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

Deprecated: Use ListUserAppealsResponse.ProtoReflect.Descriptor instead.

func (*ListUserAppealsResponse) GetAppeals

func (x *ListUserAppealsResponse) GetAppeals() []*Appeal

func (*ListUserAppealsResponse) ProtoMessage

func (*ListUserAppealsResponse) ProtoMessage()

func (*ListUserAppealsResponse) ProtoReflect

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

func (*ListUserAppealsResponse) Reset

func (x *ListUserAppealsResponse) Reset()

func (*ListUserAppealsResponse) String

func (x *ListUserAppealsResponse) String() string

type ListUserApprovalsRequest

type ListUserApprovalsRequest struct {
	Statuses       []string `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"`
	OrderBy        []string `protobuf:"bytes,3,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	AccountId      string   `protobuf:"bytes,4,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Size           uint32   `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	Offset         uint32   `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	AppealStatuses []string `protobuf:"bytes,7,rep,name=appeal_statuses,json=appealStatuses,proto3" json:"appeal_statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserApprovalsRequest) Descriptor deprecated

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

Deprecated: Use ListUserApprovalsRequest.ProtoReflect.Descriptor instead.

func (*ListUserApprovalsRequest) GetAccountId

func (x *ListUserApprovalsRequest) GetAccountId() string

func (*ListUserApprovalsRequest) GetAppealStatuses added in v0.7.2

func (x *ListUserApprovalsRequest) GetAppealStatuses() []string

func (*ListUserApprovalsRequest) GetOffset added in v0.7.1

func (x *ListUserApprovalsRequest) GetOffset() uint32

func (*ListUserApprovalsRequest) GetOrderBy

func (x *ListUserApprovalsRequest) GetOrderBy() []string

func (*ListUserApprovalsRequest) GetSize added in v0.7.1

func (x *ListUserApprovalsRequest) GetSize() uint32

func (*ListUserApprovalsRequest) GetStatuses

func (x *ListUserApprovalsRequest) GetStatuses() []string

func (*ListUserApprovalsRequest) ProtoMessage

func (*ListUserApprovalsRequest) ProtoMessage()

func (*ListUserApprovalsRequest) ProtoReflect

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

func (*ListUserApprovalsRequest) Reset

func (x *ListUserApprovalsRequest) Reset()

func (*ListUserApprovalsRequest) String

func (x *ListUserApprovalsRequest) String() string

type ListUserApprovalsResponse

type ListUserApprovalsResponse struct {
	Approvals []*Approval `protobuf:"bytes,1,rep,name=approvals,proto3" json:"approvals,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserApprovalsResponse) Descriptor deprecated

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

Deprecated: Use ListUserApprovalsResponse.ProtoReflect.Descriptor instead.

func (*ListUserApprovalsResponse) GetApprovals

func (x *ListUserApprovalsResponse) GetApprovals() []*Approval

func (*ListUserApprovalsResponse) ProtoMessage

func (*ListUserApprovalsResponse) ProtoMessage()

func (*ListUserApprovalsResponse) ProtoReflect

func (*ListUserApprovalsResponse) Reset

func (x *ListUserApprovalsResponse) Reset()

func (*ListUserApprovalsResponse) String

func (x *ListUserApprovalsResponse) String() string

type ListUserGrantsRequest

type ListUserGrantsRequest struct {
	Statuses      []string `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
	AccountIds    []string `protobuf:"bytes,2,rep,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"`
	AccountTypes  []string `protobuf:"bytes,3,rep,name=account_types,json=accountTypes,proto3" json:"account_types,omitempty"`
	ResourceIds   []string `protobuf:"bytes,4,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
	ProviderTypes []string `protobuf:"bytes,5,rep,name=provider_types,json=providerTypes,proto3" json:"provider_types,omitempty"`
	ProviderUrns  []string `protobuf:"bytes,6,rep,name=provider_urns,json=providerUrns,proto3" json:"provider_urns,omitempty"`
	ResourceTypes []string `protobuf:"bytes,7,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	ResourceUrns  []string `protobuf:"bytes,8,rep,name=resource_urns,json=resourceUrns,proto3" json:"resource_urns,omitempty"`
	Roles         []string `protobuf:"bytes,9,rep,name=roles,proto3" json:"roles,omitempty"`
	OrderBy       []string `protobuf:"bytes,10,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserGrantsRequest) Descriptor deprecated

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

Deprecated: Use ListUserGrantsRequest.ProtoReflect.Descriptor instead.

func (*ListUserGrantsRequest) GetAccountIds

func (x *ListUserGrantsRequest) GetAccountIds() []string

func (*ListUserGrantsRequest) GetAccountTypes

func (x *ListUserGrantsRequest) GetAccountTypes() []string

func (*ListUserGrantsRequest) GetOrderBy

func (x *ListUserGrantsRequest) GetOrderBy() []string

func (*ListUserGrantsRequest) GetProviderTypes

func (x *ListUserGrantsRequest) GetProviderTypes() []string

func (*ListUserGrantsRequest) GetProviderUrns

func (x *ListUserGrantsRequest) GetProviderUrns() []string

func (*ListUserGrantsRequest) GetResourceIds

func (x *ListUserGrantsRequest) GetResourceIds() []string

func (*ListUserGrantsRequest) GetResourceTypes

func (x *ListUserGrantsRequest) GetResourceTypes() []string

func (*ListUserGrantsRequest) GetResourceUrns

func (x *ListUserGrantsRequest) GetResourceUrns() []string

func (*ListUserGrantsRequest) GetRoles

func (x *ListUserGrantsRequest) GetRoles() []string

func (*ListUserGrantsRequest) GetStatuses

func (x *ListUserGrantsRequest) GetStatuses() []string

func (*ListUserGrantsRequest) ProtoMessage

func (*ListUserGrantsRequest) ProtoMessage()

func (*ListUserGrantsRequest) ProtoReflect

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

func (*ListUserGrantsRequest) Reset

func (x *ListUserGrantsRequest) Reset()

func (*ListUserGrantsRequest) String

func (x *ListUserGrantsRequest) String() string

type ListUserGrantsResponse

type ListUserGrantsResponse struct {
	Grants []*Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserGrantsResponse) Descriptor deprecated

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

Deprecated: Use ListUserGrantsResponse.ProtoReflect.Descriptor instead.

func (*ListUserGrantsResponse) GetGrants

func (x *ListUserGrantsResponse) GetGrants() []*Grant

func (*ListUserGrantsResponse) ProtoMessage

func (*ListUserGrantsResponse) ProtoMessage()

func (*ListUserGrantsResponse) ProtoReflect

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

func (*ListUserGrantsResponse) Reset

func (x *ListUserGrantsResponse) Reset()

func (*ListUserGrantsResponse) String

func (x *ListUserGrantsResponse) String() string

type Policy

type Policy struct {
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version      uint32                 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Description  string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Steps        []*Policy_ApprovalStep `protobuf:"bytes,4,rep,name=steps,proto3" json:"steps,omitempty"`
	Labels       map[string]string      `` /* 153-byte string literal not displayed */
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Requirements []*Policy_Requirement  `protobuf:"bytes,8,rep,name=requirements,proto3" json:"requirements,omitempty"`
	Iam          *Policy_IAM            `protobuf:"bytes,9,opt,name=iam,proto3" json:"iam,omitempty"`
	Appeal       *PolicyAppealConfig    `protobuf:"bytes,10,opt,name=appeal,proto3" json:"appeal,omitempty"`
	// contains filtered or unexported fields
}

Policy is a configurable steps for appeal's approval

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetAppeal

func (x *Policy) GetAppeal() *PolicyAppealConfig

func (*Policy) GetCreatedAt

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

func (*Policy) GetDescription

func (x *Policy) GetDescription() string

func (*Policy) GetIam

func (x *Policy) GetIam() *Policy_IAM

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) GetLabels

func (x *Policy) GetLabels() map[string]string

func (*Policy) GetRequirements

func (x *Policy) GetRequirements() []*Policy_Requirement

func (*Policy) GetSteps

func (x *Policy) GetSteps() []*Policy_ApprovalStep

func (*Policy) GetUpdatedAt

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

func (*Policy) GetVersion

func (x *Policy) GetVersion() uint32

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

type PolicyAppealConfig

type PolicyAppealConfig struct {
	DurationOptions              []*PolicyAppealConfig_DurationOptions `protobuf:"bytes,1,rep,name=duration_options,json=durationOptions,proto3" json:"duration_options,omitempty"`
	AllowOnBehalf                bool                                  `protobuf:"varint,2,opt,name=allow_on_behalf,json=allowOnBehalf,proto3" json:"allow_on_behalf,omitempty"`
	AllowPermanentAccess         bool                                  `protobuf:"varint,3,opt,name=allow_permanent_access,json=allowPermanentAccess,proto3" json:"allow_permanent_access,omitempty"`
	AllowActiveAccessExtensionIn string                                `` /* 151-byte string literal not displayed */
	Questions                    []*PolicyAppealConfig_Question        `protobuf:"bytes,5,rep,name=questions,proto3" json:"questions,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyAppealConfig) Descriptor deprecated

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

Deprecated: Use PolicyAppealConfig.ProtoReflect.Descriptor instead.

func (*PolicyAppealConfig) GetAllowActiveAccessExtensionIn

func (x *PolicyAppealConfig) GetAllowActiveAccessExtensionIn() string

func (*PolicyAppealConfig) GetAllowOnBehalf

func (x *PolicyAppealConfig) GetAllowOnBehalf() bool

func (*PolicyAppealConfig) GetAllowPermanentAccess

func (x *PolicyAppealConfig) GetAllowPermanentAccess() bool

func (*PolicyAppealConfig) GetDurationOptions

func (x *PolicyAppealConfig) GetDurationOptions() []*PolicyAppealConfig_DurationOptions

func (*PolicyAppealConfig) GetQuestions

func (x *PolicyAppealConfig) GetQuestions() []*PolicyAppealConfig_Question

func (*PolicyAppealConfig) ProtoMessage

func (*PolicyAppealConfig) ProtoMessage()

func (*PolicyAppealConfig) ProtoReflect

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

func (*PolicyAppealConfig) Reset

func (x *PolicyAppealConfig) Reset()

func (*PolicyAppealConfig) String

func (x *PolicyAppealConfig) String() string

type PolicyAppealConfig_DurationOptions

type PolicyAppealConfig_DurationOptions struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyAppealConfig_DurationOptions) Descriptor deprecated

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

Deprecated: Use PolicyAppealConfig_DurationOptions.ProtoReflect.Descriptor instead.

func (*PolicyAppealConfig_DurationOptions) GetName

func (*PolicyAppealConfig_DurationOptions) GetValue

func (*PolicyAppealConfig_DurationOptions) ProtoMessage

func (*PolicyAppealConfig_DurationOptions) ProtoMessage()

func (*PolicyAppealConfig_DurationOptions) ProtoReflect

func (*PolicyAppealConfig_DurationOptions) Reset

func (*PolicyAppealConfig_DurationOptions) String

type PolicyAppealConfig_Question

type PolicyAppealConfig_Question struct {
	Key         string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Question    string `protobuf:"bytes,2,opt,name=question,proto3" json:"question,omitempty"`
	Required    bool   `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyAppealConfig_Question) Descriptor deprecated

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

Deprecated: Use PolicyAppealConfig_Question.ProtoReflect.Descriptor instead.

func (*PolicyAppealConfig_Question) GetDescription

func (x *PolicyAppealConfig_Question) GetDescription() string

func (*PolicyAppealConfig_Question) GetKey

func (x *PolicyAppealConfig_Question) GetKey() string

func (*PolicyAppealConfig_Question) GetQuestion

func (x *PolicyAppealConfig_Question) GetQuestion() string

func (*PolicyAppealConfig_Question) GetRequired

func (x *PolicyAppealConfig_Question) GetRequired() bool

func (*PolicyAppealConfig_Question) ProtoMessage

func (*PolicyAppealConfig_Question) ProtoMessage()

func (*PolicyAppealConfig_Question) ProtoReflect

func (*PolicyAppealConfig_Question) Reset

func (x *PolicyAppealConfig_Question) Reset()

func (*PolicyAppealConfig_Question) String

func (x *PolicyAppealConfig_Question) String() string

type PolicyConfig

type PolicyConfig struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version int32  `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyConfig) Descriptor deprecated

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

Deprecated: Use PolicyConfig.ProtoReflect.Descriptor instead.

func (*PolicyConfig) GetId

func (x *PolicyConfig) GetId() string

func (*PolicyConfig) GetVersion

func (x *PolicyConfig) GetVersion() int32

func (*PolicyConfig) ProtoMessage

func (*PolicyConfig) ProtoMessage()

func (*PolicyConfig) ProtoReflect

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

func (*PolicyConfig) Reset

func (x *PolicyConfig) Reset()

func (*PolicyConfig) String

func (x *PolicyConfig) String() string

type Policy_ApprovalStep

type Policy_ApprovalStep struct {
	Name            string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description     string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	AllowFailed     bool     `protobuf:"varint,3,opt,name=allow_failed,json=allowFailed,proto3" json:"allow_failed,omitempty"`
	When            string   `protobuf:"bytes,4,opt,name=when,proto3" json:"when,omitempty"`
	Strategy        string   `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
	ApproveIf       string   `protobuf:"bytes,6,opt,name=approve_if,json=approveIf,proto3" json:"approve_if,omitempty"`
	Approvers       []string `protobuf:"bytes,7,rep,name=approvers,proto3" json:"approvers,omitempty"`
	RejectionReason string   `protobuf:"bytes,8,opt,name=rejection_reason,json=rejectionReason,proto3" json:"rejection_reason,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy_ApprovalStep) Descriptor deprecated

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

Deprecated: Use Policy_ApprovalStep.ProtoReflect.Descriptor instead.

func (*Policy_ApprovalStep) GetAllowFailed

func (x *Policy_ApprovalStep) GetAllowFailed() bool

func (*Policy_ApprovalStep) GetApproveIf

func (x *Policy_ApprovalStep) GetApproveIf() string

func (*Policy_ApprovalStep) GetApprovers

func (x *Policy_ApprovalStep) GetApprovers() []string

func (*Policy_ApprovalStep) GetDescription

func (x *Policy_ApprovalStep) GetDescription() string

func (*Policy_ApprovalStep) GetName

func (x *Policy_ApprovalStep) GetName() string

func (*Policy_ApprovalStep) GetRejectionReason

func (x *Policy_ApprovalStep) GetRejectionReason() string

func (*Policy_ApprovalStep) GetStrategy

func (x *Policy_ApprovalStep) GetStrategy() string

func (*Policy_ApprovalStep) GetWhen

func (x *Policy_ApprovalStep) GetWhen() string

func (*Policy_ApprovalStep) ProtoMessage

func (*Policy_ApprovalStep) ProtoMessage()

func (*Policy_ApprovalStep) ProtoReflect

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

func (*Policy_ApprovalStep) Reset

func (x *Policy_ApprovalStep) Reset()

func (*Policy_ApprovalStep) String

func (x *Policy_ApprovalStep) String() string

type Policy_IAM

type Policy_IAM struct {
	Provider string            `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Config   *structpb.Value   `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Schema   map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Policy_IAM) Descriptor deprecated

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

Deprecated: Use Policy_IAM.ProtoReflect.Descriptor instead.

func (*Policy_IAM) GetConfig

func (x *Policy_IAM) GetConfig() *structpb.Value

func (*Policy_IAM) GetProvider

func (x *Policy_IAM) GetProvider() string

func (*Policy_IAM) GetSchema

func (x *Policy_IAM) GetSchema() map[string]string

func (*Policy_IAM) ProtoMessage

func (*Policy_IAM) ProtoMessage()

func (*Policy_IAM) ProtoReflect

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

func (*Policy_IAM) Reset

func (x *Policy_IAM) Reset()

func (*Policy_IAM) String

func (x *Policy_IAM) String() string

type Policy_Requirement

type Policy_Requirement struct {
	On      *Policy_Requirement_RequirementTrigger `protobuf:"bytes,1,opt,name=on,proto3" json:"on,omitempty"`
	Appeals []*Policy_Requirement_AdditionalAppeal `protobuf:"bytes,2,rep,name=appeals,proto3" json:"appeals,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy_Requirement) Descriptor deprecated

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

Deprecated: Use Policy_Requirement.ProtoReflect.Descriptor instead.

func (*Policy_Requirement) GetAppeals

func (*Policy_Requirement) GetOn

func (*Policy_Requirement) ProtoMessage

func (*Policy_Requirement) ProtoMessage()

func (*Policy_Requirement) ProtoReflect

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

func (*Policy_Requirement) Reset

func (x *Policy_Requirement) Reset()

func (*Policy_Requirement) String

func (x *Policy_Requirement) String() string

type Policy_Requirement_AdditionalAppeal

type Policy_Requirement_AdditionalAppeal struct {
	Resource *Policy_Requirement_AdditionalAppeal_ResourceIdentifier `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Role     string                                                  `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Options  *AppealOptions                                          `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
	Policy   *PolicyConfig                                           `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy_Requirement_AdditionalAppeal) Descriptor deprecated

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

Deprecated: Use Policy_Requirement_AdditionalAppeal.ProtoReflect.Descriptor instead.

func (*Policy_Requirement_AdditionalAppeal) GetOptions

func (*Policy_Requirement_AdditionalAppeal) GetPolicy

func (*Policy_Requirement_AdditionalAppeal) GetResource

func (*Policy_Requirement_AdditionalAppeal) GetRole

func (*Policy_Requirement_AdditionalAppeal) ProtoMessage

func (*Policy_Requirement_AdditionalAppeal) ProtoMessage()

func (*Policy_Requirement_AdditionalAppeal) ProtoReflect

func (*Policy_Requirement_AdditionalAppeal) Reset

func (*Policy_Requirement_AdditionalAppeal) String

type Policy_Requirement_AdditionalAppeal_ResourceIdentifier

type Policy_Requirement_AdditionalAppeal_ResourceIdentifier struct {
	ProviderType string `protobuf:"bytes,1,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
	ProviderUrn  string `protobuf:"bytes,2,opt,name=provider_urn,json=providerUrn,proto3" json:"provider_urn,omitempty"`
	Type         string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Urn          string `protobuf:"bytes,4,opt,name=urn,proto3" json:"urn,omitempty"`
	Id           string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) Descriptor deprecated

Deprecated: Use Policy_Requirement_AdditionalAppeal_ResourceIdentifier.ProtoReflect.Descriptor instead.

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) GetId

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) GetProviderType

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) GetProviderUrn

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) GetType

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) GetUrn

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) ProtoMessage

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) ProtoReflect

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) Reset

func (*Policy_Requirement_AdditionalAppeal_ResourceIdentifier) String

type Policy_Requirement_RequirementTrigger

type Policy_Requirement_RequirementTrigger struct {
	ProviderType string       `protobuf:"bytes,1,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
	ProviderUrn  string       `protobuf:"bytes,2,opt,name=provider_urn,json=providerUrn,proto3" json:"provider_urn,omitempty"`
	ResourceType string       `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceUrn  string       `protobuf:"bytes,4,opt,name=resource_urn,json=resourceUrn,proto3" json:"resource_urn,omitempty"`
	Role         string       `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"`
	Conditions   []*Condition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"`
	Expression   string       `protobuf:"bytes,7,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy_Requirement_RequirementTrigger) Descriptor deprecated

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

Deprecated: Use Policy_Requirement_RequirementTrigger.ProtoReflect.Descriptor instead.

func (*Policy_Requirement_RequirementTrigger) GetConditions

func (x *Policy_Requirement_RequirementTrigger) GetConditions() []*Condition

func (*Policy_Requirement_RequirementTrigger) GetExpression added in v0.7.3

func (x *Policy_Requirement_RequirementTrigger) GetExpression() string

func (*Policy_Requirement_RequirementTrigger) GetProviderType

func (x *Policy_Requirement_RequirementTrigger) GetProviderType() string

func (*Policy_Requirement_RequirementTrigger) GetProviderUrn

func (x *Policy_Requirement_RequirementTrigger) GetProviderUrn() string

func (*Policy_Requirement_RequirementTrigger) GetResourceType

func (x *Policy_Requirement_RequirementTrigger) GetResourceType() string

func (*Policy_Requirement_RequirementTrigger) GetResourceUrn

func (x *Policy_Requirement_RequirementTrigger) GetResourceUrn() string

func (*Policy_Requirement_RequirementTrigger) GetRole

func (*Policy_Requirement_RequirementTrigger) ProtoMessage

func (*Policy_Requirement_RequirementTrigger) ProtoMessage()

func (*Policy_Requirement_RequirementTrigger) ProtoReflect

func (*Policy_Requirement_RequirementTrigger) Reset

func (*Policy_Requirement_RequirementTrigger) String

type Provider

type Provider struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type      string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Urn       string                 `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`
	Config    *ProviderConfig        `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

Provider contains information about external data provider such as BigQuery, Metabase, etc., credentials, policy, and allowed roles

func (*Provider) Descriptor deprecated

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

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) GetConfig

func (x *Provider) GetConfig() *ProviderConfig

func (*Provider) GetCreatedAt

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

func (*Provider) GetId

func (x *Provider) GetId() string

func (*Provider) GetType

func (x *Provider) GetType() string

func (*Provider) GetUpdatedAt

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

func (*Provider) GetUrn

func (x *Provider) GetUrn() string

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) ProtoReflect

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

func (*Provider) Reset

func (x *Provider) Reset()

func (*Provider) String

func (x *Provider) String() string

type ProviderActivity

type ProviderActivity struct {
	Id                 string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ProviderId         string                 `protobuf:"bytes,2,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	ResourceId         string                 `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	AccountId          string                 `protobuf:"bytes,4,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AccountType        string                 `protobuf:"bytes,5,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	Timestamp          *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Authorizations     []string               `protobuf:"bytes,7,rep,name=authorizations,proto3" json:"authorizations,omitempty"`
	Type               string                 `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
	Metadata           *structpb.Struct       `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`
	CreatedAt          *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Provider           *Provider              `protobuf:"bytes,11,opt,name=provider,proto3" json:"provider,omitempty"`
	Resource           *Resource              `protobuf:"bytes,12,opt,name=resource,proto3" json:"resource,omitempty"`
	ProviderActivityId string                 `protobuf:"bytes,13,opt,name=provider_activity_id,json=providerActivityId,proto3" json:"provider_activity_id,omitempty"`
	RelatedPermissions []string               `protobuf:"bytes,14,rep,name=related_permissions,json=relatedPermissions,proto3" json:"related_permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderActivity) Descriptor deprecated

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

Deprecated: Use ProviderActivity.ProtoReflect.Descriptor instead.

func (*ProviderActivity) GetAccountId

func (x *ProviderActivity) GetAccountId() string

func (*ProviderActivity) GetAccountType

func (x *ProviderActivity) GetAccountType() string

func (*ProviderActivity) GetAuthorizations

func (x *ProviderActivity) GetAuthorizations() []string

func (*ProviderActivity) GetCreatedAt

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

func (*ProviderActivity) GetId

func (x *ProviderActivity) GetId() string

func (*ProviderActivity) GetMetadata

func (x *ProviderActivity) GetMetadata() *structpb.Struct

func (*ProviderActivity) GetProvider

func (x *ProviderActivity) GetProvider() *Provider

func (*ProviderActivity) GetProviderActivityId

func (x *ProviderActivity) GetProviderActivityId() string

func (*ProviderActivity) GetProviderId

func (x *ProviderActivity) GetProviderId() string

func (*ProviderActivity) GetRelatedPermissions

func (x *ProviderActivity) GetRelatedPermissions() []string

func (*ProviderActivity) GetResource

func (x *ProviderActivity) GetResource() *Resource

func (*ProviderActivity) GetResourceId

func (x *ProviderActivity) GetResourceId() string

func (*ProviderActivity) GetTimestamp

func (x *ProviderActivity) GetTimestamp() *timestamppb.Timestamp

func (*ProviderActivity) GetType

func (x *ProviderActivity) GetType() string

func (*ProviderActivity) ProtoMessage

func (*ProviderActivity) ProtoMessage()

func (*ProviderActivity) ProtoReflect

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

func (*ProviderActivity) Reset

func (x *ProviderActivity) Reset()

func (*ProviderActivity) String

func (x *ProviderActivity) String() string

type ProviderConfig

type ProviderConfig struct {
	Type                string                              `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Urn                 string                              `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"`
	Labels              map[string]string                   `` /* 153-byte string literal not displayed */
	Credentials         *structpb.Value                     `protobuf:"bytes,4,opt,name=credentials,proto3" json:"credentials,omitempty"`
	Appeal              *ProviderConfig_AppealConfig        `protobuf:"bytes,5,opt,name=appeal,proto3" json:"appeal,omitempty"`
	Resources           []*ProviderConfig_ResourceConfig    `protobuf:"bytes,6,rep,name=resources,proto3" json:"resources,omitempty"`
	AllowedAccountTypes []string                            `protobuf:"bytes,7,rep,name=allowed_account_types,json=allowedAccountTypes,proto3" json:"allowed_account_types,omitempty"`
	Parameters          []*ProviderConfig_ProviderParameter `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderConfig) Descriptor deprecated

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

Deprecated: Use ProviderConfig.ProtoReflect.Descriptor instead.

func (*ProviderConfig) GetAllowedAccountTypes

func (x *ProviderConfig) GetAllowedAccountTypes() []string

func (*ProviderConfig) GetAppeal

func (*ProviderConfig) GetCredentials

func (x *ProviderConfig) GetCredentials() *structpb.Value

func (*ProviderConfig) GetLabels

func (x *ProviderConfig) GetLabels() map[string]string

func (*ProviderConfig) GetParameters

func (x *ProviderConfig) GetParameters() []*ProviderConfig_ProviderParameter

func (*ProviderConfig) GetResources

func (x *ProviderConfig) GetResources() []*ProviderConfig_ResourceConfig

func (*ProviderConfig) GetType

func (x *ProviderConfig) GetType() string

func (*ProviderConfig) GetUrn

func (x *ProviderConfig) GetUrn() string

func (*ProviderConfig) ProtoMessage

func (*ProviderConfig) ProtoMessage()

func (*ProviderConfig) ProtoReflect

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

func (*ProviderConfig) Reset

func (x *ProviderConfig) Reset()

func (*ProviderConfig) String

func (x *ProviderConfig) String() string

type ProviderConfig_AppealConfig

type ProviderConfig_AppealConfig struct {
	AllowPermanentAccess         bool   `protobuf:"varint,1,opt,name=allow_permanent_access,json=allowPermanentAccess,proto3" json:"allow_permanent_access,omitempty"`
	AllowActiveAccessExtensionIn string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProviderConfig_AppealConfig) Descriptor deprecated

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

Deprecated: Use ProviderConfig_AppealConfig.ProtoReflect.Descriptor instead.

func (*ProviderConfig_AppealConfig) GetAllowActiveAccessExtensionIn

func (x *ProviderConfig_AppealConfig) GetAllowActiveAccessExtensionIn() string

func (*ProviderConfig_AppealConfig) GetAllowPermanentAccess

func (x *ProviderConfig_AppealConfig) GetAllowPermanentAccess() bool

func (*ProviderConfig_AppealConfig) ProtoMessage

func (*ProviderConfig_AppealConfig) ProtoMessage()

func (*ProviderConfig_AppealConfig) ProtoReflect

func (*ProviderConfig_AppealConfig) Reset

func (x *ProviderConfig_AppealConfig) Reset()

func (*ProviderConfig_AppealConfig) String

func (x *ProviderConfig_AppealConfig) String() string

type ProviderConfig_ProviderParameter

type ProviderConfig_ProviderParameter struct {
	Key         string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Label       string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Required    bool   `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderConfig_ProviderParameter) Descriptor deprecated

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

Deprecated: Use ProviderConfig_ProviderParameter.ProtoReflect.Descriptor instead.

func (*ProviderConfig_ProviderParameter) GetDescription

func (x *ProviderConfig_ProviderParameter) GetDescription() string

func (*ProviderConfig_ProviderParameter) GetKey

func (*ProviderConfig_ProviderParameter) GetLabel

func (*ProviderConfig_ProviderParameter) GetRequired

func (x *ProviderConfig_ProviderParameter) GetRequired() bool

func (*ProviderConfig_ProviderParameter) ProtoMessage

func (*ProviderConfig_ProviderParameter) ProtoMessage()

func (*ProviderConfig_ProviderParameter) ProtoReflect

func (*ProviderConfig_ProviderParameter) Reset

func (*ProviderConfig_ProviderParameter) String

type ProviderConfig_ResourceConfig

type ProviderConfig_ResourceConfig struct {
	Type   string        `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Policy *PolicyConfig `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
	Roles  []*Role       `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
	Filter string        `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderConfig_ResourceConfig) Descriptor deprecated

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

Deprecated: Use ProviderConfig_ResourceConfig.ProtoReflect.Descriptor instead.

func (*ProviderConfig_ResourceConfig) GetFilter

func (x *ProviderConfig_ResourceConfig) GetFilter() string

func (*ProviderConfig_ResourceConfig) GetPolicy

func (*ProviderConfig_ResourceConfig) GetRoles

func (x *ProviderConfig_ResourceConfig) GetRoles() []*Role

func (*ProviderConfig_ResourceConfig) GetType

func (*ProviderConfig_ResourceConfig) ProtoMessage

func (*ProviderConfig_ResourceConfig) ProtoMessage()

func (*ProviderConfig_ResourceConfig) ProtoReflect

func (*ProviderConfig_ResourceConfig) Reset

func (x *ProviderConfig_ResourceConfig) Reset()

func (*ProviderConfig_ResourceConfig) String

type ProviderType

type ProviderType struct {
	Name          string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ResourceTypes []string `protobuf:"bytes,2,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderType) Descriptor deprecated

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

Deprecated: Use ProviderType.ProtoReflect.Descriptor instead.

func (*ProviderType) GetName

func (x *ProviderType) GetName() string

func (*ProviderType) GetResourceTypes

func (x *ProviderType) GetResourceTypes() []string

func (*ProviderType) ProtoMessage

func (*ProviderType) ProtoMessage()

func (*ProviderType) ProtoReflect

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

func (*ProviderType) Reset

func (x *ProviderType) Reset()

func (*ProviderType) String

func (x *ProviderType) String() string

type Resource

type Resource struct {
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ProviderType string                 `protobuf:"bytes,2,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
	ProviderUrn  string                 `protobuf:"bytes,3,opt,name=provider_urn,json=providerUrn,proto3" json:"provider_urn,omitempty"`
	Type         string                 `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Urn          string                 `protobuf:"bytes,5,opt,name=urn,proto3" json:"urn,omitempty"`
	Name         string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Details      *structpb.Struct       `protobuf:"bytes,7,opt,name=details,proto3" json:"details,omitempty"`
	Labels       map[string]string      `` /* 153-byte string literal not displayed */
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	IsDeleted    bool                   `protobuf:"varint,11,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	ParentId     string                 `protobuf:"bytes,12,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Children     []*Resource            `protobuf:"bytes,13,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

Resource contains information of resource from providers

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetChildren

func (x *Resource) GetChildren() []*Resource

func (*Resource) GetCreatedAt

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

func (*Resource) GetDetails

func (x *Resource) GetDetails() *structpb.Struct

func (*Resource) GetId

func (x *Resource) GetId() string

func (*Resource) GetIsDeleted

func (x *Resource) GetIsDeleted() bool

func (*Resource) GetLabels

func (x *Resource) GetLabels() map[string]string

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetParentId

func (x *Resource) GetParentId() string

func (*Resource) GetProviderType

func (x *Resource) GetProviderType() string

func (*Resource) GetProviderUrn

func (x *Resource) GetProviderUrn() string

func (*Resource) GetType

func (x *Resource) GetType() string

func (*Resource) GetUpdatedAt

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

func (*Resource) GetUrn

func (x *Resource) GetUrn() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type RevokeAppealRequest

type RevokeAppealRequest struct {
	Id     string                      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Reason *RevokeAppealRequest_Reason `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeAppealRequest) Descriptor deprecated

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

Deprecated: Use RevokeAppealRequest.ProtoReflect.Descriptor instead.

func (*RevokeAppealRequest) GetId

func (x *RevokeAppealRequest) GetId() string

func (*RevokeAppealRequest) GetReason

func (*RevokeAppealRequest) ProtoMessage

func (*RevokeAppealRequest) ProtoMessage()

func (*RevokeAppealRequest) ProtoReflect

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

func (*RevokeAppealRequest) Reset

func (x *RevokeAppealRequest) Reset()

func (*RevokeAppealRequest) String

func (x *RevokeAppealRequest) String() string

type RevokeAppealRequest_Reason

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

func (*RevokeAppealRequest_Reason) Descriptor deprecated

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

Deprecated: Use RevokeAppealRequest_Reason.ProtoReflect.Descriptor instead.

func (*RevokeAppealRequest_Reason) GetReason

func (x *RevokeAppealRequest_Reason) GetReason() string

func (*RevokeAppealRequest_Reason) ProtoMessage

func (*RevokeAppealRequest_Reason) ProtoMessage()

func (*RevokeAppealRequest_Reason) ProtoReflect

func (*RevokeAppealRequest_Reason) Reset

func (x *RevokeAppealRequest_Reason) Reset()

func (*RevokeAppealRequest_Reason) String

func (x *RevokeAppealRequest_Reason) String() string

type RevokeAppealResponse

type RevokeAppealResponse struct {
	Appeal *Appeal `protobuf:"bytes,1,opt,name=appeal,proto3" json:"appeal,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeAppealResponse) Descriptor deprecated

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

Deprecated: Use RevokeAppealResponse.ProtoReflect.Descriptor instead.

func (*RevokeAppealResponse) GetAppeal

func (x *RevokeAppealResponse) GetAppeal() *Appeal

func (*RevokeAppealResponse) ProtoMessage

func (*RevokeAppealResponse) ProtoMessage()

func (*RevokeAppealResponse) ProtoReflect

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

func (*RevokeAppealResponse) Reset

func (x *RevokeAppealResponse) Reset()

func (*RevokeAppealResponse) String

func (x *RevokeAppealResponse) String() string

type RevokeAppealsRequest

type RevokeAppealsRequest struct {
	AccountIds    []string `protobuf:"bytes,1,rep,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"`
	ProviderTypes []string `protobuf:"bytes,2,rep,name=provider_types,json=providerTypes,proto3" json:"provider_types,omitempty"`
	ProviderUrns  []string `protobuf:"bytes,3,rep,name=provider_urns,json=providerUrns,proto3" json:"provider_urns,omitempty"`
	ResourceTypes []string `protobuf:"bytes,4,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	ResourceUrns  []string `protobuf:"bytes,5,rep,name=resource_urns,json=resourceUrns,proto3" json:"resource_urns,omitempty"`
	Reason        string   `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeAppealsRequest) Descriptor deprecated

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

Deprecated: Use RevokeAppealsRequest.ProtoReflect.Descriptor instead.

func (*RevokeAppealsRequest) GetAccountIds

func (x *RevokeAppealsRequest) GetAccountIds() []string

func (*RevokeAppealsRequest) GetProviderTypes

func (x *RevokeAppealsRequest) GetProviderTypes() []string

func (*RevokeAppealsRequest) GetProviderUrns

func (x *RevokeAppealsRequest) GetProviderUrns() []string

func (*RevokeAppealsRequest) GetReason

func (x *RevokeAppealsRequest) GetReason() string

func (*RevokeAppealsRequest) GetResourceTypes

func (x *RevokeAppealsRequest) GetResourceTypes() []string

func (*RevokeAppealsRequest) GetResourceUrns

func (x *RevokeAppealsRequest) GetResourceUrns() []string

func (*RevokeAppealsRequest) ProtoMessage

func (*RevokeAppealsRequest) ProtoMessage()

func (*RevokeAppealsRequest) ProtoReflect

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

func (*RevokeAppealsRequest) Reset

func (x *RevokeAppealsRequest) Reset()

func (*RevokeAppealsRequest) String

func (x *RevokeAppealsRequest) String() string

type RevokeAppealsResponse

type RevokeAppealsResponse struct {
	Appeals []*Appeal `protobuf:"bytes,1,rep,name=appeals,proto3" json:"appeals,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeAppealsResponse) Descriptor deprecated

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

Deprecated: Use RevokeAppealsResponse.ProtoReflect.Descriptor instead.

func (*RevokeAppealsResponse) GetAppeals

func (x *RevokeAppealsResponse) GetAppeals() []*Appeal

func (*RevokeAppealsResponse) ProtoMessage

func (*RevokeAppealsResponse) ProtoMessage()

func (*RevokeAppealsResponse) ProtoReflect

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

func (*RevokeAppealsResponse) Reset

func (x *RevokeAppealsResponse) Reset()

func (*RevokeAppealsResponse) String

func (x *RevokeAppealsResponse) String() string

type RevokeGrantRequest

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

func (*RevokeGrantRequest) Descriptor deprecated

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

Deprecated: Use RevokeGrantRequest.ProtoReflect.Descriptor instead.

func (*RevokeGrantRequest) GetId

func (x *RevokeGrantRequest) GetId() string

func (*RevokeGrantRequest) GetReason

func (x *RevokeGrantRequest) GetReason() string

func (*RevokeGrantRequest) ProtoMessage

func (*RevokeGrantRequest) ProtoMessage()

func (*RevokeGrantRequest) ProtoReflect

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

func (*RevokeGrantRequest) Reset

func (x *RevokeGrantRequest) Reset()

func (*RevokeGrantRequest) String

func (x *RevokeGrantRequest) String() string

type RevokeGrantResponse

type RevokeGrantResponse struct {
	Grant *Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeGrantResponse) Descriptor deprecated

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

Deprecated: Use RevokeGrantResponse.ProtoReflect.Descriptor instead.

func (*RevokeGrantResponse) GetGrant

func (x *RevokeGrantResponse) GetGrant() *Grant

func (*RevokeGrantResponse) ProtoMessage

func (*RevokeGrantResponse) ProtoMessage()

func (*RevokeGrantResponse) ProtoReflect

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

func (*RevokeGrantResponse) Reset

func (x *RevokeGrantResponse) Reset()

func (*RevokeGrantResponse) String

func (x *RevokeGrantResponse) String() string

type RevokeGrantsRequest

type RevokeGrantsRequest struct {
	AccountIds    []string `protobuf:"bytes,1,rep,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"`
	ProviderTypes []string `protobuf:"bytes,2,rep,name=provider_types,json=providerTypes,proto3" json:"provider_types,omitempty"`
	ProviderUrns  []string `protobuf:"bytes,3,rep,name=provider_urns,json=providerUrns,proto3" json:"provider_urns,omitempty"`
	ResourceTypes []string `protobuf:"bytes,4,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	ResourceUrns  []string `protobuf:"bytes,5,rep,name=resource_urns,json=resourceUrns,proto3" json:"resource_urns,omitempty"`
	Reason        string   `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeGrantsRequest) Descriptor deprecated

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

Deprecated: Use RevokeGrantsRequest.ProtoReflect.Descriptor instead.

func (*RevokeGrantsRequest) GetAccountIds

func (x *RevokeGrantsRequest) GetAccountIds() []string

func (*RevokeGrantsRequest) GetProviderTypes

func (x *RevokeGrantsRequest) GetProviderTypes() []string

func (*RevokeGrantsRequest) GetProviderUrns

func (x *RevokeGrantsRequest) GetProviderUrns() []string

func (*RevokeGrantsRequest) GetReason

func (x *RevokeGrantsRequest) GetReason() string

func (*RevokeGrantsRequest) GetResourceTypes

func (x *RevokeGrantsRequest) GetResourceTypes() []string

func (*RevokeGrantsRequest) GetResourceUrns

func (x *RevokeGrantsRequest) GetResourceUrns() []string

func (*RevokeGrantsRequest) ProtoMessage

func (*RevokeGrantsRequest) ProtoMessage()

func (*RevokeGrantsRequest) ProtoReflect

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

func (*RevokeGrantsRequest) Reset

func (x *RevokeGrantsRequest) Reset()

func (*RevokeGrantsRequest) String

func (x *RevokeGrantsRequest) String() string

type RevokeGrantsResponse

type RevokeGrantsResponse struct {
	Grants []*Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeGrantsResponse) Descriptor deprecated

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

Deprecated: Use RevokeGrantsResponse.ProtoReflect.Descriptor instead.

func (*RevokeGrantsResponse) GetGrants

func (x *RevokeGrantsResponse) GetGrants() []*Grant

func (*RevokeGrantsResponse) ProtoMessage

func (*RevokeGrantsResponse) ProtoMessage()

func (*RevokeGrantsResponse) ProtoReflect

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

func (*RevokeGrantsResponse) Reset

func (x *RevokeGrantsResponse) Reset()

func (*RevokeGrantsResponse) String

func (x *RevokeGrantsResponse) String() string

type Role

type Role 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"`
	Description string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Permissions []*structpb.Value `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetDescription

func (x *Role) GetDescription() string

func (*Role) GetId

func (x *Role) GetId() string

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetPermissions

func (x *Role) GetPermissions() []*structpb.Value

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 UnimplementedGuardianServiceServer

type UnimplementedGuardianServiceServer struct {
}

UnimplementedGuardianServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGuardianServiceServer) AddApprover

func (UnimplementedGuardianServiceServer) CancelAppeal

func (UnimplementedGuardianServiceServer) CreateAppeal

func (UnimplementedGuardianServiceServer) CreatePolicy

func (UnimplementedGuardianServiceServer) CreateProvider

func (UnimplementedGuardianServiceServer) DeleteApprover

func (UnimplementedGuardianServiceServer) DeleteProvider

func (UnimplementedGuardianServiceServer) DeleteResource

func (UnimplementedGuardianServiceServer) GetActivity

func (UnimplementedGuardianServiceServer) GetAppeal

func (UnimplementedGuardianServiceServer) GetGrant

func (UnimplementedGuardianServiceServer) GetPolicy

func (UnimplementedGuardianServiceServer) GetProvider

func (UnimplementedGuardianServiceServer) GetProviderTypes

func (UnimplementedGuardianServiceServer) GetResource

func (UnimplementedGuardianServiceServer) ImportActivities

func (UnimplementedGuardianServiceServer) ListActivities

func (UnimplementedGuardianServiceServer) ListAppeals

func (UnimplementedGuardianServiceServer) ListApprovals

func (UnimplementedGuardianServiceServer) ListGrants

func (UnimplementedGuardianServiceServer) ListPolicies

func (UnimplementedGuardianServiceServer) ListProviders

func (UnimplementedGuardianServiceServer) ListResources

func (UnimplementedGuardianServiceServer) ListRoles

func (UnimplementedGuardianServiceServer) ListUserAppeals

func (UnimplementedGuardianServiceServer) ListUserApprovals

func (UnimplementedGuardianServiceServer) ListUserGrants

func (UnimplementedGuardianServiceServer) RevokeGrant

func (UnimplementedGuardianServiceServer) RevokeGrants

func (UnimplementedGuardianServiceServer) UpdateApproval

func (UnimplementedGuardianServiceServer) UpdateGrant

func (UnimplementedGuardianServiceServer) UpdatePolicy

func (UnimplementedGuardianServiceServer) UpdateProvider

func (UnimplementedGuardianServiceServer) UpdateResource

type UnsafeGuardianServiceServer

type UnsafeGuardianServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeGuardianServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GuardianServiceServer will result in compilation errors.

type UpdateApprovalRequest

type UpdateApprovalRequest struct {
	Id           string                        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ApprovalName string                        `protobuf:"bytes,2,opt,name=approval_name,json=approvalName,proto3" json:"approval_name,omitempty"`
	Action       *UpdateApprovalRequest_Action `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateApprovalRequest) Descriptor deprecated

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

Deprecated: Use UpdateApprovalRequest.ProtoReflect.Descriptor instead.

func (*UpdateApprovalRequest) GetAction

func (*UpdateApprovalRequest) GetApprovalName

func (x *UpdateApprovalRequest) GetApprovalName() string

func (*UpdateApprovalRequest) GetId

func (x *UpdateApprovalRequest) GetId() string

func (*UpdateApprovalRequest) ProtoMessage

func (*UpdateApprovalRequest) ProtoMessage()

func (*UpdateApprovalRequest) ProtoReflect

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

func (*UpdateApprovalRequest) Reset

func (x *UpdateApprovalRequest) Reset()

func (*UpdateApprovalRequest) String

func (x *UpdateApprovalRequest) String() string

type UpdateApprovalRequest_Action

type UpdateApprovalRequest_Action struct {
	Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateApprovalRequest_Action) Descriptor deprecated

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

Deprecated: Use UpdateApprovalRequest_Action.ProtoReflect.Descriptor instead.

func (*UpdateApprovalRequest_Action) GetAction

func (x *UpdateApprovalRequest_Action) GetAction() string

func (*UpdateApprovalRequest_Action) GetReason

func (x *UpdateApprovalRequest_Action) GetReason() string

func (*UpdateApprovalRequest_Action) ProtoMessage

func (*UpdateApprovalRequest_Action) ProtoMessage()

func (*UpdateApprovalRequest_Action) ProtoReflect

func (*UpdateApprovalRequest_Action) Reset

func (x *UpdateApprovalRequest_Action) Reset()

func (*UpdateApprovalRequest_Action) String

type UpdateApprovalResponse

type UpdateApprovalResponse struct {
	Appeal *Appeal `protobuf:"bytes,1,opt,name=appeal,proto3" json:"appeal,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateApprovalResponse) Descriptor deprecated

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

Deprecated: Use UpdateApprovalResponse.ProtoReflect.Descriptor instead.

func (*UpdateApprovalResponse) GetAppeal

func (x *UpdateApprovalResponse) GetAppeal() *Appeal

func (*UpdateApprovalResponse) ProtoMessage

func (*UpdateApprovalResponse) ProtoMessage()

func (*UpdateApprovalResponse) ProtoReflect

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

func (*UpdateApprovalResponse) Reset

func (x *UpdateApprovalResponse) Reset()

func (*UpdateApprovalResponse) String

func (x *UpdateApprovalResponse) String() string

type UpdateGrantRequest

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

func (*UpdateGrantRequest) Descriptor deprecated

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

Deprecated: Use UpdateGrantRequest.ProtoReflect.Descriptor instead.

func (*UpdateGrantRequest) GetId

func (x *UpdateGrantRequest) GetId() string

func (*UpdateGrantRequest) GetOwner

func (x *UpdateGrantRequest) GetOwner() string

func (*UpdateGrantRequest) ProtoMessage

func (*UpdateGrantRequest) ProtoMessage()

func (*UpdateGrantRequest) ProtoReflect

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

func (*UpdateGrantRequest) Reset

func (x *UpdateGrantRequest) Reset()

func (*UpdateGrantRequest) String

func (x *UpdateGrantRequest) String() string

type UpdateGrantResponse

type UpdateGrantResponse struct {
	Grant *Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGrantResponse) Descriptor deprecated

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

Deprecated: Use UpdateGrantResponse.ProtoReflect.Descriptor instead.

func (*UpdateGrantResponse) GetGrant

func (x *UpdateGrantResponse) GetGrant() *Grant

func (*UpdateGrantResponse) ProtoMessage

func (*UpdateGrantResponse) ProtoMessage()

func (*UpdateGrantResponse) ProtoReflect

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

func (*UpdateGrantResponse) Reset

func (x *UpdateGrantResponse) Reset()

func (*UpdateGrantResponse) String

func (x *UpdateGrantResponse) String() string

type UpdatePolicyRequest

type UpdatePolicyRequest struct {
	Id     string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Policy *Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
	DryRun bool    `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePolicyRequest) Descriptor deprecated

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

Deprecated: Use UpdatePolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdatePolicyRequest) GetDryRun

func (x *UpdatePolicyRequest) GetDryRun() bool

func (*UpdatePolicyRequest) GetId

func (x *UpdatePolicyRequest) GetId() string

func (*UpdatePolicyRequest) GetPolicy

func (x *UpdatePolicyRequest) GetPolicy() *Policy

func (*UpdatePolicyRequest) ProtoMessage

func (*UpdatePolicyRequest) ProtoMessage()

func (*UpdatePolicyRequest) ProtoReflect

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

func (*UpdatePolicyRequest) Reset

func (x *UpdatePolicyRequest) Reset()

func (*UpdatePolicyRequest) String

func (x *UpdatePolicyRequest) String() string

type UpdatePolicyResponse

type UpdatePolicyResponse struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePolicyResponse) Descriptor deprecated

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

Deprecated: Use UpdatePolicyResponse.ProtoReflect.Descriptor instead.

func (*UpdatePolicyResponse) GetPolicy

func (x *UpdatePolicyResponse) GetPolicy() *Policy

func (*UpdatePolicyResponse) ProtoMessage

func (*UpdatePolicyResponse) ProtoMessage()

func (*UpdatePolicyResponse) ProtoReflect

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

func (*UpdatePolicyResponse) Reset

func (x *UpdatePolicyResponse) Reset()

func (*UpdatePolicyResponse) String

func (x *UpdatePolicyResponse) String() string

type UpdateProviderRequest

type UpdateProviderRequest struct {
	Id     string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Config *ProviderConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	DryRun bool            `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProviderRequest) Descriptor deprecated

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

Deprecated: Use UpdateProviderRequest.ProtoReflect.Descriptor instead.

func (*UpdateProviderRequest) GetConfig

func (x *UpdateProviderRequest) GetConfig() *ProviderConfig

func (*UpdateProviderRequest) GetDryRun

func (x *UpdateProviderRequest) GetDryRun() bool

func (*UpdateProviderRequest) GetId

func (x *UpdateProviderRequest) GetId() string

func (*UpdateProviderRequest) ProtoMessage

func (*UpdateProviderRequest) ProtoMessage()

func (*UpdateProviderRequest) ProtoReflect

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

func (*UpdateProviderRequest) Reset

func (x *UpdateProviderRequest) Reset()

func (*UpdateProviderRequest) String

func (x *UpdateProviderRequest) String() string

type UpdateProviderResponse

type UpdateProviderResponse struct {
	Provider *Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProviderResponse) Descriptor deprecated

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

Deprecated: Use UpdateProviderResponse.ProtoReflect.Descriptor instead.

func (*UpdateProviderResponse) GetProvider

func (x *UpdateProviderResponse) GetProvider() *Provider

func (*UpdateProviderResponse) ProtoMessage

func (*UpdateProviderResponse) ProtoMessage()

func (*UpdateProviderResponse) ProtoReflect

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

func (*UpdateProviderResponse) Reset

func (x *UpdateProviderResponse) Reset()

func (*UpdateProviderResponse) String

func (x *UpdateProviderResponse) String() string

type UpdateResourceRequest

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

func (*UpdateResourceRequest) Descriptor deprecated

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

Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest) GetId

func (x *UpdateResourceRequest) GetId() string

func (*UpdateResourceRequest) GetResource

func (x *UpdateResourceRequest) GetResource() *Resource

func (*UpdateResourceRequest) ProtoMessage

func (*UpdateResourceRequest) ProtoMessage()

func (*UpdateResourceRequest) ProtoReflect

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

func (*UpdateResourceRequest) Reset

func (x *UpdateResourceRequest) Reset()

func (*UpdateResourceRequest) String

func (x *UpdateResourceRequest) String() string

type UpdateResourceResponse

type UpdateResourceResponse struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceResponse) Descriptor deprecated

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

Deprecated: Use UpdateResourceResponse.ProtoReflect.Descriptor instead.

func (*UpdateResourceResponse) GetResource

func (x *UpdateResourceResponse) GetResource() *Resource

func (*UpdateResourceResponse) ProtoMessage

func (*UpdateResourceResponse) ProtoMessage()

func (*UpdateResourceResponse) ProtoReflect

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

func (*UpdateResourceResponse) Reset

func (x *UpdateResourceResponse) Reset()

func (*UpdateResourceResponse) String

func (x *UpdateResourceResponse) String() string

Jump to

Keyboard shortcuts

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