Constructor

Project

new Project(compute)

A Project object allows you to interact with your Google Compute Engine project.

Parameter

compute

Compute

Compute object this project belongs to.

See also

Projects Overview

Projects Resource

Example

const Compute = require('@google-cloud/compute');
const compute = new Compute();
const project = compute.project();

Property

id

string