Returns the actions Resource.
Returns the entityTypes Resource.
Close httplib2 connections.
executeSqlQuery(connection, body=None, x__xgafv=None)
Executes a SQL statement specified in the body of the request. An example of this SQL statement in the case of Salesforce connector would be 'select * from Account a, Order o where a.Id = o.AccountId'.
close()
Close httplib2 connections.
executeSqlQuery(connection, body=None, x__xgafv=None)
Executes a SQL statement specified in the body of the request. An example of this SQL statement in the case of Salesforce connector would be 'select * from Account a, Order o where a.Id = o.AccountId'. Args: connection: string, Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} (required) body: object, The request body. The object takes the form of: { # An execute sql query request containing the query and the connection to execute it on. "query": { # A wrapper around the SQL query statement. This is needed so that the JSON representation of ExecuteSqlQueryRequest has the following format: `{"query":"select *"}`. # Required. SQL statement passed by clients like Integration Platform, the query is passed as-is to the driver used for interfacing with external systems. "maxRows": "A String", # Sets the limit for the maximum number of rows returned after the query execution. "query": "A String", # Required. Sql query to execute. "queryParameters": [ # In the struct, the value corresponds to the value of query parameter and date type corresponds to the date type of the query parameter. { # Query parameter definition "dataType": "A String", "value": "A String", }, ], "timeout": "A String", # Sets the number of seconds the driver will wait for a query to execute. }, } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A response returned by the connection after executing the sql query. "results": [ # In the case of successful execution of the query the response contains results returned by the external system. For example, the result rows of the query are contained in the 'results' Struct list - "results": [ { "field1": "val1", "field2": "val2",.. },.. ] Each Struct row can contain fields any type of like nested Structs or lists. { "a_key": "", # Properties of the object. }, ], }