Class TargetHttpProxiesResource
The "targetHttpProxies" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class TargetHttpProxiesResource
Constructors
TargetHttpProxiesResource(IClientService)
Constructs a new resource.
Declaration
public TargetHttpProxiesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
AggregatedList(string)
Retrieves the list of all TargetHttpProxy 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 TargetHttpProxiesResource.AggregatedListRequest AggregatedList(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Name of the project scoping this request. |
Returns
| Type | Description |
|---|---|
| TargetHttpProxiesResource.AggregatedListRequest |
Delete(string, string)
Deletes the specified TargetHttpProxy resource.
Declaration
public virtual TargetHttpProxiesResource.DeleteRequest Delete(string project, string targetHttpProxy)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | targetHttpProxy | Name of the TargetHttpProxy resource to delete. |
Returns
| Type | Description |
|---|---|
| TargetHttpProxiesResource.DeleteRequest |
Get(string, string)
Returns the specified TargetHttpProxy resource.
Declaration
public virtual TargetHttpProxiesResource.GetRequest Get(string project, string targetHttpProxy)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | targetHttpProxy | Name of the TargetHttpProxy resource to return. |
Returns
| Type | Description |
|---|---|
| TargetHttpProxiesResource.GetRequest |
Insert(TargetHttpProxy, string)
Creates a TargetHttpProxy resource in the specified project using the data included in the request.
Declaration
public virtual TargetHttpProxiesResource.InsertRequest Insert(TargetHttpProxy body, string project)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetHttpProxy | body | The body of the request. |
| string | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| TargetHttpProxiesResource.InsertRequest |
List(string)
Retrieves the list of TargetHttpProxy resources available to the specified project.
Declaration
public virtual TargetHttpProxiesResource.ListRequest List(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| TargetHttpProxiesResource.ListRequest |
Patch(TargetHttpProxy, string, string)
Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Declaration
public virtual TargetHttpProxiesResource.PatchRequest Patch(TargetHttpProxy body, string project, string targetHttpProxy)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetHttpProxy | body | The body of the request. |
| string | project | Project ID for this request. |
| string | targetHttpProxy | Name of the TargetHttpProxy resource to patch. |
Returns
| Type | Description |
|---|---|
| TargetHttpProxiesResource.PatchRequest |
SetUrlMap(UrlMapReference, string, string)
Changes the URL map for TargetHttpProxy.
Declaration
public virtual TargetHttpProxiesResource.SetUrlMapRequest SetUrlMap(UrlMapReference body, string project, string targetHttpProxy)
Parameters
| Type | Name | Description |
|---|---|---|
| UrlMapReference | body | The body of the request. |
| string | project | Project ID for this request. |
| string | targetHttpProxy | Name of the TargetHttpProxy to set a URL map for. |
Returns
| Type | Description |
|---|---|
| TargetHttpProxiesResource.SetUrlMapRequest |
TestIamPermissions(TestPermissionsRequest, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual TargetHttpProxiesResource.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 |
|---|---|
| TargetHttpProxiesResource.TestIamPermissionsRequest |