class ProjectsIapTunnelLocationsDestGroups extends Resource (View source)

The "destGroups" collection of methods.

Typical usage is:

 $iapService = new Google\Service\CloudIAP(...);
 $destGroups = $iapService->projects_iap_tunnel_locations_destGroups;

Methods

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

Creates a new TunnelDestGroup. (destGroups.create)

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

Deletes a TunnelDestGroup. (destGroups.delete)

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

Retrieves an existing TunnelDestGroup. (destGroups.get)

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

Lists the existing TunnelDestGroups. To group across all locations, use a - as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups (destGroups.listProjectsIapTunnelLocationsDestGroups)

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

Updates a TunnelDestGroup. (destGroups.patch)

Details

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

Creates a new TunnelDestGroup. (destGroups.create)

Parameters

string $parent

Required. Google Cloud Project ID and location. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}.

TunnelDestGroup $postBody
array $optParams

Optional parameters.

Return Value

TunnelDestGroup

Exceptions

Exception

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

Deletes a TunnelDestGroup. (destGroups.delete)

Parameters

string $name

Required. Name of the TunnelDestGroup to delete. In the following format: projects/{project_number/id}/iap_tunnel/locations/{locatio n}/destGroups/{dest_group}.

array $optParams

Optional parameters.

Return Value

IapEmpty

Exceptions

Exception

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

Retrieves an existing TunnelDestGroup. (destGroups.get)

Parameters

string $name

Required. Name of the TunnelDestGroup to be fetched. In the following format: projects/{project_number/id}/iap_tunnel/locations/{loc ation}/destGroups/{dest_group}.

array $optParams

Optional parameters.

Return Value

TunnelDestGroup

Exceptions

Exception

ListTunnelDestGroupsResponse listProjectsIapTunnelLocationsDestGroups(string $parent, array $optParams = [])

Lists the existing TunnelDestGroups. To group across all locations, use a - as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups (destGroups.listProjectsIapTunnelLocationsDestGroups)

Parameters

string $parent

Required. Google Cloud Project ID and location. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}. A - can be used for the location to group across all locations.

array $optParams

Optional parameters.

Return Value

ListTunnelDestGroupsResponse

Exceptions

Exception

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

Updates a TunnelDestGroup. (destGroups.patch)

Parameters

string $name

Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).

TunnelDestGroup $postBody
array $optParams

Optional parameters.

Return Value

TunnelDestGroup

Exceptions

Exception