class TargetHttpProxies extends Resource (View source)

The "targetHttpProxies" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $targetHttpProxies = $computeService->targetHttpProxies;

Methods

aggregatedList(string $project, array $optParams = [])

Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

delete(string $project, string $targetHttpProxy, array $optParams = [])

Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete)

get(string $project, string $targetHttpProxy, array $optParams = [])

Returns the specified TargetHttpProxy resource. (targetHttpProxies.get)

insert(string $project, TargetHttpProxy $postBody, array $optParams = [])

Creates a TargetHttpProxy resource in the specified project using the data included in the request. (targetHttpProxies.insert)

listTargetHttpProxies(string $project, array $optParams = [])

Retrieves the list of TargetHttpProxy resources available to the specified project. (targetHttpProxies.listTargetHttpProxies)

patch(string $project, string $targetHttpProxy, TargetHttpProxy $postBody, array $optParams = [])

Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. (targetHttpProxies.patch)

setUrlMap(string $project, string $targetHttpProxy, UrlMapReference $postBody, array $optParams = [])

Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap)

Details

TargetHttpProxyAggregatedList aggregatedList(string $project, array $optParams = [])

Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

(targetHttpProxies.aggregatedList)

Parameters

string $project

Name of the project scoping this request.

array $optParams

Optional parameters.

Return Value

TargetHttpProxyAggregatedList

Exceptions

Exception

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

Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete)

Parameters

string $project

Project ID for this request.

string $targetHttpProxy

Name of the TargetHttpProxy resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

TargetHttpProxy get(string $project, string $targetHttpProxy, array $optParams = [])

Returns the specified TargetHttpProxy resource. (targetHttpProxies.get)

Parameters

string $project

Project ID for this request.

string $targetHttpProxy

Name of the TargetHttpProxy resource to return.

array $optParams

Optional parameters.

Return Value

TargetHttpProxy

Exceptions

Exception

Operation insert(string $project, TargetHttpProxy $postBody, array $optParams = [])

Creates a TargetHttpProxy resource in the specified project using the data included in the request. (targetHttpProxies.insert)

Parameters

string $project

Project ID for this request.

TargetHttpProxy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

TargetHttpProxyList listTargetHttpProxies(string $project, array $optParams = [])

Retrieves the list of TargetHttpProxy resources available to the specified project. (targetHttpProxies.listTargetHttpProxies)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

TargetHttpProxyList

Exceptions

Exception

Operation patch(string $project, string $targetHttpProxy, TargetHttpProxy $postBody, array $optParams = [])

Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. (targetHttpProxies.patch)

Parameters

string $project

Project ID for this request.

string $targetHttpProxy

Name of the TargetHttpProxy resource to patch.

TargetHttpProxy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation setUrlMap(string $project, string $targetHttpProxy, UrlMapReference $postBody, array $optParams = [])

Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap)

Parameters

string $project

Project ID for this request.

string $targetHttpProxy

Name of the TargetHttpProxy to set a URL map for.

UrlMapReference $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception