Class TargetTcpProxiesResource
The "targetTcpProxies" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class TargetTcpProxiesResource
Constructors
TargetTcpProxiesResource(IClientService)
Constructs a new resource.
Declaration
public TargetTcpProxiesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project.
To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Declaration
public virtual TargetTcpProxiesResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Name of the project scoping this request. |
Returns
Type | Description |
---|---|
TargetTcpProxiesResource.AggregatedListRequest |
Delete(string, string)
Deletes the specified TargetTcpProxy resource.
Declaration
public virtual TargetTcpProxiesResource.DeleteRequest Delete(string project, string targetTcpProxy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | targetTcpProxy | Name of the TargetTcpProxy resource to delete. |
Returns
Type | Description |
---|---|
TargetTcpProxiesResource.DeleteRequest |
Get(string, string)
Returns the specified TargetTcpProxy resource.
Declaration
public virtual TargetTcpProxiesResource.GetRequest Get(string project, string targetTcpProxy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
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. |
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 |
---|---|---|
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. |
string | project | Project ID for this request. |
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. |
string | project | Project ID for this request. |
string | targetTcpProxy | Name of the TargetTcpProxy resource whose ProxyHeader is to be set. |
Returns
Type | Description |
---|---|
TargetTcpProxiesResource.SetProxyHeaderRequest |
TestIamPermissions(TestPermissionsRequest, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual TargetTcpProxiesResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestPermissionsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
TargetTcpProxiesResource.TestIamPermissionsRequest |