Class for Google REST connections; returns GoogleRestClient objects.
More...
#include <GoogleRestClient.qm.dox.h>
|
const | ConnectionScheme |
| Connection entry info.
|
|
|
hash< ConnectionSchemeInfo > | getConnectionSchemeInfoImpl () |
| Returns the ConnectionSchemeInfo hash for this object.
|
|
GoogleRestClient | getImpl (bool connect=True, *hash< auto > rtopts) |
| returns a GoogleRestClient object More...
|
|
| setChildCapabilities () |
| Sets child data provider capabilities.
|
|
Class for Google REST connections; returns GoogleRestClient objects.
This class implements all options of RestClientConnection; in addition, this class provides the following default values for the following options:
- See also
- GoogleRestClient::GoogleRestClient::constructor() for more information on the above options
◆ constructor()
GoogleRestClient::GoogleRestConnection::constructor |
( |
string |
name, |
|
|
string |
description, |
|
|
string |
url = GoogleRestClient::DefaultUrl , |
|
|
hash< auto > |
attributes = {} , |
|
|
hash< auto > |
options = {} |
|
) |
| |
creates the GoogleRestConnection object
- Parameters
-
name | the name of the connection |
description | connection description |
url | connection URL (potentially with password info) |
attributes | various attributes. See below |
options | connection options |
See ConnectionProvider::AbstractConnection::constructor() for attributes
and options
reference.
- Exceptions
-
CONNECTION-OPTION-ERROR | missing or invalid connection option |
◆ getDataProvider()
DataProvider::AbstractDataProvider GoogleRestClient::GoogleRestConnection::getDataProvider |
( |
| ) |
|
returns a data provider object for this connection
- Returns
- a data provider object for this connection
◆ getImpl()
GoogleRestClient GoogleRestClient::GoogleRestConnection::getImpl |
( |
bool |
connect = True , |
|
|
*hash< auto > |
rtopts |
|
) |
| |
|
privatevirtual |
◆ hasDataProvider()
bool GoogleRestClient::GoogleRestConnection::hasDataProvider |
( |
| ) |
|