Class /GOOG/CL_HOMEGRAPH_V1

Class

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

Types

Type Description Visibility
TY_001 AgentDeviceId PUBLIC
TY_002 AgentOtherDeviceId PUBLIC
TY_003 Device PUBLIC
TY_004 DeviceInfo PUBLIC
TY_005 DeviceNames PUBLIC
TY_007 QueryRequest PUBLIC
TY_008 QueryRequestInput PUBLIC
TY_009 QueryRequestPayload PUBLIC
TY_010 QueryResponse PUBLIC
TY_011 QueryResponsePayload PUBLIC
TY_012 ReportStateAndNotificationDevice PUBLIC
TY_013 ReportStateAndNotificationRequest PUBLIC
TY_014 ReportStateAndNotificationResponse PUBLIC
TY_015 RequestSyncDevicesRequest PUBLIC
TY_017 StateAndNotificationPayload PUBLIC
TY_018 SyncRequest PUBLIC
TY_019 SyncResponse PUBLIC
TY_020 SyncResponsePayload PUBLIC
TY_T_001 AgentDeviceId PUBLIC
TY_T_002 AgentOtherDeviceId PUBLIC
TY_T_003 Device PUBLIC
TY_T_008 QueryRequestInput PUBLIC
TY_T_STRING Table of Strings 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 homegraph:v1 PUBLIC
C_ROOT_URL STRING API Root URL https://homegraph.googleapis.com PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250228 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.7 PUBLIC
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version 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

DELETE_AGENT_USERS

  • Description: homegraph.agentUsers.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_REQUESTID IMPORTING STRING requestId
IV_P_AGENT_USERS_ID IMPORTING STRING agentUsersId
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

QUERY_DEVICES

  • Description: homegraph.devices.query
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_007 QueryRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 QueryResponse
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

REPORT_STATE_AND_NOTIFICATI

  • Description: homegraph.devices.reportStateAndNotification
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_013 ReportStateAndNotificationRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_014 ReportStateAndNotificationResponse
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

REQUEST_SYNC_DEVICES

  • Description: homegraph.devices.requestSync
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_015 RequestSyncDevicesRequest
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

SYNC_DEVICES

  • Description: homegraph.devices.sync
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_018 SyncRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_019 SyncResponse
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