class ProjectsLocationsServiceBindings extends Resource (View source)

The "serviceBindings" collection of methods.

Typical usage is:

 $networkservicesService = new Google\Service\NetworkServices(...);
 $serviceBindings = $networkservicesService->projects_locations_serviceBindings;

Methods

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

Creates a new ServiceBinding in a given project and location.

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

Deletes a single ServiceBinding. (serviceBindings.delete)

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

Gets details of a single ServiceBinding. (serviceBindings.get)

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

Lists ServiceBinding in a given project and location.

Details

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

Creates a new ServiceBinding in a given project and location.

(serviceBindings.create)

Parameters

string $parent

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

ServiceBinding $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a single ServiceBinding. (serviceBindings.delete)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single ServiceBinding. (serviceBindings.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

ServiceBinding

Exceptions

Exception

ListServiceBindingsResponse listProjectsLocationsServiceBindings(string $parent, array $optParams = [])

Lists ServiceBinding in a given project and location.

(serviceBindings.listProjectsLocationsServiceBindings)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListServiceBindingsResponse

Exceptions

Exception