Show / Hide Table of Contents

Class TargetHttpProxiesResource

The "targetHttpProxies" collection of methods.

Inheritance
System.Object
TargetHttpProxiesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class TargetHttpProxiesResource

Constructors

TargetHttpProxiesResource(IClientService)

Constructs a new resource.

Declaration
public TargetHttpProxiesResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Methods

AggregatedList(String)

Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.

Declaration
public virtual TargetHttpProxiesResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type Name Description
System.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
System.String project

Project ID for this request.

System.String targetHttpProxy

Name of the TargetHttpProxy resource to delete.

Returns
Type Description
TargetHttpProxiesResource.DeleteRequest

Get(String, String)

Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request.

Declaration
public virtual TargetHttpProxiesResource.GetRequest Get(string project, string targetHttpProxy)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.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.

System.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
System.String project

Project ID for this request.

Returns
Type Description
TargetHttpProxiesResource.ListRequest

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.

System.String project

Project ID for this request.

System.String targetHttpProxy

Name of the TargetHttpProxy to set a URL map for.

Returns
Type Description
TargetHttpProxiesResource.SetUrlMapRequest
Back to top