class ProjectsLocationsNotebookRuntimeTemplates extends Resource (View source)

The "notebookRuntimeTemplates" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $notebookRuntimeTemplates = $aiplatformService->projects_locations_notebookRuntimeTemplates;

Methods

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

Creates a NotebookRuntimeTemplate. (notebookRuntimeTemplates.create)

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

Deletes a NotebookRuntimeTemplate. (notebookRuntimeTemplates.delete)

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

Gets a NotebookRuntimeTemplate. (notebookRuntimeTemplates.get)

getIamPolicy(string $resource, array $optParams = [])

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

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

Lists NotebookRuntimeTemplates in a Location.

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

Updates a NotebookRuntimeTemplate. (notebookRuntimeTemplates.patch)

setIamPolicy(string $resource, GoogleIamV1SetIamPolicyRequest $postBody, array $optParams = [])

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (notebookRuntimeTemplates.setIamPolicy)

testIamPermissions(string $resource, array $optParams = [])

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking.

Details

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

Creates a NotebookRuntimeTemplate. (notebookRuntimeTemplates.create)

Parameters

string $parent

Required. The resource name of the Location to create the NotebookRuntimeTemplate. Format: projects/{project}/locations/{location}

GoogleCloudAiplatformV1NotebookRuntimeTemplate $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Deletes a NotebookRuntimeTemplate. (notebookRuntimeTemplates.delete)

Parameters

string $name

Required. The name of the NotebookRuntimeTemplate resource to be deleted. Format: projects/{project}/locations/{location}/note bookRuntimeTemplates/{notebook_runtime_template}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Gets a NotebookRuntimeTemplate. (notebookRuntimeTemplates.get)

Parameters

string $name

Required. The name of the NotebookRuntimeTemplate resource. Format: projects/{project}/locations/{location}/notebookRuntimeTem plates/{notebook_runtime_template}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1NotebookRuntimeTemplate

Exceptions

Exception

GoogleIamV1Policy getIamPolicy(string $resource, array $optParams = [])

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

(notebookRuntimeTemplates.getIamPolicy)

Parameters

string $resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

array $optParams

Optional parameters.

Return Value

GoogleIamV1Policy

Exceptions

Exception

GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse listProjectsLocationsNotebookRuntimeTemplates(string $parent, array $optParams = [])

Lists NotebookRuntimeTemplates in a Location.

(notebookRuntimeTemplates.listProjectsLocationsNotebookRuntimeTemplates)

Parameters

string $parent

Required. The resource name of the Location from which to list the NotebookRuntimeTemplates. Format: projects/{project}/locations/{location}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse

Exceptions

Exception

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

Updates a NotebookRuntimeTemplate. (notebookRuntimeTemplates.patch)

Parameters

string $name

The resource name of the NotebookRuntimeTemplate.

GoogleCloudAiplatformV1NotebookRuntimeTemplate $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1NotebookRuntimeTemplate

Exceptions

Exception

GoogleIamV1Policy setIamPolicy(string $resource, GoogleIamV1SetIamPolicyRequest $postBody, array $optParams = [])

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (notebookRuntimeTemplates.setIamPolicy)

Parameters

string $resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

GoogleIamV1SetIamPolicyRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleIamV1Policy

Exceptions

Exception

GoogleIamV1TestIamPermissionsResponse testIamPermissions(string $resource, array $optParams = [])

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking.

This operation may "fail open" without warning. (notebookRuntimeTemplates.testIamPermissions)

Parameters

string $resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

array $optParams

Optional parameters.

Return Value

GoogleIamV1TestIamPermissionsResponse

Exceptions

Exception