Google Maps Platform Routes Preferred API Client for Go

Go idiomatic client for Google Maps Platform Routes PreferredAPI.
NOTE: The libraries in this repository should be considered experimental at this time and breaking changes should be expected.
NOTE: The libraries in this repository are autogenerated from the interface definitions in the googleapis/googleapis repository using Bazel.
Installation
go get developers.google.com/maps/go/routespreferred
Requirements
Create a Project
You will need a Google Cloud Platform project. Follow these instructions to get your project set up.
Enable the Routes Preferred API
You will need to enable the Google Maps Platform Routes PreferredAPI.

Enable billing
You will need to enable billing to use the Google Maps Platform Routes API.
Local development environment
You will need to set up the local development environment.
Get started quickly by installing the Google Cloud SDK and running the following commands in command line:
gcloud auth login
and gcloud config set project [YOUR PROJECT ID]
.
Authentication
Authentication for Routes Preferred is limited to API keys at this time.
ctx = metadata.AppendToOutgoingContext(ctx, "X-Goog-Api-Key", "YOUR KEY")
See the compute routes sample for a complete example.
Transport
Google Maps Platform Routes Preferred API uses gRPC for the transport layer.
Versioning
This library follows Semantic Versioning.
Contributing
Contributions to this library are always welcome and highly encouraged.
See CONTRIBUTING for more information how to get started.
License
Apache 2.0 - See LICENSE for more information.