Classe /GOOG/CL_APIKEYS_V2

Classe

/GOOG/CL_APIKEYS_V2
  • Héritage de : /GOOG/CL_HTTP_CLIENT
  • Description : API Keys API v2
Pour obtenir des informations générales sur une classe du SDK ABAP pour Google Cloud, consultez la page Bouchon de client API.

Types

Type Description Visibilité
TY_001 Operation PUBLIC
TY_002 Status PUBLIC
TY_003 V2AndroidApplication PUBLIC
TY_004 V2AndroidKeyRestrictions PUBLIC
TY_005 V2ApiTarget PUBLIC
TY_006 V2BrowserKeyRestrictions PUBLIC
TY_007 V2GetKeyStringResponse PUBLIC
TY_008 V2IosKeyRestrictions PUBLIC
TY_009 V2Key PUBLIC
TY_010 V2ListKeysResponse PUBLIC
TY_011 V2LookupKeyResponse PUBLIC
TY_012 V2Restrictions PUBLIC
TY_013 V2ServerKeyRestrictions PUBLIC
TY_T_003 V2AndroidApplication PUBLIC
TY_T_005 V2ApiTarget PUBLIC
TY_T_009 V2Key PUBLIC
TY_T_STRING Table of Strings PUBLIC

Constantes

Nom Type Description Valeur Visibilité
C_CLOUD_VERSION /GOOG/SDK_VERSION Version Cloud la plus basse 1.0 PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Version sur site la plus basse 1,5 PUBLIC
C_PATH_PREFIX STRING Préfixe de chemin d'API PUBLIC
C_REVISION_DATE DATUM Date de révision du document de découverte 20240512 PUBLIC
C_ROOT_URL STRING URL racine de l'API https://apikeys.googleapis.com PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Nom du service Google apikeys:v2 PUBLIC
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Types d'authentification pris en charge IJIJWW PUBLIC

Méthodes

Pour obtenir des informations générales sur une méthode du SDK ABAP pour Google Cloud, consultez la page Méthode API.

CONSTRUCTOR

  • Description : Constructor
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_KEY_NAME IMPORTING /GOOG/KEYNAME Nom de la clé Google Cloud
IV_LOG_OBJ IMPORTING BALOBJ_D Journal d'application : nom de l'objet (code d'application)
IV_LOG_SUBOBJ IMPORTING BALSUBOBJ Journal d'application : sous-objet

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

CREATE_KEYS

  • Description : apikeys.projects.locations.keys.create
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_Q_KEYID IMPORTING STRING keyId
IV_P_PROJECTS_ID IMPORTING STRING ProjectsId
IV_P_LOCATIONS_ID IMPORTING STRING Emplacements.ID
IS_INPUT IMPORTING TY_009 V2Key
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_001 Opération
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

DELETE_KEYS

  • Description : apikeys.projects.locations.keys.delete
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_Q_ETAG IMPORTING STRING etag
IV_P_PROJECTS_ID IMPORTING STRING ProjectsId
IV_P_LOCATIONS_ID IMPORTING STRING Emplacements.ID
IV_P_KEYS_ID IMPORTING STRING keysId
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_001 Opération
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

GET_KEYS

  • Description : apikeys.projects.locations.keys.get
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_P_PROJECTS_ID IMPORTING STRING ProjectsId
IV_P_LOCATIONS_ID IMPORTING STRING Emplacements.ID
IV_P_KEYS_ID IMPORTING STRING keysId
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_009 V2Key
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

GET_KEY_STRING_KEYS

  • Description : apikeys.projects.locations.keys.getKeyString
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_P_PROJECTS_ID IMPORTING STRING ProjectsId
IV_P_LOCATIONS_ID IMPORTING STRING Emplacements.ID
IV_P_KEYS_ID IMPORTING STRING keysId
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_007 V2GetKeyStringResponse
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

GET_OPERATIONS

  • Description : apikeys.operations.get
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_001 Opération
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

LIST_KEYS

  • Description : apikeys.projects.locations.keys.list
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_Q_SHOWDELETED IMPORTING STRING showDeleted
IV_P_PROJECTS_ID IMPORTING STRING ProjectsId
IV_P_LOCATIONS_ID IMPORTING STRING Emplacements.ID
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_010 V2ListKeysResponse
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

LOOKUP_KEY_KEYS

  • Description : apikeys.keys.lookupKey
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_Q_KEYSTRING IMPORTING STRING keyString
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_011 V2LookupKeyResponse
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

PATCH_KEYS

  • Description : apikeys.projects.locations.keys.patch
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_Q_UPDATEMASK IMPORTING STRING #updatemask
IV_P_PROJECTS_ID IMPORTING STRING ProjectsId
IV_P_LOCATIONS_ID IMPORTING STRING Emplacements.ID
IV_P_KEYS_ID IMPORTING STRING keysId
IS_INPUT IMPORTING TY_009 V2Key
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_001 Opération
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

UNDELETE_KEYS

  • Description : apikeys.projects.locations.keys.undelete
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_P_PROJECTS_ID IMPORTING STRING ProjectsId
IV_P_LOCATIONS_ID IMPORTING STRING Emplacements.ID
IV_P_KEYS_ID IMPORTING STRING keysId
IS_INPUT IMPORTING DATA Données d'entrée
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_001 Opération
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

FERMER

  • Description : Fermer la connexion
  • Visibilité : PUBLIQUE