APIs

The Cloud Router APIs and the gcloud command-line tool are part of Compute Engine. Cloud Router is represented as the Routers resource type.

  • For more information about the resource and its methods, see Routers in the Compute Engine documentation.
  • For more information about the gcloud commands, see gcloud compute routers in the Cloud SDK documentation.

Router appliance

There are no changes to the Compute Engine API and the gcloud tool for VM instances resources that act as router appliance instances.

The Compute Engine API for the routers resource includes the following new fields in the add-bgp-peers or add-interface commands:

  • --instance, which specifies the Router appliance VM instance used for the BGP peer.
  • --instance-zone, which specifies the zone that the Router appliance resides in.

For more information about these command options, see the following documentation: