class ProjectsLocationsNamespacesServicesEndpoints extends Resource (View source)

The "endpoints" collection of methods.

Typical usage is:

 $servicedirectoryService = new Google\Service\ServiceDirectory(...);
 $endpoints = $servicedirectoryService->projects_locations_namespaces_services_endpoints;

Methods

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

Creates an endpoint, and returns the new endpoint. (endpoints.create)

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

Deletes an endpoint. (endpoints.delete)

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

Gets an endpoint. (endpoints.get)

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

Lists all endpoints.

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

Updates an endpoint. (endpoints.patch)

Details

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

Creates an endpoint, and returns the new endpoint. (endpoints.create)

Parameters

string $parent

Required. The resource name of the service that this endpoint provides.

Endpoint $postBody
array $optParams

Optional parameters.

Return Value

Endpoint

Exceptions

Exception

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

Deletes an endpoint. (endpoints.delete)

Parameters

string $name

Required. The name of the endpoint to delete.

array $optParams

Optional parameters.

Return Value

ServicedirectoryEmpty

Exceptions

Exception

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

Gets an endpoint. (endpoints.get)

Parameters

string $name

Required. The name of the endpoint to get.

array $optParams

Optional parameters.

Return Value

Endpoint

Exceptions

Exception

ListEndpointsResponse listProjectsLocationsNamespacesServicesEndpoints(string $parent, array $optParams = [])

Lists all endpoints.

(endpoints.listProjectsLocationsNamespacesServicesEndpoints)

Parameters

string $parent

Required. The resource name of the service whose endpoints you'd like to list.

array $optParams

Optional parameters.

Return Value

ListEndpointsResponse

Exceptions

Exception

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

Updates an endpoint. (endpoints.patch)

Parameters

string $name

Immutable. The resource name for the endpoint in the format projects/locations/namespaces/services/endpoints.

Endpoint $postBody
array $optParams

Optional parameters.

Return Value

Endpoint

Exceptions

Exception