GCPRestApi
get
Make GET call for GCPRestApi.
GCPRestApi.get(requestUrl)
or
GCPRestApi.get(requestUrl, serviceAccountKeyPropName,
authenticationPath)
or
GCPRestApi.get(requestUrl, refreshToken, clientId,
clientSecret)Parameters
requestUrl (string)
serviceAccountKeyPropName (string)
authenticationPath (string)
refreshToken (string)
clientId (string)
clientSecret (string)Returns
Objectpost
Make POST call for GCPRestApi.
GCPRestApi.post(requestUrl, body)
or
GCPRestApi.post(requestUrl, body, headers)
or
GCPRestApi.post(requestUrl, body, serviceAccountKeyPropName,
authenticationPath)
or
GCPRestApi.post(requestUrl, body, refreshToken, clientId,
clientSecret)
or
GCPRestApi.post(requestUrl, body, headers,
refreshToken, clientId, clientSecret)
or
GCPRestApi.post(requestUrl, body, headers,
serviceAccountKeyPropName, authenticationPath)Parameters
requestUrl (string)
body (object)
serviceAccountKeyPropName (string)
authenticationPath (string)
refreshToken (string)
clientId (string)
clientSecret (string)
headers (dictionary)Returns
Objectput
Make PUT call for GCPRestApi.
GCPRestApi.put(requestUrl, body)
or
GCPRestApi.put(requestUrl, body, serviceAccountKeyPropName,
authenticationPath)
or
GCPRestApi.put(requestUrl, body, refreshToken, clientId,
clientSecret)Parameters
requestUrl (string)
body (object)
serviceAccountKeyPropName (string)
authenticationPath (string)
refreshToken (string)
clientId (string)
clientSecret (string)Returns
Objectdelete
Make DELETE call for GCPRestApi.
GCPRestApi.delete(requestUrl, body)
or
GCPRestApi.delete(requestUrl, body, serviceAccountKeyPropName,
authenticationPath)
or
GCPRestApi.delete(requestUrl, body, refreshToken, clientId,
clientSecret)Parameters
requestUrl (string)
body (object)
serviceAccountKeyPropName (string)
authenticationPath (string)
refreshToken (string)
clientId (string)
clientSecret (string)Returns
Objectpatch
Make PATCH call for GCPRestApi.
GCPRestApi.patch(requestUrl, body)
or
GCPRestApi.patch(requestUrl, body, serviceAccountKeyPropName,
authenticationPath)
or
GCPRestApi.patch(requestUrl, body, refreshToken, clientId,
clientSecret)Parameters
requestUrl (string)
body (object)
serviceAccountKeyPropName (string)
authenticationPath (string)
refreshToken (string)
clientIdv
clientSecret (string)Returns
Objectpublish
publish message
GCPRestApi.publish(topicId, message)Parameters
topicId (string)
message (object)Returns
Resultsubscribe
subscribe message
GCPRestApi.subscribe(subscriptionId, receiver)Parameters
subscriptionId (string)
receiver (string)Returns
Resultunsubscribe
unsubscribe message
GCPRestApi.serviceAccountKeyToToken(serviceAccountKeyPropName,
authenticationPath)Parameters
serviceAccountKeyPropName (string)
authenticationPath (string)Returns
GCPTokenInfoLast updated