class OrganizationsEnvironmentsFlowhooks extends Resource (View source)

The "flowhooks" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $flowhooks = $apigeeService->organizations_environments_flowhooks;

Methods

attachSharedFlowToFlowHook(string $name, GoogleCloudApigeeV1FlowHook $postBody, array $optParams = [])

Attaches a shared flow to a flow hook. (flowhooks.attachSharedFlowToFlowHook)

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

Detaches a shared flow from a flow hook.

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

Returns the name of the shared flow attached to the specified flow hook. If there's no shared flow attached to the flow hook, the API does not return an error; it simply does not return a name in the response. (flowhooks.get)

Details

GoogleCloudApigeeV1FlowHook attachSharedFlowToFlowHook(string $name, GoogleCloudApigeeV1FlowHook $postBody, array $optParams = [])

Attaches a shared flow to a flow hook. (flowhooks.attachSharedFlowToFlowHook)

Parameters

string $name

Required. Name of the flow hook to which the shared flow should be attached in the following format: organizations/{org}/environments/{env}/flowhooks/{flowhook}

GoogleCloudApigeeV1FlowHook $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1FlowHook

Exceptions

Exception

GoogleCloudApigeeV1FlowHook detachSharedFlowFromFlowHook(string $name, array $optParams = [])

Detaches a shared flow from a flow hook.

(flowhooks.detachSharedFlowFromFlowHook)

Parameters

string $name

Required. Name of the flow hook to detach in the following format: organizations/{org}/environments/{env}/flowhooks/{flowhook}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1FlowHook

Exceptions

Exception

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

Returns the name of the shared flow attached to the specified flow hook. If there's no shared flow attached to the flow hook, the API does not return an error; it simply does not return a name in the response. (flowhooks.get)

Parameters

string $name

Required. Name of the flow hook in the following format: organizations/{org}/environments/{env}/flowhooks/{flowhook}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1FlowHook

Exceptions

Exception