class ProjectsLocationsPrivateConnectionsRoutes extends Resource (View source)

The "routes" collection of methods.

Typical usage is:

 $datastreamService = new Google\Service\Datastream(...);
 $routes = $datastreamService->projects_locations_privateConnections_routes;

Methods

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

Use this method to create a route for a private connectivity configuration in a project and location. (routes.create)

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

Use this method to delete a route. (routes.delete)

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

Use this method to get details about a route. (routes.get)

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

Use this method to list routes created for a private connectivity configuration in a project and location.

Details

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

Use this method to create a route for a private connectivity configuration in a project and location. (routes.create)

Parameters

string $parent

Required. The parent that owns the collection of Routes.

Route $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Use this method to delete a route. (routes.delete)

Parameters

string $name

Required. The name of the Route resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Use this method to get details about a route. (routes.get)

Parameters

string $name

Required. The name of the Route resource to get.

array $optParams

Optional parameters.

Return Value

Route

Exceptions

Exception

ListRoutesResponse listProjectsLocationsPrivateConnectionsRoutes(string $parent, array $optParams = [])

Use this method to list routes created for a private connectivity configuration in a project and location.

(routes.listProjectsLocationsPrivateConnectionsRoutes)

Parameters

string $parent

Required. The parent that owns the collection of Routess.

array $optParams

Optional parameters.

Return Value

ListRoutesResponse

Exceptions

Exception