Class /GOOG/CL_RESELLER_V1

Class

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

Types

Type Description Visibility
TY_001 Address PUBLIC
TY_002 ChangePlanRequest PUBLIC
TY_003 Customer PUBLIC
TY_004 PrimaryAdmin PUBLIC
TY_005 RenewalSettings PUBLIC
TY_006 ResellernotifyGetwatchdetailsResponse PUBLIC
TY_007 ResellernotifyResource PUBLIC
TY_008 Seats PUBLIC
TY_009 Subscription PUBLIC
TY_010 Subscriptions PUBLIC
TY_015 CommitmentInterval PUBLIC
TY_016 Plan PUBLIC
TY_017 TransferInfo PUBLIC
TY_018 TrialSettings PUBLIC
TY_T_009 Subscription 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.10 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250220 PUBLIC
C_ROOT_URL STRING API Root URL https://reseller.googleapis.com PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name reseller: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

ACTIVATE_SUBSCRIPTIONS

  • Description: reseller.subscriptions.activate
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IV_P_SUBSCRIPTION_ID IMPORTING STRING subscriptionId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Subscription
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

CHANGE_PLAN_SUBSCRIPTIONS

  • Description: reseller.subscriptions.changePlan
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IV_P_SUBSCRIPTION_ID IMPORTING STRING subscriptionId
IS_INPUT IMPORTING TY_002 ChangePlanRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Subscription
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

CHANGE_RENEWAL_SETTINGS_SUB

  • Description: reseller.subscriptions.changeRenewalSettings
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IV_P_SUBSCRIPTION_ID IMPORTING STRING subscriptionId
IS_INPUT IMPORTING TY_005 RenewalSettings
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Subscription
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

CHANGE_SEATS_SUBSCRIPTIONS

  • Description: reseller.subscriptions.changeSeats
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IV_P_SUBSCRIPTION_ID IMPORTING STRING subscriptionId
IS_INPUT IMPORTING TY_008 Seats
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Subscription
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_SUBSCRIPTIONS

  • Description: reseller.subscriptions.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_DELETIONTYPE IMPORTING STRING deletionType
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IV_P_SUBSCRIPTION_ID IMPORTING STRING subscriptionId
ES_RAW EXPORTING DATA Raw 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

GETWATCHDETAILS_RESELLERNOT

  • Description: reseller.resellernotify.getwatchdetails
  • Visibility: PUBLIC

Parameters

Name Category Type Description
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_006 ResellernotifyGetwatchdetailsResponse
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_CUSTOMERS

  • Description: reseller.customers.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_003 Customer
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_SUBSCRIPTIONS

  • Description: reseller.subscriptions.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IV_P_SUBSCRIPTION_ID IMPORTING STRING subscriptionId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Subscription
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

INSERT_CUSTOMERS

  • Description: reseller.customers.insert
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_CUSTOMERAUTHTOKEN IMPORTING STRING customerAuthToken
IS_INPUT IMPORTING TY_003 Customer
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_003 Customer
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

INSERT_SUBSCRIPTIONS

  • Description: reseller.subscriptions.insert
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ACTION IMPORTING STRING action
IV_Q_CUSTOMERAUTHTOKEN IMPORTING STRING customerAuthToken
IV_Q_SOURCESKUID IMPORTING STRING sourceSkuId
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IS_INPUT IMPORTING TY_009 Subscription
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Subscription
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_SUBSCRIPTIONS

  • Description: reseller.subscriptions.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_CUSTOMERAUTHTOKEN IMPORTING STRING customerAuthToken
IV_Q_CUSTOMERID IMPORTING STRING customerId
IV_Q_CUSTOMERNAMEPREFIX IMPORTING STRING customerNamePrefix
IV_Q_MAXRESULTS IMPORTING STRING maxResults
IV_Q_PAGETOKEN IMPORTING STRING pageToken
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 Subscriptions
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_CUSTOMERS

  • Description: reseller.customers.patch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IS_INPUT IMPORTING TY_003 Customer
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_003 Customer
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

REGISTER_RESELLERNOTIFY

  • Description: reseller.resellernotify.register
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_SERVICEACCOUNTEMAILADDRES IMPORTING STRING serviceAccountEmailAddress
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_007 ResellernotifyResource
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

START_PAID_SERVICE_SUBSCRIP

  • Description: reseller.subscriptions.startPaidService
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IV_P_SUBSCRIPTION_ID IMPORTING STRING subscriptionId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Subscription
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

SUSPEND_SUBSCRIPTIONS

  • Description: reseller.subscriptions.suspend
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IV_P_SUBSCRIPTION_ID IMPORTING STRING subscriptionId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Subscription
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

UNREGISTER_RESELLERNOTIFY

  • Description: reseller.resellernotify.unregister
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_SERVICEACCOUNTEMAILADDRES IMPORTING STRING serviceAccountEmailAddress
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_007 ResellernotifyResource
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_CUSTOMERS

  • Description: reseller.customers.update
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_CUSTOMER_ID IMPORTING STRING customerId
IS_INPUT IMPORTING TY_003 Customer
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_003 Customer
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