class ProjectsLocationsGateways extends Resource (View source)

The "gateways" collection of methods.

Typical usage is:

 $networkservicesService = new Google\Service\NetworkServices(...);
 $gateways = $networkservicesService->projects_locations_gateways;

Methods

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

Creates a new Gateway in a given project and location. (gateways.create)

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

Deletes a single Gateway. (gateways.delete)

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

Gets details of a single Gateway. (gateways.get)

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

Lists Gateways in a given project and location.

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

Updates the parameters of a single Gateway. (gateways.patch)

Details

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

Creates a new Gateway in a given project and location. (gateways.create)

Parameters

string $parent

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

Gateway $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a single Gateway. (gateways.delete)

Parameters

string $name

Required. A name of the Gateway to delete. Must be in the format projects/locations/gateways.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single Gateway. (gateways.get)

Parameters

string $name

Required. A name of the Gateway to get. Must be in the format projects/locations/gateways.

array $optParams

Optional parameters.

Return Value

Gateway

Exceptions

Exception

ListGatewaysResponse listProjectsLocationsGateways(string $parent, array $optParams = [])

Lists Gateways in a given project and location.

(gateways.listProjectsLocationsGateways)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListGatewaysResponse

Exceptions

Exception

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

Updates the parameters of a single Gateway. (gateways.patch)

Parameters

string $name

Identifier. Name of the Gateway resource. It matches pattern projects/locations/gateways/.

Gateway $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception