Qore GoogleDataProvider Module Reference 2.0
Loading...
Searching...
No Matches
GoogleApiDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
29
30public:
31protected:
33 string api;
34
37
39 *hash<string, softstring> path_args;
40
42 string name;
43
45 string desc;
46
48 string category;
49
51 string type;
52
53public:
54
57
58
60 string getName();
61
62
64 *string getDesc();
65
66
68protected:
69 *hash<auto> prepareRequestForSchema(auto req);
70public:
71
72
74
79protected:
80 auto doRequestImpl(auto req, *hash<auto> request_options);
81public:
82
83
85
87protected:
89public:
90
91
93
95protected:
97public:
98
99
101protected:
103public:
104
105
107protected:
108 hash<auto> backfillRequestBody(auto req);
109public:
110
111
113protected:
114 *hash<auto> prepareRequestForSchema(string api, string resource_action, auto req, *bool in_backfill);
115public:
116
117
119protected:
120 AbstractDataProviderType getGoogleRequestType();
121public:
122
123
125protected:
126 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
127public:
128
129};
130};
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