<commit_before># knife-google

[![Gem Version](https://badge.fury.io/rb/knife-google.svg)](http://badge.fury.io/rb/knife-google)
[![Build Status](https://travis-ci.org/chef/knife-google.svg?branch=master)](https://travis-ci.org/chef/knife-google)
[![Dependency Status](https://gemnasium.com/chef/knife-google.svg)](https://gemnasium.com/chef/knife-google)

A plugin for Chef's [knife](https://docs.chef.io/knife.html) tool to create and manage
[Google Compute Engine](https://cloud.google.com/products/compute-engine)
resources.

# Getting Started

## Install the gem

Install the gem with:

```sh
gem install knife-google
```

Or, even better, if you're using the ChefDK:

```sh
chef gem install knife-google
```

If you're using Bundler, simply add it to your Gemfile:

```ruby
gem "knife-google", "~> 3.0"
```

... and then run `bundle install`.

## Create a Google Cloud Platform project

Before getting started with this plugin, you must first create a
[Google Cloud Platform](https://cloud.google.com/) (GCP) "project" and add the
Google Compute Engine service to your project.  While GCP has many other services,
such as App Enging and Cloud Storage, this plugin only provides an integration with
Google Compute Engine (GCE). 

## Authentication and Authorization

The [underlying API](https://github.com/google/google-api-ruby-client) this plugin uses relies on the 
[Google Auth Library](https://github.com/google/google-auth-library-ruby) to handle authentication to the
Google Cloud API. The auth library expects that there is a JSON credentials file located at:<commit_msg>version fix in README installation instructions<commit_after># knife-google

[![Gem Version](https://badge.fury.io/rb/knife-google.svg)](http://badge.fury.io/rb/knife-google)
[![Build Status](https://travis-ci.org/chef/knife-google.svg?branch=master)](https://travis-ci.org/chef/knife-google)
[![Dependency Status](https://gemnasium.com/chef/knife-google.svg)](https://gemnasium.com/chef/knife-google)

A plugin for Chef's [knife](https://docs.chef.io/knife.html) tool to create and manage
[Google Compute Engine](https://cloud.google.com/products/compute-engine)
resources.

# Getting Started

## Install the gem

Install the gem with:

```sh
gem install knife-google
```

Or, even better, if you're using the ChefDK:

```sh
chef gem install knife-google
```

If you're using Bundler, simply add it to your Gemfile:

```ruby
gem "knife-google", "~> 2.0"
```

... and then run `bundle install`.

## Create a Google Cloud Platform project

Before getting started with this plugin, you must first create a
[Google Cloud Platform](https://cloud.google.com/) (GCP) "project" and add the
Google Compute Engine service to your project.  While GCP has many other services,
such as App Enging and Cloud Storage, this plugin only provides an integration with
Google Compute Engine (GCE). 

## Authentication and Authorization

The [underlying API](https://github.com/google/google-api-ruby-client) this plugin uses relies on the 
[Google Auth Library](https://github.com/google/google-auth-library-ruby) to handle authentication to the
Google Cloud API. The auth library expects that there is a JSON credentials file located at:
{'fraction_non_alphanumeric': 0.12921348314606743, 'fraction_numerical': 0.0012484394506866417, 'mean_word_length': 4.764388489208633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 20, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3124222', 'n_tokens_mistral': 1011, 'n_tokens_neox': 968, 'n_words': 322}