class ProjectsLocationsMeshes extends Resource (View source)

The "meshes" collection of methods.

Typical usage is:

 $networkservicesService = new Google\Service\NetworkServices(...);
 $meshes = $networkservicesService->projects_locations_meshes;

Methods

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

Creates a new Mesh in a given project and location. (meshes.create)

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

Deletes a single Mesh. (meshes.delete)

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

Gets details of a single Mesh. (meshes.get)

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

Lists Meshes in a given project and location.

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

Updates the parameters of a single Mesh. (meshes.patch)

Details

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

Creates a new Mesh in a given project and location. (meshes.create)

Parameters

string $parent

Required. The parent resource of the Mesh. Must be in the format projects/locations/global.

Mesh $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a single Mesh. (meshes.delete)

Parameters

string $name

Required. A name of the Mesh to delete. Must be in the format projects/locations/global/meshes.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single Mesh. (meshes.get)

Parameters

string $name

Required. A name of the Mesh to get. Must be in the format projects/locations/global/meshes.

array $optParams

Optional parameters.

Return Value

Mesh

Exceptions

Exception

ListMeshesResponse listProjectsLocationsMeshes(string $parent, array $optParams = [])

Lists Meshes in a given project and location.

(meshes.listProjectsLocationsMeshes)

Parameters

string $parent

Required. The project and location from which the Meshes should be listed, specified in the format projects/locations/global.

array $optParams

Optional parameters.

Return Value

ListMeshesResponse

Exceptions

Exception

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

Updates the parameters of a single Mesh. (meshes.patch)

Parameters

string $name

Identifier. Name of the Mesh resource. It matches pattern projects/locations/global/meshes/.

Mesh $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception