/** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ObjectPrivilegeDefinition } from './object-privilege-definition'; import type { ObjectPrivilegeGrantOptionScope } from './object-privilege-grant-option-scope'; /** * * @export * @interface ObjectPrivilegeCapability */ export interface ObjectPrivilegeCapability { /** * * @type {string} * @memberof ObjectPrivilegeCapability */ 'objectType': string; /** * * @type {Array} * @memberof ObjectPrivilegeCapability */ 'privileges': Array; /** * * @type {Array} * @memberof ObjectPrivilegeCapability */ 'requiredTargetFields': Array; /** * * @type {Array} * @memberof ObjectPrivilegeCapability */ 'warnings'?: Array; /** * Fields required to enumerate objects of this kind; distinct from fields needed to identify an individual target. * @type {Array} * @memberof ObjectPrivilegeCapability */ 'requiredDiscoveryFields': Array; /** * * @type {ObjectPrivilegeGrantOptionScope} * @memberof ObjectPrivilegeCapability */ 'revokeGrantOptionScope'?: ObjectPrivilegeGrantOptionScope; /** * Versioned namespaced JSON extensions. Response keys unknown to a client may be ignored. Change keys must be registered and strictly decoded by the current engine; PG/MySQL currently accept no change extensions. * @type {{ [key: string]: any; }} * @memberof ObjectPrivilegeCapability */ 'extensions'?: { [key: string]: any; }; /** * Allows explicitly granting the documented access prerequisites together with an object grant. * @type {boolean} * @memberof ObjectPrivilegeCapability */ 'supportsGrantPrerequisites'?: boolean; /** * When prerequisite grants are supported, whether they and the requested grant are atomic. * @type {boolean} * @memberof ObjectPrivilegeCapability */ 'grantPrerequisitesAtomic'?: boolean; /** * Explicit revoke behaviors supported by this object kind. Omitted change behavior uses defaultRevokeBehavior. * @type {Array} * @memberof ObjectPrivilegeCapability */ 'revokeBehaviors': Array; /** * Default native revoke behavior. PostgreSQL restrict; MySQL native. * @type {string} * @memberof ObjectPrivilegeCapability */ 'defaultRevokeBehavior': string; /** * Versioned namespaces accepted for change extensions by this engine/version; empty means none. * @type {Array} * @memberof ObjectPrivilegeCapability */ 'changeExtensions'?: Array; } //# sourceMappingURL=object-privilege-capability.d.ts.map