class ProjectsLocationsHttpRoutes extends Resource (View source)

The "httpRoutes" collection of methods.

Typical usage is:

 $networkservicesService = new Google\Service\NetworkServices(...);
 $httpRoutes = $networkservicesService->projects_locations_httpRoutes;

Methods

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

Creates a new HttpRoute in a given project and location. (httpRoutes.create)

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

Deletes a single HttpRoute. (httpRoutes.delete)

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

Gets details of a single HttpRoute. (httpRoutes.get)

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

Lists HttpRoute in a given project and location.

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

Updates the parameters of a single HttpRoute. (httpRoutes.patch)

Details

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

Creates a new HttpRoute in a given project and location. (httpRoutes.create)

Parameters

string $parent

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

HttpRoute $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a single HttpRoute. (httpRoutes.delete)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single HttpRoute. (httpRoutes.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

HttpRoute

Exceptions

Exception

ListHttpRoutesResponse listProjectsLocationsHttpRoutes(string $parent, array $optParams = [])

Lists HttpRoute in a given project and location.

(httpRoutes.listProjectsLocationsHttpRoutes)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListHttpRoutesResponse

Exceptions

Exception

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

Updates the parameters of a single HttpRoute. (httpRoutes.patch)

Parameters

string $name

Identifier. Name of the HttpRoute resource. It matches pattern projects/locations/global/httpRoutes/http_route_name>.

HttpRoute $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception