SYMBOL INDEX (705 symbols across 47 files) FILE: src/agentengines.ts class AgentEngines (line 17) | class AgentEngines extends BaseModule { method constructor (line 22) | constructor(private readonly apiClient: ApiClient) { method createInternal (line 29) | async createInternal( method deleteInternal (line 73) | async deleteInternal( method getInternal (line 115) | async getInternal( method listInternal (line 158) | async listInternal( method getAgentOperationInternal (line 203) | async getAgentOperationInternal( method queryInternal (line 246) | async queryInternal( method updateInternal (line 289) | async updateInternal( FILE: src/client.ts constant SDK_VERSION (line 11) | const SDK_VERSION = '0.6.0'; class Client (line 15) | class Client { method constructor (line 20) | constructor( method agentEnginesInternal (line 69) | public get agentEnginesInternal(): AgentEngines { FILE: src/converters/_agentengines_converters.ts function agentEngineOperationFromVertex (line 12) | function agentEngineOperationFromVertex( function createAgentEngineConfigToVertex (line 49) | function createAgentEngineConfigToVertex( function createAgentEngineRequestParametersToVertex (line 170) | function createAgentEngineRequestParametersToVertex( function deleteAgentEngineRequestParametersToVertex (line 183) | function deleteAgentEngineRequestParametersToVertex( function getAgentEngineOperationParametersToVertex (line 201) | function getAgentEngineOperationParametersToVertex( function getAgentEngineRequestParametersToVertex (line 220) | function getAgentEngineRequestParametersToVertex( function listAgentEngineConfigToVertex (line 233) | function listAgentEngineConfigToVertex( function listAgentEngineRequestParametersToVertex (line 257) | function listAgentEngineRequestParametersToVertex( function listReasoningEnginesResponseFromVertex (line 270) | function listReasoningEnginesResponseFromVertex( function queryAgentEngineConfigToVertex (line 305) | function queryAgentEngineConfigToVertex( function queryAgentEngineRequestParametersToVertex (line 331) | function queryAgentEngineRequestParametersToVertex( function reasoningEngineContextSpecFromVertex (line 349) | function reasoningEngineContextSpecFromVertex( function reasoningEngineContextSpecMemoryBankConfigFromVertex (line 370) | function reasoningEngineContextSpecMemoryBankConfigFromVertex( function reasoningEngineContextSpecMemoryBankConfigToVertex (line 442) | function reasoningEngineContextSpecMemoryBankConfigToVertex( function reasoningEngineContextSpecToVertex (line 514) | function reasoningEngineContextSpecToVertex( function reasoningEngineFromVertex (line 533) | function reasoningEngineFromVertex( function structuredMemoryConfigFromVertex (line 604) | function structuredMemoryConfigFromVertex( function structuredMemoryConfigToVertex (line 630) | function structuredMemoryConfigToVertex( function structuredMemorySchemaConfigFromVertex (line 656) | function structuredMemorySchemaConfigFromVertex( function structuredMemorySchemaConfigToVertex (line 679) | function structuredMemorySchemaConfigToVertex( function updateAgentEngineConfigToVertex (line 702) | function updateAgentEngineConfigToVertex( function updateAgentEngineRequestParametersToVertex (line 832) | function updateAgentEngineRequestParametersToVertex( FILE: src/converters/_memories_converters.ts function agentEngineMemoryConfigToVertex (line 12) | function agentEngineMemoryConfigToVertex( function createAgentEngineMemoryRequestParametersToVertex (line 89) | function createAgentEngineMemoryRequestParametersToVertex( function deleteAgentEngineMemoryRequestParametersToVertex (line 117) | function deleteAgentEngineMemoryRequestParametersToVertex( function generateAgentEngineMemoriesConfigToVertex (line 130) | function generateAgentEngineMemoriesConfigToVertex( function generateAgentEngineMemoriesRequestParametersToVertex (line 213) | function generateAgentEngineMemoriesRequestParametersToVertex( function getAgentEngineGenerateMemoriesOperationParametersToVertex (line 269) | function getAgentEngineGenerateMemoriesOperationParametersToVertex( function getAgentEngineMemoryOperationParametersToVertex (line 288) | function getAgentEngineMemoryOperationParametersToVertex( function getAgentEngineMemoryRequestParametersToVertex (line 307) | function getAgentEngineMemoryRequestParametersToVertex( function ingestEventsConfigToVertex (line 320) | function ingestEventsConfigToVertex( function ingestEventsRequestParametersToVertex (line 334) | function ingestEventsRequestParametersToVertex( function listAgentEngineMemoryConfigToVertex (line 384) | function listAgentEngineMemoryConfigToVertex( function listAgentEngineMemoryRequestParametersToVertex (line 413) | function listAgentEngineMemoryRequestParametersToVertex( function purgeAgentEngineMemoriesRequestParametersToVertex (line 431) | function purgeAgentEngineMemoriesRequestParametersToVertex( function retrieveAgentEngineMemoriesConfigToVertex (line 465) | function retrieveAgentEngineMemoriesConfigToVertex( function retrieveAgentEngineMemoriesRequestParametersToVertex (line 495) | function retrieveAgentEngineMemoriesRequestParametersToVertex( function retrieveMemoryProfilesRequestParametersToVertex (line 540) | function retrieveMemoryProfilesRequestParametersToVertex( function rollbackAgentEngineMemoryRequestParametersToVertex (line 558) | function rollbackAgentEngineMemoryRequestParametersToVertex( function updateAgentEngineMemoryConfigToVertex (line 578) | function updateAgentEngineMemoryConfigToVertex( function updateAgentEngineMemoryRequestParametersToVertex (line 664) | function updateAgentEngineMemoryRequestParametersToVertex( FILE: src/converters/_memoryrevisions_converters.ts function getAgentEngineMemoryRevisionRequestParametersToVertex (line 12) | function getAgentEngineMemoryRevisionRequestParametersToVertex( function listAgentEngineMemoryRevisionsConfigToVertex (line 25) | function listAgentEngineMemoryRevisionsConfigToVertex( function listAgentEngineMemoryRevisionsRequestParametersToVertex (line 49) | function listAgentEngineMemoryRevisionsRequestParametersToVertex( FILE: src/converters/_sandboxes_converters.ts function createAgentEngineSandboxConfigToVertex (line 12) | function createAgentEngineSandboxConfigToVertex( function createAgentEngineSandboxRequestParametersToVertex (line 63) | function createAgentEngineSandboxRequestParametersToVertex( function deleteAgentEngineSandboxRequestParametersToVertex (line 86) | function deleteAgentEngineSandboxRequestParametersToVertex( function executeCodeAgentEngineSandboxRequestParametersToVertex (line 99) | function executeCodeAgentEngineSandboxRequestParametersToVertex( function getAgentEngineSandboxOperationParametersToVertex (line 123) | function getAgentEngineSandboxOperationParametersToVertex( function getAgentEngineSandboxRequestParametersToVertex (line 142) | function getAgentEngineSandboxRequestParametersToVertex( function listAgentEngineSandboxesConfigToVertex (line 155) | function listAgentEngineSandboxesConfigToVertex( function listAgentEngineSandboxesRequestParametersToVertex (line 179) | function listAgentEngineSandboxesRequestParametersToVertex( FILE: src/converters/_sessionevents_converters.ts function appendAgentEngineSessionEventConfigToVertex (line 12) | function appendAgentEngineSessionEventConfigToVertex( function appendAgentEngineSessionEventRequestParametersToVertex (line 53) | function appendAgentEngineSessionEventRequestParametersToVertex( function listAgentEngineSessionEventsConfigToVertex (line 86) | function listAgentEngineSessionEventsConfigToVertex( function listAgentEngineSessionEventsRequestParametersToVertex (line 110) | function listAgentEngineSessionEventsRequestParametersToVertex( FILE: src/converters/_sessions_converters.ts function createAgentEngineSessionConfigToVertex (line 12) | function createAgentEngineSessionConfigToVertex( function createAgentEngineSessionRequestParametersToVertex (line 51) | function createAgentEngineSessionRequestParametersToVertex( function deleteAgentEngineSessionRequestParametersToVertex (line 74) | function deleteAgentEngineSessionRequestParametersToVertex( function getAgentEngineSessionOperationParametersToVertex (line 87) | function getAgentEngineSessionOperationParametersToVertex( function getAgentEngineSessionRequestParametersToVertex (line 106) | function getAgentEngineSessionRequestParametersToVertex( function listAgentEngineSessionsConfigToVertex (line 119) | function listAgentEngineSessionsConfigToVertex( function listAgentEngineSessionsRequestParametersToVertex (line 143) | function listAgentEngineSessionsRequestParametersToVertex( function updateAgentEngineSessionConfigToVertex (line 161) | function updateAgentEngineSessionConfigToVertex( function updateAgentEngineSessionRequestParametersToVertex (line 214) | function updateAgentEngineSessionRequestParametersToVertex( FILE: src/converters/_skills_converters.ts function getSkillRequestParametersToVertex (line 12) | function getSkillRequestParametersToVertex( FILE: src/memories.ts class Memories (line 15) | class Memories extends BaseModule { method constructor (line 18) | constructor(private readonly apiClient: ApiClient) { method createInternal (line 23) | async createInternal( method delete (line 65) | async delete( method generateInternal (line 107) | async generateInternal( method get (line 149) | async get( method ingestEventsInternal (line 191) | async ingestEventsInternal( method listInternal (line 232) | async listInternal( method getMemoryOperationInternal (line 276) | async getMemoryOperationInternal( method getGenerateMemoriesOperationInternal (line 318) | async getGenerateMemoriesOperationInternal( method retrieveInternal (line 362) | async retrieveInternal( method retrieveProfiles (line 406) | async retrieveProfiles( method rollbackInternal (line 450) | async rollbackInternal( method updateInternal (line 492) | async updateInternal( method purgeInternal (line 534) | async purgeInternal( FILE: src/memoryrevisions.ts class MemoryRevisions (line 14) | class MemoryRevisions extends BaseModule { method constructor (line 15) | constructor(private readonly apiClient: ApiClient) { method get (line 19) | async get( method listInternal (line 63) | async listInternal( FILE: src/sandboxes.ts class Sandboxes (line 14) | class Sandboxes extends BaseModule { method constructor (line 15) | constructor(private readonly apiClient: ApiClient) { method createInternal (line 19) | async createInternal( method deleteInternal (line 61) | async deleteInternal( method executeCodeInternal (line 103) | async executeCodeInternal( method getInternal (line 149) | async getInternal( method listInternal (line 191) | async listInternal( method getSandboxOperationInternal (line 235) | async getSandboxOperationInternal( FILE: src/sessionevents.ts class SessionEvents (line 14) | class SessionEvents extends BaseModule { method constructor (line 15) | constructor(private readonly apiClient: ApiClient) { method append (line 19) | async append( method listInternal (line 65) | async listInternal( FILE: src/sessions.ts class Sessions (line 15) | class Sessions extends BaseModule { method constructor (line 18) | constructor(private readonly apiClient: ApiClient) { method createInternal (line 23) | async createInternal( method delete (line 65) | async delete( method get (line 107) | async get( method listInternal (line 149) | async listInternal( method getSessionOperationInternal (line 193) | async getSessionOperationInternal( method updateInternal (line 235) | async updateInternal( FILE: src/skills.ts class Skills (line 14) | class Skills extends BaseModule { method constructor (line 15) | constructor(private readonly apiClient: ApiClient) { method get (line 19) | async get(params: types.GetSkillRequestParameters): Promise { class ReplayClient (line 27) | class ReplayClient extends Client { method constructor (line 31) | constructor(options: {project: string; location: string}) { method setupReplay (line 38) | setupReplay(replayFileName: string): jasmine.Spy { method verifyInteraction (line 78) | verifyInteraction(index: number, actualArgs: any[]) { method verifyResponse (line 108) | verifyResponse(index: number, actualResponse: any) { method verifyAllInteractions (line 122) | verifyAllInteractions() { function extractResponseFromPager (line 131) | function extractResponseFromPager(sdkResponse: any): any { function snakeToCamel (line 138) | function snakeToCamel(str: string): string { function normalizeRequest (line 142) | function normalizeRequest(request: RequestInit, url: string) { function redactUrl (line 151) | function redactUrl(url: string) { function normalizeHeaderName (line 159) | function normalizeHeaderName(headerName: string): string { function normalizeHeaders (line 166) | function normalizeHeaders(headers: any) { function normalizeBody (line 185) | function normalizeBody(body: string) { function isObjectEmpty (line 195) | function isObjectEmpty(obj: unknown): boolean { function assertMessagesEqual (line 212) | function assertMessagesEqual(actual: unknown, expected: unknown) { FILE: test/spec/reporter.js function TSJUnitXmlReporter (line 20) | function TSJUnitXmlReporter() { FILE: vertexai/src/functions/count_tokens.ts function countTokens (line 36) | async function countTokens( FILE: vertexai/src/functions/generate_content.ts function generateContent (line 50) | async function generateContent( function generateContentStream (line 107) | async function generateContentStream( FILE: vertexai/src/functions/post_fetch_processing.ts function throwErrorIfNotOK (line 35) | async function throwErrorIfNotOK(response: Response | undefined) { function processStream (line 86) | async function processStream( function getResponsePromise (line 112) | async function getResponsePromise( function getResponseStream (line 133) | function getResponseStream( function aggregateResponses (line 188) | function aggregateResponses( function aggregateCitationMetadataForCandidate (line 288) | function aggregateCitationMetadataForCandidate( function aggregateGroundingMetadataForCandidate (line 311) | function aggregateGroundingMetadataForCandidate( function addMissingIndexAndRole (line 359) | function addMissingIndexAndRole( function processUnary (line 390) | async function processUnary( function processCountTokenResponse (line 411) | async function processCountTokenResponse( FILE: vertexai/src/functions/post_request.ts constant API_BASE_PATH (line 18) | const API_BASE_PATH = 'aiplatform.googleapis.com'; constant GOOGLE_INTERNAL_ENDPOINT (line 19) | const GOOGLE_INTERNAL_ENDPOINT = 'googleapis.com'; constant AUTHORIZATION_HEADER (line 21) | const AUTHORIZATION_HEADER = 'Authorization'; constant CONTENT_TYPE_HEADER (line 22) | const CONTENT_TYPE_HEADER = 'Content-Type'; constant USER_AGENT_HEADER (line 23) | const USER_AGENT_HEADER = 'User-Agent'; constant X_GOOG_API_CLIENT_HEADER (line 24) | const X_GOOG_API_CLIENT_HEADER = 'X-Goog-Api-Client'; constant SERVER_RESERVED_HEADERS (line 25) | const SERVER_RESERVED_HEADERS = [AUTHORIZATION_HEADER, CONTENT_TYPE_HEAD... function postRequest (line 39) | async function postRequest({ function getFetchOptions (line 84) | function getFetchOptions(requestOptions?: RequestOptions): RequestInit { function stringHasLineBreak (line 100) | function stringHasLineBreak(header?: string | null): boolean { function headersHasLineBreak (line 106) | function headersHasLineBreak(customHeaders?: Headers): boolean { function getExtraHeaders (line 118) | function getExtraHeaders( FILE: vertexai/src/functions/pre_fetch_processing.ts function formatContentRequest (line 28) | function formatContentRequest( function validateGenerateContentRequest (line 44) | function validateGenerateContentRequest( function validateGenerationConfig (line 54) | function validateGenerationConfig( function getApiVersion (line 65) | function getApiVersion( function hasVertexRagStore (line 73) | function hasVertexRagStore(request: GenerateContentRequest): boolean { function hasCachedContent (line 84) | function hasCachedContent(request: GenerateContentRequest): boolean { function hasVertexAISearch (line 88) | function hasVertexAISearch(request: GenerateContentRequest): boolean { FILE: vertexai/src/functions/test/functions_test.ts constant TEST_LOCATION (line 43) | const TEST_LOCATION = 'test-location'; constant TEST_RESOURCE_PATH (line 44) | const TEST_RESOURCE_PATH = 'test-resource-path'; constant TEST_TOKEN (line 45) | const TEST_TOKEN = 'testtoken'; constant TEST_TOKEN_PROMISE (line 46) | const TEST_TOKEN_PROMISE = Promise.resolve(TEST_TOKEN); constant TEST_API_ENDPOINT (line 47) | const TEST_API_ENDPOINT = 'test-api-endpoint'; constant TEST_CHAT_MESSAGE_TEXT (line 48) | const TEST_CHAT_MESSAGE_TEXT = 'How are you doing today?'; constant TEST_USER_CHAT_MESSAGE (line 49) | const TEST_USER_CHAT_MESSAGE = [ constant CONTENTS (line 53) | const CONTENTS = [ constant TEST_USER_CHAT_MESSAGE_WITH_GCS_FILE (line 60) | const TEST_USER_CHAT_MESSAGE_WITH_GCS_FILE = [ constant TEST_USER_CHAT_MESSAGE_WITH_INVALID_GCS_FILE (line 75) | const TEST_USER_CHAT_MESSAGE_WITH_INVALID_GCS_FILE = [ constant TEST_SAFETY_SETTINGS (line 85) | const TEST_SAFETY_SETTINGS: SafetySetting[] = [ constant TEST_REQUEST_OPTIONS (line 92) | const TEST_REQUEST_OPTIONS: RequestOptions = { constant TEST_SAFETY_RATINGS (line 95) | const TEST_SAFETY_RATINGS: SafetyRating[] = [ constant TEST_GENERATION_CONFIG (line 101) | const TEST_GENERATION_CONFIG = { constant TEST_CANDIDATES (line 105) | const TEST_CANDIDATES = [ constant TEST_MODEL_RESPONSE (line 126) | const TEST_MODEL_RESPONSE = { constant TEST_CANDIDATE_WITH_INVALID_DATA (line 130) | const TEST_CANDIDATE_WITH_INVALID_DATA = [ constant TEST_MODEL_RESPONSE_WITH_INVALID_DATA (line 139) | const TEST_MODEL_RESPONSE_WITH_INVALID_DATA = { constant TEST_FUNCTION_CALL_RESPONSE (line 142) | const TEST_FUNCTION_CALL_RESPONSE = { constant TEST_CANDIDATES_WITH_FUNCTION_CALL (line 152) | const TEST_CANDIDATES_WITH_FUNCTION_CALL = [ constant TEST_MODEL_RESPONSE_WITH_FUNCTION_CALL (line 164) | const TEST_MODEL_RESPONSE_WITH_FUNCTION_CALL = { constant TEST_ENDPOINT_BASE_PATH (line 168) | const TEST_ENDPOINT_BASE_PATH = 'test.googleapis.com'; constant TEST_GCS_FILENAME (line 169) | const TEST_GCS_FILENAME = 'gs://test_bucket/test_image.jpeg'; constant TEST_MULTIPART_MESSAGE (line 171) | const TEST_MULTIPART_MESSAGE = [ constant BASE_64_IMAGE (line 181) | const BASE_64_IMAGE = constant INLINE_DATA_FILE_PART (line 183) | const INLINE_DATA_FILE_PART = { constant TEST_MULTIPART_MESSAGE_BASE64 (line 190) | const TEST_MULTIPART_MESSAGE_BASE64 = [ constant TEST_EMPTY_TOOLS (line 197) | const TEST_EMPTY_TOOLS: Tool[] = []; constant TEST_EMPTY_TOOL_CONFIG (line 199) | const TEST_EMPTY_TOOL_CONFIG: ToolConfig = {}; constant TEST_TOOLS_WITH_FUNCTION_DECLARATION (line 201) | const TEST_TOOLS_WITH_FUNCTION_DECLARATION: Tool[] = [ constant TEST_TOOLS_WITH_RAG (line 223) | const TEST_TOOLS_WITH_RAG: Tool[] = [ constant TEST_LABELS (line 229) | const TEST_LABELS: Record = { function buildFetchResponse (line 251) | function buildFetchResponse(body: any): Response { FILE: vertexai/src/functions/test/post_fetch_processing_test.ts constant LOCATION (line 48) | const LOCATION = 'location'; constant RESOURCE_PATH (line 49) | const RESOURCE_PATH = 'RESOURCE_PATH'; constant TOKEN (line 50) | const TOKEN = Promise.resolve('token'); constant GENERATE_CONTENT_REQUEST (line 51) | const GENERATE_CONTENT_REQUEST = 'generate_content_request'; constant COUNT_TOKEN_REQUEST (line 52) | const COUNT_TOKEN_REQUEST = { FILE: vertexai/src/functions/test/pre_fetch_processing_test.ts constant TOOL1 (line 24) | const TOOL1 = {retrieval: {vertexAiSearch: {datastore: 'datastore'}}} as... constant TOOL2 (line 25) | const TOOL2 = { constant TOOL3 (line 28) | const TOOL3 = { constant VALID_TOOL_ERROR_MESSAGE (line 35) | const VALID_TOOL_ERROR_MESSAGE = FILE: vertexai/src/functions/test/test_data.ts constant STREAM_RESPONSE_CHUNKS_1 (line 22) | const STREAM_RESPONSE_CHUNKS_1: GenerateContentResponse[] = [ constant AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_1 (line 386) | const AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_1: GenerateContentRespo... constant STREAM_RESPONSE_CHUNKS_2 (line 555) | const STREAM_RESPONSE_CHUNKS_2: GenerateContentResponse[] = [ constant AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_2 (line 739) | const AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_2: GenerateContentRespo... constant STREAM_RESPONSE_CHUNKS_3 (line 854) | const STREAM_RESPONSE_CHUNKS_3: GenerateContentResponse[] = [ constant AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_3 (line 869) | const AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_3: GenerateContentRespo... constant STREAM_RESPONSE_CHUNKS_4 (line 889) | const STREAM_RESPONSE_CHUNKS_4: GenerateContentResponse[] = [ constant AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_4 (line 895) | const AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_4: GenerateContentRespo... constant STREAM_RESPONSE_CHUNKS_5 (line 908) | const STREAM_RESPONSE_CHUNKS_5: GenerateContentResponse[] = [ constant AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_5 (line 932) | const AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_5: GenerateContentRespo... constant STREAM_RESPONSE_CHUNKS_6 (line 948) | const STREAM_RESPONSE_CHUNKS_6: GenerateContentResponse[] = [ constant AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_6 (line 960) | const AGGREGATED_RESPONSE_STREAM_RESPONSE_CHUNKS_6: GenerateContentRespo... constant UNARY_RESPONSE_1 (line 973) | const UNARY_RESPONSE_1: GenerateContentResponse = { constant UNARY_RESPONSE_MISSING_ROLE_INDEX (line 1078) | const UNARY_RESPONSE_MISSING_ROLE_INDEX: GenerateContentResponse = { constant COUNT_TOKENS_RESPONSE_1 (line 1180) | const COUNT_TOKENS_RESPONSE_1: CountTokensResponse = { FILE: vertexai/src/functions/util.ts function formulateSystemInstructionIntoContent (line 21) | function formulateSystemInstructionIntoContent( FILE: vertexai/src/models/chat_session.ts class ChatSession (line 50) | class ChatSession { method getHistory (line 65) | async getHistory(): Promise { method constructor (line 73) | constructor( method fetchToken (line 100) | private fetchToken(): Promise { method sendMessage (line 126) | async sendMessage( method appendHistory (line 168) | private async appendHistory( method sendMessageStream (line 211) | async sendMessageStream( class ChatSessionPreview (line 260) | class ChatSessionPreview { method getHistory (line 276) | async getHistory(): Promise { method constructor (line 284) | constructor( method fetchToken (line 311) | private fetchToken(): Promise { method sendMessage (line 337) | async sendMessage( method appendHistory (line 381) | private async appendHistory( method sendMessageStream (line 424) | async sendMessageStream( function formulateNewContentFromSendMessageRequest (line 466) | function formulateNewContentFromSendMessageRequest( function assignRoleToPartsAndValidateSendMessageRequest (line 494) | function assignRoleToPartsAndValidateSendMessageRequest( FILE: vertexai/src/models/generative_models.ts class GenerativeModel (line 55) | class GenerativeModel { method constructor (line 74) | constructor(getGenerativeModelParams: GetGenerativeModelParams) { method fetchToken (line 104) | private fetchToken(): Promise { method generateContent (line 129) | async generateContent( method generateContentStream (line 176) | async generateContentStream( method countTokens (line 217) | async countTokens(request: CountTokensRequest): Promise { method generateContent (line 361) | async generateContent( method generateContentStream (line 410) | async generateContentStream( method countTokens (line 453) | async countTokens(request: CountTokensRequest): Promise { method update (line 45) | update( method delete (line 63) | delete(name: string): Promise { method list (line 71) | list( method get (line 86) | get(name: string): Promise { function inferFullResourceName (line 95) | function inferFullResourceName( function inferModelName (line 122) | function inferModelName( class CachedContents (line 143) | class CachedContents { method constructor (line 145) | constructor(client: ApiClient) { method create (line 154) | create(cachedContent: CachedContent): Promise { method update (line 175) | update( method delete (line 206) | delete(name: string): Promise { method list (line 222) | list( method get (line 234) | get(name: string): Promise { FILE: vertexai/src/resources/shared/api_client.ts constant AUTHORIZATION_HEADER (line 27) | const AUTHORIZATION_HEADER = 'Authorization'; constant CONTENT_TYPE_HEADER (line 28) | const CONTENT_TYPE_HEADER = 'Content-Type'; constant USER_AGENT_HEADER (line 29) | const USER_AGENT_HEADER = 'User-Agent'; class ApiClient (line 31) | class ApiClient { method constructor (line 32) | constructor( method fetchToken (line 44) | private fetchToken(): Promise { method getBaseUrl (line 51) | getBaseUrl() { method getBaseResourePath (line 55) | getBaseResourePath() { method unaryApiCall (line 59) | async unaryApiCall( method apiCall (line 72) | private async apiCall( method getHeaders (line 92) | private async getHeaders(): Promise { function throwErrorIfNotOK (line 102) | async function throwErrorIfNotOK( FILE: vertexai/src/testing/fake_google_auth.ts type FakeGoogleAuthParams (line 20) | interface FakeGoogleAuthParams { class FakeGoogleAuth (line 29) | class FakeGoogleAuth extends GoogleAuth { method constructor (line 30) | constructor(private readonly params: FakeGoogleAuthParams) { method getAccessToken (line 34) | override getAccessToken(): Promise { function createFakeGoogleAuth (line 42) | function createFakeGoogleAuth( FILE: vertexai/src/types/common.ts type SchemaType (line 24) | enum SchemaType { type Schema (line 44) | interface Schema { FILE: vertexai/src/types/content.ts type VertexInit (line 26) | interface VertexInit { type GenerateContentRequest (line 57) | interface GenerateContentRequest extends BaseModelParams { type CountTokensRequest (line 82) | interface CountTokensRequest { type CountTokensResponse (line 90) | interface CountTokensResponse { type GetGenerativeModelParams (line 105) | interface GetGenerativeModelParams extends ModelParams { type ModelParams (line 145) | interface ModelParams extends BaseModelParams { type BaseModelParams (line 163) | interface BaseModelParams { type SafetySetting (line 182) | interface SafetySetting { type ResponseSchema (line 194) | interface ResponseSchema extends Schema {} type GenerationConfig (line 199) | interface GenerationConfig { type HarmCategory (line 241) | enum HarmCategory { type HarmBlockThreshold (line 257) | enum HarmBlockThreshold { type HarmProbability (line 275) | enum HarmProbability { type HarmSeverity (line 290) | enum HarmSeverity { type SafetyRating (line 305) | interface SafetyRating { type Content (line 321) | interface Content { type BasePart (line 339) | interface BasePart {} type TextPart (line 344) | interface TextPart extends BasePart { type InlineDataPart (line 360) | interface InlineDataPart extends BasePart { type FileData (line 376) | interface FileData { type FileDataPart (line 386) | interface FileDataPart extends BasePart { type FunctionResponsePart (line 402) | interface FunctionResponsePart extends BasePart { type FunctionCallPart (line 418) | interface FunctionCallPart extends BasePart { type Part (line 441) | type Part = type GenerativeContentBlob (line 452) | interface GenerativeContentBlob { type UsageMetadata (line 465) | interface UsageMetadata { type PromptFeedback (line 479) | interface PromptFeedback { type BlockedReason (line 491) | enum BlockedReason { type FinishReason (line 508) | enum FinishReason { type GenerateContentResult (line 547) | interface GenerateContentResult { type StreamGenerateContentResult (line 558) | interface StreamGenerateContentResult { type GenerateContentResponse (line 571) | interface GenerateContentResponse { type GenerateContentCandidate (line 586) | interface GenerateContentCandidate { type CitationMetadata (line 615) | interface CitationMetadata { type GoogleDate (line 632) | interface GoogleDate { type Citation (line 654) | interface Citation { type SearchEntryPoint (line 672) | interface SearchEntryPoint { type GroundingChunkWeb (line 685) | interface GroundingChunkWeb { type GroundingChunkRetrievedContext (line 695) | interface GroundingChunkRetrievedContext { type GroundingChunk (line 705) | interface GroundingChunk { type GroundingSupportSegment (line 717) | interface GroundingSupportSegment { type GroundingSupport (line 737) | interface GroundingSupport { type GroundingMetadata (line 758) | interface GroundingMetadata { type GroundingAttributionSegment (line 778) | interface GroundingAttributionSegment { type GroundingAttributionWeb (line 797) | interface GroundingAttributionWeb { type GroundingAttributionRetrievedContext (line 808) | interface GroundingAttributionRetrievedContext { type FunctionCall (line 820) | interface FunctionCall { type FunctionResponse (line 832) | interface FunctionResponse { type FunctionDeclaration (line 846) | interface FunctionDeclaration { type FunctionDeclarationsTool (line 886) | interface FunctionDeclarationsTool { type RetrievalTool (line 903) | interface RetrievalTool { type VertexRagStore (line 908) | interface VertexRagStore { type RagResource (line 929) | interface RagResource { type GoogleSearchRetrievalTool (line 948) | interface GoogleSearchRetrievalTool { type Tool (line 954) | type Tool = type Retrieval (line 962) | interface Retrieval { type Mode (line 980) | enum Mode { type DynamicRetrievalConfig (line 986) | interface DynamicRetrievalConfig { type GoogleSearchRetrieval (line 996) | interface GoogleSearchRetrieval { type VertexAISearch (line 1004) | interface VertexAISearch { type FunctionDeclarationSchemaType (line 1019) | type FunctionDeclarationSchemaType = SchemaType; type FunctionDeclarationSchema (line 1025) | interface FunctionDeclarationSchema { type FunctionDeclarationSchemaProperty (line 1041) | type FunctionDeclarationSchemaProperty = Schema; type StartChatParams (line 1046) | interface StartChatParams { type StartChatSessionRequest (line 1074) | interface StartChatSessionRequest extends StartChatParams { type RequestOptions (line 1095) | interface RequestOptions { type CachedContent (line 1114) | interface CachedContent { type CachedContentUsageMetadata (line 1172) | interface CachedContentUsageMetadata { type ListCachedContentsResponse (line 1190) | interface ListCachedContentsResponse { FILE: vertexai/src/types/errors.ts class GoogleAuthError (line 21) | class GoogleAuthError extends Error { method constructor (line 23) | constructor(message: string, stackTrace?: Error) { class ClientError (line 35) | class ClientError extends Error { method constructor (line 37) | constructor(message: string, stackTrace?: Error) { type ErrorDetails (line 50) | interface ErrorDetails { class GoogleApiError (line 62) | class GoogleApiError extends Error { method constructor (line 63) | constructor( class GoogleGenerativeAIError (line 77) | class GoogleGenerativeAIError extends Error { method constructor (line 79) | constructor(message: string, stackTrace?: Error) { class IllegalArgumentError (line 90) | class IllegalArgumentError extends Error { method constructor (line 92) | constructor(message: string, stackTrace?: Error) { function constructErrorMessage (line 100) | function constructErrorMessage( FILE: vertexai/src/types/generate_content_response_handler.ts class GenerateContentResponseHandler (line 23) | class GenerateContentResponseHandler { method getFunctionCallsFromCandidate (line 30) | static getFunctionCallsFromCandidate( FILE: vertexai/src/types/tool.ts type ToolConfig (line 19) | interface ToolConfig { type FunctionCallingMode (line 25) | enum FunctionCallingMode { type FunctionCallingConfig (line 47) | interface FunctionCallingConfig { FILE: vertexai/src/util/constants.ts constant GENERATE_CONTENT_METHOD (line 17) | const GENERATE_CONTENT_METHOD = 'generateContent'; constant STREAMING_GENERATE_CONTENT_METHOD (line 18) | const STREAMING_GENERATE_CONTENT_METHOD = 'streamGenerateContent'; constant COUNT_TOKENS_METHOD (line 19) | const COUNT_TOKENS_METHOD = 'countTokens'; constant USER_ROLE (line 20) | const USER_ROLE = 'user'; constant MODEL_ROLE (line 21) | const MODEL_ROLE = 'model'; constant SYSTEM_ROLE (line 22) | const SYSTEM_ROLE = 'system'; constant USER_AGENT_PRODUCT (line 23) | const USER_AGENT_PRODUCT = 'model-builder'; constant CLIENT_LIBRARY_VERSION (line 24) | const CLIENT_LIBRARY_VERSION = '1.12.0'; constant CLIENT_LIBRARY_LANGUAGE (line 25) | const CLIENT_LIBRARY_LANGUAGE = `grpc-node/${CLIENT_LIBRARY_VERSION}`; constant USER_AGENT (line 26) | const USER_AGENT = `${USER_AGENT_PRODUCT}/${CLIENT_LIBRARY_VERSION} ${CL... constant CREDENTIAL_ERROR_MESSAGE (line 27) | const CREDENTIAL_ERROR_MESSAGE = FILE: vertexai/src/vertex_ai.ts class VertexAI (line 43) | class VertexAI { method constructor (line 58) | constructor(init: VertexInit) { method getGenerativeModel (line 127) | getGenerativeModel( method getProject (line 147) | protected getProject(): string { method getLocation (line 151) | protected getLocation(): string { class VertexAIPreview (line 160) | class VertexAIPreview { method constructor (line 184) | constructor( method getGenerativeModel (line 209) | getGenerativeModel( method getGenerativeModelFromCachedContent (line 229) | getGenerativeModelFromCachedContent( function validateCachedContentModel (line 291) | function validateCachedContentModel(modelName: string) { function parseModelName (line 305) | function parseModelName(modelName: string): string { function validateGoogleAuthOptions (line 312) | function validateGoogleAuthOptions( function resolveProject (line 345) | function resolveProject(projectFromInput?: string): string { function resolveLocation (line 361) | function resolveLocation(locationFromInput?: string): string { FILE: vertexai/system_test/end_to_end_sample_test.ts constant PROJECT (line 32) | const PROJECT = process.env['GCLOUD_PROJECT']; constant LOCATION (line 33) | const LOCATION = 'us-central1'; constant TEXT_REQUEST (line 34) | const TEXT_REQUEST = { constant TEXT_PART (line 38) | const TEXT_PART = { constant GCS_FILE_PART (line 42) | const GCS_FILE_PART = { constant BASE_64_IMAGE (line 48) | const BASE_64_IMAGE = constant INLINE_DATA_FILE_PART (line 50) | const INLINE_DATA_FILE_PART = { constant MULTI_PART_GCS_REQUEST (line 57) | const MULTI_PART_GCS_REQUEST = { constant MULTI_PART_BASE64_REQUEST (line 60) | const MULTI_PART_BASE64_REQUEST = { constant FUNCTION_CALL_NAME (line 64) | const FUNCTION_CALL_NAME = 'get_current_weather'; constant TOOLS_WITH_FUNCTION_DECLARATION (line 66) | const TOOLS_WITH_FUNCTION_DECLARATION: FunctionDeclarationsTool[] = [ constant TOOLS_WITH_GOOGLE_SEARCH_RETRIEVAL (line 88) | const TOOLS_WITH_GOOGLE_SEARCH_RETRIEVAL: GoogleSearchRetrievalTool[] = [ constant TOOLS_WITH_RAG (line 99) | const TOOLS_WITH_RAG = [ constant WEATHER_FORECAST (line 114) | const WEATHER_FORECAST = 'super nice'; constant FUNCTION_RESPONSE_PART (line 115) | const FUNCTION_RESPONSE_PART = [ constant FUNCTION_CALL (line 127) | const FUNCTION_CALL = [ constant TEXT_MODEL_NAME (line 137) | const TEXT_MODEL_NAME = 'gemini-2.0-flash'; FILE: vertexai/test/vertex_ai_test.ts constant PROJECT (line 22) | const PROJECT = 'test_project'; constant LOCATION (line 23) | const LOCATION = 'test_location'; class VertexAIForTest (line 25) | class VertexAIForTest extends VertexAI { method getProject (line 26) | public override getProject(): string { method getLocation (line 29) | public override getLocation(): string { function cleanupEnvironmentVariable (line 212) | function cleanupEnvironmentVariable() {