Ruby Client for Google Container Engine API (Alpha)
Google Container Engine API: The Google Kubernetes Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.
In order to use this library, you first need to go through the following steps:
- Select or create a Cloud Platform project.
- Enable billing for your project.
- Enable the Google Container Engine API.
- Setup Authentication.
$ gem install google-cloud-container
require "google/cloud/container"
cluster_manager_client = Google::Cloud::Container.new
project_id_2 = project_id
zone = "us-central1-a"
response = cluster_manager_client.list_clusters(project_id_2, zone)
This library is supported on Ruby 2.0+.
However, Ruby 2.3 or later is strongly recommended, as earlier releases have reached or are nearing end-of-life. After June 1, 2018, Google will provide official support only for Ruby versions that are considered current and supported by Ruby Core (that is, Ruby versions that are either in normal maintenance or in security maintenance). See https://www.ruby-lang.org/en/downloads/branches/ for further details.
- Read the Client Library Documentation for Google Container Engine API to see other available methods on the client.
- Read the Google Container Engine API Product documentation to learn more about the product and see How-to Guides.
- View this repository's main README to see the full list of Cloud APIs that we cover.