<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_gkehub_v2)
- [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_gkehub_v2.md.txt)

## Class

```abap
/GOOG/CL_GKEHUB_V2
```

- Inheriting from:`/GOOG/CL_HTTP_CLIENT`
- Description:`GKE Hub API v2`

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` | `AppDevExperienceState` | PUBLIC |
| `TY_002` | `AppDevExperienceStatus` | PUBLIC |
| `TY_004` | `CloudBuildSpec` | PUBLIC |
| `TY_005` | `ClusterUpgradeGKEUpgrade` | PUBLIC |
| `TY_006` | `ClusterUpgradeIgnoredMembership` | PUBLIC |
| `TY_007` | `ClusterUpgradeMembershipGKEUpgradeState` | PUBLIC |
| `TY_008` | `ClusterUpgradeState` | PUBLIC |
| `TY_009` | `ClusterUpgradeUpgradeStatus` | PUBLIC |
| `TY_010` | `ConfigManagementBinauthzConfig` | PUBLIC |
| `TY_011` | `ConfigManagementBinauthzState` | PUBLIC |
| `TY_012` | `ConfigManagementBinauthzVersion` | PUBLIC |
| `TY_013` | `ConfigManagementConfigSync` | PUBLIC |
| `TY_014` | `ConfigManagementConfigSyncDeploymentState` | PUBLIC |
| `TY_015` | `ConfigManagementConfigSyncError` | PUBLIC |
| `TY_016` | `ConfigManagementConfigSyncState` | PUBLIC |
| `TY_017` | `ConfigManagementConfigSyncVersion` | PUBLIC |
| `TY_018` | `ConfigManagementContainerOverride` | PUBLIC |
| `TY_019` | `ConfigManagementDeploymentOverride` | PUBLIC |
| `TY_020` | `ConfigManagementErrorResource` | PUBLIC |
| `TY_021` | `ConfigManagementGatekeeperDeploymentState` | PUBLIC |
| `TY_022` | `ConfigManagementGitConfig` | PUBLIC |
| `TY_023` | `ConfigManagementGroupVersionKind` | PUBLIC |
| `TY_024` | `ConfigManagementHierarchyControllerConfig` | PUBLIC |
| `TY_025` | `ConfigManagementHierarchyControllerDeploymentState` | PUBLIC |
| `TY_026` | `ConfigManagementHierarchyControllerState` | PUBLIC |
| `TY_027` | `ConfigManagementHierarchyControllerVersion` | PUBLIC |
| `TY_028` | `ConfigManagementInstallError` | PUBLIC |
| `TY_029` | `ConfigManagementOciConfig` | PUBLIC |
| `TY_030` | `ConfigManagementOperatorState` | PUBLIC |
| `TY_031` | `ConfigManagementPolicyController` | PUBLIC |
| `TY_032` | `ConfigManagementPolicyControllerMigration` | PUBLIC |
| `TY_033` | `ConfigManagementPolicyControllerMonitoring` | PUBLIC |
| `TY_034` | `ConfigManagementPolicyControllerState` | PUBLIC |
| `TY_035` | `ConfigManagementPolicyControllerVersion` | PUBLIC |
| `TY_036` | `ConfigManagementSpec` | PUBLIC |
| `TY_037` | `ConfigManagementState` | PUBLIC |
| `TY_038` | `ConfigManagementSyncError` | PUBLIC |
| `TY_039` | `ConfigManagementSyncState` | PUBLIC |
| `TY_041` | `FeatureSpec` | PUBLIC |
| `TY_042` | `FeatureState` | PUBLIC |
| `TY_043` | `GoogleRpcStatus` | PUBLIC |
| `TY_044` | `IdentityServiceAuthMethod` | PUBLIC |
| `TY_045` | `IdentityServiceAzureADConfig` | PUBLIC |
| `TY_046` | `IdentityServiceDiagnosticInterface` | PUBLIC |
| `TY_047` | `IdentityServiceGoogleConfig` | PUBLIC |
| `TY_048` | `IdentityServiceGroupConfig` | PUBLIC |
| `TY_049` | `IdentityServiceIdentityServiceOptions` | PUBLIC |
| `TY_050` | `IdentityServiceLdapConfig` | PUBLIC |
| `TY_051` | `IdentityServiceOidcConfig` | PUBLIC |
| `TY_052` | `IdentityServiceSamlConfig` | PUBLIC |
| `TY_053` | `IdentityServiceServerConfig` | PUBLIC |
| `TY_054` | `IdentityServiceServiceAccountConfig` | PUBLIC |
| `TY_055` | `IdentityServiceSimpleBindCredentials` | PUBLIC |
| `TY_056` | `IdentityServiceSpec` | PUBLIC |
| `TY_057` | `IdentityServiceState` | PUBLIC |
| `TY_058` | `IdentityServiceUserConfig` | PUBLIC |
| `TY_059` | `LifecycleState` | PUBLIC |
| `TY_060` | `ListLocationsResponse` | PUBLIC |
| `TY_061` | `ListMembershipFeaturesResponse` | PUBLIC |
| `TY_062` | `ListOperationsResponse` | PUBLIC |
| `TY_063` | `Location` | PUBLIC |
| `TY_064` | `MembershipFeature` | PUBLIC |
| `TY_065` | `MeteringState` | PUBLIC |
| `TY_066` | `Operation` | PUBLIC |
| `TY_067` | `Origin` | PUBLIC |
| `TY_068` | `PolicyControllerBundleInstallSpec` | PUBLIC |
| `TY_069` | `PolicyControllerHubConfig` | PUBLIC |
| `TY_070` | `PolicyControllerMonitoringConfig` | PUBLIC |
| `TY_071` | `PolicyControllerOnClusterState` | PUBLIC |
| `TY_072` | `PolicyControllerPolicyContentSpec` | PUBLIC |
| `TY_073` | `PolicyControllerPolicyContentState` | PUBLIC |
| `TY_074` | `PolicyControllerPolicyControllerDeploymentConfig` | PUBLIC |
| `TY_075` | `PolicyControllerResourceList` | PUBLIC |
| `TY_076` | `PolicyControllerResourceRequirements` | PUBLIC |
| `TY_077` | `PolicyControllerSpec` | PUBLIC |
| `TY_078` | `PolicyControllerState` | PUBLIC |
| `TY_079` | `PolicyControllerTemplateLibraryConfig` | PUBLIC |
| `TY_080` | `PolicyControllerToleration` | PUBLIC |
| `TY_081` | `ServiceMeshAnalysisMessage` | PUBLIC |
| `TY_082` | `ServiceMeshAnalysisMessageBase` | PUBLIC |
| `TY_083` | `ServiceMeshCondition` | PUBLIC |
| `TY_084` | `ServiceMeshControlPlaneManagement` | PUBLIC |
| `TY_085` | `ServiceMeshDataPlaneManagement` | PUBLIC |
| `TY_086` | `ServiceMeshSpec` | PUBLIC |
| `TY_087` | `ServiceMeshState` | PUBLIC |
| `TY_088` | `ServiceMeshStatusDetails` | PUBLIC |
| `TY_089` | `ServiceMeshType` | PUBLIC |
| `TY_090` | `State` | PUBLIC |
| `TY_091` | `WorkloadCertificateSpec` | PUBLIC |
| `TY_T_007` | `ClusterUpgradeMembershipGKEUpgradeState` | PUBLIC |
| `TY_T_015` | `ConfigManagementConfigSyncError` | PUBLIC |
| `TY_T_018` | `ConfigManagementContainerOverride` | PUBLIC |
| `TY_T_019` | `ConfigManagementDeploymentOverride` | PUBLIC |
| `TY_T_020` | `ConfigManagementErrorResource` | PUBLIC |
| `TY_T_028` | `ConfigManagementInstallError` | PUBLIC |
| `TY_T_038` | `ConfigManagementSyncError` | PUBLIC |
| `TY_T_044` | `IdentityServiceAuthMethod` | PUBLIC |
| `TY_T_063` | `Location` | PUBLIC |
| `TY_T_064` | `MembershipFeature` | PUBLIC |
| `TY_T_066` | `Operation` | PUBLIC |
| `TY_T_080` | `PolicyControllerToleration` | PUBLIC |
| `TY_T_081` | `ServiceMeshAnalysisMessage` | PUBLIC |
| `TY_T_083` | `ServiceMeshCondition` | PUBLIC |
| `TY_T_088` | `ServiceMeshStatusDetails` | 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 | 20250302 | PUBLIC |
| `C_ROOT_URL` | `STRING` | API Root URL | https://gkehub.googleapis.com | PUBLIC |
| `C_SERVICE_NAME` | `/GOOG/SERVICE_NAME` | Google Service Name | gkehub:v2 | 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 |

### CANCEL_OPERATIONS

- Description: gkehub.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_FEATURES

- Description: gkehub.projects.locations.memberships.features.create
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FEATUREID` | IMPORTING | `STRING` | featureId |
| `IV_Q_REQUESTID` | IMPORTING | `STRING` | requestId |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_MEMBERSHIPS_ID` | IMPORTING | `STRING` | membershipsId |
| `IS_INPUT` | IMPORTING | `TY_064` | MembershipFeature |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_066` | 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_FEATURES

- Description: gkehub.projects.locations.memberships.features.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_REQUESTID` | IMPORTING | `STRING` | requestId |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_MEMBERSHIPS_ID` | IMPORTING | `STRING` | membershipsId |
| `IV_P_FEATURES_ID` | IMPORTING | `STRING` | featuresId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_066` | 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_FEATURES

- Description: gkehub.projects.locations.memberships.features.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_MEMBERSHIPS_ID` | IMPORTING | `STRING` | membershipsId |
| `IV_P_FEATURES_ID` | IMPORTING | `STRING` | featuresId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_064` | MembershipFeature |
| `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: gkehub.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_063` | 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: gkehub.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_066` | 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_FEATURES

- Description: gkehub.projects.locations.memberships.features.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 |
| `IV_P_MEMBERSHIPS_ID` | IMPORTING | `STRING` | membershipsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_061` | ListMembershipFeaturesResponse |
| `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: gkehub.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_060` | 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: gkehub.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_062` | 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_FEATURES

- Description: gkehub.projects.locations.memberships.features.patch
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_ALLOWMISSING` | IMPORTING | `STRING` | allowMissing |
| `IV_Q_REQUESTID` | IMPORTING | `STRING` | requestId |
| `IV_Q_UPDATEMASK` | IMPORTING | `STRING` | updateMask |
| `IV_P_PROJECTS_ID` | IMPORTING | `STRING` | projectsId |
| `IV_P_LOCATIONS_ID` | IMPORTING | `STRING` | locationsId |
| `IV_P_MEMBERSHIPS_ID` | IMPORTING | `STRING` | membershipsId |
| `IV_P_FEATURES_ID` | IMPORTING | `STRING` | featuresId |
| `IS_INPUT` | IMPORTING | `TY_064` | MembershipFeature |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_066` | 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