Class /GOOG/CL_SMARTDEVICEMANAGEM_V1

Class

/GOOG/CL_SMARTDEVICEMANAGEM_V1
  • Inheriting from:/GOOG/CL_HTTP_CLIENT
  • Description:Smart Device Management API v1
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_001 GoogleHomeEnterpriseSdmV1Device PUBLIC
TY_002 GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest PUBLIC
TY_003 GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse PUBLIC
TY_004 GoogleHomeEnterpriseSdmV1ListDevicesResponse PUBLIC
TY_005 GoogleHomeEnterpriseSdmV1ListRoomsResponse PUBLIC
TY_006 GoogleHomeEnterpriseSdmV1ListStructuresResponse PUBLIC
TY_007 GoogleHomeEnterpriseSdmV1ParentRelation PUBLIC
TY_008 GoogleHomeEnterpriseSdmV1Room PUBLIC
TY_009 GoogleHomeEnterpriseSdmV1Structure PUBLIC
TY_T_001 GoogleHomeEnterpriseSdmV1Device PUBLIC
TY_T_007 GoogleHomeEnterpriseSdmV1ParentRelation PUBLIC
TY_T_008 GoogleHomeEnterpriseSdmV1Room PUBLIC
TY_T_009 GoogleHomeEnterpriseSdmV1Structure 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.10 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250224 PUBLIC
C_ROOT_URL STRING API Root URL https://smartdevicemanagement.googleapis.com PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name smartdevicemanagement:v1 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.

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

EXECUTE_COMMAND_DEVICES

  • Description: smartdevicemanagement.enterprises.devices.executeCommand
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ENTERPRISES_ID IMPORTING STRING enterprisesId
IV_P_DEVICES_ID IMPORTING STRING devicesId
IS_INPUT IMPORTING TY_002 GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_003 GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse
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_DEVICES

  • Description: smartdevicemanagement.enterprises.devices.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ENTERPRISES_ID IMPORTING STRING enterprisesId
IV_P_DEVICES_ID IMPORTING STRING devicesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 GoogleHomeEnterpriseSdmV1Device
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_ROOMS

  • Description: smartdevicemanagement.enterprises.structures.rooms.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ENTERPRISES_ID IMPORTING STRING enterprisesId
IV_P_STRUCTURES_ID IMPORTING STRING structuresId
IV_P_ROOMS_ID IMPORTING STRING roomsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_008 GoogleHomeEnterpriseSdmV1Room
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_STRUCTURES

  • Description: smartdevicemanagement.enterprises.structures.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ENTERPRISES_ID IMPORTING STRING enterprisesId
IV_P_STRUCTURES_ID IMPORTING STRING structuresId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 GoogleHomeEnterpriseSdmV1Structure
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_DEVICES

  • Description: smartdevicemanagement.enterprises.devices.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_FILTER IMPORTING STRING filter
IV_P_ENTERPRISES_ID IMPORTING STRING enterprisesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_004 GoogleHomeEnterpriseSdmV1ListDevicesResponse
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_ROOMS

  • Description: smartdevicemanagement.enterprises.structures.rooms.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ENTERPRISES_ID IMPORTING STRING enterprisesId
IV_P_STRUCTURES_ID IMPORTING STRING structuresId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_005 GoogleHomeEnterpriseSdmV1ListRoomsResponse
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_STRUCTURES

  • Description: smartdevicemanagement.enterprises.structures.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_FILTER IMPORTING STRING filter
IV_P_ENTERPRISES_ID IMPORTING STRING enterprisesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_006 GoogleHomeEnterpriseSdmV1ListStructuresResponse
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