Uses of Class
co.ankatech.keymanagement.client.keymanagement.model.CreateConstraintPolicyRequest
Packages that use CreateConstraintPolicyRequest
Package
Description
-
Uses of CreateConstraintPolicyRequest in co.ankatech.ankasecure.keymanagement
Methods in co.ankatech.ankasecure.keymanagement with parameters of type CreateConstraintPolicyRequestModifier and TypeMethodDescriptionConstraintPolicyOperations.create(CreateConstraintPolicyRequest request) Creates a constraint policy (POST /tenants/{t}/constraint-policies).ConstraintPolicyOperations.update(UUID policyId, CreateConstraintPolicyRequest request) Updates a constraint policy (PATCH /tenants/{t}/constraint-policies/{p}). -
Uses of CreateConstraintPolicyRequest in co.ankatech.keymanagement.client.keymanagement.api
Methods in co.ankatech.keymanagement.client.keymanagement.api with parameters of type CreateConstraintPolicyRequestModifier and TypeMethodDescriptionConstraintPoliciesApi.createConstraintPolicy(UUID tenantId, CreateConstraintPolicyRequest createConstraintPolicyRequest) Create constraint policy Constraint types: `max_usage` (absolute cap per grant), `valid_from`/`valid_until` (temporal gate), `rate_limit` (per-grant throttle over a fixed one-minute window, approximate: a burst across a minute boundary can briefly reach twice the rate — 0 = emergency freeze, null = unlimited), `revoke_on_use` (single use: the grant is consumed by its first admitted invocation, whether or not the operation succeeds, and cannot be used again; it authorizes one operation, not one message).okhttp3.CallConstraintPoliciesApi.createConstraintPolicyAsync(UUID tenantId, CreateConstraintPolicyRequest createConstraintPolicyRequest, ApiCallback<ConstraintPolicyResponse> _callback) Create constraint policy (asynchronously) Constraint types: `max_usage` (absolute cap per grant), `valid_from`/`valid_until` (temporal gate), `rate_limit` (per-grant throttle over a fixed one-minute window, approximate: a burst across a minute boundary can briefly reach twice the rate — 0 = emergency freeze, null = unlimited), `revoke_on_use` (single use: the grant is consumed by its first admitted invocation, whether or not the operation succeeds, and cannot be used again; it authorizes one operation, not one message).okhttp3.CallConstraintPoliciesApi.createConstraintPolicyCall(UUID tenantId, CreateConstraintPolicyRequest createConstraintPolicyRequest, ApiCallback _callback) Build call for createConstraintPolicyConstraintPoliciesApi.createConstraintPolicyWithHttpInfo(UUID tenantId, CreateConstraintPolicyRequest createConstraintPolicyRequest) Create constraint policy Constraint types: `max_usage` (absolute cap per grant), `valid_from`/`valid_until` (temporal gate), `rate_limit` (per-grant throttle over a fixed one-minute window, approximate: a burst across a minute boundary can briefly reach twice the rate — 0 = emergency freeze, null = unlimited), `revoke_on_use` (single use: the grant is consumed by its first admitted invocation, whether or not the operation succeeds, and cannot be used again; it authorizes one operation, not one message).ConstraintPoliciesApi.updateConstraintPolicy(UUID tenantId, UUID policyId, CreateConstraintPolicyRequest createConstraintPolicyRequest) Update constraint policy (PATCH semantics — full replace of editable fields) The edit writes the policy's next immutable version; the response carries its number in `version`.okhttp3.CallConstraintPoliciesApi.updateConstraintPolicyAsync(UUID tenantId, UUID policyId, CreateConstraintPolicyRequest createConstraintPolicyRequest, ApiCallback<ConstraintPolicyResponse> _callback) Update constraint policy (PATCH semantics — full replace of editable fields) (asynchronously) The edit writes the policy's next immutable version; the response carries its number in `version`.okhttp3.CallConstraintPoliciesApi.updateConstraintPolicyCall(UUID tenantId, UUID policyId, CreateConstraintPolicyRequest createConstraintPolicyRequest, ApiCallback _callback) Build call for updateConstraintPolicyConstraintPoliciesApi.updateConstraintPolicyWithHttpInfo(UUID tenantId, UUID policyId, CreateConstraintPolicyRequest createConstraintPolicyRequest) Update constraint policy (PATCH semantics — full replace of editable fields) The edit writes the policy's next immutable version; the response carries its number in `version`. -
Uses of CreateConstraintPolicyRequest in co.ankatech.keymanagement.client.keymanagement.model
Methods in co.ankatech.keymanagement.client.keymanagement.model that return CreateConstraintPolicyRequestModifier and TypeMethodDescriptionCreateConstraintPolicyRequest.description(String description) Create an instance of CreateConstraintPolicyRequest given an JSON stringCreateConstraintPolicyRequest.rateLimitPerMinute(Integer rateLimitPerMinute) CreateConstraintPolicyRequest.revokeOnUse(Boolean revokeOnUse) CreateConstraintPolicyRequest.validFrom(OffsetDateTime validFrom) CreateConstraintPolicyRequest.validUntil(OffsetDateTime validUntil)