accessv1alpha1

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 23 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GrantChange_name = map[int32]string{
		0: "GRANT_CHANGE_UNSPECIFIED",
		1: "GRANT_CHANGE_REQUESTED",
		2: "GRANT_CHANGE_ACTIVATED",
		3: "GRANT_CHANGE_EXTENDED",
		4: "GRANT_CHANGE_PROVISIONING_FAILED",
	}
	GrantChange_value = map[string]int32{
		"GRANT_CHANGE_UNSPECIFIED":         0,
		"GRANT_CHANGE_REQUESTED":           1,
		"GRANT_CHANGE_ACTIVATED":           2,
		"GRANT_CHANGE_EXTENDED":            3,
		"GRANT_CHANGE_PROVISIONING_FAILED": 4,
	}
)

Enum value maps for GrantChange.

View Source
var (
	DiagnosticLevel_name = map[int32]string{
		0: "DIAGNOSTIC_LEVEL_UNSPECIFIED",
		1: "DIAGNOSTIC_LEVEL_INFO",
		2: "DIAGNOSTIC_LEVEL_WARNING",
		3: "DIAGNOSTIC_LEVEL_ERROR",
	}
	DiagnosticLevel_value = map[string]int32{
		"DIAGNOSTIC_LEVEL_UNSPECIFIED": 0,
		"DIAGNOSTIC_LEVEL_INFO":        1,
		"DIAGNOSTIC_LEVEL_WARNING":     2,
		"DIAGNOSTIC_LEVEL_ERROR":       3,
	}
)

Enum value maps for DiagnosticLevel.

View Source
var (
	GrantStatus_name = map[int32]string{
		0: "GRANT_STATUS_UNSPECIFIED",
		1: "GRANT_STATUS_PENDING",
		3: "GRANT_STATUS_ACTIVE",
		4: "GRANT_STATUS_CLOSED",
	}
	GrantStatus_value = map[string]int32{
		"GRANT_STATUS_UNSPECIFIED": 0,
		"GRANT_STATUS_PENDING":     1,
		"GRANT_STATUS_ACTIVE":      3,
		"GRANT_STATUS_CLOSED":      4,
	}
)

Enum value maps for GrantStatus.

View Source
var (
	ProvisioningStatus_name = map[int32]string{
		0: "PROVISIONING_STATUS_UNSPECIFIED",
		1: "PROVISIONING_STATUS_NOT_ATTEMPTED",
		2: "PROVISIONING_STATUS_ATTEMPTING",
		3: "PROVISIONING_STATUS_SUCCESSFUL",
	}
	ProvisioningStatus_value = map[string]int32{
		"PROVISIONING_STATUS_UNSPECIFIED":   0,
		"PROVISIONING_STATUS_NOT_ATTEMPTED": 1,
		"PROVISIONING_STATUS_ATTEMPTING":    2,
		"PROVISIONING_STATUS_SUCCESSFUL":    3,
	}
)

Enum value maps for ProvisioningStatus.

View Source
var File_commonfate_access_v1alpha1_access_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_access_request_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_audit_logs_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_diagnostic_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_entities_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_grant_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_grants_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_identity_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_integration_audit_logs_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_named_eid_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_provisioner_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_resource_proto protoreflect.FileDescriptor
View Source
var File_commonfate_access_v1alpha1_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AWSAccount

type AWSAccount struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Role      string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*AWSAccount) Descriptor deprecated

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

Deprecated: Use AWSAccount.ProtoReflect.Descriptor instead.

func (*AWSAccount) GetAccountId

func (x *AWSAccount) GetAccountId() string

func (*AWSAccount) GetRole

func (x *AWSAccount) GetRole() string

func (*AWSAccount) ProtoMessage

func (*AWSAccount) ProtoMessage()

func (*AWSAccount) ProtoReflect

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

func (*AWSAccount) Reset

func (x *AWSAccount) Reset()

func (*AWSAccount) String

func (x *AWSAccount) String() string

func (*AWSAccount) Validate added in v1.32.1

func (m *AWSAccount) Validate() error

Validate checks the field values on AWSAccount with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AWSAccount) ValidateAll added in v1.32.1

func (m *AWSAccount) ValidateAll() error

ValidateAll checks the field values on AWSAccount with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AWSAccountMultiError, or nil if none found.

type AWSAccountMultiError added in v1.32.1

type AWSAccountMultiError []error

AWSAccountMultiError is an error wrapping multiple validation errors returned by AWSAccount.ValidateAll() if the designated constraints aren't met.

func (AWSAccountMultiError) AllErrors added in v1.32.1

func (m AWSAccountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AWSAccountMultiError) Error added in v1.32.1

func (m AWSAccountMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AWSAccountValidationError added in v1.32.1

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

AWSAccountValidationError is the validation error returned by AWSAccount.Validate if the designated constraints aren't met.

func (AWSAccountValidationError) Cause added in v1.32.1

func (e AWSAccountValidationError) Cause() error

Cause function returns cause value.

func (AWSAccountValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (AWSAccountValidationError) ErrorName added in v1.32.1

func (e AWSAccountValidationError) ErrorName() string

ErrorName returns error name.

func (AWSAccountValidationError) Field added in v1.32.1

Field function returns field value.

func (AWSAccountValidationError) Key added in v1.32.1

Key function returns key value.

func (AWSAccountValidationError) Reason added in v1.32.1

func (e AWSAccountValidationError) Reason() string

Reason function returns reason value.

type AccessRequest

type AccessRequest struct {

	// The ID of the Access Request.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Batch ID of the Access Request. Access Requests created in the same
	// API call have the same Batch ID.
	BatchId string `protobuf:"bytes,2,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
	// The grants under consideration for access.
	Grants []*Grant `protobuf:"bytes,3,rep,name=grants,proto3" json:"grants,omitempty"`
	// An access request is reviewable if one or more Grants in the request
	// requires a manual review.
	Reviewable bool `protobuf:"varint,4,opt,name=reviewable,proto3" json:"reviewable,omitempty"`
	// True if the Access Request already existed and wasn't created by the API call.
	Existing bool `protobuf:"varint,5,opt,name=existing,proto3" json:"existing,omitempty"`
	// The timestamp that the request was created at.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The justification supplied when the request was created
	Justification *Justification `protobuf:"bytes,9,opt,name=justification,proto3" json:"justification,omitempty"`
	// The user or service account that requested the access.
	//
	// If a service account requested access, the 'name' and 'email' may be empty.
	Principal    *User  `protobuf:"bytes,10,opt,name=principal,proto3" json:"principal,omitempty"`
	WorkflowId   string `protobuf:"bytes,11,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	WorkflowName string `protobuf:"bytes,12,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty"`
	// contains filtered or unexported fields
}

A request to be given entitlements allowing <Action> to be performed on <Resource>.

For example, if the action is 'Admin', and the resource is AWS::Account::123456789012, This request is for entitlements allowing Admin access to the account 123456789012.

func (*AccessRequest) Descriptor deprecated

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

Deprecated: Use AccessRequest.ProtoReflect.Descriptor instead.

func (*AccessRequest) GetBatchId

func (x *AccessRequest) GetBatchId() string

func (*AccessRequest) GetCreatedAt

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

func (*AccessRequest) GetExisting

func (x *AccessRequest) GetExisting() bool

func (*AccessRequest) GetGrants

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

func (*AccessRequest) GetId

func (x *AccessRequest) GetId() string

func (*AccessRequest) GetJustification added in v1.3.0

func (x *AccessRequest) GetJustification() *Justification

func (*AccessRequest) GetPrincipal added in v1.7.0

func (x *AccessRequest) GetPrincipal() *User

func (*AccessRequest) GetReviewable

func (x *AccessRequest) GetReviewable() bool

func (*AccessRequest) GetWorkflowId added in v1.28.0

func (x *AccessRequest) GetWorkflowId() string

func (*AccessRequest) GetWorkflowName added in v1.28.0

func (x *AccessRequest) GetWorkflowName() string

func (*AccessRequest) ProtoMessage

func (*AccessRequest) ProtoMessage()

func (*AccessRequest) ProtoReflect

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

func (*AccessRequest) Reset

func (x *AccessRequest) Reset()

func (*AccessRequest) String

func (x *AccessRequest) String() string

func (*AccessRequest) Validate added in v1.32.1

func (m *AccessRequest) Validate() error

Validate checks the field values on AccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessRequest) ValidateAll added in v1.32.1

func (m *AccessRequest) ValidateAll() error

ValidateAll checks the field values on AccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessRequestMultiError, or nil if none found.

type AccessRequestMultiError added in v1.32.1

type AccessRequestMultiError []error

AccessRequestMultiError is an error wrapping multiple validation errors returned by AccessRequest.ValidateAll() if the designated constraints aren't met.

func (AccessRequestMultiError) AllErrors added in v1.32.1

func (m AccessRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessRequestMultiError) Error added in v1.32.1

func (m AccessRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AccessRequestValidationError added in v1.32.1

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

AccessRequestValidationError is the validation error returned by AccessRequest.Validate if the designated constraints aren't met.

func (AccessRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (AccessRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (AccessRequestValidationError) ErrorName added in v1.32.1

func (e AccessRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AccessRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (AccessRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (AccessRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ActivateAccessRequestRequest

type ActivateAccessRequestRequest struct {

	// The ID of the Access Request.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// If provided, will only activate the grants with the specified IDs
	ActivateGrants []string `protobuf:"bytes,2,rep,name=activate_grants,json=activateGrants,proto3" json:"activate_grants,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateAccessRequestRequest) Descriptor deprecated

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

Deprecated: Use ActivateAccessRequestRequest.ProtoReflect.Descriptor instead.

func (*ActivateAccessRequestRequest) GetActivateGrants

func (x *ActivateAccessRequestRequest) GetActivateGrants() []string

func (*ActivateAccessRequestRequest) GetId

func (*ActivateAccessRequestRequest) ProtoMessage

func (*ActivateAccessRequestRequest) ProtoMessage()

func (*ActivateAccessRequestRequest) ProtoReflect

func (*ActivateAccessRequestRequest) Reset

func (x *ActivateAccessRequestRequest) Reset()

func (*ActivateAccessRequestRequest) String

func (*ActivateAccessRequestRequest) Validate added in v1.32.1

func (m *ActivateAccessRequestRequest) Validate() error

Validate checks the field values on ActivateAccessRequestRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ActivateAccessRequestRequest) ValidateAll added in v1.32.1

func (m *ActivateAccessRequestRequest) ValidateAll() error

ValidateAll checks the field values on ActivateAccessRequestRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActivateAccessRequestRequestMultiError, or nil if none found.

type ActivateAccessRequestRequestMultiError added in v1.32.1

type ActivateAccessRequestRequestMultiError []error

ActivateAccessRequestRequestMultiError is an error wrapping multiple validation errors returned by ActivateAccessRequestRequest.ValidateAll() if the designated constraints aren't met.

func (ActivateAccessRequestRequestMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (ActivateAccessRequestRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type ActivateAccessRequestRequestValidationError added in v1.32.1

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

ActivateAccessRequestRequestValidationError is the validation error returned by ActivateAccessRequestRequest.Validate if the designated constraints aren't met.

func (ActivateAccessRequestRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ActivateAccessRequestRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ActivateAccessRequestRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ActivateAccessRequestRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ActivateAccessRequestRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ActivateAccessRequestRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ActivateAccessRequestResponse

type ActivateAccessRequestResponse struct {
	Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateAccessRequestResponse) Descriptor deprecated

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

Deprecated: Use ActivateAccessRequestResponse.ProtoReflect.Descriptor instead.

func (*ActivateAccessRequestResponse) GetDiagnostics

func (x *ActivateAccessRequestResponse) GetDiagnostics() []*Diagnostic

func (*ActivateAccessRequestResponse) ProtoMessage

func (*ActivateAccessRequestResponse) ProtoMessage()

func (*ActivateAccessRequestResponse) ProtoReflect

func (*ActivateAccessRequestResponse) Reset

func (x *ActivateAccessRequestResponse) Reset()

func (*ActivateAccessRequestResponse) String

func (*ActivateAccessRequestResponse) Validate added in v1.32.1

func (m *ActivateAccessRequestResponse) Validate() error

Validate checks the field values on ActivateAccessRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ActivateAccessRequestResponse) ValidateAll added in v1.32.1

func (m *ActivateAccessRequestResponse) ValidateAll() error

ValidateAll checks the field values on ActivateAccessRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActivateAccessRequestResponseMultiError, or nil if none found.

type ActivateAccessRequestResponseMultiError added in v1.32.1

type ActivateAccessRequestResponseMultiError []error

ActivateAccessRequestResponseMultiError is an error wrapping multiple validation errors returned by ActivateAccessRequestResponse.ValidateAll() if the designated constraints aren't met.

func (ActivateAccessRequestResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (ActivateAccessRequestResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type ActivateAccessRequestResponseValidationError added in v1.32.1

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

ActivateAccessRequestResponseValidationError is the validation error returned by ActivateAccessRequestResponse.Validate if the designated constraints aren't met.

func (ActivateAccessRequestResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ActivateAccessRequestResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ActivateAccessRequestResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ActivateAccessRequestResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ActivateAccessRequestResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ActivateAccessRequestResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ApproveAccessRequestRequest

type ApproveAccessRequestRequest struct {

	// The ID of the Access Request.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// If provided, will only approve the grants with the specified IDs
	ApproveGrants []string `protobuf:"bytes,2,rep,name=approve_grants,json=approveGrants,proto3" json:"approve_grants,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveAccessRequestRequest) Descriptor deprecated

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

Deprecated: Use ApproveAccessRequestRequest.ProtoReflect.Descriptor instead.

func (*ApproveAccessRequestRequest) GetApproveGrants

func (x *ApproveAccessRequestRequest) GetApproveGrants() []string

func (*ApproveAccessRequestRequest) GetId

func (*ApproveAccessRequestRequest) ProtoMessage

func (*ApproveAccessRequestRequest) ProtoMessage()

func (*ApproveAccessRequestRequest) ProtoReflect

func (*ApproveAccessRequestRequest) Reset

func (x *ApproveAccessRequestRequest) Reset()

func (*ApproveAccessRequestRequest) String

func (x *ApproveAccessRequestRequest) String() string

func (*ApproveAccessRequestRequest) Validate added in v1.32.1

func (m *ApproveAccessRequestRequest) Validate() error

Validate checks the field values on ApproveAccessRequestRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ApproveAccessRequestRequest) ValidateAll added in v1.32.1

func (m *ApproveAccessRequestRequest) ValidateAll() error

ValidateAll checks the field values on ApproveAccessRequestRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApproveAccessRequestRequestMultiError, or nil if none found.

type ApproveAccessRequestRequestMultiError added in v1.32.1

type ApproveAccessRequestRequestMultiError []error

ApproveAccessRequestRequestMultiError is an error wrapping multiple validation errors returned by ApproveAccessRequestRequest.ValidateAll() if the designated constraints aren't met.

func (ApproveAccessRequestRequestMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (ApproveAccessRequestRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type ApproveAccessRequestRequestValidationError added in v1.32.1

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

ApproveAccessRequestRequestValidationError is the validation error returned by ApproveAccessRequestRequest.Validate if the designated constraints aren't met.

func (ApproveAccessRequestRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ApproveAccessRequestRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ApproveAccessRequestRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ApproveAccessRequestRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ApproveAccessRequestRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ApproveAccessRequestRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ApproveAccessRequestResponse

type ApproveAccessRequestResponse struct {
	Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveAccessRequestResponse) Descriptor deprecated

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

Deprecated: Use ApproveAccessRequestResponse.ProtoReflect.Descriptor instead.

func (*ApproveAccessRequestResponse) GetDiagnostics

func (x *ApproveAccessRequestResponse) GetDiagnostics() []*Diagnostic

func (*ApproveAccessRequestResponse) ProtoMessage

func (*ApproveAccessRequestResponse) ProtoMessage()

func (*ApproveAccessRequestResponse) ProtoReflect

func (*ApproveAccessRequestResponse) Reset

func (x *ApproveAccessRequestResponse) Reset()

func (*ApproveAccessRequestResponse) String

func (*ApproveAccessRequestResponse) Validate added in v1.32.1

func (m *ApproveAccessRequestResponse) Validate() error

Validate checks the field values on ApproveAccessRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ApproveAccessRequestResponse) ValidateAll added in v1.32.1

func (m *ApproveAccessRequestResponse) ValidateAll() error

ValidateAll checks the field values on ApproveAccessRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApproveAccessRequestResponseMultiError, or nil if none found.

type ApproveAccessRequestResponseMultiError added in v1.32.1

type ApproveAccessRequestResponseMultiError []error

ApproveAccessRequestResponseMultiError is an error wrapping multiple validation errors returned by ApproveAccessRequestResponse.ValidateAll() if the designated constraints aren't met.

func (ApproveAccessRequestResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (ApproveAccessRequestResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type ApproveAccessRequestResponseValidationError added in v1.32.1

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

ApproveAccessRequestResponseValidationError is the validation error returned by ApproveAccessRequestResponse.Validate if the designated constraints aren't met.

func (ApproveAccessRequestResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ApproveAccessRequestResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ApproveAccessRequestResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ApproveAccessRequestResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ApproveAccessRequestResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ApproveAccessRequestResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type AuditLog

type AuditLog struct {

	// an ID of the audit log event
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// the action which occurred
	Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// the actor which performed the action.
	Actor *User `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"`
	// the timestamp the action occurred at.
	OccurredAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
	// all related resources affected by the action.
	Targets []*v1alpha1.EID `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets,omitempty"`
	// a human-friendly message describing the action.
	Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	// additional context (omitted in user-facing audit logs,
	// as it contains sensitive information like IP addresses)
	Context *structpb.Struct `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// the caller identity details, including information
	// such as the particular authentication token ID used
	// to perform the action.
	CallerIdentityChain []*IdentityLink `protobuf:"bytes,8,rep,name=caller_identity_chain,json=callerIdentityChain,proto3" json:"caller_identity_chain,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditLog) Descriptor deprecated

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

Deprecated: Use AuditLog.ProtoReflect.Descriptor instead.

func (*AuditLog) GetAction

func (x *AuditLog) GetAction() string

func (*AuditLog) GetActor

func (x *AuditLog) GetActor() *User

func (*AuditLog) GetCallerIdentityChain

func (x *AuditLog) GetCallerIdentityChain() []*IdentityLink

func (*AuditLog) GetContext

func (x *AuditLog) GetContext() *structpb.Struct

func (*AuditLog) GetId

func (x *AuditLog) GetId() string

func (*AuditLog) GetMessage

func (x *AuditLog) GetMessage() string

func (*AuditLog) GetOccurredAt

func (x *AuditLog) GetOccurredAt() *timestamppb.Timestamp

func (*AuditLog) GetTargets

func (x *AuditLog) GetTargets() []*v1alpha1.EID

func (*AuditLog) ProtoMessage

func (*AuditLog) ProtoMessage()

func (*AuditLog) ProtoReflect

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

func (*AuditLog) Reset

func (x *AuditLog) Reset()

func (*AuditLog) String

func (x *AuditLog) String() string

func (*AuditLog) Validate added in v1.32.1

func (m *AuditLog) Validate() error

Validate checks the field values on AuditLog with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuditLog) ValidateAll added in v1.32.1

func (m *AuditLog) ValidateAll() error

ValidateAll checks the field values on AuditLog with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuditLogMultiError, or nil if none found.

type AuditLogMultiError added in v1.32.1

type AuditLogMultiError []error

AuditLogMultiError is an error wrapping multiple validation errors returned by AuditLog.ValidateAll() if the designated constraints aren't met.

func (AuditLogMultiError) AllErrors added in v1.32.1

func (m AuditLogMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuditLogMultiError) Error added in v1.32.1

func (m AuditLogMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AuditLogPreview

type AuditLogPreview struct {
	Logs []*AuditLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// An approximate count of activity events
	LogCount uint32 `protobuf:"varint,12,opt,name=log_count,json=logCount,proto3" json:"log_count,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditLogPreview) Descriptor deprecated

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

Deprecated: Use AuditLogPreview.ProtoReflect.Descriptor instead.

func (*AuditLogPreview) GetLogCount

func (x *AuditLogPreview) GetLogCount() uint32

func (*AuditLogPreview) GetLogs

func (x *AuditLogPreview) GetLogs() []*AuditLog

func (*AuditLogPreview) ProtoMessage

func (*AuditLogPreview) ProtoMessage()

func (*AuditLogPreview) ProtoReflect

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

func (*AuditLogPreview) Reset

func (x *AuditLogPreview) Reset()

func (*AuditLogPreview) String

func (x *AuditLogPreview) String() string

func (*AuditLogPreview) Validate added in v1.32.1

func (m *AuditLogPreview) Validate() error

Validate checks the field values on AuditLogPreview with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuditLogPreview) ValidateAll added in v1.32.1

func (m *AuditLogPreview) ValidateAll() error

ValidateAll checks the field values on AuditLogPreview with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuditLogPreviewMultiError, or nil if none found.

type AuditLogPreviewMultiError added in v1.32.1

type AuditLogPreviewMultiError []error

AuditLogPreviewMultiError is an error wrapping multiple validation errors returned by AuditLogPreview.ValidateAll() if the designated constraints aren't met.

func (AuditLogPreviewMultiError) AllErrors added in v1.32.1

func (m AuditLogPreviewMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuditLogPreviewMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type AuditLogPreviewValidationError added in v1.32.1

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

AuditLogPreviewValidationError is the validation error returned by AuditLogPreview.Validate if the designated constraints aren't met.

func (AuditLogPreviewValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (AuditLogPreviewValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (AuditLogPreviewValidationError) ErrorName added in v1.32.1

func (e AuditLogPreviewValidationError) ErrorName() string

ErrorName returns error name.

func (AuditLogPreviewValidationError) Field added in v1.32.1

Field function returns field value.

func (AuditLogPreviewValidationError) Key added in v1.32.1

Key function returns key value.

func (AuditLogPreviewValidationError) Reason added in v1.32.1

Reason function returns reason value.

type AuditLogValidationError added in v1.32.1

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

AuditLogValidationError is the validation error returned by AuditLog.Validate if the designated constraints aren't met.

func (AuditLogValidationError) Cause added in v1.32.1

func (e AuditLogValidationError) Cause() error

Cause function returns cause value.

func (AuditLogValidationError) Error added in v1.32.1

func (e AuditLogValidationError) Error() string

Error satisfies the builtin error interface

func (AuditLogValidationError) ErrorName added in v1.32.1

func (e AuditLogValidationError) ErrorName() string

ErrorName returns error name.

func (AuditLogValidationError) Field added in v1.32.1

func (e AuditLogValidationError) Field() string

Field function returns field value.

func (AuditLogValidationError) Key added in v1.32.1

func (e AuditLogValidationError) Key() bool

Key function returns key value.

func (AuditLogValidationError) Reason added in v1.32.1

func (e AuditLogValidationError) Reason() string

Reason function returns reason value.

type Availability

type Availability struct {

	// ID is just used internally and isn't really shown to users except for debugging purposes.
	// users refer to entitlements by the target and role, rather than the internal ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The particular resource which this entitlement gives access to
	Target *NamedEID `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// The particular role this entitlement gives access to
	Role *NamedEID `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	// the JIT workflow associated with the entitlement.
	WorkflowId string `protobuf:"bytes,4,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	// The permitted access duration.
	Duration  *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
	Priority  uint32               `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"`
	Reviewers *v1alpha1.EID        `protobuf:"bytes,7,opt,name=reviewers,proto3" json:"reviewers,omitempty"`
	// the ID of the selector which was used to match the targets
	TargetSelector *v1alpha1.EID `protobuf:"bytes,8,opt,name=target_selector,json=targetSelector,proto3" json:"target_selector,omitempty"`
	// The default duration of the access.
	DefaultDuration *durationpb.Duration `protobuf:"bytes,9,opt,name=default_duration,json=defaultDuration,proto3" json:"default_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*Availability) Descriptor deprecated

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

Deprecated: Use Availability.ProtoReflect.Descriptor instead.

func (*Availability) GetDefaultDuration added in v1.31.0

func (x *Availability) GetDefaultDuration() *durationpb.Duration

func (*Availability) GetDuration

func (x *Availability) GetDuration() *durationpb.Duration

func (*Availability) GetId

func (x *Availability) GetId() string

func (*Availability) GetPriority

func (x *Availability) GetPriority() uint32

func (*Availability) GetReviewers

func (x *Availability) GetReviewers() *v1alpha1.EID

func (*Availability) GetRole

func (x *Availability) GetRole() *NamedEID

func (*Availability) GetTarget

func (x *Availability) GetTarget() *NamedEID

func (*Availability) GetTargetSelector

func (x *Availability) GetTargetSelector() *v1alpha1.EID

func (*Availability) GetWorkflowId

func (x *Availability) GetWorkflowId() string

func (*Availability) ProtoMessage

func (*Availability) ProtoMessage()

func (*Availability) ProtoReflect

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

func (*Availability) Reset

func (x *Availability) Reset()

func (*Availability) String

func (x *Availability) String() string

func (*Availability) Validate added in v1.32.1

func (m *Availability) Validate() error

Validate checks the field values on Availability with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Availability) ValidateAll added in v1.32.1

func (m *Availability) ValidateAll() error

ValidateAll checks the field values on Availability with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AvailabilityMultiError, or nil if none found.

type AvailabilityMultiError added in v1.32.1

type AvailabilityMultiError []error

AvailabilityMultiError is an error wrapping multiple validation errors returned by Availability.ValidateAll() if the designated constraints aren't met.

func (AvailabilityMultiError) AllErrors added in v1.32.1

func (m AvailabilityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AvailabilityMultiError) Error added in v1.32.1

func (m AvailabilityMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AvailabilityValidationError added in v1.32.1

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

AvailabilityValidationError is the validation error returned by Availability.Validate if the designated constraints aren't met.

func (AvailabilityValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (AvailabilityValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (AvailabilityValidationError) ErrorName added in v1.32.1

func (e AvailabilityValidationError) ErrorName() string

ErrorName returns error name.

func (AvailabilityValidationError) Field added in v1.32.1

Field function returns field value.

func (AvailabilityValidationError) Key added in v1.32.1

Key function returns key value.

func (AvailabilityValidationError) Reason added in v1.32.1

Reason function returns reason value.

type BatchEnsureRequest

type BatchEnsureRequest struct {

	// The entitlements to request access to.
	Entitlements []*EntitlementInput `protobuf:"bytes,1,rep,name=entitlements,proto3" json:"entitlements,omitempty"`
	// Optional justification as to why access is required.
	Justification *Justification `protobuf:"bytes,2,opt,name=justification,proto3" json:"justification,omitempty"`
	// If true, will return a preview of changes rather than actually provisioning access.
	DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchEnsureRequest) Descriptor deprecated

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

Deprecated: Use BatchEnsureRequest.ProtoReflect.Descriptor instead.

func (*BatchEnsureRequest) GetDryRun

func (x *BatchEnsureRequest) GetDryRun() bool

func (*BatchEnsureRequest) GetEntitlements

func (x *BatchEnsureRequest) GetEntitlements() []*EntitlementInput

func (*BatchEnsureRequest) GetJustification

func (x *BatchEnsureRequest) GetJustification() *Justification

func (*BatchEnsureRequest) ProtoMessage

func (*BatchEnsureRequest) ProtoMessage()

func (*BatchEnsureRequest) ProtoReflect

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

func (*BatchEnsureRequest) Reset

func (x *BatchEnsureRequest) Reset()

func (*BatchEnsureRequest) String

func (x *BatchEnsureRequest) String() string

func (*BatchEnsureRequest) Validate added in v1.32.1

func (m *BatchEnsureRequest) Validate() error

Validate checks the field values on BatchEnsureRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BatchEnsureRequest) ValidateAll added in v1.32.1

func (m *BatchEnsureRequest) ValidateAll() error

ValidateAll checks the field values on BatchEnsureRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchEnsureRequestMultiError, or nil if none found.

type BatchEnsureRequestMultiError added in v1.32.1

type BatchEnsureRequestMultiError []error

BatchEnsureRequestMultiError is an error wrapping multiple validation errors returned by BatchEnsureRequest.ValidateAll() if the designated constraints aren't met.

func (BatchEnsureRequestMultiError) AllErrors added in v1.32.1

func (m BatchEnsureRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchEnsureRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type BatchEnsureRequestValidationError added in v1.32.1

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

BatchEnsureRequestValidationError is the validation error returned by BatchEnsureRequest.Validate if the designated constraints aren't met.

func (BatchEnsureRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (BatchEnsureRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchEnsureRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (BatchEnsureRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchEnsureRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchEnsureRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type BatchEnsureResponse

type BatchEnsureResponse struct {

	// An ID which can be used to debug the evaluation of the access policies
	// associated with the request.
	TraceId string        `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	Grants  []*GrantState `protobuf:"bytes,2,rep,name=grants,proto3" json:"grants,omitempty"`
	// User-facing diagnostic warnings, for messages such as the user not having permissions
	// to request some of the entitlements they asked for.
	//
	// Rather than failing the entire operation the Access Handler returns warnings.
	Diagnostics []*Diagnostic `protobuf:"bytes,6,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchEnsureResponse) Descriptor deprecated

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

Deprecated: Use BatchEnsureResponse.ProtoReflect.Descriptor instead.

func (*BatchEnsureResponse) GetDiagnostics

func (x *BatchEnsureResponse) GetDiagnostics() []*Diagnostic

func (*BatchEnsureResponse) GetGrants

func (x *BatchEnsureResponse) GetGrants() []*GrantState

func (*BatchEnsureResponse) GetTraceId

func (x *BatchEnsureResponse) GetTraceId() string

func (*BatchEnsureResponse) ProtoMessage

func (*BatchEnsureResponse) ProtoMessage()

func (*BatchEnsureResponse) ProtoReflect

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

func (*BatchEnsureResponse) Reset

func (x *BatchEnsureResponse) Reset()

func (*BatchEnsureResponse) String

func (x *BatchEnsureResponse) String() string

func (*BatchEnsureResponse) Validate added in v1.32.1

func (m *BatchEnsureResponse) Validate() error

Validate checks the field values on BatchEnsureResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BatchEnsureResponse) ValidateAll added in v1.32.1

func (m *BatchEnsureResponse) ValidateAll() error

ValidateAll checks the field values on BatchEnsureResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchEnsureResponseMultiError, or nil if none found.

type BatchEnsureResponseMultiError added in v1.32.1

type BatchEnsureResponseMultiError []error

BatchEnsureResponseMultiError is an error wrapping multiple validation errors returned by BatchEnsureResponse.ValidateAll() if the designated constraints aren't met.

func (BatchEnsureResponseMultiError) AllErrors added in v1.32.1

func (m BatchEnsureResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchEnsureResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type BatchEnsureResponseValidationError added in v1.32.1

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

BatchEnsureResponseValidationError is the validation error returned by BatchEnsureResponse.Validate if the designated constraints aren't met.

func (BatchEnsureResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (BatchEnsureResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchEnsureResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (BatchEnsureResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchEnsureResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchEnsureResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type BatchPutAuditLogRequest

type BatchPutAuditLogRequest struct {
	GrantId   string                 `protobuf:"bytes,1,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"`
	AuditLogs []*IntegrationAuditLog `protobuf:"bytes,2,rep,name=audit_logs,json=auditLogs,proto3" json:"audit_logs,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchPutAuditLogRequest) Descriptor deprecated

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

Deprecated: Use BatchPutAuditLogRequest.ProtoReflect.Descriptor instead.

func (*BatchPutAuditLogRequest) GetAuditLogs

func (x *BatchPutAuditLogRequest) GetAuditLogs() []*IntegrationAuditLog

func (*BatchPutAuditLogRequest) GetGrantId

func (x *BatchPutAuditLogRequest) GetGrantId() string

func (*BatchPutAuditLogRequest) ProtoMessage

func (*BatchPutAuditLogRequest) ProtoMessage()

func (*BatchPutAuditLogRequest) ProtoReflect

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

func (*BatchPutAuditLogRequest) Reset

func (x *BatchPutAuditLogRequest) Reset()

func (*BatchPutAuditLogRequest) String

func (x *BatchPutAuditLogRequest) String() string

func (*BatchPutAuditLogRequest) Validate added in v1.32.1

func (m *BatchPutAuditLogRequest) Validate() error

Validate checks the field values on BatchPutAuditLogRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BatchPutAuditLogRequest) ValidateAll added in v1.32.1

func (m *BatchPutAuditLogRequest) ValidateAll() error

ValidateAll checks the field values on BatchPutAuditLogRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchPutAuditLogRequestMultiError, or nil if none found.

type BatchPutAuditLogRequestMultiError added in v1.32.1

type BatchPutAuditLogRequestMultiError []error

BatchPutAuditLogRequestMultiError is an error wrapping multiple validation errors returned by BatchPutAuditLogRequest.ValidateAll() if the designated constraints aren't met.

func (BatchPutAuditLogRequestMultiError) AllErrors added in v1.32.1

func (m BatchPutAuditLogRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchPutAuditLogRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type BatchPutAuditLogRequestValidationError added in v1.32.1

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

BatchPutAuditLogRequestValidationError is the validation error returned by BatchPutAuditLogRequest.Validate if the designated constraints aren't met.

func (BatchPutAuditLogRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (BatchPutAuditLogRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchPutAuditLogRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (BatchPutAuditLogRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchPutAuditLogRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchPutAuditLogRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type BatchPutAuditLogResponse

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

func (*BatchPutAuditLogResponse) Descriptor deprecated

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

Deprecated: Use BatchPutAuditLogResponse.ProtoReflect.Descriptor instead.

func (*BatchPutAuditLogResponse) ProtoMessage

func (*BatchPutAuditLogResponse) ProtoMessage()

func (*BatchPutAuditLogResponse) ProtoReflect

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

func (*BatchPutAuditLogResponse) Reset

func (x *BatchPutAuditLogResponse) Reset()

func (*BatchPutAuditLogResponse) String

func (x *BatchPutAuditLogResponse) String() string

func (*BatchPutAuditLogResponse) Validate added in v1.32.1

func (m *BatchPutAuditLogResponse) Validate() error

Validate checks the field values on BatchPutAuditLogResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BatchPutAuditLogResponse) ValidateAll added in v1.32.1

func (m *BatchPutAuditLogResponse) ValidateAll() error

ValidateAll checks the field values on BatchPutAuditLogResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchPutAuditLogResponseMultiError, or nil if none found.

type BatchPutAuditLogResponseMultiError added in v1.32.1

type BatchPutAuditLogResponseMultiError []error

BatchPutAuditLogResponseMultiError is an error wrapping multiple validation errors returned by BatchPutAuditLogResponse.ValidateAll() if the designated constraints aren't met.

func (BatchPutAuditLogResponseMultiError) AllErrors added in v1.32.1

func (m BatchPutAuditLogResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchPutAuditLogResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type BatchPutAuditLogResponseValidationError added in v1.32.1

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

BatchPutAuditLogResponseValidationError is the validation error returned by BatchPutAuditLogResponse.Validate if the designated constraints aren't met.

func (BatchPutAuditLogResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (BatchPutAuditLogResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchPutAuditLogResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (BatchPutAuditLogResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchPutAuditLogResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchPutAuditLogResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type CloseAccessRequestRequest

type CloseAccessRequestRequest struct {

	// The ID of the Access Request.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// If provided, will only close the grants with the specified IDs
	CloseGrants []string `protobuf:"bytes,2,rep,name=close_grants,json=closeGrants,proto3" json:"close_grants,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseAccessRequestRequest) Descriptor deprecated

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

Deprecated: Use CloseAccessRequestRequest.ProtoReflect.Descriptor instead.

func (*CloseAccessRequestRequest) GetCloseGrants

func (x *CloseAccessRequestRequest) GetCloseGrants() []string

func (*CloseAccessRequestRequest) GetId

func (x *CloseAccessRequestRequest) GetId() string

func (*CloseAccessRequestRequest) ProtoMessage

func (*CloseAccessRequestRequest) ProtoMessage()

func (*CloseAccessRequestRequest) ProtoReflect

func (*CloseAccessRequestRequest) Reset

func (x *CloseAccessRequestRequest) Reset()

func (*CloseAccessRequestRequest) String

func (x *CloseAccessRequestRequest) String() string

func (*CloseAccessRequestRequest) Validate added in v1.32.1

func (m *CloseAccessRequestRequest) Validate() error

Validate checks the field values on CloseAccessRequestRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CloseAccessRequestRequest) ValidateAll added in v1.32.1

func (m *CloseAccessRequestRequest) ValidateAll() error

ValidateAll checks the field values on CloseAccessRequestRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CloseAccessRequestRequestMultiError, or nil if none found.

type CloseAccessRequestRequestMultiError added in v1.32.1

type CloseAccessRequestRequestMultiError []error

CloseAccessRequestRequestMultiError is an error wrapping multiple validation errors returned by CloseAccessRequestRequest.ValidateAll() if the designated constraints aren't met.

func (CloseAccessRequestRequestMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (CloseAccessRequestRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type CloseAccessRequestRequestValidationError added in v1.32.1

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

CloseAccessRequestRequestValidationError is the validation error returned by CloseAccessRequestRequest.Validate if the designated constraints aren't met.

func (CloseAccessRequestRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (CloseAccessRequestRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (CloseAccessRequestRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (CloseAccessRequestRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (CloseAccessRequestRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (CloseAccessRequestRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type CloseAccessRequestResponse

type CloseAccessRequestResponse struct {
	Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseAccessRequestResponse) Descriptor deprecated

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

Deprecated: Use CloseAccessRequestResponse.ProtoReflect.Descriptor instead.

func (*CloseAccessRequestResponse) GetDiagnostics

func (x *CloseAccessRequestResponse) GetDiagnostics() []*Diagnostic

func (*CloseAccessRequestResponse) ProtoMessage

func (*CloseAccessRequestResponse) ProtoMessage()

func (*CloseAccessRequestResponse) ProtoReflect

func (*CloseAccessRequestResponse) Reset

func (x *CloseAccessRequestResponse) Reset()

func (*CloseAccessRequestResponse) String

func (x *CloseAccessRequestResponse) String() string

func (*CloseAccessRequestResponse) Validate added in v1.32.1

func (m *CloseAccessRequestResponse) Validate() error

Validate checks the field values on CloseAccessRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CloseAccessRequestResponse) ValidateAll added in v1.32.1

func (m *CloseAccessRequestResponse) ValidateAll() error

ValidateAll checks the field values on CloseAccessRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CloseAccessRequestResponseMultiError, or nil if none found.

type CloseAccessRequestResponseMultiError added in v1.32.1

type CloseAccessRequestResponseMultiError []error

CloseAccessRequestResponseMultiError is an error wrapping multiple validation errors returned by CloseAccessRequestResponse.ValidateAll() if the designated constraints aren't met.

func (CloseAccessRequestResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (CloseAccessRequestResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type CloseAccessRequestResponseValidationError added in v1.32.1

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

CloseAccessRequestResponseValidationError is the validation error returned by CloseAccessRequestResponse.Validate if the designated constraints aren't met.

func (CloseAccessRequestResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (CloseAccessRequestResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (CloseAccessRequestResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (CloseAccessRequestResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (CloseAccessRequestResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (CloseAccessRequestResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type DebugEntitlementAccessRequest added in v1.25.0

type DebugEntitlementAccessRequest struct {
	Principal *Specifier `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	Target    *Specifier `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Role      *Specifier `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugEntitlementAccessRequest) Descriptor deprecated added in v1.25.0

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

Deprecated: Use DebugEntitlementAccessRequest.ProtoReflect.Descriptor instead.

func (*DebugEntitlementAccessRequest) GetPrincipal added in v1.25.0

func (x *DebugEntitlementAccessRequest) GetPrincipal() *Specifier

func (*DebugEntitlementAccessRequest) GetRole added in v1.25.0

func (*DebugEntitlementAccessRequest) GetTarget added in v1.25.0

func (x *DebugEntitlementAccessRequest) GetTarget() *Specifier

func (*DebugEntitlementAccessRequest) ProtoMessage added in v1.25.0

func (*DebugEntitlementAccessRequest) ProtoMessage()

func (*DebugEntitlementAccessRequest) ProtoReflect added in v1.25.0

func (*DebugEntitlementAccessRequest) Reset added in v1.25.0

func (x *DebugEntitlementAccessRequest) Reset()

func (*DebugEntitlementAccessRequest) String added in v1.25.0

func (*DebugEntitlementAccessRequest) Validate added in v1.32.1

func (m *DebugEntitlementAccessRequest) Validate() error

Validate checks the field values on DebugEntitlementAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DebugEntitlementAccessRequest) ValidateAll added in v1.32.1

func (m *DebugEntitlementAccessRequest) ValidateAll() error

ValidateAll checks the field values on DebugEntitlementAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DebugEntitlementAccessRequestMultiError, or nil if none found.

type DebugEntitlementAccessRequestMultiError added in v1.32.1

type DebugEntitlementAccessRequestMultiError []error

DebugEntitlementAccessRequestMultiError is an error wrapping multiple validation errors returned by DebugEntitlementAccessRequest.ValidateAll() if the designated constraints aren't met.

func (DebugEntitlementAccessRequestMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (DebugEntitlementAccessRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type DebugEntitlementAccessRequestValidationError added in v1.32.1

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

DebugEntitlementAccessRequestValidationError is the validation error returned by DebugEntitlementAccessRequest.Validate if the designated constraints aren't met.

func (DebugEntitlementAccessRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (DebugEntitlementAccessRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (DebugEntitlementAccessRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (DebugEntitlementAccessRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (DebugEntitlementAccessRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (DebugEntitlementAccessRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type DebugEntitlementAccessResponse added in v1.25.0

type DebugEntitlementAccessResponse struct {

	// Whether or not the principal can request access to this entitlement
	CanRequest bool `protobuf:"varint,1,opt,name=can_request,json=canRequest,proto3" json:"can_request,omitempty"`
	// Whether or not it is auto approved
	AutoApproved bool `protobuf:"varint,2,opt,name=auto_approved,json=autoApproved,proto3" json:"auto_approved,omitempty"`
	// The Cedar Policys which contributed to the authorizations decisions
	Reason *EntitlementAccessReason `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// Cedar PolicySets which contributed to the authorization decisions.
	PolicySets []*v1alpha11.PolicySet `protobuf:"bytes,4,rep,name=policy_sets,json=policySets,proto3" json:"policy_sets,omitempty"`
	// Entities which contributed to the authorization decisions.
	Entities []*v1alpha1.Entity `protobuf:"bytes,5,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugEntitlementAccessResponse) Descriptor deprecated added in v1.25.0

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

Deprecated: Use DebugEntitlementAccessResponse.ProtoReflect.Descriptor instead.

func (*DebugEntitlementAccessResponse) GetAutoApproved added in v1.25.0

func (x *DebugEntitlementAccessResponse) GetAutoApproved() bool

func (*DebugEntitlementAccessResponse) GetCanRequest added in v1.25.0

func (x *DebugEntitlementAccessResponse) GetCanRequest() bool

func (*DebugEntitlementAccessResponse) GetEntities added in v1.25.0

func (x *DebugEntitlementAccessResponse) GetEntities() []*v1alpha1.Entity

func (*DebugEntitlementAccessResponse) GetPolicySets added in v1.25.0

func (x *DebugEntitlementAccessResponse) GetPolicySets() []*v1alpha11.PolicySet

func (*DebugEntitlementAccessResponse) GetReason added in v1.25.0

func (*DebugEntitlementAccessResponse) ProtoMessage added in v1.25.0

func (*DebugEntitlementAccessResponse) ProtoMessage()

func (*DebugEntitlementAccessResponse) ProtoReflect added in v1.25.0

func (*DebugEntitlementAccessResponse) Reset added in v1.25.0

func (x *DebugEntitlementAccessResponse) Reset()

func (*DebugEntitlementAccessResponse) String added in v1.25.0

func (*DebugEntitlementAccessResponse) Validate added in v1.32.1

func (m *DebugEntitlementAccessResponse) Validate() error

Validate checks the field values on DebugEntitlementAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DebugEntitlementAccessResponse) ValidateAll added in v1.32.1

func (m *DebugEntitlementAccessResponse) ValidateAll() error

ValidateAll checks the field values on DebugEntitlementAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DebugEntitlementAccessResponseMultiError, or nil if none found.

type DebugEntitlementAccessResponseMultiError added in v1.32.1

type DebugEntitlementAccessResponseMultiError []error

DebugEntitlementAccessResponseMultiError is an error wrapping multiple validation errors returned by DebugEntitlementAccessResponse.ValidateAll() if the designated constraints aren't met.

func (DebugEntitlementAccessResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (DebugEntitlementAccessResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type DebugEntitlementAccessResponseValidationError added in v1.32.1

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

DebugEntitlementAccessResponseValidationError is the validation error returned by DebugEntitlementAccessResponse.Validate if the designated constraints aren't met.

func (DebugEntitlementAccessResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (DebugEntitlementAccessResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (DebugEntitlementAccessResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (DebugEntitlementAccessResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (DebugEntitlementAccessResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (DebugEntitlementAccessResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type Diagnostic

type Diagnostic struct {
	Level DiagnosticLevel `protobuf:"varint,1,opt,name=level,proto3,enum=commonfate.access.v1alpha1.DiagnosticLevel" json:"level,omitempty"`
	// The resource the diagnostic message relates to.
	// Can be empty if the message doesn't relate to a particular resource.
	Resource *v1alpha1.EID `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// The message.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Diagnostic) Descriptor deprecated

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

Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.

func (*Diagnostic) GetLevel

func (x *Diagnostic) GetLevel() DiagnosticLevel

func (*Diagnostic) GetMessage

func (x *Diagnostic) GetMessage() string

func (*Diagnostic) GetResource

func (x *Diagnostic) GetResource() *v1alpha1.EID

func (*Diagnostic) ProtoMessage

func (*Diagnostic) ProtoMessage()

func (*Diagnostic) ProtoReflect

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

func (*Diagnostic) Reset

func (x *Diagnostic) Reset()

func (*Diagnostic) String

func (x *Diagnostic) String() string

func (*Diagnostic) Validate added in v1.32.1

func (m *Diagnostic) Validate() error

Validate checks the field values on Diagnostic with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Diagnostic) ValidateAll added in v1.32.1

func (m *Diagnostic) ValidateAll() error

ValidateAll checks the field values on Diagnostic with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DiagnosticMultiError, or nil if none found.

type DiagnosticLevel

type DiagnosticLevel int32
const (
	DiagnosticLevel_DIAGNOSTIC_LEVEL_UNSPECIFIED DiagnosticLevel = 0
	DiagnosticLevel_DIAGNOSTIC_LEVEL_INFO        DiagnosticLevel = 1
	DiagnosticLevel_DIAGNOSTIC_LEVEL_WARNING     DiagnosticLevel = 2
	DiagnosticLevel_DIAGNOSTIC_LEVEL_ERROR       DiagnosticLevel = 3
)

func (DiagnosticLevel) Descriptor

func (DiagnosticLevel) Enum

func (x DiagnosticLevel) Enum() *DiagnosticLevel

func (DiagnosticLevel) EnumDescriptor deprecated

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

Deprecated: Use DiagnosticLevel.Descriptor instead.

func (DiagnosticLevel) Number

func (DiagnosticLevel) String

func (x DiagnosticLevel) String() string

func (DiagnosticLevel) Type

type DiagnosticMultiError added in v1.32.1

type DiagnosticMultiError []error

DiagnosticMultiError is an error wrapping multiple validation errors returned by Diagnostic.ValidateAll() if the designated constraints aren't met.

func (DiagnosticMultiError) AllErrors added in v1.32.1

func (m DiagnosticMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DiagnosticMultiError) Error added in v1.32.1

func (m DiagnosticMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DiagnosticValidationError added in v1.32.1

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

DiagnosticValidationError is the validation error returned by Diagnostic.Validate if the designated constraints aren't met.

func (DiagnosticValidationError) Cause added in v1.32.1

func (e DiagnosticValidationError) Cause() error

Cause function returns cause value.

func (DiagnosticValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (DiagnosticValidationError) ErrorName added in v1.32.1

func (e DiagnosticValidationError) ErrorName() string

ErrorName returns error name.

func (DiagnosticValidationError) Field added in v1.32.1

Field function returns field value.

func (DiagnosticValidationError) Key added in v1.32.1

Key function returns key value.

func (DiagnosticValidationError) Reason added in v1.32.1

func (e DiagnosticValidationError) Reason() string

Reason function returns reason value.

type Entitlement added in v1.14.0

type Entitlement struct {

	// The particular resource which this entitlement gives access to
	Target *NamedEID `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// The particular role this entitlement gives access to
	Role *NamedEID `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// Whether or not it is auto approved
	AutoApproved bool `protobuf:"varint,3,opt,name=auto_approved,json=autoApproved,proto3" json:"auto_approved,omitempty"`
	// target_path is the hierarchical path to the particular entitlement target.
	// It is used in the Common Fate web console to display entitlements in a hierarchy view.
	// For example, an AWS account entitlement will have a path of
	// `Root OU -> Parent OU -> Child OU.`
	//
	// target_path is in sorted order, from the root path node to the immediate parent of the target.
	//
	// The target_path does not include the target itself.
	TargetPath []*NamedEID `protobuf:"bytes,4,rep,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"`
	// The Cedar Policys which contributed to the authorizations decisions
	Reason *EntitlementAccessReason `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*Entitlement) Descriptor deprecated added in v1.14.0

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

Deprecated: Use Entitlement.ProtoReflect.Descriptor instead.

func (*Entitlement) GetAutoApproved added in v1.16.0

func (x *Entitlement) GetAutoApproved() bool

func (*Entitlement) GetReason added in v1.25.0

func (x *Entitlement) GetReason() *EntitlementAccessReason

func (*Entitlement) GetRole added in v1.14.0

func (x *Entitlement) GetRole() *NamedEID

func (*Entitlement) GetTarget added in v1.14.0

func (x *Entitlement) GetTarget() *NamedEID

func (*Entitlement) GetTargetPath added in v1.24.0

func (x *Entitlement) GetTargetPath() []*NamedEID

func (*Entitlement) ProtoMessage added in v1.14.0

func (*Entitlement) ProtoMessage()

func (*Entitlement) ProtoReflect added in v1.14.0

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

func (*Entitlement) Reset added in v1.14.0

func (x *Entitlement) Reset()

func (*Entitlement) String added in v1.14.0

func (x *Entitlement) String() string

func (*Entitlement) Validate added in v1.32.1

func (m *Entitlement) Validate() error

Validate checks the field values on Entitlement with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Entitlement) ValidateAll added in v1.32.1

func (m *Entitlement) ValidateAll() error

ValidateAll checks the field values on Entitlement with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntitlementMultiError, or nil if none found.

type EntitlementAccessReason added in v1.25.0

type EntitlementAccessReason struct {

	// Cedar Policy IDs which contributed to the can_request authorization decision.
	CanRequestReason []string `protobuf:"bytes,1,rep,name=can_request_reason,json=canRequestReason,proto3" json:"can_request_reason,omitempty"`
	// Cedar Policy IDs which contributed to the auto_approval authorization decision.
	AutoApprovalReason []string `protobuf:"bytes,2,rep,name=auto_approval_reason,json=autoApprovalReason,proto3" json:"auto_approval_reason,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementAccessReason) Descriptor deprecated added in v1.25.0

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

Deprecated: Use EntitlementAccessReason.ProtoReflect.Descriptor instead.

func (*EntitlementAccessReason) GetAutoApprovalReason added in v1.25.0

func (x *EntitlementAccessReason) GetAutoApprovalReason() []string

func (*EntitlementAccessReason) GetCanRequestReason added in v1.25.0

func (x *EntitlementAccessReason) GetCanRequestReason() []string

func (*EntitlementAccessReason) ProtoMessage added in v1.25.0

func (*EntitlementAccessReason) ProtoMessage()

func (*EntitlementAccessReason) ProtoReflect added in v1.25.0

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

func (*EntitlementAccessReason) Reset added in v1.25.0

func (x *EntitlementAccessReason) Reset()

func (*EntitlementAccessReason) String added in v1.25.0

func (x *EntitlementAccessReason) String() string

func (*EntitlementAccessReason) Validate added in v1.32.1

func (m *EntitlementAccessReason) Validate() error

Validate checks the field values on EntitlementAccessReason with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EntitlementAccessReason) ValidateAll added in v1.32.1

func (m *EntitlementAccessReason) ValidateAll() error

ValidateAll checks the field values on EntitlementAccessReason with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntitlementAccessReasonMultiError, or nil if none found.

type EntitlementAccessReasonMultiError added in v1.32.1

type EntitlementAccessReasonMultiError []error

EntitlementAccessReasonMultiError is an error wrapping multiple validation errors returned by EntitlementAccessReason.ValidateAll() if the designated constraints aren't met.

func (EntitlementAccessReasonMultiError) AllErrors added in v1.32.1

func (m EntitlementAccessReasonMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EntitlementAccessReasonMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type EntitlementAccessReasonValidationError added in v1.32.1

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

EntitlementAccessReasonValidationError is the validation error returned by EntitlementAccessReason.Validate if the designated constraints aren't met.

func (EntitlementAccessReasonValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (EntitlementAccessReasonValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (EntitlementAccessReasonValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (EntitlementAccessReasonValidationError) Field added in v1.32.1

Field function returns field value.

func (EntitlementAccessReasonValidationError) Key added in v1.32.1

Key function returns key value.

func (EntitlementAccessReasonValidationError) Reason added in v1.32.1

Reason function returns reason value.

type EntitlementInput

type EntitlementInput struct {

	// The principal to grant access to.
	// If empty, the current caller will be used as the principal.
	Principal *Specifier `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	// The resource to grant the principal access to.
	Target *Specifier `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// The role to grant the principal access to the resource with.
	Role     *Specifier           `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	Duration *durationpb.Duration `protobuf:"bytes,4,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementInput) Descriptor deprecated

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

Deprecated: Use EntitlementInput.ProtoReflect.Descriptor instead.

func (*EntitlementInput) GetDuration added in v1.12.3

func (x *EntitlementInput) GetDuration() *durationpb.Duration

func (*EntitlementInput) GetPrincipal

func (x *EntitlementInput) GetPrincipal() *Specifier

func (*EntitlementInput) GetRole

func (x *EntitlementInput) GetRole() *Specifier

func (*EntitlementInput) GetTarget

func (x *EntitlementInput) GetTarget() *Specifier

func (*EntitlementInput) ProtoMessage

func (*EntitlementInput) ProtoMessage()

func (*EntitlementInput) ProtoReflect

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

func (*EntitlementInput) Reset

func (x *EntitlementInput) Reset()

func (*EntitlementInput) String

func (x *EntitlementInput) String() string

func (*EntitlementInput) Validate added in v1.32.1

func (m *EntitlementInput) Validate() error

Validate checks the field values on EntitlementInput with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EntitlementInput) ValidateAll added in v1.32.1

func (m *EntitlementInput) ValidateAll() error

ValidateAll checks the field values on EntitlementInput with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntitlementInputMultiError, or nil if none found.

type EntitlementInputMultiError added in v1.32.1

type EntitlementInputMultiError []error

EntitlementInputMultiError is an error wrapping multiple validation errors returned by EntitlementInput.ValidateAll() if the designated constraints aren't met.

func (EntitlementInputMultiError) AllErrors added in v1.32.1

func (m EntitlementInputMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EntitlementInputMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type EntitlementInputValidationError added in v1.32.1

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

EntitlementInputValidationError is the validation error returned by EntitlementInput.Validate if the designated constraints aren't met.

func (EntitlementInputValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (EntitlementInputValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (EntitlementInputValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (EntitlementInputValidationError) Field added in v1.32.1

Field function returns field value.

func (EntitlementInputValidationError) Key added in v1.32.1

Key function returns key value.

func (EntitlementInputValidationError) Reason added in v1.32.1

Reason function returns reason value.

type EntitlementMultiError added in v1.32.1

type EntitlementMultiError []error

EntitlementMultiError is an error wrapping multiple validation errors returned by Entitlement.ValidateAll() if the designated constraints aren't met.

func (EntitlementMultiError) AllErrors added in v1.32.1

func (m EntitlementMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EntitlementMultiError) Error added in v1.32.1

func (m EntitlementMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EntitlementValidationError added in v1.32.1

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

EntitlementValidationError is the validation error returned by Entitlement.Validate if the designated constraints aren't met.

func (EntitlementValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (EntitlementValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (EntitlementValidationError) ErrorName added in v1.32.1

func (e EntitlementValidationError) ErrorName() string

ErrorName returns error name.

func (EntitlementValidationError) Field added in v1.32.1

Field function returns field value.

func (EntitlementValidationError) Key added in v1.32.1

Key function returns key value.

func (EntitlementValidationError) Reason added in v1.32.1

Reason function returns reason value.

type GCPProject

type GCPProject struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Role    string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*GCPProject) Descriptor deprecated

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

Deprecated: Use GCPProject.ProtoReflect.Descriptor instead.

func (*GCPProject) GetProject

func (x *GCPProject) GetProject() string

func (*GCPProject) GetRole

func (x *GCPProject) GetRole() string

func (*GCPProject) ProtoMessage

func (*GCPProject) ProtoMessage()

func (*GCPProject) ProtoReflect

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

func (*GCPProject) Reset

func (x *GCPProject) Reset()

func (*GCPProject) String

func (x *GCPProject) String() string

func (*GCPProject) Validate added in v1.32.1

func (m *GCPProject) Validate() error

Validate checks the field values on GCPProject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GCPProject) ValidateAll added in v1.32.1

func (m *GCPProject) ValidateAll() error

ValidateAll checks the field values on GCPProject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GCPProjectMultiError, or nil if none found.

type GCPProjectMultiError added in v1.32.1

type GCPProjectMultiError []error

GCPProjectMultiError is an error wrapping multiple validation errors returned by GCPProject.ValidateAll() if the designated constraints aren't met.

func (GCPProjectMultiError) AllErrors added in v1.32.1

func (m GCPProjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GCPProjectMultiError) Error added in v1.32.1

func (m GCPProjectMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GCPProjectValidationError added in v1.32.1

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

GCPProjectValidationError is the validation error returned by GCPProject.Validate if the designated constraints aren't met.

func (GCPProjectValidationError) Cause added in v1.32.1

func (e GCPProjectValidationError) Cause() error

Cause function returns cause value.

func (GCPProjectValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GCPProjectValidationError) ErrorName added in v1.32.1

func (e GCPProjectValidationError) ErrorName() string

ErrorName returns error name.

func (GCPProjectValidationError) Field added in v1.32.1

Field function returns field value.

func (GCPProjectValidationError) Key added in v1.32.1

Key function returns key value.

func (GCPProjectValidationError) Reason added in v1.32.1

func (e GCPProjectValidationError) Reason() string

Reason function returns reason value.

type GetAccessRequestRequest

type GetAccessRequestRequest struct {

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

func (*GetAccessRequestRequest) Descriptor deprecated

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

Deprecated: Use GetAccessRequestRequest.ProtoReflect.Descriptor instead.

func (*GetAccessRequestRequest) GetId

func (x *GetAccessRequestRequest) GetId() string

func (*GetAccessRequestRequest) ProtoMessage

func (*GetAccessRequestRequest) ProtoMessage()

func (*GetAccessRequestRequest) ProtoReflect

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

func (*GetAccessRequestRequest) Reset

func (x *GetAccessRequestRequest) Reset()

func (*GetAccessRequestRequest) String

func (x *GetAccessRequestRequest) String() string

func (*GetAccessRequestRequest) Validate added in v1.32.1

func (m *GetAccessRequestRequest) Validate() error

Validate checks the field values on GetAccessRequestRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetAccessRequestRequest) ValidateAll added in v1.32.1

func (m *GetAccessRequestRequest) ValidateAll() error

ValidateAll checks the field values on GetAccessRequestRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAccessRequestRequestMultiError, or nil if none found.

type GetAccessRequestRequestMultiError added in v1.32.1

type GetAccessRequestRequestMultiError []error

GetAccessRequestRequestMultiError is an error wrapping multiple validation errors returned by GetAccessRequestRequest.ValidateAll() if the designated constraints aren't met.

func (GetAccessRequestRequestMultiError) AllErrors added in v1.32.1

func (m GetAccessRequestRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAccessRequestRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type GetAccessRequestRequestValidationError added in v1.32.1

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

GetAccessRequestRequestValidationError is the validation error returned by GetAccessRequestRequest.Validate if the designated constraints aren't met.

func (GetAccessRequestRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (GetAccessRequestRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetAccessRequestRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetAccessRequestRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (GetAccessRequestRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (GetAccessRequestRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type GetAccessRequestResponse

type GetAccessRequestResponse struct {
	AccessRequest *AccessRequest `protobuf:"bytes,1,opt,name=access_request,json=accessRequest,proto3" json:"access_request,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccessRequestResponse) Descriptor deprecated

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

Deprecated: Use GetAccessRequestResponse.ProtoReflect.Descriptor instead.

func (*GetAccessRequestResponse) GetAccessRequest

func (x *GetAccessRequestResponse) GetAccessRequest() *AccessRequest

func (*GetAccessRequestResponse) ProtoMessage

func (*GetAccessRequestResponse) ProtoMessage()

func (*GetAccessRequestResponse) ProtoReflect

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

func (*GetAccessRequestResponse) Reset

func (x *GetAccessRequestResponse) Reset()

func (*GetAccessRequestResponse) String

func (x *GetAccessRequestResponse) String() string

func (*GetAccessRequestResponse) Validate added in v1.32.1

func (m *GetAccessRequestResponse) Validate() error

Validate checks the field values on GetAccessRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetAccessRequestResponse) ValidateAll added in v1.32.1

func (m *GetAccessRequestResponse) ValidateAll() error

ValidateAll checks the field values on GetAccessRequestResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAccessRequestResponseMultiError, or nil if none found.

type GetAccessRequestResponseMultiError added in v1.32.1

type GetAccessRequestResponseMultiError []error

GetAccessRequestResponseMultiError is an error wrapping multiple validation errors returned by GetAccessRequestResponse.ValidateAll() if the designated constraints aren't met.

func (GetAccessRequestResponseMultiError) AllErrors added in v1.32.1

func (m GetAccessRequestResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAccessRequestResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type GetAccessRequestResponseValidationError added in v1.32.1

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

GetAccessRequestResponseValidationError is the validation error returned by GetAccessRequestResponse.Validate if the designated constraints aren't met.

func (GetAccessRequestResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (GetAccessRequestResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetAccessRequestResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetAccessRequestResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (GetAccessRequestResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (GetAccessRequestResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type GetCallerIdentityRequest

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

func (*GetCallerIdentityRequest) Descriptor deprecated

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

Deprecated: Use GetCallerIdentityRequest.ProtoReflect.Descriptor instead.

func (*GetCallerIdentityRequest) ProtoMessage

func (*GetCallerIdentityRequest) ProtoMessage()

func (*GetCallerIdentityRequest) ProtoReflect

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

func (*GetCallerIdentityRequest) Reset

func (x *GetCallerIdentityRequest) Reset()

func (*GetCallerIdentityRequest) String

func (x *GetCallerIdentityRequest) String() string

func (*GetCallerIdentityRequest) Validate added in v1.32.1

func (m *GetCallerIdentityRequest) Validate() error

Validate checks the field values on GetCallerIdentityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCallerIdentityRequest) ValidateAll added in v1.32.1

func (m *GetCallerIdentityRequest) ValidateAll() error

ValidateAll checks the field values on GetCallerIdentityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCallerIdentityRequestMultiError, or nil if none found.

type GetCallerIdentityRequestMultiError added in v1.32.1

type GetCallerIdentityRequestMultiError []error

GetCallerIdentityRequestMultiError is an error wrapping multiple validation errors returned by GetCallerIdentityRequest.ValidateAll() if the designated constraints aren't met.

func (GetCallerIdentityRequestMultiError) AllErrors added in v1.32.1

func (m GetCallerIdentityRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCallerIdentityRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type GetCallerIdentityRequestValidationError added in v1.32.1

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

GetCallerIdentityRequestValidationError is the validation error returned by GetCallerIdentityRequest.Validate if the designated constraints aren't met.

func (GetCallerIdentityRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (GetCallerIdentityRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetCallerIdentityRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetCallerIdentityRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (GetCallerIdentityRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (GetCallerIdentityRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type GetCallerIdentityResponse

type GetCallerIdentityResponse struct {

	// The chain of the identities for the user.
	// The final item in the chain is the current identity the user is acting as,
	// and is the 'principal' for authorization policy evaluations.
	//
	// For users authenticating with OIDC, the chain will usually look like:
	// 1. OIDC::Subject::"https://oidc-issuer.example.com/93fcac4b-ab67-405c-926b-184f8ba697a4"
	// 2. CF::User::"usr_2Z0WQkw9Ogpsn2Us6RuIBiDRYzJ"
	Chain []*IdentityLink `protobuf:"bytes,1,rep,name=chain,proto3" json:"chain,omitempty"`
	// The principal that the user is currently acting as.
	Principal *User `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCallerIdentityResponse) Descriptor deprecated

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

Deprecated: Use GetCallerIdentityResponse.ProtoReflect.Descriptor instead.

func (*GetCallerIdentityResponse) GetChain

func (x *GetCallerIdentityResponse) GetChain() []*IdentityLink

func (*GetCallerIdentityResponse) GetPrincipal

func (x *GetCallerIdentityResponse) GetPrincipal() *User

func (*GetCallerIdentityResponse) ProtoMessage

func (*GetCallerIdentityResponse) ProtoMessage()

func (*GetCallerIdentityResponse) ProtoReflect

func (*GetCallerIdentityResponse) Reset

func (x *GetCallerIdentityResponse) Reset()

func (*GetCallerIdentityResponse) String

func (x *GetCallerIdentityResponse) String() string

func (*GetCallerIdentityResponse) Validate added in v1.32.1

func (m *GetCallerIdentityResponse) Validate() error

Validate checks the field values on GetCallerIdentityResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCallerIdentityResponse) ValidateAll added in v1.32.1

func (m *GetCallerIdentityResponse) ValidateAll() error

ValidateAll checks the field values on GetCallerIdentityResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCallerIdentityResponseMultiError, or nil if none found.

type GetCallerIdentityResponseMultiError added in v1.32.1

type GetCallerIdentityResponseMultiError []error

GetCallerIdentityResponseMultiError is an error wrapping multiple validation errors returned by GetCallerIdentityResponse.ValidateAll() if the designated constraints aren't met.

func (GetCallerIdentityResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (GetCallerIdentityResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type GetCallerIdentityResponseValidationError added in v1.32.1

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

GetCallerIdentityResponseValidationError is the validation error returned by GetCallerIdentityResponse.Validate if the designated constraints aren't met.

func (GetCallerIdentityResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (GetCallerIdentityResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetCallerIdentityResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetCallerIdentityResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (GetCallerIdentityResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (GetCallerIdentityResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type Grant

type Grant struct {

	// The ID of the Grant.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A user-friendly name describing the access, such as "AdministratorAccess to tax-api-prod"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The resource being requested.
	Target *NamedEID `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// The role being requested, such as "View" or "Admin".
	Role *NamedEID `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	// The user or service account that requested the access.
	//
	// If a service account requested access, the 'name' and 'email' may be empty.
	Principal *User `protobuf:"bytes,5,opt,name=principal,proto3" json:"principal,omitempty"`
	// The status of the Grant.
	Status GrantStatus `protobuf:"varint,6,opt,name=status,proto3,enum=commonfate.access.v1alpha1.GrantStatus" json:"status,omitempty"`
	// For active grants, the time that the access is due to expire.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// For active grants, the time that the user may attempt to extend the grant.
	// If empty, extension is not permitted.
	TryExtendAfter *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=try_extend_after,json=tryExtendAfter,proto3" json:"try_extend_after,omitempty"`
	// The ID of the Access Request associated with the Grant.
	AccessRequestId string `protobuf:"bytes,10,opt,name=access_request_id,json=accessRequestId,proto3" json:"access_request_id,omitempty"`
	// Approved is true if there are any approving reviews on the Grant.
	Approved bool `protobuf:"varint,11,opt,name=approved,proto3" json:"approved,omitempty"`
	// The time that the grant was closed.
	ClosedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=closed_at,json=closedAt,proto3" json:"closed_at,omitempty"`
	// For grants which were activated, the time that the access was activated.
	ActivatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=activated_at,json=activatedAt,proto3" json:"activated_at,omitempty"`
	// For grants which were activated, the time that the access was deprovisioned.
	DeprovisionedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=deprovisioned_at,json=deprovisionedAt,proto3" json:"deprovisioned_at,omitempty"`
	// The provisioning status of the Grant. This status tracks whether the entitlements have been successfully provisioned in the integration that Common Fate is provisioning access to, such as AWS or GCP.
	ProvisioningStatus ProvisioningStatus   `` /* 168-byte string literal not displayed */
	Duration           *durationpb.Duration `protobuf:"bytes,16,opt,name=duration,proto3" json:"duration,omitempty"`
	// The default duration shown for the grant.
	DefaultDuration *durationpb.Duration `protobuf:"bytes,17,opt,name=default_duration,json=defaultDuration,proto3" json:"default_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*Grant) Descriptor deprecated

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

Deprecated: Use Grant.ProtoReflect.Descriptor instead.

func (*Grant) GetAccessRequestId

func (x *Grant) GetAccessRequestId() string

func (*Grant) GetActivatedAt added in v1.7.0

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

func (*Grant) GetApproved

func (x *Grant) GetApproved() bool

func (*Grant) GetClosedAt added in v1.7.0

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

func (*Grant) GetDefaultDuration added in v1.32.0

func (x *Grant) GetDefaultDuration() *durationpb.Duration

func (*Grant) GetDeprovisionedAt added in v1.7.0

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

func (*Grant) GetDuration added in v1.10.0

func (x *Grant) GetDuration() *durationpb.Duration

func (*Grant) GetExpiresAt

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

func (*Grant) GetId

func (x *Grant) GetId() string

func (*Grant) GetName

func (x *Grant) GetName() string

func (*Grant) GetPrincipal

func (x *Grant) GetPrincipal() *User

func (*Grant) GetProvisioningStatus added in v1.8.0

func (x *Grant) GetProvisioningStatus() ProvisioningStatus

func (*Grant) GetRole

func (x *Grant) GetRole() *NamedEID

func (*Grant) GetStatus

func (x *Grant) GetStatus() GrantStatus

func (*Grant) GetTarget

func (x *Grant) GetTarget() *NamedEID

func (*Grant) GetTryExtendAfter

func (x *Grant) GetTryExtendAfter() *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

func (*Grant) Validate added in v1.32.1

func (m *Grant) Validate() error

Validate checks the field values on Grant with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Grant) ValidateAll added in v1.32.1

func (m *Grant) ValidateAll() error

ValidateAll checks the field values on Grant with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantMultiError, or nil if none found.

type GrantChange

type GrantChange int32
const (
	GrantChange_GRANT_CHANGE_UNSPECIFIED GrantChange = 0
	// The Grant has been newly requested
	GrantChange_GRANT_CHANGE_REQUESTED GrantChange = 1
	// The Grant has been activated
	GrantChange_GRANT_CHANGE_ACTIVATED GrantChange = 2
	// The Grant has been extended
	GrantChange_GRANT_CHANGE_EXTENDED GrantChange = 3
	// The provisioning process failed for the Grant
	GrantChange_GRANT_CHANGE_PROVISIONING_FAILED GrantChange = 4
)

func (GrantChange) Descriptor

func (GrantChange) Enum

func (x GrantChange) Enum() *GrantChange

func (GrantChange) EnumDescriptor deprecated

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

Deprecated: Use GrantChange.Descriptor instead.

func (GrantChange) Number

func (x GrantChange) Number() protoreflect.EnumNumber

func (GrantChange) String

func (x GrantChange) String() string

func (GrantChange) Type

type GrantMultiError added in v1.32.1

type GrantMultiError []error

GrantMultiError is an error wrapping multiple validation errors returned by Grant.ValidateAll() if the designated constraints aren't met.

func (GrantMultiError) AllErrors added in v1.32.1

func (m GrantMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrantMultiError) Error added in v1.32.1

func (m GrantMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GrantState

type GrantState struct {
	Grant *Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
	// The change to the grant.
	// Will be unspecified if the grant has not been changed.
	Change GrantChange `protobuf:"varint,2,opt,name=change,proto3,enum=commonfate.access.v1alpha1.GrantChange" json:"change,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantState) Descriptor deprecated

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

Deprecated: Use GrantState.ProtoReflect.Descriptor instead.

func (*GrantState) GetChange

func (x *GrantState) GetChange() GrantChange

func (*GrantState) GetGrant

func (x *GrantState) GetGrant() *Grant

func (*GrantState) ProtoMessage

func (*GrantState) ProtoMessage()

func (*GrantState) ProtoReflect

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

func (*GrantState) Reset

func (x *GrantState) Reset()

func (*GrantState) String

func (x *GrantState) String() string

func (*GrantState) Validate added in v1.32.1

func (m *GrantState) Validate() error

Validate checks the field values on GrantState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrantState) ValidateAll added in v1.32.1

func (m *GrantState) ValidateAll() error

ValidateAll checks the field values on GrantState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantStateMultiError, or nil if none found.

type GrantStateMultiError added in v1.32.1

type GrantStateMultiError []error

GrantStateMultiError is an error wrapping multiple validation errors returned by GrantState.ValidateAll() if the designated constraints aren't met.

func (GrantStateMultiError) AllErrors added in v1.32.1

func (m GrantStateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrantStateMultiError) Error added in v1.32.1

func (m GrantStateMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GrantStateValidationError added in v1.32.1

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

GrantStateValidationError is the validation error returned by GrantState.Validate if the designated constraints aren't met.

func (GrantStateValidationError) Cause added in v1.32.1

func (e GrantStateValidationError) Cause() error

Cause function returns cause value.

func (GrantStateValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GrantStateValidationError) ErrorName added in v1.32.1

func (e GrantStateValidationError) ErrorName() string

ErrorName returns error name.

func (GrantStateValidationError) Field added in v1.32.1

Field function returns field value.

func (GrantStateValidationError) Key added in v1.32.1

Key function returns key value.

func (GrantStateValidationError) Reason added in v1.32.1

func (e GrantStateValidationError) Reason() string

Reason function returns reason value.

type GrantStatus

type GrantStatus int32
const (
	GrantStatus_GRANT_STATUS_UNSPECIFIED GrantStatus = 0
	// Awaiting a manual review.
	GrantStatus_GRANT_STATUS_PENDING GrantStatus = 1
	// The grant to the entitlement is currently active.
	GrantStatus_GRANT_STATUS_ACTIVE GrantStatus = 3
	// No longer active. Grants may be closed due to several reasons, such as:
	// - the grant was cancelled by the user
	// - the grant was revoked by an administrator
	// - the grant has expired
	GrantStatus_GRANT_STATUS_CLOSED GrantStatus = 4
)

func (GrantStatus) Descriptor

func (GrantStatus) Enum

func (x GrantStatus) Enum() *GrantStatus

func (GrantStatus) EnumDescriptor deprecated

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

Deprecated: Use GrantStatus.Descriptor instead.

func (GrantStatus) Number

func (x GrantStatus) Number() protoreflect.EnumNumber

func (GrantStatus) String

func (x GrantStatus) String() string

func (GrantStatus) Type

type GrantValidationError added in v1.32.1

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

GrantValidationError is the validation error returned by Grant.Validate if the designated constraints aren't met.

func (GrantValidationError) Cause added in v1.32.1

func (e GrantValidationError) Cause() error

Cause function returns cause value.

func (GrantValidationError) Error added in v1.32.1

func (e GrantValidationError) Error() string

Error satisfies the builtin error interface

func (GrantValidationError) ErrorName added in v1.32.1

func (e GrantValidationError) ErrorName() string

ErrorName returns error name.

func (GrantValidationError) Field added in v1.32.1

func (e GrantValidationError) Field() string

Field function returns field value.

func (GrantValidationError) Key added in v1.32.1

func (e GrantValidationError) Key() bool

Key function returns key value.

func (GrantValidationError) Reason added in v1.32.1

func (e GrantValidationError) Reason() string

Reason function returns reason value.

type IdentityLink struct {
	Id    *v1alpha1.EID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Label string        `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityLink) Descriptor deprecated

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

Deprecated: Use IdentityLink.ProtoReflect.Descriptor instead.

func (*IdentityLink) GetId

func (x *IdentityLink) GetId() *v1alpha1.EID

func (*IdentityLink) GetLabel

func (x *IdentityLink) GetLabel() string

func (*IdentityLink) ProtoMessage

func (*IdentityLink) ProtoMessage()

func (*IdentityLink) ProtoReflect

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

func (*IdentityLink) Reset

func (x *IdentityLink) Reset()

func (*IdentityLink) String

func (x *IdentityLink) String() string

func (*IdentityLink) Validate added in v1.32.1

func (m *IdentityLink) Validate() error

Validate checks the field values on IdentityLink with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IdentityLink) ValidateAll added in v1.32.1

func (m *IdentityLink) ValidateAll() error

ValidateAll checks the field values on IdentityLink with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IdentityLinkMultiError, or nil if none found.

type IdentityLinkMultiError added in v1.32.1

type IdentityLinkMultiError []error

IdentityLinkMultiError is an error wrapping multiple validation errors returned by IdentityLink.ValidateAll() if the designated constraints aren't met.

func (IdentityLinkMultiError) AllErrors added in v1.32.1

func (m IdentityLinkMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IdentityLinkMultiError) Error added in v1.32.1

func (m IdentityLinkMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type IdentityLinkValidationError added in v1.32.1

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

IdentityLinkValidationError is the validation error returned by IdentityLink.Validate if the designated constraints aren't met.

func (IdentityLinkValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (IdentityLinkValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (IdentityLinkValidationError) ErrorName added in v1.32.1

func (e IdentityLinkValidationError) ErrorName() string

ErrorName returns error name.

func (IdentityLinkValidationError) Field added in v1.32.1

Field function returns field value.

func (IdentityLinkValidationError) Key added in v1.32.1

Key function returns key value.

func (IdentityLinkValidationError) Reason added in v1.32.1

Reason function returns reason value.

type IntegrationAuditLog

type IntegrationAuditLog struct {

	// the action which occurred
	Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	// the timestamp the action occurred at.
	OccurredAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
	// a human-friendly message describing the action.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// structured data details the audit log event
	Details *structpb.Struct `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*IntegrationAuditLog) Descriptor deprecated

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

Deprecated: Use IntegrationAuditLog.ProtoReflect.Descriptor instead.

func (*IntegrationAuditLog) GetAction

func (x *IntegrationAuditLog) GetAction() string

func (*IntegrationAuditLog) GetDetails

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

func (*IntegrationAuditLog) GetMessage

func (x *IntegrationAuditLog) GetMessage() string

func (*IntegrationAuditLog) GetOccurredAt

func (x *IntegrationAuditLog) GetOccurredAt() *timestamppb.Timestamp

func (*IntegrationAuditLog) ProtoMessage

func (*IntegrationAuditLog) ProtoMessage()

func (*IntegrationAuditLog) ProtoReflect

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

func (*IntegrationAuditLog) Reset

func (x *IntegrationAuditLog) Reset()

func (*IntegrationAuditLog) String

func (x *IntegrationAuditLog) String() string

func (*IntegrationAuditLog) Validate added in v1.32.1

func (m *IntegrationAuditLog) Validate() error

Validate checks the field values on IntegrationAuditLog with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IntegrationAuditLog) ValidateAll added in v1.32.1

func (m *IntegrationAuditLog) ValidateAll() error

ValidateAll checks the field values on IntegrationAuditLog with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IntegrationAuditLogMultiError, or nil if none found.

type IntegrationAuditLogMultiError added in v1.32.1

type IntegrationAuditLogMultiError []error

IntegrationAuditLogMultiError is an error wrapping multiple validation errors returned by IntegrationAuditLog.ValidateAll() if the designated constraints aren't met.

func (IntegrationAuditLogMultiError) AllErrors added in v1.32.1

func (m IntegrationAuditLogMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IntegrationAuditLogMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type IntegrationAuditLogValidationError added in v1.32.1

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

IntegrationAuditLogValidationError is the validation error returned by IntegrationAuditLog.Validate if the designated constraints aren't met.

func (IntegrationAuditLogValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (IntegrationAuditLogValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (IntegrationAuditLogValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (IntegrationAuditLogValidationError) Field added in v1.32.1

Field function returns field value.

func (IntegrationAuditLogValidationError) Key added in v1.32.1

Key function returns key value.

func (IntegrationAuditLogValidationError) Reason added in v1.32.1

Reason function returns reason value.

type Justification

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

func (*Justification) Descriptor deprecated

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

Deprecated: Use Justification.ProtoReflect.Descriptor instead.

func (*Justification) GetReason

func (x *Justification) GetReason() string

func (*Justification) ProtoMessage

func (*Justification) ProtoMessage()

func (*Justification) ProtoReflect

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

func (*Justification) Reset

func (x *Justification) Reset()

func (*Justification) String

func (x *Justification) String() string

func (*Justification) Validate added in v1.32.1

func (m *Justification) Validate() error

Validate checks the field values on Justification with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Justification) ValidateAll added in v1.32.1

func (m *Justification) ValidateAll() error

ValidateAll checks the field values on Justification with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JustificationMultiError, or nil if none found.

type JustificationMultiError added in v1.32.1

type JustificationMultiError []error

JustificationMultiError is an error wrapping multiple validation errors returned by Justification.ValidateAll() if the designated constraints aren't met.

func (JustificationMultiError) AllErrors added in v1.32.1

func (m JustificationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JustificationMultiError) Error added in v1.32.1

func (m JustificationMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type JustificationValidationError added in v1.32.1

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

JustificationValidationError is the validation error returned by Justification.Validate if the designated constraints aren't met.

func (JustificationValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (JustificationValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (JustificationValidationError) ErrorName added in v1.32.1

func (e JustificationValidationError) ErrorName() string

ErrorName returns error name.

func (JustificationValidationError) Field added in v1.32.1

Field function returns field value.

func (JustificationValidationError) Key added in v1.32.1

Key function returns key value.

func (JustificationValidationError) Reason added in v1.32.1

Reason function returns reason value.

type NamedEID

type NamedEID struct {
	Eid  *v1alpha1.EID `protobuf:"bytes,1,opt,name=eid,proto3" json:"eid,omitempty"`
	Name string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*NamedEID) Descriptor deprecated

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

Deprecated: Use NamedEID.ProtoReflect.Descriptor instead.

func (*NamedEID) Display

func (u *NamedEID) Display() string

func (*NamedEID) GetEid

func (x *NamedEID) GetEid() *v1alpha1.EID

func (*NamedEID) GetName

func (x *NamedEID) GetName() string

func (*NamedEID) ProtoMessage

func (*NamedEID) ProtoMessage()

func (*NamedEID) ProtoReflect

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

func (*NamedEID) Reset

func (x *NamedEID) Reset()

func (*NamedEID) String

func (x *NamedEID) String() string

func (*NamedEID) Validate added in v1.32.1

func (m *NamedEID) Validate() error

Validate checks the field values on NamedEID with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NamedEID) ValidateAll added in v1.32.1

func (m *NamedEID) ValidateAll() error

ValidateAll checks the field values on NamedEID with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NamedEIDMultiError, or nil if none found.

type NamedEIDMultiError added in v1.32.1

type NamedEIDMultiError []error

NamedEIDMultiError is an error wrapping multiple validation errors returned by NamedEID.ValidateAll() if the designated constraints aren't met.

func (NamedEIDMultiError) AllErrors added in v1.32.1

func (m NamedEIDMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NamedEIDMultiError) Error added in v1.32.1

func (m NamedEIDMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NamedEIDValidationError added in v1.32.1

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

NamedEIDValidationError is the validation error returned by NamedEID.Validate if the designated constraints aren't met.

func (NamedEIDValidationError) Cause added in v1.32.1

func (e NamedEIDValidationError) Cause() error

Cause function returns cause value.

func (NamedEIDValidationError) Error added in v1.32.1

func (e NamedEIDValidationError) Error() string

Error satisfies the builtin error interface

func (NamedEIDValidationError) ErrorName added in v1.32.1

func (e NamedEIDValidationError) ErrorName() string

ErrorName returns error name.

func (NamedEIDValidationError) Field added in v1.32.1

func (e NamedEIDValidationError) Field() string

Field function returns field value.

func (NamedEIDValidationError) Key added in v1.32.1

func (e NamedEIDValidationError) Key() bool

Key function returns key value.

func (NamedEIDValidationError) Reason added in v1.32.1

func (e NamedEIDValidationError) Reason() string

Reason function returns reason value.

type PreviewEntitlementAccessRequest added in v1.16.0

type PreviewEntitlementAccessRequest struct {
	Target *Specifier `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	Role   *Specifier `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*PreviewEntitlementAccessRequest) Descriptor deprecated added in v1.16.0

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

Deprecated: Use PreviewEntitlementAccessRequest.ProtoReflect.Descriptor instead.

func (*PreviewEntitlementAccessRequest) GetRole added in v1.16.0

func (*PreviewEntitlementAccessRequest) GetTarget added in v1.16.0

func (*PreviewEntitlementAccessRequest) ProtoMessage added in v1.16.0

func (*PreviewEntitlementAccessRequest) ProtoMessage()

func (*PreviewEntitlementAccessRequest) ProtoReflect added in v1.16.0

func (*PreviewEntitlementAccessRequest) Reset added in v1.16.0

func (*PreviewEntitlementAccessRequest) String added in v1.16.0

func (*PreviewEntitlementAccessRequest) Validate added in v1.32.1

func (m *PreviewEntitlementAccessRequest) Validate() error

Validate checks the field values on PreviewEntitlementAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PreviewEntitlementAccessRequest) ValidateAll added in v1.32.1

func (m *PreviewEntitlementAccessRequest) ValidateAll() error

ValidateAll checks the field values on PreviewEntitlementAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreviewEntitlementAccessRequestMultiError, or nil if none found.

type PreviewEntitlementAccessRequestMultiError added in v1.32.1

type PreviewEntitlementAccessRequestMultiError []error

PreviewEntitlementAccessRequestMultiError is an error wrapping multiple validation errors returned by PreviewEntitlementAccessRequest.ValidateAll() if the designated constraints aren't met.

func (PreviewEntitlementAccessRequestMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (PreviewEntitlementAccessRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type PreviewEntitlementAccessRequestValidationError added in v1.32.1

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

PreviewEntitlementAccessRequestValidationError is the validation error returned by PreviewEntitlementAccessRequest.Validate if the designated constraints aren't met.

func (PreviewEntitlementAccessRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (PreviewEntitlementAccessRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (PreviewEntitlementAccessRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (PreviewEntitlementAccessRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (PreviewEntitlementAccessRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (PreviewEntitlementAccessRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type PreviewEntitlementAccessResponse added in v1.16.0

type PreviewEntitlementAccessResponse struct {

	// The principals which have access to request access and whether that access will be auto approved
	Access []*PrincipalAccess `protobuf:"bytes,1,rep,name=access,proto3" json:"access,omitempty"`
	// contains filtered or unexported fields
}

func (*PreviewEntitlementAccessResponse) Descriptor deprecated added in v1.16.0

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

Deprecated: Use PreviewEntitlementAccessResponse.ProtoReflect.Descriptor instead.

func (*PreviewEntitlementAccessResponse) GetAccess added in v1.16.0

func (*PreviewEntitlementAccessResponse) ProtoMessage added in v1.16.0

func (*PreviewEntitlementAccessResponse) ProtoMessage()

func (*PreviewEntitlementAccessResponse) ProtoReflect added in v1.16.0

func (*PreviewEntitlementAccessResponse) Reset added in v1.16.0

func (*PreviewEntitlementAccessResponse) String added in v1.16.0

func (*PreviewEntitlementAccessResponse) Validate added in v1.32.1

Validate checks the field values on PreviewEntitlementAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PreviewEntitlementAccessResponse) ValidateAll added in v1.32.1

func (m *PreviewEntitlementAccessResponse) ValidateAll() error

ValidateAll checks the field values on PreviewEntitlementAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreviewEntitlementAccessResponseMultiError, or nil if none found.

type PreviewEntitlementAccessResponseMultiError added in v1.32.1

type PreviewEntitlementAccessResponseMultiError []error

PreviewEntitlementAccessResponseMultiError is an error wrapping multiple validation errors returned by PreviewEntitlementAccessResponse.ValidateAll() if the designated constraints aren't met.

func (PreviewEntitlementAccessResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (PreviewEntitlementAccessResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type PreviewEntitlementAccessResponseValidationError added in v1.32.1

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

PreviewEntitlementAccessResponseValidationError is the validation error returned by PreviewEntitlementAccessResponse.Validate if the designated constraints aren't met.

func (PreviewEntitlementAccessResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (PreviewEntitlementAccessResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (PreviewEntitlementAccessResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (PreviewEntitlementAccessResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (PreviewEntitlementAccessResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (PreviewEntitlementAccessResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type PreviewUserAccessRequest added in v1.17.0

type PreviewUserAccessRequest struct {
	Principal  *Specifier `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	TargetType *string    `protobuf:"bytes,2,opt,name=target_type,json=targetType,proto3,oneof" json:"target_type,omitempty"`
	// contains filtered or unexported fields
}

func (*PreviewUserAccessRequest) Descriptor deprecated added in v1.17.0

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

Deprecated: Use PreviewUserAccessRequest.ProtoReflect.Descriptor instead.

func (*PreviewUserAccessRequest) GetPrincipal added in v1.17.0

func (x *PreviewUserAccessRequest) GetPrincipal() *Specifier

func (*PreviewUserAccessRequest) GetTargetType added in v1.17.0

func (x *PreviewUserAccessRequest) GetTargetType() string

func (*PreviewUserAccessRequest) ProtoMessage added in v1.17.0

func (*PreviewUserAccessRequest) ProtoMessage()

func (*PreviewUserAccessRequest) ProtoReflect added in v1.17.0

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

func (*PreviewUserAccessRequest) Reset added in v1.17.0

func (x *PreviewUserAccessRequest) Reset()

func (*PreviewUserAccessRequest) String added in v1.17.0

func (x *PreviewUserAccessRequest) String() string

func (*PreviewUserAccessRequest) Validate added in v1.32.1

func (m *PreviewUserAccessRequest) Validate() error

Validate checks the field values on PreviewUserAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PreviewUserAccessRequest) ValidateAll added in v1.32.1

func (m *PreviewUserAccessRequest) ValidateAll() error

ValidateAll checks the field values on PreviewUserAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreviewUserAccessRequestMultiError, or nil if none found.

type PreviewUserAccessRequestMultiError added in v1.32.1

type PreviewUserAccessRequestMultiError []error

PreviewUserAccessRequestMultiError is an error wrapping multiple validation errors returned by PreviewUserAccessRequest.ValidateAll() if the designated constraints aren't met.

func (PreviewUserAccessRequestMultiError) AllErrors added in v1.32.1

func (m PreviewUserAccessRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreviewUserAccessRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type PreviewUserAccessRequestValidationError added in v1.32.1

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

PreviewUserAccessRequestValidationError is the validation error returned by PreviewUserAccessRequest.Validate if the designated constraints aren't met.

func (PreviewUserAccessRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (PreviewUserAccessRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (PreviewUserAccessRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (PreviewUserAccessRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (PreviewUserAccessRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (PreviewUserAccessRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type PreviewUserAccessResponse added in v1.17.0

type PreviewUserAccessResponse struct {
	Entitlements []*Entitlement `protobuf:"bytes,1,rep,name=entitlements,proto3" json:"entitlements,omitempty"`
	// contains filtered or unexported fields
}

func (*PreviewUserAccessResponse) Descriptor deprecated added in v1.17.0

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

Deprecated: Use PreviewUserAccessResponse.ProtoReflect.Descriptor instead.

func (*PreviewUserAccessResponse) GetEntitlements added in v1.17.0

func (x *PreviewUserAccessResponse) GetEntitlements() []*Entitlement

func (*PreviewUserAccessResponse) ProtoMessage added in v1.17.0

func (*PreviewUserAccessResponse) ProtoMessage()

func (*PreviewUserAccessResponse) ProtoReflect added in v1.17.0

func (*PreviewUserAccessResponse) Reset added in v1.17.0

func (x *PreviewUserAccessResponse) Reset()

func (*PreviewUserAccessResponse) String added in v1.17.0

func (x *PreviewUserAccessResponse) String() string

func (*PreviewUserAccessResponse) Validate added in v1.32.1

func (m *PreviewUserAccessResponse) Validate() error

Validate checks the field values on PreviewUserAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PreviewUserAccessResponse) ValidateAll added in v1.32.1

func (m *PreviewUserAccessResponse) ValidateAll() error

ValidateAll checks the field values on PreviewUserAccessResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreviewUserAccessResponseMultiError, or nil if none found.

type PreviewUserAccessResponseMultiError added in v1.32.1

type PreviewUserAccessResponseMultiError []error

PreviewUserAccessResponseMultiError is an error wrapping multiple validation errors returned by PreviewUserAccessResponse.ValidateAll() if the designated constraints aren't met.

func (PreviewUserAccessResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (PreviewUserAccessResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type PreviewUserAccessResponseValidationError added in v1.32.1

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

PreviewUserAccessResponseValidationError is the validation error returned by PreviewUserAccessResponse.Validate if the designated constraints aren't met.

func (PreviewUserAccessResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (PreviewUserAccessResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (PreviewUserAccessResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (PreviewUserAccessResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (PreviewUserAccessResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (PreviewUserAccessResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type PrincipalAccess added in v1.16.0

type PrincipalAccess struct {
	Principal *User `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	// Whether or not it is auto approved
	AutoApproved bool `protobuf:"varint,2,opt,name=auto_approved,json=autoApproved,proto3" json:"auto_approved,omitempty"`
	// The Cedar Policys which contributed to the authorizations decisions
	Reason *EntitlementAccessReason `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*PrincipalAccess) Descriptor deprecated added in v1.16.0

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

Deprecated: Use PrincipalAccess.ProtoReflect.Descriptor instead.

func (*PrincipalAccess) GetAutoApproved added in v1.16.0

func (x *PrincipalAccess) GetAutoApproved() bool

func (*PrincipalAccess) GetPrincipal added in v1.16.0

func (x *PrincipalAccess) GetPrincipal() *User

func (*PrincipalAccess) GetReason added in v1.25.0

func (x *PrincipalAccess) GetReason() *EntitlementAccessReason

func (*PrincipalAccess) ProtoMessage added in v1.16.0

func (*PrincipalAccess) ProtoMessage()

func (*PrincipalAccess) ProtoReflect added in v1.16.0

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

func (*PrincipalAccess) Reset added in v1.16.0

func (x *PrincipalAccess) Reset()

func (*PrincipalAccess) String added in v1.16.0

func (x *PrincipalAccess) String() string

func (*PrincipalAccess) Validate added in v1.32.1

func (m *PrincipalAccess) Validate() error

Validate checks the field values on PrincipalAccess with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PrincipalAccess) ValidateAll added in v1.32.1

func (m *PrincipalAccess) ValidateAll() error

ValidateAll checks the field values on PrincipalAccess with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalAccessMultiError, or nil if none found.

type PrincipalAccessMultiError added in v1.32.1

type PrincipalAccessMultiError []error

PrincipalAccessMultiError is an error wrapping multiple validation errors returned by PrincipalAccess.ValidateAll() if the designated constraints aren't met.

func (PrincipalAccessMultiError) AllErrors added in v1.32.1

func (m PrincipalAccessMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PrincipalAccessMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type PrincipalAccessValidationError added in v1.32.1

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

PrincipalAccessValidationError is the validation error returned by PrincipalAccess.Validate if the designated constraints aren't met.

func (PrincipalAccessValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (PrincipalAccessValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (PrincipalAccessValidationError) ErrorName added in v1.32.1

func (e PrincipalAccessValidationError) ErrorName() string

ErrorName returns error name.

func (PrincipalAccessValidationError) Field added in v1.32.1

Field function returns field value.

func (PrincipalAccessValidationError) Key added in v1.32.1

Key function returns key value.

func (PrincipalAccessValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ProvisionRequest

type ProvisionRequest struct {

	// The ID of the Grant.
	Grant     *v1alpha1.EID    `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
	Principal *v1alpha1.Entity `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	// DomainPrincipal is the principal to grant access to,
	// mapped to the identity domain of the system that we're provisioning in.
	//
	// For example, instead of sending a user's email address, we send the
	// ID of the user in AWS IAM Identity Center.
	//
	// This field may be empty if Common Fate fails to map the principal.
	// A well-designed provisioner should attempt to fall back on data from
	// the core principal entity instead to provision access.
	DomainPrincipal *v1alpha1.Entity `protobuf:"bytes,3,opt,name=domain_principal,json=domainPrincipal,proto3" json:"domain_principal,omitempty"`
	Target          *v1alpha1.Entity `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
	Role            *v1alpha1.Entity `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionRequest) Descriptor deprecated

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

Deprecated: Use ProvisionRequest.ProtoReflect.Descriptor instead.

func (*ProvisionRequest) GetDomainPrincipal

func (x *ProvisionRequest) GetDomainPrincipal() *v1alpha1.Entity

func (*ProvisionRequest) GetGrant

func (x *ProvisionRequest) GetGrant() *v1alpha1.EID

func (*ProvisionRequest) GetPrincipal

func (x *ProvisionRequest) GetPrincipal() *v1alpha1.Entity

func (*ProvisionRequest) GetRole

func (x *ProvisionRequest) GetRole() *v1alpha1.Entity

func (*ProvisionRequest) GetTarget

func (x *ProvisionRequest) GetTarget() *v1alpha1.Entity

func (*ProvisionRequest) ProtoMessage

func (*ProvisionRequest) ProtoMessage()

func (*ProvisionRequest) ProtoReflect

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

func (*ProvisionRequest) Reset

func (x *ProvisionRequest) Reset()

func (*ProvisionRequest) String

func (x *ProvisionRequest) String() string

func (*ProvisionRequest) Validate added in v1.32.1

func (m *ProvisionRequest) Validate() error

Validate checks the field values on ProvisionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProvisionRequest) ValidateAll added in v1.32.1

func (m *ProvisionRequest) ValidateAll() error

ValidateAll checks the field values on ProvisionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProvisionRequestMultiError, or nil if none found.

type ProvisionRequestMultiError added in v1.32.1

type ProvisionRequestMultiError []error

ProvisionRequestMultiError is an error wrapping multiple validation errors returned by ProvisionRequest.ValidateAll() if the designated constraints aren't met.

func (ProvisionRequestMultiError) AllErrors added in v1.32.1

func (m ProvisionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProvisionRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type ProvisionRequestValidationError added in v1.32.1

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

ProvisionRequestValidationError is the validation error returned by ProvisionRequest.Validate if the designated constraints aren't met.

func (ProvisionRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ProvisionRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ProvisionRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ProvisionRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ProvisionRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ProvisionRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ProvisionResponse

type ProvisionResponse struct {
	Entities       []*v1alpha1.Entity        `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	ChildRelations []*v1alpha1.ChildRelation `protobuf:"bytes,2,rep,name=child_relations,json=childRelations,proto3" json:"child_relations,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionResponse) Descriptor deprecated

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

Deprecated: Use ProvisionResponse.ProtoReflect.Descriptor instead.

func (*ProvisionResponse) GetChildRelations

func (x *ProvisionResponse) GetChildRelations() []*v1alpha1.ChildRelation

func (*ProvisionResponse) GetEntities

func (x *ProvisionResponse) GetEntities() []*v1alpha1.Entity

func (*ProvisionResponse) ProtoMessage

func (*ProvisionResponse) ProtoMessage()

func (*ProvisionResponse) ProtoReflect

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

func (*ProvisionResponse) Reset

func (x *ProvisionResponse) Reset()

func (*ProvisionResponse) String

func (x *ProvisionResponse) String() string

func (*ProvisionResponse) Validate added in v1.32.1

func (m *ProvisionResponse) Validate() error

Validate checks the field values on ProvisionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProvisionResponse) ValidateAll added in v1.32.1

func (m *ProvisionResponse) ValidateAll() error

ValidateAll checks the field values on ProvisionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProvisionResponseMultiError, or nil if none found.

type ProvisionResponseMultiError added in v1.32.1

type ProvisionResponseMultiError []error

ProvisionResponseMultiError is an error wrapping multiple validation errors returned by ProvisionResponse.ValidateAll() if the designated constraints aren't met.

func (ProvisionResponseMultiError) AllErrors added in v1.32.1

func (m ProvisionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProvisionResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type ProvisionResponseValidationError added in v1.32.1

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

ProvisionResponseValidationError is the validation error returned by ProvisionResponse.Validate if the designated constraints aren't met.

func (ProvisionResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (ProvisionResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ProvisionResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ProvisionResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ProvisionResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ProvisionResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type ProvisioningStatus added in v1.8.0

type ProvisioningStatus int32
const (
	ProvisioningStatus_PROVISIONING_STATUS_UNSPECIFIED ProvisioningStatus = 0
	// Provisioning has not been attempted. This is the value before the Grant is activated.
	ProvisioningStatus_PROVISIONING_STATUS_NOT_ATTEMPTED ProvisioningStatus = 1
	// The Grant is currently being provisioned.
	ProvisioningStatus_PROVISIONING_STATUS_ATTEMPTING ProvisioningStatus = 2
	// Provisioning has completed successfully.
	ProvisioningStatus_PROVISIONING_STATUS_SUCCESSFUL ProvisioningStatus = 3
)

func (ProvisioningStatus) Descriptor added in v1.8.0

func (ProvisioningStatus) Enum added in v1.8.0

func (ProvisioningStatus) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use ProvisioningStatus.Descriptor instead.

func (ProvisioningStatus) Number added in v1.8.0

func (ProvisioningStatus) String added in v1.8.0

func (x ProvisioningStatus) String() string

func (ProvisioningStatus) Type added in v1.8.0

type QueryAccessRequestsRequest

type QueryAccessRequestsRequest struct {

	// The token for the next page.
	PageToken string          `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Archived  bool            `protobuf:"varint,2,opt,name=archived,proto3" json:"archived,omitempty"`
	Order     *v1alpha1.Order `protobuf:"varint,3,opt,name=order,proto3,enum=commonfate.entity.v1alpha1.Order,oneof" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAccessRequestsRequest) Descriptor deprecated

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

Deprecated: Use QueryAccessRequestsRequest.ProtoReflect.Descriptor instead.

func (*QueryAccessRequestsRequest) GetArchived

func (x *QueryAccessRequestsRequest) GetArchived() bool

func (*QueryAccessRequestsRequest) GetOrder added in v1.3.0

func (*QueryAccessRequestsRequest) GetPageToken

func (x *QueryAccessRequestsRequest) GetPageToken() string

func (*QueryAccessRequestsRequest) ProtoMessage

func (*QueryAccessRequestsRequest) ProtoMessage()

func (*QueryAccessRequestsRequest) ProtoReflect

func (*QueryAccessRequestsRequest) Reset

func (x *QueryAccessRequestsRequest) Reset()

func (*QueryAccessRequestsRequest) String

func (x *QueryAccessRequestsRequest) String() string

func (*QueryAccessRequestsRequest) Validate added in v1.32.1

func (m *QueryAccessRequestsRequest) Validate() error

Validate checks the field values on QueryAccessRequestsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryAccessRequestsRequest) ValidateAll added in v1.32.1

func (m *QueryAccessRequestsRequest) ValidateAll() error

ValidateAll checks the field values on QueryAccessRequestsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryAccessRequestsRequestMultiError, or nil if none found.

type QueryAccessRequestsRequestMultiError added in v1.32.1

type QueryAccessRequestsRequestMultiError []error

QueryAccessRequestsRequestMultiError is an error wrapping multiple validation errors returned by QueryAccessRequestsRequest.ValidateAll() if the designated constraints aren't met.

func (QueryAccessRequestsRequestMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (QueryAccessRequestsRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryAccessRequestsRequestValidationError added in v1.32.1

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

QueryAccessRequestsRequestValidationError is the validation error returned by QueryAccessRequestsRequest.Validate if the designated constraints aren't met.

func (QueryAccessRequestsRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryAccessRequestsRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryAccessRequestsRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryAccessRequestsRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryAccessRequestsRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryAccessRequestsRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryAccessRequestsResponse

type QueryAccessRequestsResponse struct {
	AccessRequests []*AccessRequest `protobuf:"bytes,1,rep,name=access_requests,json=accessRequests,proto3" json:"access_requests,omitempty"`
	NextPageToken  string           `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAccessRequestsResponse) Descriptor deprecated

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

Deprecated: Use QueryAccessRequestsResponse.ProtoReflect.Descriptor instead.

func (*QueryAccessRequestsResponse) GetAccessRequests

func (x *QueryAccessRequestsResponse) GetAccessRequests() []*AccessRequest

func (*QueryAccessRequestsResponse) GetNextPageToken

func (x *QueryAccessRequestsResponse) GetNextPageToken() string

func (*QueryAccessRequestsResponse) ProtoMessage

func (*QueryAccessRequestsResponse) ProtoMessage()

func (*QueryAccessRequestsResponse) ProtoReflect

func (*QueryAccessRequestsResponse) Reset

func (x *QueryAccessRequestsResponse) Reset()

func (*QueryAccessRequestsResponse) String

func (x *QueryAccessRequestsResponse) String() string

func (*QueryAccessRequestsResponse) Validate added in v1.32.1

func (m *QueryAccessRequestsResponse) Validate() error

Validate checks the field values on QueryAccessRequestsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryAccessRequestsResponse) ValidateAll added in v1.32.1

func (m *QueryAccessRequestsResponse) ValidateAll() error

ValidateAll checks the field values on QueryAccessRequestsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryAccessRequestsResponseMultiError, or nil if none found.

type QueryAccessRequestsResponseMultiError added in v1.32.1

type QueryAccessRequestsResponseMultiError []error

QueryAccessRequestsResponseMultiError is an error wrapping multiple validation errors returned by QueryAccessRequestsResponse.ValidateAll() if the designated constraints aren't met.

func (QueryAccessRequestsResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (QueryAccessRequestsResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryAccessRequestsResponseValidationError added in v1.32.1

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

QueryAccessRequestsResponseValidationError is the validation error returned by QueryAccessRequestsResponse.Validate if the designated constraints aren't met.

func (QueryAccessRequestsResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryAccessRequestsResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryAccessRequestsResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryAccessRequestsResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryAccessRequestsResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryAccessRequestsResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryApproversRequest added in v1.16.0

type QueryApproversRequest struct {

	// Types that are assignable to Query:
	//
	//	*QueryApproversRequest_TargetRole
	//	*QueryApproversRequest_Grant
	Query isQueryApproversRequest_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*QueryApproversRequest) Descriptor deprecated added in v1.16.0

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

Deprecated: Use QueryApproversRequest.ProtoReflect.Descriptor instead.

func (*QueryApproversRequest) GetGrant added in v1.16.0

func (x *QueryApproversRequest) GetGrant() *v1alpha1.EID

func (*QueryApproversRequest) GetQuery added in v1.16.0

func (m *QueryApproversRequest) GetQuery() isQueryApproversRequest_Query

func (*QueryApproversRequest) GetTargetRole added in v1.16.0

func (x *QueryApproversRequest) GetTargetRole() *TargetRole

func (*QueryApproversRequest) ProtoMessage added in v1.16.0

func (*QueryApproversRequest) ProtoMessage()

func (*QueryApproversRequest) ProtoReflect added in v1.16.0

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

func (*QueryApproversRequest) Reset added in v1.16.0

func (x *QueryApproversRequest) Reset()

func (*QueryApproversRequest) String added in v1.16.0

func (x *QueryApproversRequest) String() string

func (*QueryApproversRequest) Validate added in v1.32.1

func (m *QueryApproversRequest) Validate() error

Validate checks the field values on QueryApproversRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryApproversRequest) ValidateAll added in v1.32.1

func (m *QueryApproversRequest) ValidateAll() error

ValidateAll checks the field values on QueryApproversRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryApproversRequestMultiError, or nil if none found.

type QueryApproversRequestMultiError added in v1.32.1

type QueryApproversRequestMultiError []error

QueryApproversRequestMultiError is an error wrapping multiple validation errors returned by QueryApproversRequest.ValidateAll() if the designated constraints aren't met.

func (QueryApproversRequestMultiError) AllErrors added in v1.32.1

func (m QueryApproversRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryApproversRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryApproversRequestValidationError added in v1.32.1

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

QueryApproversRequestValidationError is the validation error returned by QueryApproversRequest.Validate if the designated constraints aren't met.

func (QueryApproversRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryApproversRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryApproversRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryApproversRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryApproversRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryApproversRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryApproversRequest_Grant added in v1.16.0

type QueryApproversRequest_Grant struct {
	Grant *v1alpha1.EID `protobuf:"bytes,2,opt,name=grant,proto3,oneof"`
}

type QueryApproversRequest_TargetRole added in v1.16.0

type QueryApproversRequest_TargetRole struct {
	TargetRole *TargetRole `protobuf:"bytes,1,opt,name=target_role,json=targetRole,proto3,oneof"`
}

type QueryApproversResponse added in v1.16.0

type QueryApproversResponse struct {
	Approvers []*User `protobuf:"bytes,1,rep,name=approvers,proto3" json:"approvers,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryApproversResponse) Descriptor deprecated added in v1.16.0

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

Deprecated: Use QueryApproversResponse.ProtoReflect.Descriptor instead.

func (*QueryApproversResponse) GetApprovers added in v1.16.0

func (x *QueryApproversResponse) GetApprovers() []*User

func (*QueryApproversResponse) ProtoMessage added in v1.16.0

func (*QueryApproversResponse) ProtoMessage()

func (*QueryApproversResponse) ProtoReflect added in v1.16.0

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

func (*QueryApproversResponse) Reset added in v1.16.0

func (x *QueryApproversResponse) Reset()

func (*QueryApproversResponse) String added in v1.16.0

func (x *QueryApproversResponse) String() string

func (*QueryApproversResponse) Validate added in v1.32.1

func (m *QueryApproversResponse) Validate() error

Validate checks the field values on QueryApproversResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryApproversResponse) ValidateAll added in v1.32.1

func (m *QueryApproversResponse) ValidateAll() error

ValidateAll checks the field values on QueryApproversResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryApproversResponseMultiError, or nil if none found.

type QueryApproversResponseMultiError added in v1.32.1

type QueryApproversResponseMultiError []error

QueryApproversResponseMultiError is an error wrapping multiple validation errors returned by QueryApproversResponse.ValidateAll() if the designated constraints aren't met.

func (QueryApproversResponseMultiError) AllErrors added in v1.32.1

func (m QueryApproversResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryApproversResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryApproversResponseValidationError added in v1.32.1

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

QueryApproversResponseValidationError is the validation error returned by QueryApproversResponse.Validate if the designated constraints aren't met.

func (QueryApproversResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryApproversResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryApproversResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryApproversResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryApproversResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryApproversResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryAuditLogsRequest

type QueryAuditLogsRequest struct {

	// Query for audit logs relating to a particular target
	Target *v1alpha1.EID `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// The token for the next page.
	PageToken string `protobuf:"bytes,10,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAuditLogsRequest) Descriptor deprecated

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

Deprecated: Use QueryAuditLogsRequest.ProtoReflect.Descriptor instead.

func (*QueryAuditLogsRequest) GetPageToken

func (x *QueryAuditLogsRequest) GetPageToken() string

func (*QueryAuditLogsRequest) GetTarget

func (x *QueryAuditLogsRequest) GetTarget() *v1alpha1.EID

func (*QueryAuditLogsRequest) ProtoMessage

func (*QueryAuditLogsRequest) ProtoMessage()

func (*QueryAuditLogsRequest) ProtoReflect

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

func (*QueryAuditLogsRequest) Reset

func (x *QueryAuditLogsRequest) Reset()

func (*QueryAuditLogsRequest) String

func (x *QueryAuditLogsRequest) String() string

func (*QueryAuditLogsRequest) Validate added in v1.32.1

func (m *QueryAuditLogsRequest) Validate() error

Validate checks the field values on QueryAuditLogsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryAuditLogsRequest) ValidateAll added in v1.32.1

func (m *QueryAuditLogsRequest) ValidateAll() error

ValidateAll checks the field values on QueryAuditLogsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryAuditLogsRequestMultiError, or nil if none found.

type QueryAuditLogsRequestMultiError added in v1.32.1

type QueryAuditLogsRequestMultiError []error

QueryAuditLogsRequestMultiError is an error wrapping multiple validation errors returned by QueryAuditLogsRequest.ValidateAll() if the designated constraints aren't met.

func (QueryAuditLogsRequestMultiError) AllErrors added in v1.32.1

func (m QueryAuditLogsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryAuditLogsRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryAuditLogsRequestValidationError added in v1.32.1

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

QueryAuditLogsRequestValidationError is the validation error returned by QueryAuditLogsRequest.Validate if the designated constraints aren't met.

func (QueryAuditLogsRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryAuditLogsRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryAuditLogsRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryAuditLogsRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryAuditLogsRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryAuditLogsRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryAuditLogsResponse

type QueryAuditLogsResponse struct {
	AuditLogs     []*AuditLog `protobuf:"bytes,1,rep,name=audit_logs,json=auditLogs,proto3" json:"audit_logs,omitempty"`
	NextPageToken string      `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAuditLogsResponse) Descriptor deprecated

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

Deprecated: Use QueryAuditLogsResponse.ProtoReflect.Descriptor instead.

func (*QueryAuditLogsResponse) GetAuditLogs

func (x *QueryAuditLogsResponse) GetAuditLogs() []*AuditLog

func (*QueryAuditLogsResponse) GetNextPageToken

func (x *QueryAuditLogsResponse) GetNextPageToken() string

func (*QueryAuditLogsResponse) ProtoMessage

func (*QueryAuditLogsResponse) ProtoMessage()

func (*QueryAuditLogsResponse) ProtoReflect

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

func (*QueryAuditLogsResponse) Reset

func (x *QueryAuditLogsResponse) Reset()

func (*QueryAuditLogsResponse) String

func (x *QueryAuditLogsResponse) String() string

func (*QueryAuditLogsResponse) Validate added in v1.32.1

func (m *QueryAuditLogsResponse) Validate() error

Validate checks the field values on QueryAuditLogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryAuditLogsResponse) ValidateAll added in v1.32.1

func (m *QueryAuditLogsResponse) ValidateAll() error

ValidateAll checks the field values on QueryAuditLogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryAuditLogsResponseMultiError, or nil if none found.

type QueryAuditLogsResponseMultiError added in v1.32.1

type QueryAuditLogsResponseMultiError []error

QueryAuditLogsResponseMultiError is an error wrapping multiple validation errors returned by QueryAuditLogsResponse.ValidateAll() if the designated constraints aren't met.

func (QueryAuditLogsResponseMultiError) AllErrors added in v1.32.1

func (m QueryAuditLogsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryAuditLogsResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryAuditLogsResponseValidationError added in v1.32.1

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

QueryAuditLogsResponseValidationError is the validation error returned by QueryAuditLogsResponse.Validate if the designated constraints aren't met.

func (QueryAuditLogsResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryAuditLogsResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryAuditLogsResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryAuditLogsResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryAuditLogsResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryAuditLogsResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryAvailabilitiesRequest

type QueryAvailabilitiesRequest struct {

	// The token for the next page.
	PageToken string `protobuf:"bytes,10,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAvailabilitiesRequest) Descriptor deprecated

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

Deprecated: Use QueryAvailabilitiesRequest.ProtoReflect.Descriptor instead.

func (*QueryAvailabilitiesRequest) GetPageToken

func (x *QueryAvailabilitiesRequest) GetPageToken() string

func (*QueryAvailabilitiesRequest) ProtoMessage

func (*QueryAvailabilitiesRequest) ProtoMessage()

func (*QueryAvailabilitiesRequest) ProtoReflect

func (*QueryAvailabilitiesRequest) Reset

func (x *QueryAvailabilitiesRequest) Reset()

func (*QueryAvailabilitiesRequest) String

func (x *QueryAvailabilitiesRequest) String() string

func (*QueryAvailabilitiesRequest) Validate added in v1.32.1

func (m *QueryAvailabilitiesRequest) Validate() error

Validate checks the field values on QueryAvailabilitiesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryAvailabilitiesRequest) ValidateAll added in v1.32.1

func (m *QueryAvailabilitiesRequest) ValidateAll() error

ValidateAll checks the field values on QueryAvailabilitiesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryAvailabilitiesRequestMultiError, or nil if none found.

type QueryAvailabilitiesRequestMultiError added in v1.32.1

type QueryAvailabilitiesRequestMultiError []error

QueryAvailabilitiesRequestMultiError is an error wrapping multiple validation errors returned by QueryAvailabilitiesRequest.ValidateAll() if the designated constraints aren't met.

func (QueryAvailabilitiesRequestMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (QueryAvailabilitiesRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryAvailabilitiesRequestValidationError added in v1.32.1

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

QueryAvailabilitiesRequestValidationError is the validation error returned by QueryAvailabilitiesRequest.Validate if the designated constraints aren't met.

func (QueryAvailabilitiesRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryAvailabilitiesRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryAvailabilitiesRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryAvailabilitiesRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryAvailabilitiesRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryAvailabilitiesRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryAvailabilitiesResponse

type QueryAvailabilitiesResponse struct {
	Availabilities []*Availability `protobuf:"bytes,1,rep,name=availabilities,proto3" json:"availabilities,omitempty"`
	NextPageToken  string          `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAvailabilitiesResponse) Descriptor deprecated

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

Deprecated: Use QueryAvailabilitiesResponse.ProtoReflect.Descriptor instead.

func (*QueryAvailabilitiesResponse) GetAvailabilities

func (x *QueryAvailabilitiesResponse) GetAvailabilities() []*Availability

func (*QueryAvailabilitiesResponse) GetNextPageToken

func (x *QueryAvailabilitiesResponse) GetNextPageToken() string

func (*QueryAvailabilitiesResponse) ProtoMessage

func (*QueryAvailabilitiesResponse) ProtoMessage()

func (*QueryAvailabilitiesResponse) ProtoReflect

func (*QueryAvailabilitiesResponse) Reset

func (x *QueryAvailabilitiesResponse) Reset()

func (*QueryAvailabilitiesResponse) String

func (x *QueryAvailabilitiesResponse) String() string

func (*QueryAvailabilitiesResponse) Validate added in v1.32.1

func (m *QueryAvailabilitiesResponse) Validate() error

Validate checks the field values on QueryAvailabilitiesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryAvailabilitiesResponse) ValidateAll added in v1.32.1

func (m *QueryAvailabilitiesResponse) ValidateAll() error

ValidateAll checks the field values on QueryAvailabilitiesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryAvailabilitiesResponseMultiError, or nil if none found.

type QueryAvailabilitiesResponseMultiError added in v1.32.1

type QueryAvailabilitiesResponseMultiError []error

QueryAvailabilitiesResponseMultiError is an error wrapping multiple validation errors returned by QueryAvailabilitiesResponse.ValidateAll() if the designated constraints aren't met.

func (QueryAvailabilitiesResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (QueryAvailabilitiesResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryAvailabilitiesResponseValidationError added in v1.32.1

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

QueryAvailabilitiesResponseValidationError is the validation error returned by QueryAvailabilitiesResponse.Validate if the designated constraints aren't met.

func (QueryAvailabilitiesResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryAvailabilitiesResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryAvailabilitiesResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryAvailabilitiesResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryAvailabilitiesResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryAvailabilitiesResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryDescendentsRequest

type QueryDescendentsRequest struct {
	Parent     *v1alpha1.EID `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	EntityType string        `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
	// The token for the next page.
	PageToken string `protobuf:"bytes,10,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryDescendentsRequest) Descriptor deprecated

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

Deprecated: Use QueryDescendentsRequest.ProtoReflect.Descriptor instead.

func (*QueryDescendentsRequest) GetEntityType

func (x *QueryDescendentsRequest) GetEntityType() string

func (*QueryDescendentsRequest) GetPageToken

func (x *QueryDescendentsRequest) GetPageToken() string

func (*QueryDescendentsRequest) GetParent

func (x *QueryDescendentsRequest) GetParent() *v1alpha1.EID

func (*QueryDescendentsRequest) ProtoMessage

func (*QueryDescendentsRequest) ProtoMessage()

func (*QueryDescendentsRequest) ProtoReflect

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

func (*QueryDescendentsRequest) Reset

func (x *QueryDescendentsRequest) Reset()

func (*QueryDescendentsRequest) String

func (x *QueryDescendentsRequest) String() string

func (*QueryDescendentsRequest) Validate added in v1.32.1

func (m *QueryDescendentsRequest) Validate() error

Validate checks the field values on QueryDescendentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryDescendentsRequest) ValidateAll added in v1.32.1

func (m *QueryDescendentsRequest) ValidateAll() error

ValidateAll checks the field values on QueryDescendentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryDescendentsRequestMultiError, or nil if none found.

type QueryDescendentsRequestMultiError added in v1.32.1

type QueryDescendentsRequestMultiError []error

QueryDescendentsRequestMultiError is an error wrapping multiple validation errors returned by QueryDescendentsRequest.ValidateAll() if the designated constraints aren't met.

func (QueryDescendentsRequestMultiError) AllErrors added in v1.32.1

func (m QueryDescendentsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryDescendentsRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryDescendentsRequestValidationError added in v1.32.1

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

QueryDescendentsRequestValidationError is the validation error returned by QueryDescendentsRequest.Validate if the designated constraints aren't met.

func (QueryDescendentsRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryDescendentsRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryDescendentsRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryDescendentsRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryDescendentsRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryDescendentsRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryDescendentsResponse

type QueryDescendentsResponse struct {
	Entities []*NamedEID `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	// The token for the next page.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryDescendentsResponse) Descriptor deprecated

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

Deprecated: Use QueryDescendentsResponse.ProtoReflect.Descriptor instead.

func (*QueryDescendentsResponse) GetEntities

func (x *QueryDescendentsResponse) GetEntities() []*NamedEID

func (*QueryDescendentsResponse) GetNextPageToken

func (x *QueryDescendentsResponse) GetNextPageToken() string

func (*QueryDescendentsResponse) ProtoMessage

func (*QueryDescendentsResponse) ProtoMessage()

func (*QueryDescendentsResponse) ProtoReflect

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

func (*QueryDescendentsResponse) Reset

func (x *QueryDescendentsResponse) Reset()

func (*QueryDescendentsResponse) String

func (x *QueryDescendentsResponse) String() string

func (*QueryDescendentsResponse) Validate added in v1.32.1

func (m *QueryDescendentsResponse) Validate() error

Validate checks the field values on QueryDescendentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryDescendentsResponse) ValidateAll added in v1.32.1

func (m *QueryDescendentsResponse) ValidateAll() error

ValidateAll checks the field values on QueryDescendentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryDescendentsResponseMultiError, or nil if none found.

type QueryDescendentsResponseMultiError added in v1.32.1

type QueryDescendentsResponseMultiError []error

QueryDescendentsResponseMultiError is an error wrapping multiple validation errors returned by QueryDescendentsResponse.ValidateAll() if the designated constraints aren't met.

func (QueryDescendentsResponseMultiError) AllErrors added in v1.32.1

func (m QueryDescendentsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryDescendentsResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryDescendentsResponseValidationError added in v1.32.1

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

QueryDescendentsResponseValidationError is the validation error returned by QueryDescendentsResponse.Validate if the designated constraints aren't met.

func (QueryDescendentsResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryDescendentsResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryDescendentsResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryDescendentsResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryDescendentsResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryDescendentsResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryEntitlementsRequest added in v1.14.0

type QueryEntitlementsRequest struct {
	TargetType *string `protobuf:"bytes,1,opt,name=target_type,json=targetType,proto3,oneof" json:"target_type,omitempty"`
	// The token for the next page.
	PageToken string `protobuf:"bytes,10,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEntitlementsRequest) Descriptor deprecated added in v1.14.0

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

Deprecated: Use QueryEntitlementsRequest.ProtoReflect.Descriptor instead.

func (*QueryEntitlementsRequest) GetPageToken added in v1.14.0

func (x *QueryEntitlementsRequest) GetPageToken() string

func (*QueryEntitlementsRequest) GetTargetType added in v1.16.0

func (x *QueryEntitlementsRequest) GetTargetType() string

func (*QueryEntitlementsRequest) ProtoMessage added in v1.14.0

func (*QueryEntitlementsRequest) ProtoMessage()

func (*QueryEntitlementsRequest) ProtoReflect added in v1.14.0

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

func (*QueryEntitlementsRequest) Reset added in v1.14.0

func (x *QueryEntitlementsRequest) Reset()

func (*QueryEntitlementsRequest) String added in v1.14.0

func (x *QueryEntitlementsRequest) String() string

func (*QueryEntitlementsRequest) Validate added in v1.32.1

func (m *QueryEntitlementsRequest) Validate() error

Validate checks the field values on QueryEntitlementsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryEntitlementsRequest) ValidateAll added in v1.32.1

func (m *QueryEntitlementsRequest) ValidateAll() error

ValidateAll checks the field values on QueryEntitlementsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryEntitlementsRequestMultiError, or nil if none found.

type QueryEntitlementsRequestMultiError added in v1.32.1

type QueryEntitlementsRequestMultiError []error

QueryEntitlementsRequestMultiError is an error wrapping multiple validation errors returned by QueryEntitlementsRequest.ValidateAll() if the designated constraints aren't met.

func (QueryEntitlementsRequestMultiError) AllErrors added in v1.32.1

func (m QueryEntitlementsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryEntitlementsRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryEntitlementsRequestValidationError added in v1.32.1

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

QueryEntitlementsRequestValidationError is the validation error returned by QueryEntitlementsRequest.Validate if the designated constraints aren't met.

func (QueryEntitlementsRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryEntitlementsRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryEntitlementsRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryEntitlementsRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryEntitlementsRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryEntitlementsRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryEntitlementsResponse added in v1.14.0

type QueryEntitlementsResponse struct {
	Entitlements  []*Entitlement `protobuf:"bytes,1,rep,name=entitlements,proto3" json:"entitlements,omitempty"`
	NextPageToken string         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEntitlementsResponse) Descriptor deprecated added in v1.14.0

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

Deprecated: Use QueryEntitlementsResponse.ProtoReflect.Descriptor instead.

func (*QueryEntitlementsResponse) GetEntitlements added in v1.14.0

func (x *QueryEntitlementsResponse) GetEntitlements() []*Entitlement

func (*QueryEntitlementsResponse) GetNextPageToken added in v1.14.0

func (x *QueryEntitlementsResponse) GetNextPageToken() string

func (*QueryEntitlementsResponse) ProtoMessage added in v1.14.0

func (*QueryEntitlementsResponse) ProtoMessage()

func (*QueryEntitlementsResponse) ProtoReflect added in v1.14.0

func (*QueryEntitlementsResponse) Reset added in v1.14.0

func (x *QueryEntitlementsResponse) Reset()

func (*QueryEntitlementsResponse) String added in v1.14.0

func (x *QueryEntitlementsResponse) String() string

func (*QueryEntitlementsResponse) Validate added in v1.32.1

func (m *QueryEntitlementsResponse) Validate() error

Validate checks the field values on QueryEntitlementsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryEntitlementsResponse) ValidateAll added in v1.32.1

func (m *QueryEntitlementsResponse) ValidateAll() error

ValidateAll checks the field values on QueryEntitlementsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryEntitlementsResponseMultiError, or nil if none found.

type QueryEntitlementsResponseMultiError added in v1.32.1

type QueryEntitlementsResponseMultiError []error

QueryEntitlementsResponseMultiError is an error wrapping multiple validation errors returned by QueryEntitlementsResponse.ValidateAll() if the designated constraints aren't met.

func (QueryEntitlementsResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (QueryEntitlementsResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryEntitlementsResponseValidationError added in v1.32.1

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

QueryEntitlementsResponseValidationError is the validation error returned by QueryEntitlementsResponse.Validate if the designated constraints aren't met.

func (QueryEntitlementsResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryEntitlementsResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryEntitlementsResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryEntitlementsResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryEntitlementsResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryEntitlementsResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryGrantChildrenRequest

type QueryGrantChildrenRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The token for the next page.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGrantChildrenRequest) Descriptor deprecated

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

Deprecated: Use QueryGrantChildrenRequest.ProtoReflect.Descriptor instead.

func (*QueryGrantChildrenRequest) GetId

func (x *QueryGrantChildrenRequest) GetId() string

func (*QueryGrantChildrenRequest) GetPageToken

func (x *QueryGrantChildrenRequest) GetPageToken() string

func (*QueryGrantChildrenRequest) ProtoMessage

func (*QueryGrantChildrenRequest) ProtoMessage()

func (*QueryGrantChildrenRequest) ProtoReflect

func (*QueryGrantChildrenRequest) Reset

func (x *QueryGrantChildrenRequest) Reset()

func (*QueryGrantChildrenRequest) String

func (x *QueryGrantChildrenRequest) String() string

func (*QueryGrantChildrenRequest) Validate added in v1.32.1

func (m *QueryGrantChildrenRequest) Validate() error

Validate checks the field values on QueryGrantChildrenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryGrantChildrenRequest) ValidateAll added in v1.32.1

func (m *QueryGrantChildrenRequest) ValidateAll() error

ValidateAll checks the field values on QueryGrantChildrenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryGrantChildrenRequestMultiError, or nil if none found.

type QueryGrantChildrenRequestMultiError added in v1.32.1

type QueryGrantChildrenRequestMultiError []error

QueryGrantChildrenRequestMultiError is an error wrapping multiple validation errors returned by QueryGrantChildrenRequest.ValidateAll() if the designated constraints aren't met.

func (QueryGrantChildrenRequestMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (QueryGrantChildrenRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryGrantChildrenRequestValidationError added in v1.32.1

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

QueryGrantChildrenRequestValidationError is the validation error returned by QueryGrantChildrenRequest.Validate if the designated constraints aren't met.

func (QueryGrantChildrenRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryGrantChildrenRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryGrantChildrenRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryGrantChildrenRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryGrantChildrenRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryGrantChildrenRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryGrantChildrenResponse

type QueryGrantChildrenResponse struct {
	Entities      []*v1alpha1.Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	NextPageToken string             `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGrantChildrenResponse) Descriptor deprecated

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

Deprecated: Use QueryGrantChildrenResponse.ProtoReflect.Descriptor instead.

func (*QueryGrantChildrenResponse) GetEntities

func (x *QueryGrantChildrenResponse) GetEntities() []*v1alpha1.Entity

func (*QueryGrantChildrenResponse) GetNextPageToken

func (x *QueryGrantChildrenResponse) GetNextPageToken() string

func (*QueryGrantChildrenResponse) ProtoMessage

func (*QueryGrantChildrenResponse) ProtoMessage()

func (*QueryGrantChildrenResponse) ProtoReflect

func (*QueryGrantChildrenResponse) Reset

func (x *QueryGrantChildrenResponse) Reset()

func (*QueryGrantChildrenResponse) String

func (x *QueryGrantChildrenResponse) String() string

func (*QueryGrantChildrenResponse) Validate added in v1.32.1

func (m *QueryGrantChildrenResponse) Validate() error

Validate checks the field values on QueryGrantChildrenResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryGrantChildrenResponse) ValidateAll added in v1.32.1

func (m *QueryGrantChildrenResponse) ValidateAll() error

ValidateAll checks the field values on QueryGrantChildrenResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryGrantChildrenResponseMultiError, or nil if none found.

type QueryGrantChildrenResponseMultiError added in v1.32.1

type QueryGrantChildrenResponseMultiError []error

QueryGrantChildrenResponseMultiError is an error wrapping multiple validation errors returned by QueryGrantChildrenResponse.ValidateAll() if the designated constraints aren't met.

func (QueryGrantChildrenResponseMultiError) AllErrors added in v1.32.1

AllErrors returns a list of validation violation errors.

func (QueryGrantChildrenResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryGrantChildrenResponseValidationError added in v1.32.1

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

QueryGrantChildrenResponseValidationError is the validation error returned by QueryGrantChildrenResponse.Validate if the designated constraints aren't met.

func (QueryGrantChildrenResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryGrantChildrenResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryGrantChildrenResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryGrantChildrenResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryGrantChildrenResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryGrantChildrenResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryGrantsRequest

type QueryGrantsRequest struct {

	// The token for the next page.
	PageToken string        `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Principal *v1alpha1.EID `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	Target    *v1alpha1.EID `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	Role      *v1alpha1.EID `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	// The status of the Grant.
	Status *GrantStatus `protobuf:"varint,5,opt,name=status,proto3,enum=commonfate.access.v1alpha1.GrantStatus,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGrantsRequest) Descriptor deprecated

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

Deprecated: Use QueryGrantsRequest.ProtoReflect.Descriptor instead.

func (*QueryGrantsRequest) GetPageToken

func (x *QueryGrantsRequest) GetPageToken() string

func (*QueryGrantsRequest) GetPrincipal

func (x *QueryGrantsRequest) GetPrincipal() *v1alpha1.EID

func (*QueryGrantsRequest) GetRole

func (x *QueryGrantsRequest) GetRole() *v1alpha1.EID

func (*QueryGrantsRequest) GetStatus

func (x *QueryGrantsRequest) GetStatus() GrantStatus

func (*QueryGrantsRequest) GetTarget

func (x *QueryGrantsRequest) GetTarget() *v1alpha1.EID

func (*QueryGrantsRequest) ProtoMessage

func (*QueryGrantsRequest) ProtoMessage()

func (*QueryGrantsRequest) ProtoReflect

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

func (*QueryGrantsRequest) Reset

func (x *QueryGrantsRequest) Reset()

func (*QueryGrantsRequest) String

func (x *QueryGrantsRequest) String() string

func (*QueryGrantsRequest) Validate added in v1.32.1

func (m *QueryGrantsRequest) Validate() error

Validate checks the field values on QueryGrantsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryGrantsRequest) ValidateAll added in v1.32.1

func (m *QueryGrantsRequest) ValidateAll() error

ValidateAll checks the field values on QueryGrantsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryGrantsRequestMultiError, or nil if none found.

type QueryGrantsRequestMultiError added in v1.32.1

type QueryGrantsRequestMultiError []error

QueryGrantsRequestMultiError is an error wrapping multiple validation errors returned by QueryGrantsRequest.ValidateAll() if the designated constraints aren't met.

func (QueryGrantsRequestMultiError) AllErrors added in v1.32.1

func (m QueryGrantsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryGrantsRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryGrantsRequestValidationError added in v1.32.1

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

QueryGrantsRequestValidationError is the validation error returned by QueryGrantsRequest.Validate if the designated constraints aren't met.

func (QueryGrantsRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryGrantsRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryGrantsRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryGrantsRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryGrantsRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryGrantsRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryGrantsResponse

type QueryGrantsResponse struct {
	Grants        []*Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants,omitempty"`
	NextPageToken string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGrantsResponse) Descriptor deprecated

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

Deprecated: Use QueryGrantsResponse.ProtoReflect.Descriptor instead.

func (*QueryGrantsResponse) GetGrants

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

func (*QueryGrantsResponse) GetNextPageToken

func (x *QueryGrantsResponse) GetNextPageToken() string

func (*QueryGrantsResponse) ProtoMessage

func (*QueryGrantsResponse) ProtoMessage()

func (*QueryGrantsResponse) ProtoReflect

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

func (*QueryGrantsResponse) Reset

func (x *QueryGrantsResponse) Reset()

func (*QueryGrantsResponse) String

func (x *QueryGrantsResponse) String() string

func (*QueryGrantsResponse) Validate added in v1.32.1

func (m *QueryGrantsResponse) Validate() error

Validate checks the field values on QueryGrantsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryGrantsResponse) ValidateAll added in v1.32.1

func (m *QueryGrantsResponse) ValidateAll() error

ValidateAll checks the field values on QueryGrantsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryGrantsResponseMultiError, or nil if none found.

type QueryGrantsResponseMultiError added in v1.32.1

type QueryGrantsResponseMultiError []error

QueryGrantsResponseMultiError is an error wrapping multiple validation errors returned by QueryGrantsResponse.ValidateAll() if the designated constraints aren't met.

func (QueryGrantsResponseMultiError) AllErrors added in v1.32.1

func (m QueryGrantsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryGrantsResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryGrantsResponseValidationError added in v1.32.1

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

QueryGrantsResponseValidationError is the validation error returned by QueryGrantsResponse.Validate if the designated constraints aren't met.

func (QueryGrantsResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryGrantsResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryGrantsResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryGrantsResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryGrantsResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryGrantsResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type Resource

type Resource struct {

	// Types that are assignable to Resource:
	//
	//	*Resource_AwsAccount
	//	*Resource_GcpProject
	Resource isResource_Resource `protobuf_oneof:"resource"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetAwsAccount

func (x *Resource) GetAwsAccount() *AWSAccount

func (*Resource) GetGcpProject

func (x *Resource) GetGcpProject() *GCPProject

func (*Resource) GetResource

func (m *Resource) GetResource() isResource_Resource

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

func (*Resource) Validate added in v1.32.1

func (m *Resource) Validate() error

Validate checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Resource) ValidateAll added in v1.32.1

func (m *Resource) ValidateAll() error

ValidateAll checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceMultiError, or nil if none found.

type ResourceMultiError added in v1.32.1

type ResourceMultiError []error

ResourceMultiError is an error wrapping multiple validation errors returned by Resource.ValidateAll() if the designated constraints aren't met.

func (ResourceMultiError) AllErrors added in v1.32.1

func (m ResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceMultiError) Error added in v1.32.1

func (m ResourceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ResourceValidationError added in v1.32.1

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

ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.

func (ResourceValidationError) Cause added in v1.32.1

func (e ResourceValidationError) Cause() error

Cause function returns cause value.

func (ResourceValidationError) Error added in v1.32.1

func (e ResourceValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceValidationError) ErrorName added in v1.32.1

func (e ResourceValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceValidationError) Field added in v1.32.1

func (e ResourceValidationError) Field() string

Field function returns field value.

func (ResourceValidationError) Key added in v1.32.1

func (e ResourceValidationError) Key() bool

Key function returns key value.

func (ResourceValidationError) Reason added in v1.32.1

func (e ResourceValidationError) Reason() string

Reason function returns reason value.

type Resource_AwsAccount

type Resource_AwsAccount struct {
	AwsAccount *AWSAccount `protobuf:"bytes,1,opt,name=aws_account,json=awsAccount,proto3,oneof"`
}

type Resource_GcpProject

type Resource_GcpProject struct {
	GcpProject *GCPProject `protobuf:"bytes,2,opt,name=gcp_project,json=gcpProject,proto3,oneof"`
}

type Specifier

type Specifier struct {

	// Types that are assignable to Specify:
	//
	//	*Specifier_Eid
	//	*Specifier_Lookup
	Specify isSpecifier_Specify `protobuf_oneof:"specify"`
	// contains filtered or unexported fields
}

func (*Specifier) Descriptor deprecated

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

Deprecated: Use Specifier.ProtoReflect.Descriptor instead.

func (*Specifier) GetEid

func (x *Specifier) GetEid() *v1alpha1.EID

func (*Specifier) GetLookup

func (x *Specifier) GetLookup() string

func (*Specifier) GetSpecify

func (m *Specifier) GetSpecify() isSpecifier_Specify

func (*Specifier) ProtoMessage

func (*Specifier) ProtoMessage()

func (*Specifier) ProtoReflect

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

func (*Specifier) Reset

func (x *Specifier) Reset()

func (*Specifier) String

func (x *Specifier) String() string

func (*Specifier) Validate added in v1.32.1

func (m *Specifier) Validate() error

Validate checks the field values on Specifier with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Specifier) ValidateAll added in v1.32.1

func (m *Specifier) ValidateAll() error

ValidateAll checks the field values on Specifier with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SpecifierMultiError, or nil if none found.

type SpecifierMultiError added in v1.32.1

type SpecifierMultiError []error

SpecifierMultiError is an error wrapping multiple validation errors returned by Specifier.ValidateAll() if the designated constraints aren't met.

func (SpecifierMultiError) AllErrors added in v1.32.1

func (m SpecifierMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SpecifierMultiError) Error added in v1.32.1

func (m SpecifierMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SpecifierValidationError added in v1.32.1

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

SpecifierValidationError is the validation error returned by Specifier.Validate if the designated constraints aren't met.

func (SpecifierValidationError) Cause added in v1.32.1

func (e SpecifierValidationError) Cause() error

Cause function returns cause value.

func (SpecifierValidationError) Error added in v1.32.1

func (e SpecifierValidationError) Error() string

Error satisfies the builtin error interface

func (SpecifierValidationError) ErrorName added in v1.32.1

func (e SpecifierValidationError) ErrorName() string

ErrorName returns error name.

func (SpecifierValidationError) Field added in v1.32.1

func (e SpecifierValidationError) Field() string

Field function returns field value.

func (SpecifierValidationError) Key added in v1.32.1

Key function returns key value.

func (SpecifierValidationError) Reason added in v1.32.1

func (e SpecifierValidationError) Reason() string

Reason function returns reason value.

type Specifier_Eid

type Specifier_Eid struct {
	// Specify a resource using a EID. If you're using Common Fate programatically
	// and you know the resource you want to specify, you should use this field.
	Eid *v1alpha1.EID `protobuf:"bytes,1,opt,name=eid,proto3,oneof"`
}

type Specifier_Lookup

type Specifier_Lookup struct {
	// Specify a resource using a string lookup. This is used in our CLI
	// to allow end users to look up resources by name, ID and/or EID.
	//
	// The order of matching is:
	// 1. the 'lookup' field will be parsed as a EID - if it's valid it will be a EID lookup
	// 2. the 'lookup' field will be matched against all resource IDs
	// 3. the 'lookup' field will be matched against all resource names.
	//
	// If the lookup is a valid EID but it is not found, the API will return a Not Found error.
	// The API will return an Invalid Arguments error if the lookup is ambiguous and could match
	// multiple resources.
	Lookup string `protobuf:"bytes,2,opt,name=lookup,proto3,oneof"`
}

type TargetRole added in v1.16.0

type TargetRole struct {
	Target *Specifier `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	Role   *Specifier `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*TargetRole) Descriptor deprecated added in v1.16.0

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

Deprecated: Use TargetRole.ProtoReflect.Descriptor instead.

func (*TargetRole) GetRole added in v1.16.0

func (x *TargetRole) GetRole() *Specifier

func (*TargetRole) GetTarget added in v1.16.0

func (x *TargetRole) GetTarget() *Specifier

func (*TargetRole) ProtoMessage added in v1.16.0

func (*TargetRole) ProtoMessage()

func (*TargetRole) ProtoReflect added in v1.16.0

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

func (*TargetRole) Reset added in v1.16.0

func (x *TargetRole) Reset()

func (*TargetRole) String added in v1.16.0

func (x *TargetRole) String() string

func (*TargetRole) Validate added in v1.32.1

func (m *TargetRole) Validate() error

Validate checks the field values on TargetRole with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TargetRole) ValidateAll added in v1.32.1

func (m *TargetRole) ValidateAll() error

ValidateAll checks the field values on TargetRole with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TargetRoleMultiError, or nil if none found.

type TargetRoleMultiError added in v1.32.1

type TargetRoleMultiError []error

TargetRoleMultiError is an error wrapping multiple validation errors returned by TargetRole.ValidateAll() if the designated constraints aren't met.

func (TargetRoleMultiError) AllErrors added in v1.32.1

func (m TargetRoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TargetRoleMultiError) Error added in v1.32.1

func (m TargetRoleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TargetRoleValidationError added in v1.32.1

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

TargetRoleValidationError is the validation error returned by TargetRole.Validate if the designated constraints aren't met.

func (TargetRoleValidationError) Cause added in v1.32.1

func (e TargetRoleValidationError) Cause() error

Cause function returns cause value.

func (TargetRoleValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (TargetRoleValidationError) ErrorName added in v1.32.1

func (e TargetRoleValidationError) ErrorName() string

ErrorName returns error name.

func (TargetRoleValidationError) Field added in v1.32.1

Field function returns field value.

func (TargetRoleValidationError) Key added in v1.32.1

Key function returns key value.

func (TargetRoleValidationError) Reason added in v1.32.1

func (e TargetRoleValidationError) Reason() string

Reason function returns reason value.

type User

type User struct {
	Eid   *v1alpha1.EID `protobuf:"bytes,1,opt,name=eid,proto3" json:"eid,omitempty"`
	Name  string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Email string        `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) Display

func (u *User) Display() string

func (*User) GetEid

func (x *User) GetEid() *v1alpha1.EID

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetName

func (x *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate added in v1.32.1

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*User) ValidateAll added in v1.32.1

func (m *User) ValidateAll() error

ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.

type UserMultiError added in v1.32.1

type UserMultiError []error

UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.

func (UserMultiError) AllErrors added in v1.32.1

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error added in v1.32.1

func (m UserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserValidationError added in v1.32.1

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

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause added in v1.32.1

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error added in v1.32.1

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName added in v1.32.1

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field added in v1.32.1

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key added in v1.32.1

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason added in v1.32.1

func (e UserValidationError) Reason() string

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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