A target TCP proxy is a component of a Proxy Network Load Balancer. The forwarding rule references the target TCP proxy, and the target proxy then references a backend service. For more information, readProxy Network Load Balancer overview.
If successful, the response body contains data with the following structure:
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
description
string
An optional description of this resource. Provide this property when you create the resource.
selfLink
string
[Output Only] Server-defined URL for the resource.
service
string
URL to the BackendService resource.
proxyHeader
enum
Specifies the type of proxy header to append before sending data to the backend, eitherNONEorPROXY_V1. The default isNONE.
proxyBind
boolean
This field only applies when the forwarding rule that references this target proxy has aloadBalancingSchemeset toINTERNAL_SELF_MANAGED.
When this field is set totrue, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them.
The default isfalse.
region
string
[Output Only] URL of the region where the regional TCP proxy resides. This field is not applicable to global TCP proxy.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eThis document details how to retrieve a specific TargetTcpProxy resource using a \u003ccode\u003eGET\u003c/code\u003e request to the provided URL, which employs gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires two path parameters: \u003ccode\u003eproject\u003c/code\u003e (the project ID) and \u003ccode\u003etargetTcpProxy\u003c/code\u003e (the name of the resource), and the request body should remain empty.\u003c/p\u003e\n"],["\u003cp\u003eThe response body contains data about the requested TargetTcpProxy, including details like its \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eservice\u003c/code\u003e, and other properties, formatted according to the specified JSON representation.\u003c/p\u003e\n"],["\u003cp\u003eAccess to the TargetTcpProxy resource requires one of the specified OAuth scopes and the \u003ccode\u003ecompute.targetTcpProxies.get\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,["# Method: targetTcpProxies.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.TargetTcpProxy.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nReturns the specified TargetTcpProxy resource.\n\n### HTTP request\n\n`GET https://compute.googleapis.com/compute/beta/projects/{project}/global/targetTcpProxies/{targetTcpProxy}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nRepresents a Target TCP Proxy resource.\n\nA target TCP proxy is a component of a Proxy Network Load Balancer. The forwarding rule references the target TCP proxy, and the target proxy then references a backend service. For more information, read [Proxy Network Load Balancer overview](/load-balancing/docs/proxy-network-load-balancer).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/compute.readonly`\n- `\n https://www.googleapis.com/auth/compute`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nIn addition to any permissions specified on the fields above, authorization requires one or more of the following [IAM](https://cloud.google.com/iam/docs/) permissions:\n\n- `compute.targetTcpProxies.get`\n\nTo find predefined roles that contain those permissions, see [Compute Engine IAM Roles](/compute/docs/access/iam)."]]