class ProjectsLocationsConnectionsActions extends Resource (View source)

The "actions" collection of methods.

Typical usage is:

 $connectorsService = new Google\Service\Connectors(...);
 $actions = $connectorsService->projects_locations_connections_actions;

Methods

execute(string $name, ExecuteActionRequest $postBody, array $optParams = [])

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. (actions.execute)

get(string $name, array $optParams = [])

Gets the schema of the given action. (actions.get)

listProjectsLocationsConnectionsActions(string $parent, array $optParams = [])

Gets the schema of all the actions supported by the connector.

Details

ExecuteActionResponse execute(string $name, ExecuteActionRequest $postBody, array $optParams = [])

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. (actions.execute)

Parameters

string $name

Required. Resource name of the Action. Format: projects/{ project}/locations/{location}/connections/{connection}/actions/{action}

ExecuteActionRequest $postBody
array $optParams

Optional parameters.

Return Value

ExecuteActionResponse

Exceptions

Exception

Action get(string $name, array $optParams = [])

Gets the schema of the given action. (actions.get)

Parameters

string $name

Required. Resource name of the Action. Format: projects/{ project}/locations/{location}/connections/{connection}/actions/{action}

array $optParams

Optional parameters.

Return Value

Action

Exceptions

Exception

ListActionsResponse listProjectsLocationsConnectionsActions(string $parent, array $optParams = [])

Gets the schema of all the actions supported by the connector.

(actions.listProjectsLocationsConnectionsActions)

Parameters

string $parent

Required. Parent resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}

array $optParams

Optional parameters.

Return Value

ListActionsResponse

Exceptions

Exception