<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">SAP BTP edition v1.1</button>

- [SAP BTP edition v1.1](https://docs.cloud.google.com/sap/docs/abap-sdk/btp/latest/reference/googcl_generativelang_v1beta.md.txt)
- [On-premises or any cloud edition v1.15](https://docs.cloud.google.com/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/reference/googcl_generativelang_v1beta.md.txt)

## Class

```abap
/GOOG/CL_GENERATIVELANG_V1BETA
```

- Inheriting from:`/GOOG/CL_HTTP_CLIENT`
- Description:`Generative Language API v1beta`

For general information about a class in ABAP SDK for Google Cloud, see [API client stub](https://docs.cloud.google.com/sap/docs/abap-sdk/btp/latest/developer.md.txt#client_stub).

## Types

| Type | Description | Visibility |
|---|---|---|
| `TY_001` | `AttributionSourceId` | PUBLIC |
| `TY_002` | `BatchCreateChunksRequest` | PUBLIC |
| `TY_003` | `BatchCreateChunksResponse` | PUBLIC |
| `TY_004` | `BatchDeleteChunksRequest` | PUBLIC |
| `TY_005` | `BatchEmbedContentsRequest` | PUBLIC |
| `TY_006` | `BatchEmbedContentsResponse` | PUBLIC |
| `TY_007` | `BatchEmbedTextRequest` | PUBLIC |
| `TY_008` | `BatchEmbedTextResponse` | PUBLIC |
| `TY_009` | `BatchUpdateChunksRequest` | PUBLIC |
| `TY_010` | `BatchUpdateChunksResponse` | PUBLIC |
| `TY_011` | `Blob` | PUBLIC |
| `TY_012` | `Candidate` | PUBLIC |
| `TY_013` | `Chunk` | PUBLIC |
| `TY_014` | `ChunkData` | PUBLIC |
| `TY_015` | `CitationMetadata` | PUBLIC |
| `TY_016` | `CitationSource` | PUBLIC |
| `TY_017` | `Condition` | PUBLIC |
| `TY_018` | `Content` | PUBLIC |
| `TY_019` | `ContentEmbedding` | PUBLIC |
| `TY_020` | `ContentFilter` | PUBLIC |
| `TY_021` | `Corpus` | PUBLIC |
| `TY_022` | `CountMessageTokensRequest` | PUBLIC |
| `TY_023` | `CountMessageTokensResponse` | PUBLIC |
| `TY_024` | `CountTextTokensRequest` | PUBLIC |
| `TY_025` | `CountTextTokensResponse` | PUBLIC |
| `TY_026` | `CountTokensRequest` | PUBLIC |
| `TY_027` | `CountTokensResponse` | PUBLIC |
| `TY_028` | `CreateChunkRequest` | PUBLIC |
| `TY_029` | `CustomMetadata` | PUBLIC |
| `TY_030` | `Dataset` | PUBLIC |
| `TY_031` | `DeleteChunkRequest` | PUBLIC |
| `TY_032` | `Document` | PUBLIC |
| `TY_033` | `EmbedContentRequest` | PUBLIC |
| `TY_034` | `EmbedContentResponse` | PUBLIC |
| `TY_035` | `EmbedTextRequest` | PUBLIC |
| `TY_036` | `EmbedTextResponse` | PUBLIC |
| `TY_037` | `Embedding` | PUBLIC |
| `TY_039` | `Example` | PUBLIC |
| `TY_040` | `FunctionCall` | PUBLIC |
| `TY_041` | `FunctionDeclaration` | PUBLIC |
| `TY_042` | `FunctionResponse` | PUBLIC |
| `TY_043` | `GenerateAnswerRequest` | PUBLIC |
| `TY_044` | `GenerateAnswerResponse` | PUBLIC |
| `TY_045` | `GenerateContentRequest` | PUBLIC |
| `TY_046` | `GenerateContentResponse` | PUBLIC |
| `TY_047` | `GenerateMessageRequest` | PUBLIC |
| `TY_048` | `GenerateMessageResponse` | PUBLIC |
| `TY_049` | `GenerateTextRequest` | PUBLIC |
| `TY_050` | `GenerateTextResponse` | PUBLIC |
| `TY_051` | `GenerationConfig` | PUBLIC |
| `TY_052` | `GroundingAttribution` | PUBLIC |
| `TY_053` | `GroundingPassage` | PUBLIC |
| `TY_054` | `GroundingPassageId` | PUBLIC |
| `TY_055` | `GroundingPassages` | PUBLIC |
| `TY_056` | `Hyperparameters` | PUBLIC |
| `TY_057` | `ListChunksResponse` | PUBLIC |
| `TY_058` | `ListCorporaResponse` | PUBLIC |
| `TY_059` | `ListDocumentsResponse` | PUBLIC |
| `TY_060` | `ListModelsResponse` | PUBLIC |
| `TY_061` | `ListPermissionsResponse` | PUBLIC |
| `TY_062` | `ListTunedModelsResponse` | PUBLIC |
| `TY_063` | `Message` | PUBLIC |
| `TY_064` | `MessagePrompt` | PUBLIC |
| `TY_065` | `MetadataFilter` | PUBLIC |
| `TY_066` | `Model` | PUBLIC |
| `TY_067` | `Operation` | PUBLIC |
| `TY_068` | `Part` | PUBLIC |
| `TY_069` | `Permission` | PUBLIC |
| `TY_070` | `PromptFeedback` | PUBLIC |
| `TY_071` | `QueryCorpusRequest` | PUBLIC |
| `TY_072` | `QueryCorpusResponse` | PUBLIC |
| `TY_073` | `QueryDocumentRequest` | PUBLIC |
| `TY_074` | `QueryDocumentResponse` | PUBLIC |
| `TY_075` | `RelevantChunk` | PUBLIC |
| `TY_076` | `SafetyFeedback` | PUBLIC |
| `TY_077` | `SafetyRating` | PUBLIC |
| `TY_078` | `SafetySetting` | PUBLIC |
| `TY_080` | `SemanticRetrieverChunk` | PUBLIC |
| `TY_081` | `SemanticRetrieverConfig` | PUBLIC |
| `TY_082` | `Status` | PUBLIC |
| `TY_083` | `StringList` | PUBLIC |
| `TY_084` | `TextCompletion` | PUBLIC |
| `TY_085` | `TextPrompt` | PUBLIC |
| `TY_086` | `Tool` | PUBLIC |
| `TY_087` | `TransferOwnershipRequest` | PUBLIC |
| `TY_089` | `TunedModel` | PUBLIC |
| `TY_090` | `TunedModelSource` | PUBLIC |
| `TY_091` | `TuningExample` | PUBLIC |
| `TY_092` | `TuningExamples` | PUBLIC |
| `TY_093` | `TuningSnapshot` | PUBLIC |
| `TY_094` | `TuningTask` | PUBLIC |
| `TY_095` | `UpdateChunkRequest` | PUBLIC |
| `TY_096` | `InputFeedback` | PUBLIC |
| `TY_097` | `CreateFileRequest` | PUBLIC |
| `TY_098` | `CreateFileResponse` | PUBLIC |
| `TY_099` | `File` | PUBLIC |
| `TY_100` | `FileData` | PUBLIC |
| `TY_101` | `FunctionCallingConfig` | PUBLIC |
| `TY_102` | `ListFilesResponse` | PUBLIC |
| `TY_103` | `ToolConfig` | PUBLIC |
| `TY_104` | `UsageMetadata` | PUBLIC |
| `TY_105` | `VideoMetadata` | PUBLIC |
| `TY_106` | `CachedContent` | PUBLIC |
| `TY_107` | `CachedContentUsageMetadata` | PUBLIC |
| `TY_109` | `CodeExecutionResult` | PUBLIC |
| `TY_110` | `ExecutableCode` | PUBLIC |
| `TY_111` | `ListCachedContentsResponse` | PUBLIC |
| `TY_112` | `ChatCompletionsRequest` | PUBLIC |
| `TY_113` | `ChatFunction` | PUBLIC |
| `TY_114` | `ChatTool` | PUBLIC |
| `TY_115` | `DynamicRetrievalConfig` | PUBLIC |
| `TY_116` | `GenerateEmbeddingsEmbedding` | PUBLIC |
| `TY_117` | `GenerateEmbeddingsRequest` | PUBLIC |
| `TY_118` | `GenerateEmbeddingsResponse` | PUBLIC |
| `TY_119` | `GeneratedFile` | PUBLIC |
| `TY_120` | `GoogleSearchRetrieval` | PUBLIC |
| `TY_121` | `GroundingChunk` | PUBLIC |
| `TY_122` | `GroundingMetadata` | PUBLIC |
| `TY_123` | `GroundingSupport` | PUBLIC |
| `TY_124` | `HttpBody` | PUBLIC |
| `TY_125` | `ListGeneratedFilesResponse` | PUBLIC |
| `TY_126` | `ListOperationsResponse` | PUBLIC |
| `TY_127` | `LogprobsResult` | PUBLIC |
| `TY_128` | `LogprobsResultCandidate` | PUBLIC |
| `TY_129` | `PredictLongRunningRequest` | PUBLIC |
| `TY_130` | `PredictRequest` | PUBLIC |
| `TY_131` | `PredictResponse` | PUBLIC |
| `TY_132` | `ResponseFormat` | PUBLIC |
| `TY_133` | `ResponseFormatSchema` | PUBLIC |
| `TY_134` | `RetrievalMetadata` | PUBLIC |
| `TY_135` | `SearchEntryPoint` | PUBLIC |
| `TY_136` | `Segment` | PUBLIC |
| `TY_137` | `StreamOptions` | PUBLIC |
| `TY_138` | `TopCandidates` | PUBLIC |
| `TY_139` | `Web` | PUBLIC |
| `TY_T_012` | `Candidate` | PUBLIC |
| `TY_T_013` | `Chunk` | PUBLIC |
| `TY_T_016` | `CitationSource` | PUBLIC |
| `TY_T_017` | `Condition` | PUBLIC |
| `TY_T_018` | `Content` | PUBLIC |
| `TY_T_019` | `ContentEmbedding` | PUBLIC |
| `TY_T_020` | `ContentFilter` | PUBLIC |
| `TY_T_021` | `Corpus` | PUBLIC |
| `TY_T_028` | `CreateChunkRequest` | PUBLIC |
| `TY_T_029` | `CustomMetadata` | PUBLIC |
| `TY_T_031` | `DeleteChunkRequest` | PUBLIC |
| `TY_T_032` | `Document` | PUBLIC |
| `TY_T_033` | `EmbedContentRequest` | PUBLIC |
| `TY_T_035` | `EmbedTextRequest` | PUBLIC |
| `TY_T_037` | `Embedding` | PUBLIC |
| `TY_T_039` | `Example` | PUBLIC |
| `TY_T_041` | `FunctionDeclaration` | PUBLIC |
| `TY_T_052` | `GroundingAttribution` | PUBLIC |
| `TY_T_053` | `GroundingPassage` | PUBLIC |
| `TY_T_063` | `Message` | PUBLIC |
| `TY_T_065` | `MetadataFilter` | PUBLIC |
| `TY_T_066` | `Model` | PUBLIC |
| `TY_T_067` | `Operation` | PUBLIC |
| `TY_T_068` | `Part` | PUBLIC |
| `TY_T_069` | `Permission` | PUBLIC |
| `TY_T_075` | `RelevantChunk` | PUBLIC |
| `TY_T_076` | `SafetyFeedback` | PUBLIC |
| `TY_T_077` | `SafetyRating` | PUBLIC |
| `TY_T_078` | `SafetySetting` | PUBLIC |
| `TY_T_084` | `TextCompletion` | PUBLIC |
| `TY_T_086` | `Tool` | PUBLIC |
| `TY_T_089` | `TunedModel` | PUBLIC |
| `TY_T_091` | `TuningExample` | PUBLIC |
| `TY_T_093` | `TuningSnapshot` | PUBLIC |
| `TY_T_095` | `UpdateChunkRequest` | PUBLIC |
| `TY_T_099` | `File` | PUBLIC |
| `TY_T_106` | `CachedContent` | PUBLIC |
| `TY_T_114` | `ChatTool` | PUBLIC |
| `TY_T_116` | `GenerateEmbeddingsEmbedding` | PUBLIC |
| `TY_T_119` | `GeneratedFile` | PUBLIC |
| `TY_T_121` | `GroundingChunk` | PUBLIC |
| `TY_T_123` | `GroundingSupport` | PUBLIC |
| `TY_T_128` | `LogprobsResultCandidate` | PUBLIC |
| `TY_T_138` | `TopCandidates` | PUBLIC |
| `TY_T_INT4` | `Table of Integers` | PUBLIC |
| `TY_T_STRING` | `Table of Strings` | PUBLIC |
| `TYT/GOOG/NUM_FLOAT` |   | PUBLIC |

## Constants

| Name | Type | Description | Value | Visibility |
|---|---|---|---|---|
| `C_SUPPORTED_AUTH` | `/GOOG/SUPP_AUTH` | Supported Auth Types | IJIJWW | PUBLIC |
| `C_SERVICE_NAME` | `/GOOG/SERVICE_NAME` | Google Service Name | generativelanguage:v1beta | PUBLIC |
| `C_ROOT_URL` | `STRING` | API Root URL | https://generativelanguage.googleapis.com | PUBLIC |
| `C_REVISION_DATE` | `DATUM` | Discovery Document revision Date | 20241112 | PUBLIC |
| `C_PATH_PREFIX` | `STRING` | API Path Prefix |   | PUBLIC |
| `C_ON_PREM_VERSION` | `/GOOG/SDK_VERSION` | Lowest On-premises Version |   | PUBLIC |
| `C_CLOUD_VERSION` | `/GOOG/SDK_VERSION` | Lowest Cloud Version | 1.1 | PUBLIC |

## Methods

For general information about a method in ABAP SDK for Google Cloud, see [API method](https://docs.cloud.google.com/sap/docs/abap-sdk/btp/latest/developer.md.txt#api_method).

### CONSTRUCTOR

- Description: Constructor
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_KEY_NAME` | IMPORTING | `/GOOG/KEYNAME` | Google Cloud Key Name |
| `IV_LOG_OBJ` | IMPORTING | `BALOBJ_D` | Application log: Object name (Application code) |
| `IV_LOG_SUBOBJ` | IMPORTING | `BALSUBOBJ` | Application Log: Subobject |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### BATCH_CREATE_CHUNKS

- Description: generativelanguage.corpora.documents.chunks.batchCreate
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `IS_INPUT` | IMPORTING | `TY_002` | BatchCreateChunksRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_003` | BatchCreateChunksResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### BATCH_DELETE_CHUNKS

- Description: generativelanguage.corpora.documents.chunks.batchDelete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `IS_INPUT` | IMPORTING | `TY_004` | BatchDeleteChunksRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### BATCH_EMBED_CONTENTS_MODELS

- Description: generativelanguage.models.batchEmbedContents
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_005` | BatchEmbedContentsRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_006` | BatchEmbedContentsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### BATCH_EMBED_TEXT_MODELS

- Description: generativelanguage.models.batchEmbedText
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_007` | BatchEmbedTextRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_008` | BatchEmbedTextResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### BATCH_UPDATE_CHUNKS

- Description: generativelanguage.corpora.documents.chunks.batchUpdate
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `IS_INPUT` | IMPORTING | `TY_009` | BatchUpdateChunksRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_010` | BatchUpdateChunksResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CHAT_COMPLETIONS_V1BETA

- Description: generativelanguage.chatCompletions
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_112` | ChatCompletionsRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_124` | HttpBody |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### COMPLETIONS_CHAT

- Description: generativelanguage.chat.completions
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_112` | ChatCompletionsRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_124` | HttpBody |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### COMPLETIONS_CHAT1

- Description: generativelanguage.openai.chat.completions
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_112` | ChatCompletionsRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_124` | HttpBody |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### COUNT_MESSAGE_TOKENS_MODELS

- Description: generativelanguage.models.countMessageTokens
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_022` | CountMessageTokensRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_023` | CountMessageTokensResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### COUNT_TEXT_TOKENS_MODELS

- Description: generativelanguage.models.countTextTokens
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_024` | CountTextTokensRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_025` | CountTextTokensResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### COUNT_TOKENS_MODELS

- Description: generativelanguage.models.countTokens
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_026` | CountTokensRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_027` | CountTokensResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CREATE_CACHED_CONTENTS

- Description: generativelanguage.cachedContents.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_106` | CachedContent |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_106` | CachedContent |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CREATE_CHUNKS

- Description: generativelanguage.corpora.documents.chunks.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `IS_INPUT` | IMPORTING | `TY_013` | Chunk |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_013` | Chunk |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CREATE_CORPORA

- Description: generativelanguage.corpora.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_021` | Corpus |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_021` | Corpus |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CREATE_DOCUMENTS

- Description: generativelanguage.corpora.documents.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IS_INPUT` | IMPORTING | `TY_032` | Document |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_032` | Document |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CREATE_PERMISSIONS

- Description: generativelanguage.corpora.permissions.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IS_INPUT` | IMPORTING | `TY_069` | Permission |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_069` | Permission |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CREATE_PERMISSIONS1

- Description: generativelanguage.tunedModels.permissions.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IS_INPUT` | IMPORTING | `TY_069` | Permission |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_069` | Permission |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CREATE_TUNED_MODELS

- Description: generativelanguage.tunedModels.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_TUNEDMODELID` | IMPORTING | `STRING` | tunedModelId |
| `IS_INPUT` | IMPORTING | `TY_089` | TunedModel |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_067` | Operation |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_CACHED_CONTENTS

- Description: generativelanguage.cachedContents.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CACHED_CONTENTS_ID` | IMPORTING | `STRING` | cachedContentsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_CHUNKS

- Description: generativelanguage.corpora.documents.chunks.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `IV_P_CHUNKS_ID` | IMPORTING | `STRING` | chunksId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_CORPORA

- Description: generativelanguage.corpora.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FORCE` | IMPORTING | `STRING` | force |
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_DOCUMENTS

- Description: generativelanguage.corpora.documents.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FORCE` | IMPORTING | `STRING` | force |
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_FILES

- Description: generativelanguage.files.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_FILES_ID` | IMPORTING | `STRING` | filesId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_PERMISSIONS

- Description: generativelanguage.corpora.permissions.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_PERMISSIONS_ID` | IMPORTING | `STRING` | permissionsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_PERMISSIONS1

- Description: generativelanguage.tunedModels.permissions.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IV_P_PERMISSIONS_ID` | IMPORTING | `STRING` | permissionsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_TUNED_MODELS

- Description: generativelanguage.tunedModels.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DOWNLOAD_MEDIA

- Description: generativelanguage.media.download
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_GENERATED_FILES_ID` | IMPORTING | `STRING` | generatedFilesId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_119` | GeneratedFile |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### EMBEDDINGS_OPENAI

- Description: generativelanguage.openai.embeddings
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_117` | GenerateEmbeddingsRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_118` | GenerateEmbeddingsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### EMBEDDINGS_V1BETA

- Description: generativelanguage.embeddings
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_117` | GenerateEmbeddingsRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_118` | GenerateEmbeddingsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### EMBED_CONTENT_MODELS

- Description: generativelanguage.models.embedContent
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_033` | EmbedContentRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_034` | EmbedContentResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### EMBED_TEXT_MODELS

- Description: generativelanguage.models.embedText
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_035` | EmbedTextRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_036` | EmbedTextResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GENERATE_ANSWER_MODELS

- Description: generativelanguage.models.generateAnswer
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_043` | GenerateAnswerRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_044` | GenerateAnswerResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GENERATE_CONTENT_MODELS

- Description: generativelanguage.models.generateContent
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_045` | GenerateContentRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_046` | GenerateContentResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GENERATE_CONTENT_TUNED_MODE

- Description: generativelanguage.tunedModels.generateContent
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IS_INPUT` | IMPORTING | `TY_045` | GenerateContentRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_046` | GenerateContentResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GENERATE_EMBEDDINGS

- Description: generativelanguage.embeddings.generate
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_117` | GenerateEmbeddingsRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_118` | GenerateEmbeddingsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GENERATE_MESSAGE_MODELS

- Description: generativelanguage.models.generateMessage
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_047` | GenerateMessageRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_048` | GenerateMessageResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GENERATE_TEXT_MODELS

- Description: generativelanguage.models.generateText
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_049` | GenerateTextRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_050` | GenerateTextResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GENERATE_TEXT_TUNED_MODELS

- Description: generativelanguage.tunedModels.generateText
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IS_INPUT` | IMPORTING | `TY_049` | GenerateTextRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_050` | GenerateTextResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_CACHED_CONTENTS

- Description: generativelanguage.cachedContents.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CACHED_CONTENTS_ID` | IMPORTING | `STRING` | cachedContentsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_106` | CachedContent |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_CHUNKS

- Description: generativelanguage.corpora.documents.chunks.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `IV_P_CHUNKS_ID` | IMPORTING | `STRING` | chunksId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_013` | Chunk |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_CORPORA

- Description: generativelanguage.corpora.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_021` | Corpus |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_DOCUMENTS

- Description: generativelanguage.corpora.documents.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_032` | Document |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_FILES

- Description: generativelanguage.files.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_FILES_ID` | IMPORTING | `STRING` | filesId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_099` | File |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_MODELS

- Description: generativelanguage.models.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_066` | Model |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_OPERATIONS

- Description: generativelanguage.generatedFiles.operations.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_GENERATED_FILES_ID` | IMPORTING | `STRING` | generatedFilesId |
| `IV_P_OPERATIONS_ID` | IMPORTING | `STRING` | operationsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_067` | Operation |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_OPERATIONS1

- Description: generativelanguage.models.operations.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IV_P_OPERATIONS_ID` | IMPORTING | `STRING` | operationsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_067` | Operation |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_OPERATIONS2

- Description: generativelanguage.tunedModels.operations.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IV_P_OPERATIONS_ID` | IMPORTING | `STRING` | operationsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_067` | Operation |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_PERMISSIONS

- Description: generativelanguage.corpora.permissions.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_PERMISSIONS_ID` | IMPORTING | `STRING` | permissionsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_069` | Permission |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_PERMISSIONS1

- Description: generativelanguage.tunedModels.permissions.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IV_P_PERMISSIONS_ID` | IMPORTING | `STRING` | permissionsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_069` | Permission |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_TUNED_MODELS

- Description: generativelanguage.tunedModels.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_089` | TunedModel |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_CACHED_CONTENTS

- Description: generativelanguage.cachedContents.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_111` | ListCachedContentsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_CHUNKS

- Description: generativelanguage.corpora.documents.chunks.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_057` | ListChunksResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_CORPORA

- Description: generativelanguage.corpora.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_058` | ListCorporaResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_DOCUMENTS

- Description: generativelanguage.corpora.documents.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_059` | ListDocumentsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_FILES

- Description: generativelanguage.files.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_102` | ListFilesResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_GENERATED_FILES

- Description: generativelanguage.generatedFiles.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_125` | ListGeneratedFilesResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_MODELS

- Description: generativelanguage.models.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_060` | ListModelsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_OPERATIONS

- Description: generativelanguage.models.operations.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FILTER` | IMPORTING | `STRING` | filter |
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_126` | ListOperationsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_OPERATIONS1

- Description: generativelanguage.tunedModels.operations.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FILTER` | IMPORTING | `STRING` | filter |
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_126` | ListOperationsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_PERMISSIONS

- Description: generativelanguage.corpora.permissions.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_061` | ListPermissionsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_PERMISSIONS1

- Description: generativelanguage.tunedModels.permissions.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_061` | ListPermissionsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_TUNED_MODELS

- Description: generativelanguage.tunedModels.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FILTER` | IMPORTING | `STRING` | filter |
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_062` | ListTunedModelsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PATCH_CACHED_CONTENTS

- Description: generativelanguage.cachedContents.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_CACHED_CONTENTS_ID` | IMPORTING | `STRING` | cachedContentsId |
| `IS_INPUT` | IMPORTING | `TY_106` | CachedContent |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_106` | CachedContent |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PATCH_CHUNKS

- Description: generativelanguage.corpora.documents.chunks.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `IV_P_CHUNKS_ID` | IMPORTING | `STRING` | chunksId |
| `IS_INPUT` | IMPORTING | `TY_013` | Chunk |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_013` | Chunk |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PATCH_CORPORA

- Description: generativelanguage.corpora.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IS_INPUT` | IMPORTING | `TY_021` | Corpus |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_021` | Corpus |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PATCH_DOCUMENTS

- Description: generativelanguage.corpora.documents.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `IS_INPUT` | IMPORTING | `TY_032` | Document |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_032` | Document |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PATCH_PERMISSIONS

- Description: generativelanguage.corpora.permissions.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_PERMISSIONS_ID` | IMPORTING | `STRING` | permissionsId |
| `IS_INPUT` | IMPORTING | `TY_069` | Permission |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_069` | Permission |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PATCH_PERMISSIONS1

- Description: generativelanguage.tunedModels.permissions.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IV_P_PERMISSIONS_ID` | IMPORTING | `STRING` | permissionsId |
| `IS_INPUT` | IMPORTING | `TY_069` | Permission |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_069` | Permission |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PATCH_TUNED_MODELS

- Description: generativelanguage.tunedModels.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IS_INPUT` | IMPORTING | `TY_089` | TunedModel |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_089` | TunedModel |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PREDICT_LONG_RUNNING_MODELS

- Description: generativelanguage.models.predictLongRunning
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_129` | PredictLongRunningRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_067` | Operation |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### PREDICT_MODELS

- Description: generativelanguage.models.predict
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_130` | PredictRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_131` | PredictResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### QUERY_CORPORA

- Description: generativelanguage.corpora.query
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IS_INPUT` | IMPORTING | `TY_071` | QueryCorpusRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_072` | QueryCorpusResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### QUERY_DOCUMENTS

- Description: generativelanguage.corpora.documents.query
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_CORPORA_ID` | IMPORTING | `STRING` | corporaId |
| `IV_P_DOCUMENTS_ID` | IMPORTING | `STRING` | documentsId |
| `IS_INPUT` | IMPORTING | `TY_073` | QueryDocumentRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_074` | QueryDocumentResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### STREAM_GENERATE_CONTENT_MOD

- Description: generativelanguage.models.streamGenerateContent
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_MODELS_ID` | IMPORTING | `STRING` | modelsId |
| `IS_INPUT` | IMPORTING | `TY_045` | GenerateContentRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_046` | GenerateContentResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### STREAM_GENERATE_CONTENT_TUN

- Description: generativelanguage.tunedModels.streamGenerateContent
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IS_INPUT` | IMPORTING | `TY_045` | GenerateContentRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_046` | GenerateContentResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### TRANSFER_OWNERSHIP_TUNED_MO

- Description: generativelanguage.tunedModels.transferOwnership
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_TUNED_MODELS_ID` | IMPORTING | `STRING` | tunedModelsId |
| `IS_INPUT` | IMPORTING | `TY_087` | TransferOwnershipRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `REF TO DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### UPLOAD_MEDIA

- Description: generativelanguage.media.upload
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_097` | CreateFileRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_098` | CreateFileResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CLOSE

- Description: Close Connection
- Visibility: PUBLIC