Represents a TargetHttpProxy resource, which is used by one or more global forwarding rule to route incoming HTTP requests to a URL map. For more information, see Target HTTP Proxy in the user guide.

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

Resource representations

A TargetHttpProxy resource. 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 A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map:
  • projects/project/global/urlMaps/url-map
  • global/urlMaps/url-map


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.

Send feedback about...

Compute Engine