32 const ProviderInfo = <DataProviderInfo>{
33 "type":
"GoogleDataProvider",
34 "supports_children": True,
35 "constructor_options": ConstructorOptions,
36 "children_can_support_apis": True,
40 const ConstructorOptions = {
41 "restclient": <DataProviderOptionInfo>{
42 "type": AbstractDataProviderType::get(
new Type(
"GoogleRestClient")),
43 "desc":
"The GoogleRestClient object",
45 "restclient_options": <DataProviderOptionInfo>{
46 "type": AbstractDataProviderTypeMap.
"*hash",
47 "desc":
"Options to the GoogleRestClient constructor; only used if a GoogleRestClient object is "
50 "oauth2_client_id": <DataProviderOptionInfo>{
51 "type": AbstractDataProviderTypeMap.
"*string",
52 "desc":
"The OAuth2 client ID",
54 "oauth2_client_secret": <DataProviderOptionInfo>{
55 "type": AbstractDataProviderTypeMap.
"*string",
56 "desc":
"The OAuth2 client secret",
58 "oauth2_refresh_token": <DataProviderOptionInfo>{
59 "type": AbstractDataProviderTypeMap.
"*string",
60 "desc":
"The OAuth2 refresh token, if known",
62 "token": <DataProviderOptionInfo>{
63 "type": AbstractDataProviderTypeMap.
"*string",
64 "desc":
"The OAuth2 token, if known",
70 "calendar": Class::forName(
"GoogleDataProvider::GoogleCalendarBaseDataProvider"),
The Google data provider base class.
Definition: GoogleDataProviderBase.qc.dox.h:28
string getName()
Returns the data provider name.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
constructor(*hash< auto > options)
Creates the object from constructor options.
*string getDesc()
Returns the data provider description.
static GoogleRestClient::GoogleRestClient getRestConnection(*hash< auto > options)
Returns a GoogleRestClient connection from the options.
constructor(GoogleRestClient rest)
Creates the object from a GoogleRestClient.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
Boolean string type.
Definition: GoogleDataProvider.qc.dox.h:130
auto getDefaultValue()
Returns the default value for the type or NOTHING if the type has no default value.
constructor()
Creates the object.
auto acceptsValue(auto value)
Returns the value after any conversions by the type.
Date string type.
Definition: GoogleDataProvider.qc.dox.h:166
constructor()
Creates the object.
auto acceptsValue(auto value)
Returns the value after any conversions by the type.
Timestamp string type.
Definition: GoogleDataProvider.qc.dox.h:150
auto acceptsValue(auto value)
Returns the value after any conversions by the type.
constructor()
Creates the object.
Qore GoogleDataProvider module definition.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:26
const SoftBoolDataProviderStringType
Boolean data provider string type for query parameters.
Definition: GoogleDataProvider.qc.dox.h:127