attributes

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: BSD-3-Clause-Clear Imports: 13 Imported by: 9

Documentation

Index

Constants

View Source
const (
	AttributesService_ListAttributes_FullMethodName                     = "/policy.attributes.AttributesService/ListAttributes"
	AttributesService_ListAttributeValues_FullMethodName                = "/policy.attributes.AttributesService/ListAttributeValues"
	AttributesService_GetAttribute_FullMethodName                       = "/policy.attributes.AttributesService/GetAttribute"
	AttributesService_GetAttributeValuesByFqns_FullMethodName           = "/policy.attributes.AttributesService/GetAttributeValuesByFqns"
	AttributesService_GetKeyMappingsByFqns_FullMethodName               = "/policy.attributes.AttributesService/GetKeyMappingsByFqns"
	AttributesService_GetEntitleableAttributesByFqns_FullMethodName     = "/policy.attributes.AttributesService/GetEntitleableAttributesByFqns"
	AttributesService_CreateAttribute_FullMethodName                    = "/policy.attributes.AttributesService/CreateAttribute"
	AttributesService_UpdateAttribute_FullMethodName                    = "/policy.attributes.AttributesService/UpdateAttribute"
	AttributesService_DeactivateAttribute_FullMethodName                = "/policy.attributes.AttributesService/DeactivateAttribute"
	AttributesService_GetAttributeValue_FullMethodName                  = "/policy.attributes.AttributesService/GetAttributeValue"
	AttributesService_CreateAttributeValue_FullMethodName               = "/policy.attributes.AttributesService/CreateAttributeValue"
	AttributesService_UpdateAttributeValue_FullMethodName               = "/policy.attributes.AttributesService/UpdateAttributeValue"
	AttributesService_DeactivateAttributeValue_FullMethodName           = "/policy.attributes.AttributesService/DeactivateAttributeValue"
	AttributesService_AssignKeyAccessServerToAttribute_FullMethodName   = "/policy.attributes.AttributesService/AssignKeyAccessServerToAttribute"
	AttributesService_RemoveKeyAccessServerFromAttribute_FullMethodName = "/policy.attributes.AttributesService/RemoveKeyAccessServerFromAttribute"
	AttributesService_AssignKeyAccessServerToValue_FullMethodName       = "/policy.attributes.AttributesService/AssignKeyAccessServerToValue"
	AttributesService_RemoveKeyAccessServerFromValue_FullMethodName     = "/policy.attributes.AttributesService/RemoveKeyAccessServerFromValue"
	AttributesService_AssignPublicKeyToAttribute_FullMethodName         = "/policy.attributes.AttributesService/AssignPublicKeyToAttribute"
	AttributesService_RemovePublicKeyFromAttribute_FullMethodName       = "/policy.attributes.AttributesService/RemovePublicKeyFromAttribute"
	AttributesService_AssignPublicKeyToValue_FullMethodName             = "/policy.attributes.AttributesService/AssignPublicKeyToValue"
	AttributesService_RemovePublicKeyFromValue_FullMethodName           = "/policy.attributes.AttributesService/RemovePublicKeyFromValue"
)

Variables

View Source
var (
	SortAttributesType_name = map[int32]string{
		0: "SORT_ATTRIBUTES_TYPE_UNSPECIFIED",
		1: "SORT_ATTRIBUTES_TYPE_NAME",
		2: "SORT_ATTRIBUTES_TYPE_CREATED_AT",
		3: "SORT_ATTRIBUTES_TYPE_UPDATED_AT",
	}
	SortAttributesType_value = map[string]int32{
		"SORT_ATTRIBUTES_TYPE_UNSPECIFIED": 0,
		"SORT_ATTRIBUTES_TYPE_NAME":        1,
		"SORT_ATTRIBUTES_TYPE_CREATED_AT":  2,
		"SORT_ATTRIBUTES_TYPE_UPDATED_AT":  3,
	}
)

Enum value maps for SortAttributesType.

View Source
var AttributesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "policy.attributes.AttributesService",
	HandlerType: (*AttributesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAttributes",
			Handler:    _AttributesService_ListAttributes_Handler,
		},
		{
			MethodName: "ListAttributeValues",
			Handler:    _AttributesService_ListAttributeValues_Handler,
		},
		{
			MethodName: "GetAttribute",
			Handler:    _AttributesService_GetAttribute_Handler,
		},
		{
			MethodName: "GetAttributeValuesByFqns",
			Handler:    _AttributesService_GetAttributeValuesByFqns_Handler,
		},
		{
			MethodName: "GetKeyMappingsByFqns",
			Handler:    _AttributesService_GetKeyMappingsByFqns_Handler,
		},
		{
			MethodName: "GetEntitleableAttributesByFqns",
			Handler:    _AttributesService_GetEntitleableAttributesByFqns_Handler,
		},
		{
			MethodName: "CreateAttribute",
			Handler:    _AttributesService_CreateAttribute_Handler,
		},
		{
			MethodName: "UpdateAttribute",
			Handler:    _AttributesService_UpdateAttribute_Handler,
		},
		{
			MethodName: "DeactivateAttribute",
			Handler:    _AttributesService_DeactivateAttribute_Handler,
		},
		{
			MethodName: "GetAttributeValue",
			Handler:    _AttributesService_GetAttributeValue_Handler,
		},
		{
			MethodName: "CreateAttributeValue",
			Handler:    _AttributesService_CreateAttributeValue_Handler,
		},
		{
			MethodName: "UpdateAttributeValue",
			Handler:    _AttributesService_UpdateAttributeValue_Handler,
		},
		{
			MethodName: "DeactivateAttributeValue",
			Handler:    _AttributesService_DeactivateAttributeValue_Handler,
		},
		{
			MethodName: "AssignKeyAccessServerToAttribute",
			Handler:    _AttributesService_AssignKeyAccessServerToAttribute_Handler,
		},
		{
			MethodName: "RemoveKeyAccessServerFromAttribute",
			Handler:    _AttributesService_RemoveKeyAccessServerFromAttribute_Handler,
		},
		{
			MethodName: "AssignKeyAccessServerToValue",
			Handler:    _AttributesService_AssignKeyAccessServerToValue_Handler,
		},
		{
			MethodName: "RemoveKeyAccessServerFromValue",
			Handler:    _AttributesService_RemoveKeyAccessServerFromValue_Handler,
		},
		{
			MethodName: "AssignPublicKeyToAttribute",
			Handler:    _AttributesService_AssignPublicKeyToAttribute_Handler,
		},
		{
			MethodName: "RemovePublicKeyFromAttribute",
			Handler:    _AttributesService_RemovePublicKeyFromAttribute_Handler,
		},
		{
			MethodName: "AssignPublicKeyToValue",
			Handler:    _AttributesService_AssignPublicKeyToValue_Handler,
		},
		{
			MethodName: "RemovePublicKeyFromValue",
			Handler:    _AttributesService_RemovePublicKeyFromValue_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "policy/attributes/attributes.proto",
}

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

View Source
var File_policy_attributes_attributes_proto protoreflect.FileDescriptor

Functions

func RegisterAttributesServiceServer

func RegisterAttributesServiceServer(s grpc.ServiceRegistrar, srv AttributesServiceServer)

Types

type AssignKeyAccessServerToAttributeRequest deprecated

type AssignKeyAccessServerToAttributeRequest struct {

	// Required
	AttributeKeyAccessServer *AttributeKeyAccessServer `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deprecated: utilize AssignPublicKeyToAttributeRequest

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*AssignKeyAccessServerToAttributeRequest) Descriptor deprecated

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

Deprecated: Use AssignKeyAccessServerToAttributeRequest.ProtoReflect.Descriptor instead.

func (*AssignKeyAccessServerToAttributeRequest) GetAttributeKeyAccessServer

func (x *AssignKeyAccessServerToAttributeRequest) GetAttributeKeyAccessServer() *AttributeKeyAccessServer

func (*AssignKeyAccessServerToAttributeRequest) ProtoMessage

func (*AssignKeyAccessServerToAttributeRequest) ProtoReflect

func (*AssignKeyAccessServerToAttributeRequest) Reset

func (*AssignKeyAccessServerToAttributeRequest) String

type AssignKeyAccessServerToAttributeResponse deprecated

type AssignKeyAccessServerToAttributeResponse struct {
	AttributeKeyAccessServer *AttributeKeyAccessServer `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*AssignKeyAccessServerToAttributeResponse) Descriptor deprecated

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

Deprecated: Use AssignKeyAccessServerToAttributeResponse.ProtoReflect.Descriptor instead.

func (*AssignKeyAccessServerToAttributeResponse) GetAttributeKeyAccessServer

func (x *AssignKeyAccessServerToAttributeResponse) GetAttributeKeyAccessServer() *AttributeKeyAccessServer

func (*AssignKeyAccessServerToAttributeResponse) ProtoMessage

func (*AssignKeyAccessServerToAttributeResponse) ProtoReflect

func (*AssignKeyAccessServerToAttributeResponse) Reset

func (*AssignKeyAccessServerToAttributeResponse) String

type AssignKeyAccessServerToValueRequest deprecated

type AssignKeyAccessServerToValueRequest struct {

	// Required
	ValueKeyAccessServer *ValueKeyAccessServer `protobuf:"bytes,1,opt,name=value_key_access_server,json=valueKeyAccessServer,proto3" json:"value_key_access_server,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: utilize AssignPublicKeyToValueRequest

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*AssignKeyAccessServerToValueRequest) Descriptor deprecated

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

Deprecated: Use AssignKeyAccessServerToValueRequest.ProtoReflect.Descriptor instead.

func (*AssignKeyAccessServerToValueRequest) GetValueKeyAccessServer

func (x *AssignKeyAccessServerToValueRequest) GetValueKeyAccessServer() *ValueKeyAccessServer

func (*AssignKeyAccessServerToValueRequest) ProtoMessage

func (*AssignKeyAccessServerToValueRequest) ProtoMessage()

func (*AssignKeyAccessServerToValueRequest) ProtoReflect

func (*AssignKeyAccessServerToValueRequest) Reset

func (*AssignKeyAccessServerToValueRequest) String

type AssignKeyAccessServerToValueResponse deprecated

type AssignKeyAccessServerToValueResponse struct {
	ValueKeyAccessServer *ValueKeyAccessServer `protobuf:"bytes,1,opt,name=value_key_access_server,json=valueKeyAccessServer,proto3" json:"value_key_access_server,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*AssignKeyAccessServerToValueResponse) Descriptor deprecated

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

Deprecated: Use AssignKeyAccessServerToValueResponse.ProtoReflect.Descriptor instead.

func (*AssignKeyAccessServerToValueResponse) GetValueKeyAccessServer

func (x *AssignKeyAccessServerToValueResponse) GetValueKeyAccessServer() *ValueKeyAccessServer

func (*AssignKeyAccessServerToValueResponse) ProtoMessage

func (*AssignKeyAccessServerToValueResponse) ProtoMessage()

func (*AssignKeyAccessServerToValueResponse) ProtoReflect

func (*AssignKeyAccessServerToValueResponse) Reset

func (*AssignKeyAccessServerToValueResponse) String

type AssignPublicKeyToAttributeRequest added in v0.3.3

type AssignPublicKeyToAttributeRequest struct {

	// Required
	AttributeKey *AttributeKey `protobuf:"bytes,1,opt,name=attribute_key,json=attributeKey,proto3" json:"attribute_key,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignPublicKeyToAttributeRequest) Descriptor deprecated added in v0.3.3

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

Deprecated: Use AssignPublicKeyToAttributeRequest.ProtoReflect.Descriptor instead.

func (*AssignPublicKeyToAttributeRequest) GetAttributeKey added in v0.3.3

func (x *AssignPublicKeyToAttributeRequest) GetAttributeKey() *AttributeKey

func (*AssignPublicKeyToAttributeRequest) ProtoMessage added in v0.3.3

func (*AssignPublicKeyToAttributeRequest) ProtoMessage()

func (*AssignPublicKeyToAttributeRequest) ProtoReflect added in v0.3.3

func (*AssignPublicKeyToAttributeRequest) Reset added in v0.3.3

func (*AssignPublicKeyToAttributeRequest) String added in v0.3.3

type AssignPublicKeyToAttributeResponse added in v0.3.3

type AssignPublicKeyToAttributeResponse struct {

	// Required
	AttributeKey *AttributeKey `protobuf:"bytes,1,opt,name=attribute_key,json=attributeKey,proto3" json:"attribute_key,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignPublicKeyToAttributeResponse) Descriptor deprecated added in v0.3.3

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

Deprecated: Use AssignPublicKeyToAttributeResponse.ProtoReflect.Descriptor instead.

func (*AssignPublicKeyToAttributeResponse) GetAttributeKey added in v0.3.3

func (x *AssignPublicKeyToAttributeResponse) GetAttributeKey() *AttributeKey

func (*AssignPublicKeyToAttributeResponse) ProtoMessage added in v0.3.3

func (*AssignPublicKeyToAttributeResponse) ProtoMessage()

func (*AssignPublicKeyToAttributeResponse) ProtoReflect added in v0.3.3

func (*AssignPublicKeyToAttributeResponse) Reset added in v0.3.3

func (*AssignPublicKeyToAttributeResponse) String added in v0.3.3

type AssignPublicKeyToValueRequest added in v0.3.3

type AssignPublicKeyToValueRequest struct {

	// Required
	ValueKey *ValueKey `protobuf:"bytes,1,opt,name=value_key,json=valueKey,proto3" json:"value_key,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignPublicKeyToValueRequest) Descriptor deprecated added in v0.3.3

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

Deprecated: Use AssignPublicKeyToValueRequest.ProtoReflect.Descriptor instead.

func (*AssignPublicKeyToValueRequest) GetValueKey added in v0.3.3

func (x *AssignPublicKeyToValueRequest) GetValueKey() *ValueKey

func (*AssignPublicKeyToValueRequest) ProtoMessage added in v0.3.3

func (*AssignPublicKeyToValueRequest) ProtoMessage()

func (*AssignPublicKeyToValueRequest) ProtoReflect added in v0.3.3

func (*AssignPublicKeyToValueRequest) Reset added in v0.3.3

func (x *AssignPublicKeyToValueRequest) Reset()

func (*AssignPublicKeyToValueRequest) String added in v0.3.3

type AssignPublicKeyToValueResponse added in v0.3.3

type AssignPublicKeyToValueResponse struct {

	// Required
	ValueKey *ValueKey `protobuf:"bytes,1,opt,name=value_key,json=valueKey,proto3" json:"value_key,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignPublicKeyToValueResponse) Descriptor deprecated added in v0.3.3

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

Deprecated: Use AssignPublicKeyToValueResponse.ProtoReflect.Descriptor instead.

func (*AssignPublicKeyToValueResponse) GetValueKey added in v0.3.3

func (x *AssignPublicKeyToValueResponse) GetValueKey() *ValueKey

func (*AssignPublicKeyToValueResponse) ProtoMessage added in v0.3.3

func (*AssignPublicKeyToValueResponse) ProtoMessage()

func (*AssignPublicKeyToValueResponse) ProtoReflect added in v0.3.3

func (*AssignPublicKeyToValueResponse) Reset added in v0.3.3

func (x *AssignPublicKeyToValueResponse) Reset()

func (*AssignPublicKeyToValueResponse) String added in v0.3.3

type AttributeKey added in v0.2.24

type AttributeKey struct {

	// Required
	AttributeId string `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	// Required
	KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributeKey) Descriptor deprecated added in v0.2.24

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

Deprecated: Use AttributeKey.ProtoReflect.Descriptor instead.

func (*AttributeKey) GetAttributeId added in v0.2.24

func (x *AttributeKey) GetAttributeId() string

func (*AttributeKey) GetKeyId added in v0.2.24

func (x *AttributeKey) GetKeyId() string

func (*AttributeKey) ProtoMessage added in v0.2.24

func (*AttributeKey) ProtoMessage()

func (*AttributeKey) ProtoReflect added in v0.2.24

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

func (*AttributeKey) Reset added in v0.2.24

func (x *AttributeKey) Reset()

func (*AttributeKey) String added in v0.2.24

func (x *AttributeKey) String() string

type AttributeKeyAccessServer deprecated

type AttributeKeyAccessServer struct {

	// Required
	AttributeId string `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	// Required
	KeyAccessServerId string `protobuf:"bytes,2,opt,name=key_access_server_id,json=keyAccessServerId,proto3" json:"key_access_server_id,omitempty"`
	// contains filtered or unexported fields
}

Deprecated

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*AttributeKeyAccessServer) Descriptor deprecated

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

Deprecated: Use AttributeKeyAccessServer.ProtoReflect.Descriptor instead.

func (*AttributeKeyAccessServer) GetAttributeId

func (x *AttributeKeyAccessServer) GetAttributeId() string

func (*AttributeKeyAccessServer) GetKeyAccessServerId

func (x *AttributeKeyAccessServer) GetKeyAccessServerId() string

func (*AttributeKeyAccessServer) ProtoMessage

func (*AttributeKeyAccessServer) ProtoMessage()

func (*AttributeKeyAccessServer) ProtoReflect

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

func (*AttributeKeyAccessServer) Reset

func (x *AttributeKeyAccessServer) Reset()

func (*AttributeKeyAccessServer) String

func (x *AttributeKeyAccessServer) String() string

type AttributeValueObligationTriggerRequest added in v0.29.0

type AttributeValueObligationTriggerRequest struct {

	// Required. Existing obligation value to associate with the newly created attribute value.
	ObligationValue *common.IdFqnIdentifier `protobuf:"bytes,1,opt,name=obligation_value,json=obligationValue,proto3" json:"obligation_value,omitempty"`
	// Required. Action that, together with the newly created attribute value, triggers the obligation value.
	Action *common.IdNameIdentifier `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// Optional. Request context for the obligation trigger.
	Context *policy.RequestContext `protobuf:"bytes,11,opt,name=context,proto3" json:"context,omitempty"`
	// Optional. Common metadata for the obligation trigger.
	Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributeValueObligationTriggerRequest) Descriptor deprecated added in v0.29.0

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

Deprecated: Use AttributeValueObligationTriggerRequest.ProtoReflect.Descriptor instead.

func (*AttributeValueObligationTriggerRequest) GetAction added in v0.29.0

func (*AttributeValueObligationTriggerRequest) GetContext added in v0.29.0

func (*AttributeValueObligationTriggerRequest) GetMetadata added in v0.29.0

func (*AttributeValueObligationTriggerRequest) GetObligationValue added in v0.29.0

func (*AttributeValueObligationTriggerRequest) ProtoMessage added in v0.29.0

func (*AttributeValueObligationTriggerRequest) ProtoReflect added in v0.29.0

func (*AttributeValueObligationTriggerRequest) Reset added in v0.29.0

func (*AttributeValueObligationTriggerRequest) String added in v0.29.0

type AttributeValueSubjectMappingRequest added in v0.39.0

type AttributeValueSubjectMappingRequest struct {

	// Required. The actions permitted by subjects in this mapping.
	Actions []*policy.Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// Reuse an existing SubjectConditionSet.
	ExistingSubjectConditionSetId string `` /* 154-byte string literal not displayed */
	// Create a new SubjectConditionSet.
	NewSubjectConditionSet *subjectmapping.SubjectConditionSetCreate `` /* 131-byte string literal not displayed */
	NamespaceId            string                                    `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	NamespaceFqn           string                                    `protobuf:"bytes,5,opt,name=namespace_fqn,json=namespaceFqn,proto3" json:"namespace_fqn,omitempty"`
	// Optional. Common metadata for the subject mapping.
	Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributeValueSubjectMappingRequest) Descriptor deprecated added in v0.39.0

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

Deprecated: Use AttributeValueSubjectMappingRequest.ProtoReflect.Descriptor instead.

func (*AttributeValueSubjectMappingRequest) GetActions added in v0.39.0

func (*AttributeValueSubjectMappingRequest) GetExistingSubjectConditionSetId added in v0.39.0

func (x *AttributeValueSubjectMappingRequest) GetExistingSubjectConditionSetId() string

func (*AttributeValueSubjectMappingRequest) GetMetadata added in v0.39.0

func (*AttributeValueSubjectMappingRequest) GetNamespaceFqn added in v0.39.0

func (x *AttributeValueSubjectMappingRequest) GetNamespaceFqn() string

func (*AttributeValueSubjectMappingRequest) GetNamespaceId added in v0.39.0

func (x *AttributeValueSubjectMappingRequest) GetNamespaceId() string

func (*AttributeValueSubjectMappingRequest) GetNewSubjectConditionSet added in v0.39.0

func (*AttributeValueSubjectMappingRequest) ProtoMessage added in v0.39.0

func (*AttributeValueSubjectMappingRequest) ProtoMessage()

func (*AttributeValueSubjectMappingRequest) ProtoReflect added in v0.39.0

func (*AttributeValueSubjectMappingRequest) Reset added in v0.39.0

func (*AttributeValueSubjectMappingRequest) String added in v0.39.0

type AttributesServiceClient

type AttributesServiceClient interface {
	// --------------------------------------*
	// Attribute RPCs
	// ---------------------------------------
	ListAttributes(ctx context.Context, in *ListAttributesRequest, opts ...grpc.CallOption) (*ListAttributesResponse, error)
	// Deprecated: Do not use.
	// Deprecated
	// Use GetAttribute
	ListAttributeValues(ctx context.Context, in *ListAttributeValuesRequest, opts ...grpc.CallOption) (*ListAttributeValuesResponse, error)
	GetAttribute(ctx context.Context, in *GetAttributeRequest, opts ...grpc.CallOption) (*GetAttributeResponse, error)
	// Deprecated: Do not use.
	// Deprecated: Use GetKeyMappingsByFqns for client-side key splits and
	// GetEntitleableAttributesByFqns for server-side entitlement resolution.
	GetAttributeValuesByFqns(ctx context.Context, in *GetAttributeValuesByFqnsRequest, opts ...grpc.CallOption) (*GetAttributeValuesByFqnsResponse, error)
	// Returns only key-mapping information (rule and effective KAS keys) for the
	// requested attribute value FQNs, for client-side key split construction.
	GetKeyMappingsByFqns(ctx context.Context, in *GetKeyMappingsByFqnsRequest, opts ...grpc.CallOption) (*GetKeyMappingsByFqnsResponse, error)
	// Returns only entitlement-relevant information (rule, value identity, ordered
	// definition values, and subject mappings) for the requested attribute value
	// FQNs, for server-side decisioning / entitlement resolution.
	GetEntitleableAttributesByFqns(ctx context.Context, in *GetEntitleableAttributesByFqnsRequest, opts ...grpc.CallOption) (*GetEntitleableAttributesByFqnsResponse, error)
	CreateAttribute(ctx context.Context, in *CreateAttributeRequest, opts ...grpc.CallOption) (*CreateAttributeResponse, error)
	UpdateAttribute(ctx context.Context, in *UpdateAttributeRequest, opts ...grpc.CallOption) (*UpdateAttributeResponse, error)
	DeactivateAttribute(ctx context.Context, in *DeactivateAttributeRequest, opts ...grpc.CallOption) (*DeactivateAttributeResponse, error)
	// --------------------------------------*
	// Value RPCs
	// ---------------------------------------
	GetAttributeValue(ctx context.Context, in *GetAttributeValueRequest, opts ...grpc.CallOption) (*GetAttributeValueResponse, error)
	CreateAttributeValue(ctx context.Context, in *CreateAttributeValueRequest, opts ...grpc.CallOption) (*CreateAttributeValueResponse, error)
	UpdateAttributeValue(ctx context.Context, in *UpdateAttributeValueRequest, opts ...grpc.CallOption) (*UpdateAttributeValueResponse, error)
	DeactivateAttributeValue(ctx context.Context, in *DeactivateAttributeValueRequest, opts ...grpc.CallOption) (*DeactivateAttributeValueResponse, error)
	// Deprecated: Do not use.
	// Deprecated: utilize AssignPublicKeyToAttribute
	AssignKeyAccessServerToAttribute(ctx context.Context, in *AssignKeyAccessServerToAttributeRequest, opts ...grpc.CallOption) (*AssignKeyAccessServerToAttributeResponse, error)
	// Deprecated: Do not use.
	// Deprecated: utilize RemovePublicKeyFromAttribute
	RemoveKeyAccessServerFromAttribute(ctx context.Context, in *RemoveKeyAccessServerFromAttributeRequest, opts ...grpc.CallOption) (*RemoveKeyAccessServerFromAttributeResponse, error)
	// Deprecated: Do not use.
	// Deprecated: utilize AssignPublicKeyToValue
	AssignKeyAccessServerToValue(ctx context.Context, in *AssignKeyAccessServerToValueRequest, opts ...grpc.CallOption) (*AssignKeyAccessServerToValueResponse, error)
	// Deprecated: Do not use.
	// Deprecated: utilize RemovePublicKeyFromValue
	RemoveKeyAccessServerFromValue(ctx context.Context, in *RemoveKeyAccessServerFromValueRequest, opts ...grpc.CallOption) (*RemoveKeyAccessServerFromValueResponse, error)
	AssignPublicKeyToAttribute(ctx context.Context, in *AssignPublicKeyToAttributeRequest, opts ...grpc.CallOption) (*AssignPublicKeyToAttributeResponse, error)
	RemovePublicKeyFromAttribute(ctx context.Context, in *RemovePublicKeyFromAttributeRequest, opts ...grpc.CallOption) (*RemovePublicKeyFromAttributeResponse, error)
	AssignPublicKeyToValue(ctx context.Context, in *AssignPublicKeyToValueRequest, opts ...grpc.CallOption) (*AssignPublicKeyToValueResponse, error)
	RemovePublicKeyFromValue(ctx context.Context, in *RemovePublicKeyFromValueRequest, opts ...grpc.CallOption) (*RemovePublicKeyFromValueResponse, error)
}

AttributesServiceClient is the client API for AttributesService service.

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

type AttributesServiceServer

type AttributesServiceServer interface {
	// --------------------------------------*
	// Attribute RPCs
	// ---------------------------------------
	ListAttributes(context.Context, *ListAttributesRequest) (*ListAttributesResponse, error)
	// Deprecated: Do not use.
	// Deprecated
	// Use GetAttribute
	ListAttributeValues(context.Context, *ListAttributeValuesRequest) (*ListAttributeValuesResponse, error)
	GetAttribute(context.Context, *GetAttributeRequest) (*GetAttributeResponse, error)
	// Deprecated: Do not use.
	// Deprecated: Use GetKeyMappingsByFqns for client-side key splits and
	// GetEntitleableAttributesByFqns for server-side entitlement resolution.
	GetAttributeValuesByFqns(context.Context, *GetAttributeValuesByFqnsRequest) (*GetAttributeValuesByFqnsResponse, error)
	// Returns only key-mapping information (rule and effective KAS keys) for the
	// requested attribute value FQNs, for client-side key split construction.
	GetKeyMappingsByFqns(context.Context, *GetKeyMappingsByFqnsRequest) (*GetKeyMappingsByFqnsResponse, error)
	// Returns only entitlement-relevant information (rule, value identity, ordered
	// definition values, and subject mappings) for the requested attribute value
	// FQNs, for server-side decisioning / entitlement resolution.
	GetEntitleableAttributesByFqns(context.Context, *GetEntitleableAttributesByFqnsRequest) (*GetEntitleableAttributesByFqnsResponse, error)
	CreateAttribute(context.Context, *CreateAttributeRequest) (*CreateAttributeResponse, error)
	UpdateAttribute(context.Context, *UpdateAttributeRequest) (*UpdateAttributeResponse, error)
	DeactivateAttribute(context.Context, *DeactivateAttributeRequest) (*DeactivateAttributeResponse, error)
	// --------------------------------------*
	// Value RPCs
	// ---------------------------------------
	GetAttributeValue(context.Context, *GetAttributeValueRequest) (*GetAttributeValueResponse, error)
	CreateAttributeValue(context.Context, *CreateAttributeValueRequest) (*CreateAttributeValueResponse, error)
	UpdateAttributeValue(context.Context, *UpdateAttributeValueRequest) (*UpdateAttributeValueResponse, error)
	DeactivateAttributeValue(context.Context, *DeactivateAttributeValueRequest) (*DeactivateAttributeValueResponse, error)
	// Deprecated: Do not use.
	// Deprecated: utilize AssignPublicKeyToAttribute
	AssignKeyAccessServerToAttribute(context.Context, *AssignKeyAccessServerToAttributeRequest) (*AssignKeyAccessServerToAttributeResponse, error)
	// Deprecated: Do not use.
	// Deprecated: utilize RemovePublicKeyFromAttribute
	RemoveKeyAccessServerFromAttribute(context.Context, *RemoveKeyAccessServerFromAttributeRequest) (*RemoveKeyAccessServerFromAttributeResponse, error)
	// Deprecated: Do not use.
	// Deprecated: utilize AssignPublicKeyToValue
	AssignKeyAccessServerToValue(context.Context, *AssignKeyAccessServerToValueRequest) (*AssignKeyAccessServerToValueResponse, error)
	// Deprecated: Do not use.
	// Deprecated: utilize RemovePublicKeyFromValue
	RemoveKeyAccessServerFromValue(context.Context, *RemoveKeyAccessServerFromValueRequest) (*RemoveKeyAccessServerFromValueResponse, error)
	AssignPublicKeyToAttribute(context.Context, *AssignPublicKeyToAttributeRequest) (*AssignPublicKeyToAttributeResponse, error)
	RemovePublicKeyFromAttribute(context.Context, *RemovePublicKeyFromAttributeRequest) (*RemovePublicKeyFromAttributeResponse, error)
	AssignPublicKeyToValue(context.Context, *AssignPublicKeyToValueRequest) (*AssignPublicKeyToValueResponse, error)
	RemovePublicKeyFromValue(context.Context, *RemovePublicKeyFromValueRequest) (*RemovePublicKeyFromValueResponse, error)
	// contains filtered or unexported methods
}

AttributesServiceServer is the server API for AttributesService service. All implementations must embed UnimplementedAttributesServiceServer for forward compatibility

type AttributesSort added in v0.23.0

type AttributesSort struct {
	Field     SortAttributesType   `protobuf:"varint,1,opt,name=field,proto3,enum=policy.attributes.SortAttributesType" json:"field,omitempty"`
	Direction policy.SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=policy.SortDirection" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributesSort) Descriptor deprecated added in v0.23.0

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

Deprecated: Use AttributesSort.ProtoReflect.Descriptor instead.

func (*AttributesSort) GetDirection added in v0.23.0

func (x *AttributesSort) GetDirection() policy.SortDirection

func (*AttributesSort) GetField added in v0.23.0

func (x *AttributesSort) GetField() SortAttributesType

func (*AttributesSort) ProtoMessage added in v0.23.0

func (*AttributesSort) ProtoMessage()

func (*AttributesSort) ProtoReflect added in v0.23.0

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

func (*AttributesSort) Reset added in v0.23.0

func (x *AttributesSort) Reset()

func (*AttributesSort) String added in v0.23.0

func (x *AttributesSort) String() string

type CreateAttributeRequest

type CreateAttributeRequest struct {

	// Required
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	// Required
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Required
	Rule policy.AttributeRuleTypeEnum `protobuf:"varint,3,opt,name=rule,proto3,enum=policy.AttributeRuleTypeEnum" json:"rule,omitempty"`
	// Optional
	// Attribute values (when provided) must be alphanumeric strings, allowing hyphens and underscores but not as the first or last character.
	// The stored attribute value will be normalized to lower case.
	Values []string `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"`
	// Optional
	// Setting allow_traversal=true allows TDF creation to be front-loaded, meaning a customer
	// can create encrypted content with an attribute definitions key mapping before
	// creating the attribute values needed to decrypt.
	// Content will be able to be encrypted with missing attribute values,
	// but will not be able to be decrypted until such attribute values exist.
	AllowTraversal *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=allow_traversal,json=allowTraversal,proto3" json:"allow_traversal,omitempty"`
	// Optional
	Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAttributeRequest) Descriptor deprecated

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

Deprecated: Use CreateAttributeRequest.ProtoReflect.Descriptor instead.

func (*CreateAttributeRequest) GetAllowTraversal added in v0.15.0

func (x *CreateAttributeRequest) GetAllowTraversal() *wrapperspb.BoolValue

func (*CreateAttributeRequest) GetMetadata

func (x *CreateAttributeRequest) GetMetadata() *common.MetadataMutable

func (*CreateAttributeRequest) GetName

func (x *CreateAttributeRequest) GetName() string

func (*CreateAttributeRequest) GetNamespaceId

func (x *CreateAttributeRequest) GetNamespaceId() string

func (*CreateAttributeRequest) GetRule

func (*CreateAttributeRequest) GetValues

func (x *CreateAttributeRequest) GetValues() []string

func (*CreateAttributeRequest) ProtoMessage

func (*CreateAttributeRequest) ProtoMessage()

func (*CreateAttributeRequest) ProtoReflect

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

func (*CreateAttributeRequest) Reset

func (x *CreateAttributeRequest) Reset()

func (*CreateAttributeRequest) String

func (x *CreateAttributeRequest) String() string

type CreateAttributeResponse

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

func (*CreateAttributeResponse) Descriptor deprecated

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

Deprecated: Use CreateAttributeResponse.ProtoReflect.Descriptor instead.

func (*CreateAttributeResponse) GetAttribute

func (x *CreateAttributeResponse) GetAttribute() *policy.Attribute

func (*CreateAttributeResponse) ProtoMessage

func (*CreateAttributeResponse) ProtoMessage()

func (*CreateAttributeResponse) ProtoReflect

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

func (*CreateAttributeResponse) Reset

func (x *CreateAttributeResponse) Reset()

func (*CreateAttributeResponse) String

func (x *CreateAttributeResponse) String() string

type CreateAttributeValueRequest

type CreateAttributeValueRequest struct {

	// Required
	AttributeId string `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	// Required
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// Optional
	// Existing obligation values to trigger for the newly created attribute value.
	ObligationTriggers []*AttributeValueObligationTriggerRequest `protobuf:"bytes,11,rep,name=obligation_triggers,json=obligationTriggers,proto3" json:"obligation_triggers,omitempty"`
	// Optional
	// Subject mappings to associate with the newly created attribute value.
	SubjectMappings []*AttributeValueSubjectMappingRequest `protobuf:"bytes,12,rep,name=subject_mappings,json=subjectMappings,proto3" json:"subject_mappings,omitempty"`
	// Optional
	// Common metadata
	Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAttributeValueRequest) Descriptor deprecated

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

Deprecated: Use CreateAttributeValueRequest.ProtoReflect.Descriptor instead.

func (*CreateAttributeValueRequest) GetAttributeId

func (x *CreateAttributeValueRequest) GetAttributeId() string

func (*CreateAttributeValueRequest) GetMetadata

func (*CreateAttributeValueRequest) GetObligationTriggers added in v0.29.0

func (*CreateAttributeValueRequest) GetSubjectMappings added in v0.39.0

func (*CreateAttributeValueRequest) GetValue

func (x *CreateAttributeValueRequest) GetValue() string

func (*CreateAttributeValueRequest) ProtoMessage

func (*CreateAttributeValueRequest) ProtoMessage()

func (*CreateAttributeValueRequest) ProtoReflect

func (*CreateAttributeValueRequest) Reset

func (x *CreateAttributeValueRequest) Reset()

func (*CreateAttributeValueRequest) String

func (x *CreateAttributeValueRequest) String() string

type CreateAttributeValueResponse

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

func (*CreateAttributeValueResponse) Descriptor deprecated

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

Deprecated: Use CreateAttributeValueResponse.ProtoReflect.Descriptor instead.

func (*CreateAttributeValueResponse) GetValue

func (x *CreateAttributeValueResponse) GetValue() *policy.Value

func (*CreateAttributeValueResponse) ProtoMessage

func (*CreateAttributeValueResponse) ProtoMessage()

func (*CreateAttributeValueResponse) ProtoReflect

func (*CreateAttributeValueResponse) Reset

func (x *CreateAttributeValueResponse) Reset()

func (*CreateAttributeValueResponse) String

type DeactivateAttributeRequest

type DeactivateAttributeRequest struct {

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

func (*DeactivateAttributeRequest) Descriptor deprecated

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

Deprecated: Use DeactivateAttributeRequest.ProtoReflect.Descriptor instead.

func (*DeactivateAttributeRequest) GetId

func (*DeactivateAttributeRequest) ProtoMessage

func (*DeactivateAttributeRequest) ProtoMessage()

func (*DeactivateAttributeRequest) ProtoReflect

func (*DeactivateAttributeRequest) Reset

func (x *DeactivateAttributeRequest) Reset()

func (*DeactivateAttributeRequest) String

func (x *DeactivateAttributeRequest) String() string

type DeactivateAttributeResponse

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

func (*DeactivateAttributeResponse) Descriptor deprecated

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

Deprecated: Use DeactivateAttributeResponse.ProtoReflect.Descriptor instead.

func (*DeactivateAttributeResponse) GetAttribute

func (x *DeactivateAttributeResponse) GetAttribute() *policy.Attribute

func (*DeactivateAttributeResponse) ProtoMessage

func (*DeactivateAttributeResponse) ProtoMessage()

func (*DeactivateAttributeResponse) ProtoReflect

func (*DeactivateAttributeResponse) Reset

func (x *DeactivateAttributeResponse) Reset()

func (*DeactivateAttributeResponse) String

func (x *DeactivateAttributeResponse) String() string

type DeactivateAttributeValueRequest

type DeactivateAttributeValueRequest struct {

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

func (*DeactivateAttributeValueRequest) Descriptor deprecated

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

Deprecated: Use DeactivateAttributeValueRequest.ProtoReflect.Descriptor instead.

func (*DeactivateAttributeValueRequest) GetId

func (*DeactivateAttributeValueRequest) ProtoMessage

func (*DeactivateAttributeValueRequest) ProtoMessage()

func (*DeactivateAttributeValueRequest) ProtoReflect

func (*DeactivateAttributeValueRequest) Reset

func (*DeactivateAttributeValueRequest) String

type DeactivateAttributeValueResponse

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

func (*DeactivateAttributeValueResponse) Descriptor deprecated

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

Deprecated: Use DeactivateAttributeValueResponse.ProtoReflect.Descriptor instead.

func (*DeactivateAttributeValueResponse) GetValue

func (*DeactivateAttributeValueResponse) ProtoMessage

func (*DeactivateAttributeValueResponse) ProtoMessage()

func (*DeactivateAttributeValueResponse) ProtoReflect

func (*DeactivateAttributeValueResponse) Reset

func (*DeactivateAttributeValueResponse) String

type GetAttributeRequest

type GetAttributeRequest struct {

	// Deprecated: utilize identifier
	//
	// Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are assignable to Identifier:
	//
	//	*GetAttributeRequest_AttributeId
	//	*GetAttributeRequest_Fqn
	Identifier isGetAttributeRequest_Identifier `protobuf_oneof:"identifier"`
	// contains filtered or unexported fields
}

func (*GetAttributeRequest) Descriptor deprecated

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

Deprecated: Use GetAttributeRequest.ProtoReflect.Descriptor instead.

func (*GetAttributeRequest) GetAttributeId added in v0.2.26

func (x *GetAttributeRequest) GetAttributeId() string

func (*GetAttributeRequest) GetFqn added in v0.2.26

func (x *GetAttributeRequest) GetFqn() string

func (*GetAttributeRequest) GetId deprecated

func (x *GetAttributeRequest) GetId() string

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*GetAttributeRequest) GetIdentifier added in v0.2.26

func (m *GetAttributeRequest) GetIdentifier() isGetAttributeRequest_Identifier

func (*GetAttributeRequest) ProtoMessage

func (*GetAttributeRequest) ProtoMessage()

func (*GetAttributeRequest) ProtoReflect

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

func (*GetAttributeRequest) Reset

func (x *GetAttributeRequest) Reset()

func (*GetAttributeRequest) String

func (x *GetAttributeRequest) String() string

type GetAttributeRequest_AttributeId added in v0.2.26

type GetAttributeRequest_AttributeId struct {
	// option (buf.validate.oneof).required = true; // TODO: enable this when we remove the deprecated field
	AttributeId string `protobuf:"bytes,2,opt,name=attribute_id,json=attributeId,proto3,oneof"`
}

type GetAttributeRequest_Fqn added in v0.2.26

type GetAttributeRequest_Fqn struct {
	Fqn string `protobuf:"bytes,3,opt,name=fqn,proto3,oneof"`
}

type GetAttributeResponse

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

func (*GetAttributeResponse) Descriptor deprecated

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

Deprecated: Use GetAttributeResponse.ProtoReflect.Descriptor instead.

func (*GetAttributeResponse) GetAttribute

func (x *GetAttributeResponse) GetAttribute() *policy.Attribute

func (*GetAttributeResponse) ProtoMessage

func (*GetAttributeResponse) ProtoMessage()

func (*GetAttributeResponse) ProtoReflect

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

func (*GetAttributeResponse) Reset

func (x *GetAttributeResponse) Reset()

func (*GetAttributeResponse) String

func (x *GetAttributeResponse) String() string

type GetAttributeValueRequest

type GetAttributeValueRequest struct {

	// Deprecated: utilize identifier
	//
	// Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are assignable to Identifier:
	//
	//	*GetAttributeValueRequest_ValueId
	//	*GetAttributeValueRequest_Fqn
	Identifier isGetAttributeValueRequest_Identifier `protobuf_oneof:"identifier"`
	// contains filtered or unexported fields
}

/ / Value RPC messages /

func (*GetAttributeValueRequest) Descriptor deprecated

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

Deprecated: Use GetAttributeValueRequest.ProtoReflect.Descriptor instead.

func (*GetAttributeValueRequest) GetFqn added in v0.2.26

func (x *GetAttributeValueRequest) GetFqn() string

func (*GetAttributeValueRequest) GetId deprecated

func (x *GetAttributeValueRequest) GetId() string

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*GetAttributeValueRequest) GetIdentifier added in v0.2.26

func (m *GetAttributeValueRequest) GetIdentifier() isGetAttributeValueRequest_Identifier

func (*GetAttributeValueRequest) GetValueId added in v0.2.26

func (x *GetAttributeValueRequest) GetValueId() string

func (*GetAttributeValueRequest) ProtoMessage

func (*GetAttributeValueRequest) ProtoMessage()

func (*GetAttributeValueRequest) ProtoReflect

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

func (*GetAttributeValueRequest) Reset

func (x *GetAttributeValueRequest) Reset()

func (*GetAttributeValueRequest) String

func (x *GetAttributeValueRequest) String() string

type GetAttributeValueRequest_Fqn added in v0.2.26

type GetAttributeValueRequest_Fqn struct {
	Fqn string `protobuf:"bytes,3,opt,name=fqn,proto3,oneof"`
}

type GetAttributeValueRequest_ValueId added in v0.2.26

type GetAttributeValueRequest_ValueId struct {
	// option (buf.validate.oneof).required = true; // TODO: enable this when we remove the deprecated field
	ValueId string `protobuf:"bytes,2,opt,name=value_id,json=valueId,proto3,oneof"`
}

type GetAttributeValueResponse

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

func (*GetAttributeValueResponse) Descriptor deprecated

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

Deprecated: Use GetAttributeValueResponse.ProtoReflect.Descriptor instead.

func (*GetAttributeValueResponse) GetValue

func (x *GetAttributeValueResponse) GetValue() *policy.Value

func (*GetAttributeValueResponse) ProtoMessage

func (*GetAttributeValueResponse) ProtoMessage()

func (*GetAttributeValueResponse) ProtoReflect

func (*GetAttributeValueResponse) Reset

func (x *GetAttributeValueResponse) Reset()

func (*GetAttributeValueResponse) String

func (x *GetAttributeValueResponse) String() string

type GetAttributeValuesByFqnsRequest

type GetAttributeValuesByFqnsRequest struct {

	// Required
	// Fully Qualified Names of attribute values (i.e. https://<namespace>/attr/<attribute_name>/value/<value_name>), normalized to lower case.
	Fqns []string `protobuf:"bytes,1,rep,name=fqns,proto3" json:"fqns,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAttributeValuesByFqnsRequest) Descriptor deprecated

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

Deprecated: Use GetAttributeValuesByFqnsRequest.ProtoReflect.Descriptor instead.

func (*GetAttributeValuesByFqnsRequest) GetFqns

func (x *GetAttributeValuesByFqnsRequest) GetFqns() []string

func (*GetAttributeValuesByFqnsRequest) ProtoMessage

func (*GetAttributeValuesByFqnsRequest) ProtoMessage()

func (*GetAttributeValuesByFqnsRequest) ProtoReflect

func (*GetAttributeValuesByFqnsRequest) Reset

func (*GetAttributeValuesByFqnsRequest) String

type GetAttributeValuesByFqnsResponse

type GetAttributeValuesByFqnsResponse struct {

	// map of FQNs to complete attributes and the one selected value
	FqnAttributeValues map[string]*GetAttributeValuesByFqnsResponse_AttributeAndValue `` /* 205-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetAttributeValuesByFqnsResponse) Descriptor deprecated

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

Deprecated: Use GetAttributeValuesByFqnsResponse.ProtoReflect.Descriptor instead.

func (*GetAttributeValuesByFqnsResponse) GetFqnAttributeValues

func (*GetAttributeValuesByFqnsResponse) ProtoMessage

func (*GetAttributeValuesByFqnsResponse) ProtoMessage()

func (*GetAttributeValuesByFqnsResponse) ProtoReflect

func (*GetAttributeValuesByFqnsResponse) Reset

func (*GetAttributeValuesByFqnsResponse) String

type GetAttributeValuesByFqnsResponse_AttributeAndValue

type GetAttributeValuesByFqnsResponse_AttributeAndValue struct {
	Attribute *policy.Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
	Value     *policy.Value     `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) Descriptor deprecated

Deprecated: Use GetAttributeValuesByFqnsResponse_AttributeAndValue.ProtoReflect.Descriptor instead.

func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) GetAttribute

func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) GetValue

func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) ProtoMessage

func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) ProtoReflect

func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) Reset

func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) String

type GetEntitleableAttributesByFqnsRequest added in v0.37.0

type GetEntitleableAttributesByFqnsRequest struct {

	// Required
	// Fully Qualified Names of attribute values (i.e. https://<namespace>/attr/<attribute_name>/value/<value_name>), normalized to lower case.
	Fqns []string `protobuf:"bytes,1,rep,name=fqns,proto3" json:"fqns,omitempty"`
	// contains filtered or unexported fields
}

Entitleable Attributes By FQNs (server-side decisioning path)

Narrow read API for Auth Service / Access PDP entitlement resolution. Given attribute value FQNs, returns the parent definitions (deduped, each with its rule and namespace identity) and, per requested value, the value identity and the subject mappings needed to resolve entitlements. Hierarchy definitions additionally carry their ordered values with subject mappings, for hierarchy rule propagation. It does not return KAS keys, grants, resource mappings, obligations, or metadata. A value that does not exist under a definition with allow_traversal is returned with its definition and an empty value identity (no value_id, no subject mappings).

func (*GetEntitleableAttributesByFqnsRequest) Descriptor deprecated added in v0.37.0

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

Deprecated: Use GetEntitleableAttributesByFqnsRequest.ProtoReflect.Descriptor instead.

func (*GetEntitleableAttributesByFqnsRequest) GetFqns added in v0.37.0

func (*GetEntitleableAttributesByFqnsRequest) ProtoMessage added in v0.37.0

func (*GetEntitleableAttributesByFqnsRequest) ProtoMessage()

func (*GetEntitleableAttributesByFqnsRequest) ProtoReflect added in v0.37.0

func (*GetEntitleableAttributesByFqnsRequest) Reset added in v0.37.0

func (*GetEntitleableAttributesByFqnsRequest) String added in v0.37.0

type GetEntitleableAttributesByFqnsResponse added in v0.37.0

type GetEntitleableAttributesByFqnsResponse struct {

	// map of definition FQN to its definition, returned once each (deduped)
	Definitions map[string]*GetEntitleableAttributesByFqnsResponse_EntitleableDefinition `` /* 163-byte string literal not displayed */
	// map of requested value FQN to its value and parent definition reference, for O(1) lookup
	FqnEntitleableAttributes map[string]*GetEntitleableAttributesByFqnsResponse_EntitleableAttribute `` /* 223-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetEntitleableAttributesByFqnsResponse) Descriptor deprecated added in v0.37.0

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

Deprecated: Use GetEntitleableAttributesByFqnsResponse.ProtoReflect.Descriptor instead.

func (*GetEntitleableAttributesByFqnsResponse) GetDefinitions added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse) GetFqnEntitleableAttributes added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse) ProtoMessage added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse) ProtoReflect added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse) Reset added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse) String added in v0.37.0

type GetEntitleableAttributesByFqnsResponse_EntitleableAttribute added in v0.37.0

type GetEntitleableAttributesByFqnsResponse_EntitleableAttribute struct {

	// the FQN of the parent definition, a key into `definitions`
	DefinitionFqn string `protobuf:"bytes,1,opt,name=definition_fqn,json=definitionFqn,proto3" json:"definition_fqn,omitempty"`
	// the requested attribute value plus its subject mappings
	Value *GetEntitleableAttributesByFqnsResponse_EntitleableValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEntitleableAttributesByFqnsResponse_EntitleableAttribute) Descriptor deprecated added in v0.37.0

Deprecated: Use GetEntitleableAttributesByFqnsResponse_EntitleableAttribute.ProtoReflect.Descriptor instead.

func (*GetEntitleableAttributesByFqnsResponse_EntitleableAttribute) GetDefinitionFqn added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableAttribute) GetValue added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableAttribute) ProtoMessage added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableAttribute) ProtoReflect added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableAttribute) Reset added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableAttribute) String added in v0.37.0

type GetEntitleableAttributesByFqnsResponse_EntitleableDefinition added in v0.37.0

type GetEntitleableAttributesByFqnsResponse_EntitleableDefinition struct {

	// the attribute rule, which drives rule logic during decisioning
	Rule policy.AttributeRuleTypeEnum `protobuf:"varint,1,opt,name=rule,proto3,enum=policy.AttributeRuleTypeEnum" json:"rule,omitempty"`
	// the definition's values in order, each with its subject mappings. Populated
	// ONLY for hierarchy definitions (whose decisioning needs sibling values and
	// their mappings to propagate entitlement up the chain). Empty for any_of /
	// all_of, where the requested per-value entries below carry what's needed.
	Values []*GetEntitleableAttributesByFqnsResponse_EntitleableValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// the definition's namespace identity (id and fqn), needed for
	// namespaced-policy decisioning and registered-resource matching. Only the
	// identity is populated; grants, keys, and metadata are not.
	Namespace *policy.Namespace `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

An attribute definition referenced by one or more requested value FQNs, returned once regardless of how many of its values were requested.

func (*GetEntitleableAttributesByFqnsResponse_EntitleableDefinition) Descriptor deprecated added in v0.37.0

Deprecated: Use GetEntitleableAttributesByFqnsResponse_EntitleableDefinition.ProtoReflect.Descriptor instead.

func (*GetEntitleableAttributesByFqnsResponse_EntitleableDefinition) GetNamespace added in v0.38.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableDefinition) GetRule added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableDefinition) GetValues added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableDefinition) ProtoMessage added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableDefinition) ProtoReflect added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableDefinition) Reset added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableDefinition) String added in v0.37.0

type GetEntitleableAttributesByFqnsResponse_EntitleableValue added in v0.37.0

type GetEntitleableAttributesByFqnsResponse_EntitleableValue struct {

	// the attribute value FQN
	Fqn string `protobuf:"bytes,1,opt,name=fqn,proto3" json:"fqn,omitempty"`
	// identity of the attribute value
	ValueId string `protobuf:"bytes,2,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"`
	// subject mappings used to resolve entitlements for this value
	SubjectMappings []*policy.SubjectMapping `protobuf:"bytes,3,rep,name=subject_mappings,json=subjectMappings,proto3" json:"subject_mappings,omitempty"`
	// contains filtered or unexported fields
}

An attribute value plus the subject mappings that entitle it.

func (*GetEntitleableAttributesByFqnsResponse_EntitleableValue) Descriptor deprecated added in v0.37.0

Deprecated: Use GetEntitleableAttributesByFqnsResponse_EntitleableValue.ProtoReflect.Descriptor instead.

func (*GetEntitleableAttributesByFqnsResponse_EntitleableValue) GetFqn added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableValue) GetSubjectMappings added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableValue) GetValueId added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableValue) ProtoMessage added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableValue) ProtoReflect added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableValue) Reset added in v0.37.0

func (*GetEntitleableAttributesByFqnsResponse_EntitleableValue) String added in v0.37.0

type GetKeyMappingsByFqnsRequest added in v0.37.0

type GetKeyMappingsByFqnsRequest struct {

	// Required
	// Fully Qualified Names of attribute values (i.e. https://<namespace>/attr/<attribute_name>/value/<value_name>), normalized to lower case.
	Fqns []string `protobuf:"bytes,1,rep,name=fqns,proto3" json:"fqns,omitempty"`
	// contains filtered or unexported fields
}

Key Mappings By FQNs (client-side key split path)

Narrow read API for the client-side encrypt flow. Given attribute value FQNs, returns only the information needed to build key splits: the governing attribute rule and the effective mapped KAS keys resolved server-side. It does not return subject mappings, resource mappings, obligations, sibling values, or metadata. Prefer this over GetAttributeValuesByFqns when building splits. A value that does not exist under a definition with allow_traversal resolves at the definition (then namespace) level, supporting front-loaded TDF creation.

func (*GetKeyMappingsByFqnsRequest) Descriptor deprecated added in v0.37.0

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

Deprecated: Use GetKeyMappingsByFqnsRequest.ProtoReflect.Descriptor instead.

func (*GetKeyMappingsByFqnsRequest) GetFqns added in v0.37.0

func (x *GetKeyMappingsByFqnsRequest) GetFqns() []string

func (*GetKeyMappingsByFqnsRequest) ProtoMessage added in v0.37.0

func (*GetKeyMappingsByFqnsRequest) ProtoMessage()

func (*GetKeyMappingsByFqnsRequest) ProtoReflect added in v0.37.0

func (*GetKeyMappingsByFqnsRequest) Reset added in v0.37.0

func (x *GetKeyMappingsByFqnsRequest) Reset()

func (*GetKeyMappingsByFqnsRequest) String added in v0.37.0

func (x *GetKeyMappingsByFqnsRequest) String() string

type GetKeyMappingsByFqnsResponse added in v0.37.0

type GetKeyMappingsByFqnsResponse struct {

	// map of value FQN to its key mapping information, for O(1) lookup
	FqnKeyMappings map[string]*GetKeyMappingsByFqnsResponse_AttributeKeyMapping `` /* 193-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetKeyMappingsByFqnsResponse) Descriptor deprecated added in v0.37.0

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

Deprecated: Use GetKeyMappingsByFqnsResponse.ProtoReflect.Descriptor instead.

func (*GetKeyMappingsByFqnsResponse) GetFqnKeyMappings added in v0.37.0

func (*GetKeyMappingsByFqnsResponse) ProtoMessage added in v0.37.0

func (*GetKeyMappingsByFqnsResponse) ProtoMessage()

func (*GetKeyMappingsByFqnsResponse) ProtoReflect added in v0.37.0

func (*GetKeyMappingsByFqnsResponse) Reset added in v0.37.0

func (x *GetKeyMappingsByFqnsResponse) Reset()

func (*GetKeyMappingsByFqnsResponse) String added in v0.37.0

type GetKeyMappingsByFqnsResponse_AttributeKeyMapping added in v0.37.0

type GetKeyMappingsByFqnsResponse_AttributeKeyMapping struct {

	// the attribute rule, which governs how splits combine (any_of / all_of / hierarchy)
	Rule policy.AttributeRuleTypeEnum `protobuf:"varint,1,opt,name=rule,proto3,enum=policy.AttributeRuleTypeEnum" json:"rule,omitempty"`
	// effective KAS keys resolved for this value (value > definition > namespace
	// precedence). Legacy grants are not used by this API; values configured only
	// with grants and no kas_keys return an empty key set, and the client resolves
	// those grants via GetAttributeValuesByFqns.
	Keys []*policy.SimpleKasKey `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyMappingsByFqnsResponse_AttributeKeyMapping) Descriptor deprecated added in v0.37.0

Deprecated: Use GetKeyMappingsByFqnsResponse_AttributeKeyMapping.ProtoReflect.Descriptor instead.

func (*GetKeyMappingsByFqnsResponse_AttributeKeyMapping) GetKeys added in v0.37.0

func (*GetKeyMappingsByFqnsResponse_AttributeKeyMapping) GetRule added in v0.37.0

func (*GetKeyMappingsByFqnsResponse_AttributeKeyMapping) ProtoMessage added in v0.37.0

func (*GetKeyMappingsByFqnsResponse_AttributeKeyMapping) ProtoReflect added in v0.37.0

func (*GetKeyMappingsByFqnsResponse_AttributeKeyMapping) Reset added in v0.37.0

func (*GetKeyMappingsByFqnsResponse_AttributeKeyMapping) String added in v0.37.0

type ListAttributeValuesRequest

type ListAttributeValuesRequest struct {

	// Required
	AttributeId string `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
	// Optional
	// ACTIVE by default when not specified
	State common.ActiveStateEnum `protobuf:"varint,2,opt,name=state,proto3,enum=common.ActiveStateEnum" json:"state,omitempty"`
	// Optional
	Pagination *policy.PageRequest `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAttributeValuesRequest) Descriptor deprecated

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

Deprecated: Use ListAttributeValuesRequest.ProtoReflect.Descriptor instead.

func (*ListAttributeValuesRequest) GetAttributeId

func (x *ListAttributeValuesRequest) GetAttributeId() string

func (*ListAttributeValuesRequest) GetPagination added in v0.2.19

func (x *ListAttributeValuesRequest) GetPagination() *policy.PageRequest

func (*ListAttributeValuesRequest) GetState

func (*ListAttributeValuesRequest) ProtoMessage

func (*ListAttributeValuesRequest) ProtoMessage()

func (*ListAttributeValuesRequest) ProtoReflect

func (*ListAttributeValuesRequest) Reset

func (x *ListAttributeValuesRequest) Reset()

func (*ListAttributeValuesRequest) String

func (x *ListAttributeValuesRequest) String() string

type ListAttributeValuesResponse

type ListAttributeValuesResponse struct {
	Values     []*policy.Value      `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	Pagination *policy.PageResponse `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAttributeValuesResponse) Descriptor deprecated

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

Deprecated: Use ListAttributeValuesResponse.ProtoReflect.Descriptor instead.

func (*ListAttributeValuesResponse) GetPagination added in v0.2.19

func (x *ListAttributeValuesResponse) GetPagination() *policy.PageResponse

func (*ListAttributeValuesResponse) GetValues

func (x *ListAttributeValuesResponse) GetValues() []*policy.Value

func (*ListAttributeValuesResponse) ProtoMessage

func (*ListAttributeValuesResponse) ProtoMessage()

func (*ListAttributeValuesResponse) ProtoReflect

func (*ListAttributeValuesResponse) Reset

func (x *ListAttributeValuesResponse) Reset()

func (*ListAttributeValuesResponse) String

func (x *ListAttributeValuesResponse) String() string

type ListAttributesRequest

type ListAttributesRequest struct {

	// Optional
	// ACTIVE by default when not specified
	State common.ActiveStateEnum `protobuf:"varint,1,opt,name=state,proto3,enum=common.ActiveStateEnum" json:"state,omitempty"`
	// Optional
	// Namespace ID or name
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Optional
	Pagination *policy.PageRequest `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// Optional - CONSTRAINT: max 1 item
	// Sort defaults:
	//   - direction UNSPECIFIED defaults to DESC for the specified field
	//   - field UNSPECIFIED defaults to created_at with the specified direction
	//   - both UNSPECIFIED or sort omitted defaults to created_at DESC
	Sort []*AttributesSort `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`
	// Optional
	Search *policy.Search `protobuf:"bytes,12,opt,name=search,proto3" json:"search,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAttributesRequest) Descriptor deprecated

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

Deprecated: Use ListAttributesRequest.ProtoReflect.Descriptor instead.

func (*ListAttributesRequest) GetNamespace

func (x *ListAttributesRequest) GetNamespace() string

func (*ListAttributesRequest) GetPagination added in v0.2.19

func (x *ListAttributesRequest) GetPagination() *policy.PageRequest

func (*ListAttributesRequest) GetSearch added in v0.33.0

func (x *ListAttributesRequest) GetSearch() *policy.Search

func (*ListAttributesRequest) GetSort added in v0.23.0

func (x *ListAttributesRequest) GetSort() []*AttributesSort

func (*ListAttributesRequest) GetState

func (*ListAttributesRequest) ProtoMessage

func (*ListAttributesRequest) ProtoMessage()

func (*ListAttributesRequest) ProtoReflect

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

func (*ListAttributesRequest) Reset

func (x *ListAttributesRequest) Reset()

func (*ListAttributesRequest) String

func (x *ListAttributesRequest) String() string

type ListAttributesResponse

type ListAttributesResponse struct {
	Attributes []*policy.Attribute  `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	Pagination *policy.PageResponse `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAttributesResponse) Descriptor deprecated

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

Deprecated: Use ListAttributesResponse.ProtoReflect.Descriptor instead.

func (*ListAttributesResponse) GetAttributes

func (x *ListAttributesResponse) GetAttributes() []*policy.Attribute

func (*ListAttributesResponse) GetPagination added in v0.2.19

func (x *ListAttributesResponse) GetPagination() *policy.PageResponse

func (*ListAttributesResponse) ProtoMessage

func (*ListAttributesResponse) ProtoMessage()

func (*ListAttributesResponse) ProtoReflect

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

func (*ListAttributesResponse) Reset

func (x *ListAttributesResponse) Reset()

func (*ListAttributesResponse) String

func (x *ListAttributesResponse) String() string

type RemoveKeyAccessServerFromAttributeRequest deprecated

type RemoveKeyAccessServerFromAttributeRequest struct {

	// Required
	AttributeKeyAccessServer *AttributeKeyAccessServer `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deprecated: utilize RemovePublicKeyFromAttributeRequest

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*RemoveKeyAccessServerFromAttributeRequest) Descriptor deprecated

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

Deprecated: Use RemoveKeyAccessServerFromAttributeRequest.ProtoReflect.Descriptor instead.

func (*RemoveKeyAccessServerFromAttributeRequest) GetAttributeKeyAccessServer

func (x *RemoveKeyAccessServerFromAttributeRequest) GetAttributeKeyAccessServer() *AttributeKeyAccessServer

func (*RemoveKeyAccessServerFromAttributeRequest) ProtoMessage

func (*RemoveKeyAccessServerFromAttributeRequest) ProtoReflect

func (*RemoveKeyAccessServerFromAttributeRequest) Reset

func (*RemoveKeyAccessServerFromAttributeRequest) String

type RemoveKeyAccessServerFromAttributeResponse deprecated

type RemoveKeyAccessServerFromAttributeResponse struct {
	AttributeKeyAccessServer *AttributeKeyAccessServer `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*RemoveKeyAccessServerFromAttributeResponse) Descriptor deprecated

Deprecated: Use RemoveKeyAccessServerFromAttributeResponse.ProtoReflect.Descriptor instead.

func (*RemoveKeyAccessServerFromAttributeResponse) GetAttributeKeyAccessServer

func (x *RemoveKeyAccessServerFromAttributeResponse) GetAttributeKeyAccessServer() *AttributeKeyAccessServer

func (*RemoveKeyAccessServerFromAttributeResponse) ProtoMessage

func (*RemoveKeyAccessServerFromAttributeResponse) ProtoReflect

func (*RemoveKeyAccessServerFromAttributeResponse) Reset

func (*RemoveKeyAccessServerFromAttributeResponse) String

type RemoveKeyAccessServerFromValueRequest deprecated

type RemoveKeyAccessServerFromValueRequest struct {

	// Required
	ValueKeyAccessServer *ValueKeyAccessServer `protobuf:"bytes,1,opt,name=value_key_access_server,json=valueKeyAccessServer,proto3" json:"value_key_access_server,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: utilize RemovePublicKeyFromValueRequest

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*RemoveKeyAccessServerFromValueRequest) Descriptor deprecated

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

Deprecated: Use RemoveKeyAccessServerFromValueRequest.ProtoReflect.Descriptor instead.

func (*RemoveKeyAccessServerFromValueRequest) GetValueKeyAccessServer

func (x *RemoveKeyAccessServerFromValueRequest) GetValueKeyAccessServer() *ValueKeyAccessServer

func (*RemoveKeyAccessServerFromValueRequest) ProtoMessage

func (*RemoveKeyAccessServerFromValueRequest) ProtoMessage()

func (*RemoveKeyAccessServerFromValueRequest) ProtoReflect

func (*RemoveKeyAccessServerFromValueRequest) Reset

func (*RemoveKeyAccessServerFromValueRequest) String

type RemoveKeyAccessServerFromValueResponse deprecated

type RemoveKeyAccessServerFromValueResponse struct {
	ValueKeyAccessServer *ValueKeyAccessServer `protobuf:"bytes,1,opt,name=value_key_access_server,json=valueKeyAccessServer,proto3" json:"value_key_access_server,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*RemoveKeyAccessServerFromValueResponse) Descriptor deprecated

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

Deprecated: Use RemoveKeyAccessServerFromValueResponse.ProtoReflect.Descriptor instead.

func (*RemoveKeyAccessServerFromValueResponse) GetValueKeyAccessServer

func (x *RemoveKeyAccessServerFromValueResponse) GetValueKeyAccessServer() *ValueKeyAccessServer

func (*RemoveKeyAccessServerFromValueResponse) ProtoMessage

func (*RemoveKeyAccessServerFromValueResponse) ProtoReflect

func (*RemoveKeyAccessServerFromValueResponse) Reset

func (*RemoveKeyAccessServerFromValueResponse) String

type RemovePublicKeyFromAttributeRequest added in v0.3.3

type RemovePublicKeyFromAttributeRequest struct {

	// Required
	AttributeKey *AttributeKey `protobuf:"bytes,1,opt,name=attribute_key,json=attributeKey,proto3" json:"attribute_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePublicKeyFromAttributeRequest) Descriptor deprecated added in v0.3.3

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

Deprecated: Use RemovePublicKeyFromAttributeRequest.ProtoReflect.Descriptor instead.

func (*RemovePublicKeyFromAttributeRequest) GetAttributeKey added in v0.3.3

func (x *RemovePublicKeyFromAttributeRequest) GetAttributeKey() *AttributeKey

func (*RemovePublicKeyFromAttributeRequest) ProtoMessage added in v0.3.3

func (*RemovePublicKeyFromAttributeRequest) ProtoMessage()

func (*RemovePublicKeyFromAttributeRequest) ProtoReflect added in v0.3.3

func (*RemovePublicKeyFromAttributeRequest) Reset added in v0.3.3

func (*RemovePublicKeyFromAttributeRequest) String added in v0.3.3

type RemovePublicKeyFromAttributeResponse added in v0.3.3

type RemovePublicKeyFromAttributeResponse struct {

	// Required
	AttributeKey *AttributeKey `protobuf:"bytes,1,opt,name=attribute_key,json=attributeKey,proto3" json:"attribute_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePublicKeyFromAttributeResponse) Descriptor deprecated added in v0.3.3

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

Deprecated: Use RemovePublicKeyFromAttributeResponse.ProtoReflect.Descriptor instead.

func (*RemovePublicKeyFromAttributeResponse) GetAttributeKey added in v0.3.3

func (x *RemovePublicKeyFromAttributeResponse) GetAttributeKey() *AttributeKey

func (*RemovePublicKeyFromAttributeResponse) ProtoMessage added in v0.3.3

func (*RemovePublicKeyFromAttributeResponse) ProtoMessage()

func (*RemovePublicKeyFromAttributeResponse) ProtoReflect added in v0.3.3

func (*RemovePublicKeyFromAttributeResponse) Reset added in v0.3.3

func (*RemovePublicKeyFromAttributeResponse) String added in v0.3.3

type RemovePublicKeyFromValueRequest added in v0.3.3

type RemovePublicKeyFromValueRequest struct {

	// Required
	ValueKey *ValueKey `protobuf:"bytes,1,opt,name=value_key,json=valueKey,proto3" json:"value_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePublicKeyFromValueRequest) Descriptor deprecated added in v0.3.3

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

Deprecated: Use RemovePublicKeyFromValueRequest.ProtoReflect.Descriptor instead.

func (*RemovePublicKeyFromValueRequest) GetValueKey added in v0.3.3

func (x *RemovePublicKeyFromValueRequest) GetValueKey() *ValueKey

func (*RemovePublicKeyFromValueRequest) ProtoMessage added in v0.3.3

func (*RemovePublicKeyFromValueRequest) ProtoMessage()

func (*RemovePublicKeyFromValueRequest) ProtoReflect added in v0.3.3

func (*RemovePublicKeyFromValueRequest) Reset added in v0.3.3

func (*RemovePublicKeyFromValueRequest) String added in v0.3.3

type RemovePublicKeyFromValueResponse added in v0.3.3

type RemovePublicKeyFromValueResponse struct {

	// Required
	ValueKey *ValueKey `protobuf:"bytes,1,opt,name=value_key,json=valueKey,proto3" json:"value_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePublicKeyFromValueResponse) Descriptor deprecated added in v0.3.3

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

Deprecated: Use RemovePublicKeyFromValueResponse.ProtoReflect.Descriptor instead.

func (*RemovePublicKeyFromValueResponse) GetValueKey added in v0.3.3

func (x *RemovePublicKeyFromValueResponse) GetValueKey() *ValueKey

func (*RemovePublicKeyFromValueResponse) ProtoMessage added in v0.3.3

func (*RemovePublicKeyFromValueResponse) ProtoMessage()

func (*RemovePublicKeyFromValueResponse) ProtoReflect added in v0.3.3

func (*RemovePublicKeyFromValueResponse) Reset added in v0.3.3

func (*RemovePublicKeyFromValueResponse) String added in v0.3.3

type SortAttributesType added in v0.23.0

type SortAttributesType int32
const (
	SortAttributesType_SORT_ATTRIBUTES_TYPE_UNSPECIFIED SortAttributesType = 0
	SortAttributesType_SORT_ATTRIBUTES_TYPE_NAME        SortAttributesType = 1
	SortAttributesType_SORT_ATTRIBUTES_TYPE_CREATED_AT  SortAttributesType = 2
	SortAttributesType_SORT_ATTRIBUTES_TYPE_UPDATED_AT  SortAttributesType = 3
)

func (SortAttributesType) Descriptor added in v0.23.0

func (SortAttributesType) Enum added in v0.23.0

func (SortAttributesType) EnumDescriptor deprecated added in v0.23.0

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

Deprecated: Use SortAttributesType.Descriptor instead.

func (SortAttributesType) Number added in v0.23.0

func (SortAttributesType) String added in v0.23.0

func (x SortAttributesType) String() string

func (SortAttributesType) Type added in v0.23.0

type UnimplementedAttributesServiceServer

type UnimplementedAttributesServiceServer struct {
}

UnimplementedAttributesServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAttributesServiceServer) AssignPublicKeyToAttribute added in v0.3.3

func (UnimplementedAttributesServiceServer) AssignPublicKeyToValue added in v0.3.3

func (UnimplementedAttributesServiceServer) CreateAttribute

func (UnimplementedAttributesServiceServer) CreateAttributeValue

func (UnimplementedAttributesServiceServer) DeactivateAttribute

func (UnimplementedAttributesServiceServer) GetAttribute

func (UnimplementedAttributesServiceServer) GetAttributeValue

func (UnimplementedAttributesServiceServer) GetEntitleableAttributesByFqns added in v0.37.0

func (UnimplementedAttributesServiceServer) GetKeyMappingsByFqns added in v0.37.0

func (UnimplementedAttributesServiceServer) ListAttributeValues

func (UnimplementedAttributesServiceServer) ListAttributes

func (UnimplementedAttributesServiceServer) RemovePublicKeyFromAttribute added in v0.3.3

func (UnimplementedAttributesServiceServer) RemovePublicKeyFromValue added in v0.3.3

func (UnimplementedAttributesServiceServer) UpdateAttribute

func (UnimplementedAttributesServiceServer) UpdateAttributeValue

type UnsafeAttributesServiceServer

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

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

type UpdateAttributeRequest

type UpdateAttributeRequest struct {

	// Required
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional
	Metadata               *common.MetadataMutable   `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
	MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateAttributeRequest) Descriptor deprecated

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

Deprecated: Use UpdateAttributeRequest.ProtoReflect.Descriptor instead.

func (*UpdateAttributeRequest) GetId

func (x *UpdateAttributeRequest) GetId() string

func (*UpdateAttributeRequest) GetMetadata

func (x *UpdateAttributeRequest) GetMetadata() *common.MetadataMutable

func (*UpdateAttributeRequest) GetMetadataUpdateBehavior

func (x *UpdateAttributeRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum

func (*UpdateAttributeRequest) ProtoMessage

func (*UpdateAttributeRequest) ProtoMessage()

func (*UpdateAttributeRequest) ProtoReflect

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

func (*UpdateAttributeRequest) Reset

func (x *UpdateAttributeRequest) Reset()

func (*UpdateAttributeRequest) String

func (x *UpdateAttributeRequest) String() string

type UpdateAttributeResponse

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

func (*UpdateAttributeResponse) Descriptor deprecated

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

Deprecated: Use UpdateAttributeResponse.ProtoReflect.Descriptor instead.

func (*UpdateAttributeResponse) GetAttribute

func (x *UpdateAttributeResponse) GetAttribute() *policy.Attribute

func (*UpdateAttributeResponse) ProtoMessage

func (*UpdateAttributeResponse) ProtoMessage()

func (*UpdateAttributeResponse) ProtoReflect

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

func (*UpdateAttributeResponse) Reset

func (x *UpdateAttributeResponse) Reset()

func (*UpdateAttributeResponse) String

func (x *UpdateAttributeResponse) String() string

type UpdateAttributeValueRequest

type UpdateAttributeValueRequest struct {

	// Required
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional
	// Common metadata
	Metadata               *common.MetadataMutable   `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
	MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateAttributeValueRequest) Descriptor deprecated

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

Deprecated: Use UpdateAttributeValueRequest.ProtoReflect.Descriptor instead.

func (*UpdateAttributeValueRequest) GetId

func (*UpdateAttributeValueRequest) GetMetadata

func (*UpdateAttributeValueRequest) GetMetadataUpdateBehavior

func (x *UpdateAttributeValueRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum

func (*UpdateAttributeValueRequest) ProtoMessage

func (*UpdateAttributeValueRequest) ProtoMessage()

func (*UpdateAttributeValueRequest) ProtoReflect

func (*UpdateAttributeValueRequest) Reset

func (x *UpdateAttributeValueRequest) Reset()

func (*UpdateAttributeValueRequest) String

func (x *UpdateAttributeValueRequest) String() string

type UpdateAttributeValueResponse

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

func (*UpdateAttributeValueResponse) Descriptor deprecated

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

Deprecated: Use UpdateAttributeValueResponse.ProtoReflect.Descriptor instead.

func (*UpdateAttributeValueResponse) GetValue

func (x *UpdateAttributeValueResponse) GetValue() *policy.Value

func (*UpdateAttributeValueResponse) ProtoMessage

func (*UpdateAttributeValueResponse) ProtoMessage()

func (*UpdateAttributeValueResponse) ProtoReflect

func (*UpdateAttributeValueResponse) Reset

func (x *UpdateAttributeValueResponse) Reset()

func (*UpdateAttributeValueResponse) String

type ValueKey added in v0.2.24

type ValueKey struct {

	// Required
	ValueId string `protobuf:"bytes,1,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"`
	// Required (The id listed in the AsymmetricKeys object)
	KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ValueKey) Descriptor deprecated added in v0.2.24

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

Deprecated: Use ValueKey.ProtoReflect.Descriptor instead.

func (*ValueKey) GetKeyId added in v0.2.24

func (x *ValueKey) GetKeyId() string

func (*ValueKey) GetValueId added in v0.2.24

func (x *ValueKey) GetValueId() string

func (*ValueKey) ProtoMessage added in v0.2.24

func (*ValueKey) ProtoMessage()

func (*ValueKey) ProtoReflect added in v0.2.24

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

func (*ValueKey) Reset added in v0.2.24

func (x *ValueKey) Reset()

func (*ValueKey) String added in v0.2.24

func (x *ValueKey) String() string

type ValueKeyAccessServer deprecated

type ValueKeyAccessServer struct {

	// Required
	ValueId string `protobuf:"bytes,1,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"`
	// Required
	KeyAccessServerId string `protobuf:"bytes,2,opt,name=key_access_server_id,json=keyAccessServerId,proto3" json:"key_access_server_id,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Marked as deprecated in policy/attributes/attributes.proto.

func (*ValueKeyAccessServer) Descriptor deprecated

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

Deprecated: Use ValueKeyAccessServer.ProtoReflect.Descriptor instead.

func (*ValueKeyAccessServer) GetKeyAccessServerId

func (x *ValueKeyAccessServer) GetKeyAccessServerId() string

func (*ValueKeyAccessServer) GetValueId

func (x *ValueKeyAccessServer) GetValueId() string

func (*ValueKeyAccessServer) ProtoMessage

func (*ValueKeyAccessServer) ProtoMessage()

func (*ValueKeyAccessServer) ProtoReflect

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

func (*ValueKeyAccessServer) Reset

func (x *ValueKeyAccessServer) Reset()

func (*ValueKeyAccessServer) String

func (x *ValueKeyAccessServer) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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