Method: globalAddresses.get

Returns the specified address resource. Gets a list of available addresses by making a list() request.

HTTP request

GET https://compute.googleapis.com/compute/beta/projects/{project}/global/addresses/{resourceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

resourceId

string

Name of the address resource to return.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Represents an IP Address resource.

Google Compute Engine has two IP Address resources:

For more information, see Reserving a static external IP address.

JSON representation
{
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "address": string,
  "prefixLength": integer,
  "status": enum,
  "region": string,
  "selfLink": string,
  "users": [
    string
  ],
  "networkTier": enum,
  "labels": {
    string: string,
    ...
  },
  "labelFingerprint": string,
  "ipVersion": enum,
  "addressType": enum,
  "purpose": enum,
  "subnetwork": string,
  "network": string,
  "kind": string
}