The Google generic API data provider class.
Definition GoogleApiDataProvider.qc.dox.h:28
*hash< string, softstring > path_args
Any path args associated with this data provider.
Definition GoogleApiDataProvider.qc.dox.h:39
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
string resource_action
resource and action (ex: "events/get")
Definition GoogleApiDataProvider.qc.dox.h:36
constructor(RestClient::RestClient rest, string api, string resource_action, *hash< auto > path_args)
Creates the object.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
string api
The Google API name (ex: "calendar")
Definition GoogleApiDataProvider.qc.dox.h:33
AbstractDataProviderType getGoogleRequestType()
Returns the Google request type for the operation.
bool needsBackfillRequestBody()
If the request body should be populated with missing values.
string getName()
Returns the data provider name.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*hash< auto > prepareRequestForSchema(auto req)
Prepares information for an API request.
string type
Data provider type name.
Definition GoogleApiDataProvider.qc.dox.h:51
string desc
Data provider description.
Definition GoogleApiDataProvider.qc.dox.h:45
*hash< auto > prepareRequestForSchema(string api, string resource_action, auto req, *bool in_backfill)
Prepares information for an API request.
hash< auto > backfillRequestBody(auto req)
Used to set attributes in the request body that are not set in the request.
*string getDesc()
Returns the data provider description.
string category
The resource name.
Definition GoogleApiDataProvider.qc.dox.h:48
string name
The action name.
Definition GoogleApiDataProvider.qc.dox.h:42
The Google data provider base class.
Definition GoogleDataProviderBase.qc.dox.h:28
*RestClient::RestClient rest
The REST client object for API calls.
Definition GoogleDataProviderBase.qc.dox.h:39
Qore GoogleDataProvider module definition.
Definition GoogleApiDataProvider.qc.dox.h:26