class ProjectsLocationsLbTrafficExtensions extends Resource (View source)

The "lbTrafficExtensions" collection of methods.

Typical usage is:

 $networkservicesService = new Google\Service\NetworkServices(...);
 $lbTrafficExtensions = $networkservicesService->projects_locations_lbTrafficExtensions;

Methods

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

Creates a new LbTrafficExtension resource in a given project and location.

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

Deletes the specified LbTrafficExtension resource.

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

Gets details of the specified LbTrafficExtension resource.

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

Lists LbTrafficExtension resources in a given project and location.

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

Updates the parameters of the specified LbTrafficExtension resource.

Details

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

Creates a new LbTrafficExtension resource in a given project and location.

(lbTrafficExtensions.create)

Parameters

string $parent

Required. The parent resource of the LbTrafficExtension resource. Must be in the format projects/{project}/locations/{location}.

LbTrafficExtension $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes the specified LbTrafficExtension resource.

(lbTrafficExtensions.delete)

Parameters

string $name

Required. The name of the LbTrafficExtension resource to delete. Must be in the format projects/{project}/locations/{location}/lbT rafficExtensions/{lb_traffic_extension}.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of the specified LbTrafficExtension resource.

(lbTrafficExtensions.get)

Parameters

string $name

Required. A name of the LbTrafficExtension resource to get. Must be in the format projects/{project}/locations/{location}/lbTraffic Extensions/{lb_traffic_extension}.

array $optParams

Optional parameters.

Return Value

LbTrafficExtension

Exceptions

Exception

ListLbTrafficExtensionsResponse listProjectsLocationsLbTrafficExtensions(string $parent, array $optParams = [])

Lists LbTrafficExtension resources in a given project and location.

(lbTrafficExtensions.listProjectsLocationsLbTrafficExtensions)

Parameters

string $parent

Required. The project and location from which the LbTrafficExtension resources are listed, specified in the following format: projects/{project}/locations/{location}.

array $optParams

Optional parameters.

Return Value

ListLbTrafficExtensionsResponse

Exceptions

Exception

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

Updates the parameters of the specified LbTrafficExtension resource.

(lbTrafficExtensions.patch)

Parameters

string $name

Required. Identifier. Name of the LbTrafficExtension resource in the following format: projects/{project}/locations/{location}/lb TrafficExtensions/{lb_traffic_extension}.

LbTrafficExtension $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception