TargetHttpProxies are referenced by one or more GlobalFowardingRules and routes the incoming IP address, protocol, and port to a UrlMap resource.

For a list of methods for this resource, see the end of this page.

Resource representations

This resource defines an HTTP proxy.

  "kind": "compute#targetHttpProxy",
  "id": unsigned long,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "selfLink": string,
  "urlMap": string
Property name Value Description Notes
creationTimestamp string [Output Only] Creation timestamp in RFC3339 text format.
description string An optional description of this resource. Provide this property when you create the resource.
id unsigned long [Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind string [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies.
name string Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. 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.
urlMap string URL to the UrlMap resource that defines the mapping from URL to the BackendService.


The following are valid TargetHttpProxies resource methods:

Deletes the specified TargetHttpProxy resource.
Returns the specified TargetHttpProxy resource. Get a list of available target HTTP proxies by making a list() request.
Creates a TargetHttpProxy resource in the specified project using the data included in the request.
Retrieves the list of TargetHttpProxy resources available to the specified project.
Changes the URL map for TargetHttpProxy.
Returns permissions that a caller has on the specified resource.

Send feedback about...

Compute Engine