class ProjectsHistoriesExecutionsEnvironments extends Resource (View source)

The "environments" collection of methods.

Typical usage is:

 $toolresultsService = new Google\Service\ToolResults(...);
 $environments = $toolresultsService->projects_histories_executions_environments;

Methods

get(string $projectId, string $historyId, string $executionId, string $environmentId, array $optParams = [])

Gets an Environment. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Environment does not exist (environments.get)

listProjectsHistoriesExecutionsEnvironments(string $projectId, string $historyId, string $executionId, array $optParams = [])

Lists Environments for a given Execution. The Environments are sorted by display name. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Execution does not exist (environments.listProjectsHistoriesExecutionsEnvironments)

Details

Environment get(string $projectId, string $historyId, string $executionId, string $environmentId, array $optParams = [])

Gets an Environment. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Environment does not exist (environments.get)

Parameters

string $projectId

Required. A Project id.

string $historyId

Required. A History id.

string $executionId

Required. An Execution id.

string $environmentId

Required. An Environment id.

array $optParams

Optional parameters.

Return Value

Environment

Exceptions

Exception

ListEnvironmentsResponse listProjectsHistoriesExecutionsEnvironments(string $projectId, string $historyId, string $executionId, array $optParams = [])

Lists Environments for a given Execution. The Environments are sorted by display name. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Execution does not exist (environments.listProjectsHistoriesExecutionsEnvironments)

Parameters

string $projectId

Required. A Project id.

string $historyId

Required. A History id.

string $executionId

Required. An Execution id.

array $optParams

Optional parameters.

Return Value

ListEnvironmentsResponse

Exceptions

Exception