class RegionTargetTcpProxies extends Resource (View source)

The "regionTargetTcpProxies" collection of methods.

Typical usage is:

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

Methods

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

Deletes the specified TargetTcpProxy resource.

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

Returns the specified TargetTcpProxy resource. (regionTargetTcpProxies.get)

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

Creates a TargetTcpProxy resource in the specified project and region using the data included in the request. (regionTargetTcpProxies.insert)

listRegionTargetTcpProxies(string $project, string $region, array $optParams = [])

Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.

Details

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

Deletes the specified TargetTcpProxy resource.

(regionTargetTcpProxies.delete)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $targetTcpProxy

Name of the TargetTcpProxy resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

TargetTcpProxy get(string $project, string $region, string $targetTcpProxy, array $optParams = [])

Returns the specified TargetTcpProxy resource. (regionTargetTcpProxies.get)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $targetTcpProxy

Name of the TargetTcpProxy resource to return.

array $optParams

Optional parameters.

Return Value

TargetTcpProxy

Exceptions

Exception

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

Creates a TargetTcpProxy resource in the specified project and region using the data included in the request. (regionTargetTcpProxies.insert)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

TargetTcpProxy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

TargetTcpProxyList listRegionTargetTcpProxies(string $project, string $region, array $optParams = [])

Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.

(regionTargetTcpProxies.listRegionTargetTcpProxies)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

array $optParams

Optional parameters.

Return Value

TargetTcpProxyList

Exceptions

Exception