OrganizationGovernance

Organization governance operations requiring an Admin API credential. Default methods support custom clients.

Inheritors

Functions

Link copied to clipboard

Atomically activates one to ten organization certificates.

Link copied to clipboard
open suspend fun activateProjectCertificates(projectId: String, request: CertificateActivationRequest, requestOptions: RequestOptions? = null): CertificateActivationResult

Atomically activates one to ten certificates for a project.

Link copied to clipboard
open suspend fun auditLogs(query: AuditLogQuery = AuditLogQuery(), requestOptions: RequestOptions? = null): PaginatedList<AuditLog>

Lists audit events while preserving evolving event details.

Link copied to clipboard

Atomically deactivates one to ten organization certificates.

Link copied to clipboard

Atomically deactivates one to ten certificates for a project.

Link copied to clipboard
open suspend fun deleteExternalKey(id: String, requestOptions: RequestOptions? = null): ExternalKey

Removes a registration and returns the removed configuration, not a deletion boolean.

Link copied to clipboard
open suspend fun deleteExternalStorage(id: String, requestOptions: RequestOptions? = null): ExternalStorageDeletion

Removes an external-storage registration.

Link copied to clipboard
open suspend fun deleteOrganizationCertificate(id: String, requestOptions: RequestOptions? = null): CertificateDeletion

Deletes an inactive certificate and preserves its deletion envelope.

Link copied to clipboard
open suspend fun deleteProjectModelPermissions(projectId: String, requestOptions: RequestOptions? = null): ProjectModelPermissionsDeletion

Deletes a project model permission override.

Link copied to clipboard
open suspend fun externalKey(id: String, requestOptions: RequestOptions? = null): ExternalKey?

Retrieves an external-key registration; returns null on HTTP 404.

Link copied to clipboard
open suspend fun externalKeys(query: ExternalKeyListQuery = ExternalKeyListQuery(), requestOptions: RequestOptions? = null): PaginatedList<ExternalKey>

Lists external-key registrations and preserves cursor metadata.

Link copied to clipboard
open suspend fun externalStorage(id: String, requestOptions: RequestOptions? = null): ExternalStorageConfiguration?

Retrieves external-storage registration; returns null on HTTP 404.

Link copied to clipboard
open suspend fun externalStorageConfigurations(query: ExternalStorageListQuery = ExternalStorageListQuery(), requestOptions: RequestOptions? = null): PaginatedList<ExternalStorageConfiguration>

Lists storage registrations with project filtering and cursor metadata.

Link copied to clipboard
open suspend fun organizationCertificate(id: String, include: List<String>? = null, requestOptions: RequestOptions? = null): OrganizationCertificate?

Retrieves a certificate, optionally including content; returns null on HTTP 404.

Link copied to clipboard
open suspend fun organizationCertificates(query: CertificateListQuery = CertificateListQuery(), requestOptions: RequestOptions? = null): PaginatedList<OrganizationCertificate>

Lists organization certificates and their scoped activation states.

Link copied to clipboard
open suspend fun organizationDataRetention(requestOptions: RequestOptions? = null): DataRetentionSetting

Retrieves organization data-retention controls.

Link copied to clipboard
open suspend fun projectCertificates(projectId: String, query: CertificateListQuery = CertificateListQuery(), requestOptions: RequestOptions? = null): PaginatedList<OrganizationCertificate>

Lists certificates and activation states for a project.

Link copied to clipboard
open suspend fun projectDataRetention(projectId: String, requestOptions: RequestOptions? = null): DataRetentionSetting

Retrieves project data-retention controls.

Link copied to clipboard
open suspend fun projectHostedToolPermissions(projectId: String, requestOptions: RequestOptions? = null): ProjectHostedToolPermissions

Retrieves project hosted-tool enablement states.

Link copied to clipboard
open suspend fun projectModelPermissions(projectId: String, requestOptions: RequestOptions? = null): ProjectModelPermissions?

Retrieves an explicit project model policy; returns null on HTTP 404.

Link copied to clipboard
open suspend fun projectRateLimits(projectId: String, query: ProjectRateLimitQuery = ProjectRateLimitQuery(), requestOptions: RequestOptions? = null): PaginatedList<ProjectRateLimit>

Lists per-model rate limits with forward or backward cursor metadata.

Link copied to clipboard
open suspend fun registerExternalKey(request: ExternalKeyRequest, requestOptions: RequestOptions? = null): ExternalKey

Registers customer-managed key configuration for the organization.

Link copied to clipboard

Registers customer-managed storage for a project.

Link copied to clipboard

Updates the supplied certificate name.

Link copied to clipboard

Updates organization data-retention controls.

Link copied to clipboard
open suspend fun updateProjectDataRetention(projectId: String, request: ProjectRetentionRequest, requestOptions: RequestOptions? = null): DataRetentionSetting

Updates project data-retention controls.

Link copied to clipboard

Updates only supplied tool permissions, preserving explicit JSON null selections.

Link copied to clipboard
open suspend fun updateProjectModelPermissions(projectId: String, request: ProjectModelPermissionsRequest, requestOptions: RequestOptions? = null): ProjectModelPermissions

Replaces a project model allowlist or denylist.

Link copied to clipboard
open suspend fun updateProjectRateLimit(projectId: String, id: String, request: ProjectRateLimitRequest, requestOptions: RequestOptions? = null): ProjectRateLimit

Updates only supplied fields of a project rate limit.

Link copied to clipboard

Uploads PEM content without activating it.

Link copied to clipboard
open suspend fun validateExternalKey(id: String, requestOptions: RequestOptions? = null): ExternalKeyValidation

Validates a registered external-key configuration.

Link copied to clipboard
open suspend fun validateExternalStorage(id: String, requestOptions: RequestOptions? = null): ExternalStorageConfiguration

Validates an external-storage registration and returns its updated state.