class ProjectsLocationsIntegrationsVersionsTestCases extends Resource (View source)

The "testCases" collection of methods.

Typical usage is:

 $integrationsService = new Google\Service\Integrations(...);
 $testCases = $integrationsService->projects_locations_integrations_versions_testCases;

Methods

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

Creates a new test case (testCases.create)

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

Deletes a test case (testCases.delete)

executeTest(string $testCaseName, GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest $postBody, array $optParams = [])

Executes functional test (testCases.executeTest)

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

Get a test case (testCases.get)

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

Lists the results of all functional test executions. The response includes the same information as the execution log in the Integration UI. (testCases.listExecutions)

patch(string $name, GoogleCloudIntegrationsV1alphaTestCase $postBody, array $optParams = [])

Updates a test case (testCases.patch)

Details

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

Creates a new test case (testCases.create)

Parameters

string $parent

Required. The parent resource where this test case will be created. Format: projects/{project}/locations/{location}/integrations/{int egration}/versions/{integration_version}

GoogleCloudIntegrationsV1alphaTestCase $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaTestCase

Exceptions

Exception

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

Deletes a test case (testCases.delete)

Parameters

string $name

Required. ID for the test case to be deleted

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse executeTest(string $testCaseName, GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest $postBody, array $optParams = [])

Executes functional test (testCases.executeTest)

Parameters

string $testCaseName

Required. Test case resource name

GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse

Exceptions

Exception

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

Get a test case (testCases.get)

Parameters

string $name

Required. The ID of the test case to retrieve

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaTestCase

Exceptions

Exception

GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse listExecutions(string $parent, array $optParams = [])

Lists the results of all functional test executions. The response includes the same information as the execution log in the Integration UI. (testCases.listExecutions)

Parameters

string $parent

Required. The parent resource name of the test case execution.

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse

Exceptions

Exception

GoogleCloudIntegrationsV1alphaTestCase patch(string $name, GoogleCloudIntegrationsV1alphaTestCase $postBody, array $optParams = [])

Updates a test case (testCases.patch)

Parameters

string $name

Output only. Auto-generated primary key.

GoogleCloudIntegrationsV1alphaTestCase $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaTestCase

Exceptions

Exception