class ProjectsLocationsRegionalEndpoints extends Resource (View source)

The "regionalEndpoints" collection of methods.

Typical usage is:

 $networkconnectivityService = new Google\Service\Networkconnectivity(...);
 $regionalEndpoints = $networkconnectivityService->projects_locations_regionalEndpoints;

Methods

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

Creates a new RegionalEndpoint in a given project and location.

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

Deletes a single RegionalEndpoint. (regionalEndpoints.delete)

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

Gets details of a single RegionalEndpoint. (regionalEndpoints.get)

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

Lists RegionalEndpoints in a given project and location.

Details

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

Creates a new RegionalEndpoint in a given project and location.

(regionalEndpoints.create)

Parameters

string $parent

Required. The parent resource's name of the RegionalEndpoint.

RegionalEndpoint $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Deletes a single RegionalEndpoint. (regionalEndpoints.delete)

Parameters

string $name

Required. The name of the RegionalEndpoint to delete.

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Gets details of a single RegionalEndpoint. (regionalEndpoints.get)

Parameters

string $name

Required. Name of the RegionalEndpoint resource to get. Format: projects/{project}/locations/{location}/regionalEndpoints/{regional_ endpoint}

array $optParams

Optional parameters.

Return Value

RegionalEndpoint

Exceptions

Exception

ListRegionalEndpointsResponse listProjectsLocationsRegionalEndpoints(string $parent, array $optParams = [])

Lists RegionalEndpoints in a given project and location.

(regionalEndpoints.listProjectsLocationsRegionalEndpoints)

Parameters

string $parent

Required. The parent resource's name of the RegionalEndpoint.

array $optParams

Optional parameters.

Return Value

ListRegionalEndpointsResponse

Exceptions

Exception