<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">On-premises or any cloud edition v1.15</button>

- [SAP BTP edition v1.1](https://docs.cloud.google.com/sap/docs/abap-sdk/btp/latest/reference/googcl_memcache_v1beta2)
- [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_memcache_v1beta2.md.txt)

## Class

```abap
/GOOG/CL_MEMCACHE_V1BETA2
```

- Inheriting from:`/GOOG/CL_HTTP_CLIENT`
- Description:`Cloud Memorystore for Memcached API v1beta2`

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/latest/developer#client_stub).

## Types

| Type | Description | Visibility |
|---|---|---|
| `TY_001` | `ApplyParametersRequest` | PUBLIC |
| `TY_002` | `ApplySoftwareUpdateRequest` | PUBLIC |
| `TY_008` | `GoogleCloudMemcacheV1beta2MaintenancePolicy` | PUBLIC |
| `TY_009` | `GoogleCloudMemcacheV1beta2UpgradeInstanceRequest` | PUBLIC |
| `TY_019` | `Instance` | PUBLIC |
| `TY_020` | `InstanceMessage` | PUBLIC |
| `TY_021` | `ListInstancesResponse` | PUBLIC |
| `TY_022` | `ListLocationsResponse` | PUBLIC |
| `TY_023` | `ListOperationsResponse` | PUBLIC |
| `TY_024` | `Location` | PUBLIC |
| `TY_026` | `MaintenanceSchedule` | PUBLIC |
| `TY_028` | `MemcacheParameters` | PUBLIC |
| `TY_029` | `Node` | PUBLIC |
| `TY_030` | `NodeConfig` | PUBLIC |
| `TY_031` | `Operation` | PUBLIC |
| `TY_032` | `RescheduleMaintenanceRequest` | PUBLIC |
| `TY_034` | `Status` | PUBLIC |
| `TY_035` | `TimeOfDay` | PUBLIC |
| `TY_036` | `UpdateParametersRequest` | PUBLIC |
| `TY_039` | `WeeklyMaintenanceWindow` | PUBLIC |
| `TY_T_019` | `Instance` | PUBLIC |
| `TY_T_020` | `InstanceMessage` | PUBLIC |
| `TY_T_024` | `Location` | PUBLIC |
| `TY_T_029` | `Node` | PUBLIC |
| `TY_T_031` | `Operation` | PUBLIC |
| `TY_T_039` | `WeeklyMaintenanceWindow` | PUBLIC |
| `TY_T_STRING` | `Table of Strings` | PUBLIC |

## Constants

| Name | Type | Description | Value | Visibility |
|---|---|---|---|---|
| `C_CLOUD_VERSION` | `/GOOG/SDK_VERSION` | Lowest Cloud Version |   | PUBLIC |
| `C_ON_PREM_VERSION` | `/GOOG/SDK_VERSION` | Lowest On-premises Version | 1.7 | PUBLIC |
| `C_PATH_PREFIX` | `STRING` | API Path Prefix |   | PUBLIC |
| `C_REVISION_DATE` | `DATUM` | Discovery Document revision Date | 20250227 | PUBLIC |
| `C_ROOT_URL` | `STRING` | API Root URL | https://memcache.googleapis.com | PUBLIC |
| `C_SERVICE_NAME` | `/GOOG/SERVICE_NAME` | Google Service Name | memcache:v1beta2 | PUBLIC |
| `C_SUPPORTED_AUTH` | `/GOOG/SUPP_AUTH` | Supported Auth Types | IJIJWW | 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/latest/developer#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 |

### APPLY_PARAMETERS_INSTANCES

- Description: memcache.projects.locations.instances.applyParameters
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_INSTANCES_ID` | IMPORTING | `STRING` | instancesId |
| `IS_INPUT` | IMPORTING | `TY_001` | ApplyParametersRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_031` | 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 |

### APPLY_SOFTWARE_UPDATE_INSTA

- Description: memcache.projects.locations.instances.applySoftwareUpdate
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_INSTANCES_ID` | IMPORTING | `STRING` | instancesId |
| `IS_INPUT` | IMPORTING | `TY_002` | ApplySoftwareUpdateRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_031` | 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 |

### CANCEL_OPERATIONS

- Description: memcache.projects.locations.operations.cancel
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_OPERATIONS_ID` | IMPORTING | `STRING` | operationsId |
| `IS_INPUT` | IMPORTING | `DATA` | Input Data |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `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 |

### CREATE_INSTANCES

- Description: memcache.projects.locations.instances.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_INSTANCEID` | IMPORTING | `STRING` | instanceId |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IS_INPUT` | IMPORTING | `TY_019` | Instance |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_031` | 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_INSTANCES

- Description: memcache.projects.locations.instances.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_INSTANCES_ID` | IMPORTING | `STRING` | instancesId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_031` | 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_OPERATIONS

- Description: memcache.projects.locations.operations.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_OPERATIONS_ID` | IMPORTING | `STRING` | operationsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `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 |

### GET_INSTANCES

- Description: memcache.projects.locations.instances.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_INSTANCES_ID` | IMPORTING | `STRING` | instancesId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_019` | Instance |
| `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_LOCATIONS

- Description: memcache.projects.locations.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_024` | Location |
| `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: memcache.projects.locations.operations.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_OPERATIONS_ID` | IMPORTING | `STRING` | operationsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_031` | 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 |

### LIST_INSTANCES

- Description: memcache.projects.locations.instances.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FILTER` | IMPORTING | `STRING` | filter |
| `IV_Q_ORDERBY` | IMPORTING | `STRING` | orderBy |
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_021` | ListInstancesResponse |
| `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_LOCATIONS

- Description: memcache.projects.locations.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_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_022` | ListLocationsResponse |
| `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: memcache.projects.locations.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_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_023` | 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 |

### PATCH_INSTANCES

- Description: memcache.projects.locations.instances.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_INSTANCES_ID` | IMPORTING | `STRING` | instancesId |
| `IS_INPUT` | IMPORTING | `TY_019` | Instance |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_031` | 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 |

### RESCHEDULE_MAINTENANCE_INST

- Description: memcache.projects.locations.instances.rescheduleMaintenance
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_INSTANCES_ID` | IMPORTING | `STRING` | instancesId |
| `IS_INPUT` | IMPORTING | `TY_032` | RescheduleMaintenanceRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_031` | 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 |

### UPDATE_PARAMETERS_INSTANCES

- Description: memcache.projects.locations.instances.updateParameters
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_INSTANCES_ID` | IMPORTING | `STRING` | instancesId |
| `IS_INPUT` | IMPORTING | `TY_036` | UpdateParametersRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_031` | 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 |

### UPGRADE_INSTANCES

- Description: memcache.projects.locations.instances.upgrade
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_INSTANCES_ID` | IMPORTING | `STRING` | instancesId |
| `IS_INPUT` | IMPORTING | `TY_009` | GoogleCloudMemcacheV1beta2UpgradeInstanceRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_031` | 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 |

### CLOSE

- Description: Close Connection
- Visibility: PUBLIC