Client
class Client(val cfg: SdkConfig, transport: VmodalTransport = HttpUrlConnectionTransport(cfg), signedUploads: SignedUploadTransport = OkHttpSignedUploadTransport(cfg.timeoutMillis.toLong()).withDiagnostics(cfg.diagnostics))
Main SDK entry point and owner of resource clients.
Blocking calls must run on a worker thread. Inject transports for tests or custom integrations; the client does not own externally supplied transports.
Constructors
Link copied to clipboard
constructor(cfg: SdkConfig, transport: VmodalTransport = HttpUrlConnectionTransport(cfg), signedUploads: SignedUploadTransport = OkHttpSignedUploadTransport(cfg.timeoutMillis.toLong()).withDiagnostics(cfg.diagnostics))
constructor(baseUrl: String = PUBLIC_GATEWAY_URL, userId: String = "", tenantId: String = "", email: String = "", token: String = "", timeoutMillis: Int, maxRetries: Int = 1, transport: VmodalTransport? = null, signedUploads: SignedUploadTransport? = null, apiKeyProvider: ApiKeyProvider? = null)
Builds a gateway client from explicit connection and identity fields.
Types
Properties
Link copied to clipboard
administrative reporting operations
Link copied to clipboard
authentication operations
Link copied to clipboard
collection and upload operations
Link copied to clipboard
disabled legacy Google Drive operations
Link copied to clipboard
low-level request facade
Link copied to clipboard
image retrieval operations
Link copied to clipboard
index lifecycle operations
Link copied to clipboard
object-storage signing operations
Link copied to clipboard
multimodal search operations
Link copied to clipboard
disabled legacy SQL operations