GKE client libraries

This page shows how to get started with the Cloud Client Libraries for the Kubernetes Engine API. Read more about the client libraries for Cloud APIs, including the older Google API Client Libraries, in Client Libraries Explained.

Install the client library

C++

See Setting up a C++ development environment for details about this client library's requirements and install dependencies.

C#

For more information, see Setting Up a C# Development Environment.

Install-Package Google.Cloud.Container.V1 -Pre

Go

For more information, see Setting Up a Go Development Environment.

go get cloud.google.com/go/container/apiv1

Java

For more information, see Setting Up a Java Development Environment.

See the Quickstart for installation instructions.

Node.js

For more information, see Setting Up a Node.js Development Environment.

npm install @google-cloud/container

PHP

For more information, see Using PHP on Google Cloud.

composer require google/cloud-container

Python

For more information, see Setting Up a Python Development Environment.

pip install --upgrade google-cloud-container

Ruby

For more information, see Setting Up a Ruby Development Environment.

gem install google-cloud-container

Set up authentication

When you use client libraries, you use Application Default Credentials (ADC) to authenticate. For information about setting up ADC, see Provide credentials for Application Default Credentials. For information about using ADC with client libraries, see Authenticate using client libraries.

Additional resources