Close httplib2 connections.
execute(name, body=None, x__xgafv=None)
Executes an action with the name specified in the request. The input parameters for executing the action are passed through the body of the ExecuteAction request.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Gets the schema of all the actions supported by the connector.
Retrieves the next page of results.
close()
Close httplib2 connections.
execute(name, body=None, x__xgafv=None)
Executes an action with the name specified in the request. The input parameters for executing the action are passed through the body of the ExecuteAction request. Args: name: string, Required. Resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}/actions/{action} (required) body: object, The request body. The object takes the form of: { # Request message for ActionService.ExecuteAction "parameters": { # Parameters for executing the action. The parameters can be key/value pairs or nested structs. "a_key": "", # Properties of the object. }, } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for ActionService.ExecuteAction "results": [ # In the case of successful invocation of the specified action, the results Struct contains values based on the response of the action invoked. 1. If the action execution produces any entities as a result, they are returned as an array of Structs with the 'key' being the field name and the 'value' being the value of that field in each result row. { 'results': [{'key': 'value'}, ...] } { "a_key": "", # Properties of the object. }, ], }
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Gets the schema of all the actions supported by the connector. Args: parent: string, Required. Parent resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection} (required) pageSize: integer, Number of Actions to return. Defaults to 25. pageToken: string, Page token, return from a previous ListActions call, that can be used retrieve the next page of content. If unspecified, the request returns the first page of actions. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for ActionService.ListActions "actions": [ # List of action metadata. { # Action message contains metadata information about a single action present in the external system. "inputParameters": [ # List containing input parameter metadata. { # Input Parameter message contains metadata about the parameters required for executing an Action. "dataType": "A String", # The data type of the Parameter "defaultValue": "", # The following field specifies the default value of the Parameter provided by the external system if a value is not provided. "description": "A String", # A brief description of the Parameter. "name": "A String", # Name of the Parameter. "nullable": True or False, # Specifies whether a null value is allowed. }, ], "name": "A String", # Name of the action. "resultMetadata": [ # List containing the metadata of result fields. { # Result Metadata message contains metadata about the result returned after executing an Action. "dataType": "A String", # The data type of the metadata field "description": "A String", # A brief description of the metadata field. "name": "A String", # Name of the metadata field. }, ], }, ], "nextPageToken": "A String", # Next page token if more actions available. "unsupportedActionNames": [ # List of actions which contain unsupported Datatypes. Check datatype.proto for more information. "A String", ], }
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.