class ProjectsLocationsEnvironments extends Resource (View source)

The "environments" collection of methods.

Typical usage is:

 $notebooksService = new Google\Service\AIPlatformNotebooks(...);
 $environments = $notebooksService->projects_locations_environments;

Methods

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

Creates a new Environment. (environments.create)

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

Deletes a single Environment. (environments.delete)

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

Gets details of a single Environment. (environments.get)

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

Lists environments in a project.

Details

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

Creates a new Environment. (environments.create)

Parameters

string $parent

Required. Format: projects/{project_id}/locations/{location}

Environment $postBody
array $optParams

Optional parameters.

Return Value

Operation

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

Deletes a single Environment. (environments.delete)

Parameters

string $name

Required. Format: projects/{project_id}/locations/{location}/environments/{environment_id}

array $optParams

Optional parameters.

Return Value

Operation

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

Gets details of a single Environment. (environments.get)

Parameters

string $name

Required. Format: projects/{project_id}/locations/{location}/environments/{environment_id}

array $optParams

Optional parameters.

Return Value

Environment

ListEnvironmentsResponse listProjectsLocationsEnvironments(string $parent, array $optParams = [])

Lists environments in a project.

(environments.listProjectsLocationsEnvironments)

Parameters

string $parent

Required. Format: projects/{project_id}/locations/{location}

array $optParams

Optional parameters.

Return Value

ListEnvironmentsResponse