class TargetGrpcProxies extends Resource (View source)

The "targetGrpcProxies" collection of methods.

Typical usage is:

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

Methods

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

Deletes the specified TargetGrpcProxy in the given scope (targetGrpcProxies.delete)

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

Returns the specified TargetGrpcProxy resource in the given scope.

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

Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request. (targetGrpcProxies.insert)

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

Lists the TargetGrpcProxies for a project in the given scope.

patch(string $project, string $targetGrpcProxy, TargetGrpcProxy $postBody, array $optParams = [])

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

Details

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

Deletes the specified TargetGrpcProxy in the given scope (targetGrpcProxies.delete)

Parameters

string $project

Project ID for this request.

string $targetGrpcProxy

Name of the TargetGrpcProxy resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Returns the specified TargetGrpcProxy resource in the given scope.

(targetGrpcProxies.get)

Parameters

string $project

Project ID for this request.

string $targetGrpcProxy

Name of the TargetGrpcProxy resource to return.

array $optParams

Optional parameters.

Return Value

TargetGrpcProxy

Exceptions

Exception

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

Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request. (targetGrpcProxies.insert)

Parameters

string $project

Project ID for this request.

TargetGrpcProxy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

TargetGrpcProxyList listTargetGrpcProxies(string $project, array $optParams = [])

Lists the TargetGrpcProxies for a project in the given scope.

(targetGrpcProxies.listTargetGrpcProxies)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

TargetGrpcProxyList

Exceptions

Exception

Operation patch(string $project, string $targetGrpcProxy, TargetGrpcProxy $postBody, array $optParams = [])

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

Parameters

string $project

Project ID for this request.

string $targetGrpcProxy

Name of the TargetGrpcProxy resource to patch.

TargetGrpcProxy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception