Method: projects.get

Returns the specified Project resource.

To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the quotas field). To exclude one or more fields, set your request's fields query parameter to only include the fields you need. For example, to only include the id and selfLink fields, add the query parameter ?fields=id,selfLink to your request.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

Request body

The request body must be empty.

Response body

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

Represents a Project resource.

A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.

JSON representation
{
  "kind": string,
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "commonInstanceMetadata": {
    "fingerprint": string,
    "items": [
      {
        "key": string,
        "value": string
      }
    ],
    "kind": string
  },
  "quotas": [
    {
      "metric": enum,
      "limit": number,
      "usage": number,
      "owner": string
    }
  ],
  "usageExportLocation": {
    "bucketName": string,
    "reportNamePrefix": string
  },
  "enabledFeatures": [
    string
  ],
  <