Class TargetTcpProxiesResource
The "targetTcpProxies" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class TargetTcpProxiesResource
Constructors
TargetTcpProxiesResource(IClientService)
Constructs a new resource.
Declaration
public TargetTcpProxiesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(String, String)
Deletes the specified TargetTcpProxy resource.
Declaration
public virtual TargetTcpProxiesResource.DeleteRequest Delete(string project, string targetTcpProxy)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | targetTcpProxy | Name of the TargetTcpProxy resource to delete. |
Returns
| Type | Description |
|---|---|
| TargetTcpProxiesResource.DeleteRequest |
Get(String, String)
Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request.
Declaration
public virtual TargetTcpProxiesResource.GetRequest Get(string project, string targetTcpProxy)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | targetTcpProxy | Name of the TargetTcpProxy resource to return. |
Returns
| Type | Description |
|---|---|
| TargetTcpProxiesResource.GetRequest |
Insert(TargetTcpProxy, String)
Creates a TargetTcpProxy resource in the specified project using the data included in the request.
Declaration
public virtual TargetTcpProxiesResource.InsertRequest Insert(TargetTcpProxy body, string project)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetTcpProxy | body | The body of the request. |
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| TargetTcpProxiesResource.InsertRequest |
List(String)
Retrieves the list of TargetTcpProxy resources available to the specified project.
Declaration
public virtual TargetTcpProxiesResource.ListRequest List(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| TargetTcpProxiesResource.ListRequest |
SetBackendService(TargetTcpProxiesSetBackendServiceRequest, String, String)
Changes the BackendService for TargetTcpProxy.
Declaration
public virtual TargetTcpProxiesResource.SetBackendServiceRequest SetBackendService(TargetTcpProxiesSetBackendServiceRequest body, string project, string targetTcpProxy)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetTcpProxiesSetBackendServiceRequest | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | targetTcpProxy | Name of the TargetTcpProxy resource whose BackendService resource is to be set. |
Returns
| Type | Description |
|---|---|
| TargetTcpProxiesResource.SetBackendServiceRequest |
SetProxyHeader(TargetTcpProxiesSetProxyHeaderRequest, String, String)
Changes the ProxyHeaderType for TargetTcpProxy.
Declaration
public virtual TargetTcpProxiesResource.SetProxyHeaderRequest SetProxyHeader(TargetTcpProxiesSetProxyHeaderRequest body, string project, string targetTcpProxy)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetTcpProxiesSetProxyHeaderRequest | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | targetTcpProxy | Name of the TargetTcpProxy resource whose ProxyHeader is to be set. |
Returns
| Type | Description |
|---|---|
| TargetTcpProxiesResource.SetProxyHeaderRequest |