class OrganizationsEnvironmentsApisRevisionsDebugsessions extends Resource (View source)

The "debugsessions" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $debugsessions = $apigeeService->organizations_environments_apis_revisions_debugsessions;

Methods

create(string $parent, GoogleCloudApigeeV1DebugSession $postBody, array $optParams = [])

Creates a debug session for a deployed API Proxy revision.

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

Deletes the data from a debug session. This does not cancel the debug session or prevent further data from being collected if the session is still active in runtime pods. (debugsessions.deleteData)

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

Retrieves a debug session. (debugsessions.get)

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

Lists debug sessions that are currently active in the given API Proxy revision.

Details

GoogleCloudApigeeV1DebugSession create(string $parent, GoogleCloudApigeeV1DebugSession $postBody, array $optParams = [])

Creates a debug session for a deployed API Proxy revision.

(debugsessions.create)

Parameters

string $parent

Required. The resource name of the API Proxy revision deployment for which to create the DebugSession. Must be of the form organiz ations/{organization}/environments/{environment}/apis/{api}/revisions/{revisi on}.

GoogleCloudApigeeV1DebugSession $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1DebugSession

Exceptions

Exception

GoogleProtobufEmpty deleteData(string $name, array $optParams = [])

Deletes the data from a debug session. This does not cancel the debug session or prevent further data from being collected if the session is still active in runtime pods. (debugsessions.deleteData)

Parameters

string $name

Required. The name of the debug session to delete. Must be of the form: organizations/{organization}/environments/{environment}/apis /{api}/revisions/{revision}/debugsessions/{debugsession}.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

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

Retrieves a debug session. (debugsessions.get)

Parameters

string $name

Required. The name of the debug session to retrieve. Must be of the form: organizations/{organization}/environments/{environment}/apis /{api}/revisions/{revision}/debugsessions/{session}.

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1DebugSession

Exceptions

Exception

GoogleCloudApigeeV1ListDebugSessionsResponse listOrganizationsEnvironmentsApisRevisionsDebugsessions(string $parent, array $optParams = [])

Lists debug sessions that are currently active in the given API Proxy revision.

(debugsessions.listOrganizationsEnvironmentsApisRevisionsDebugsessions)

Parameters

string $parent

Required. The name of the API Proxy revision deployment for which to list debug sessions. Must be of the form: organizations/{organi zation}/environments/{environment}/apis/{api}/revisions/{revision}.

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1ListDebugSessionsResponse

Exceptions

Exception