Create a Repositoryedit

Once everything is installed and every node is started, you can create a new repository that uses Google Cloud Storage to store snapshots:

PUT _snapshot/my_gcs_repository
  "type": "gcs",
  "settings": {
    "bucket": "my_bucket"

The following settings are supported:

The name of the bucket to be used for snapshots. (Mandatory)
The client congfiguration to use. This controls which credentials are used to connect to Compute Engine.
Specifies the path within bucket to repository data. Defaults to the root of the bucket.
Big files can be broken down into chunks during snapshotting if needed. The chunk size can be specified in bytes or by using size value notation, i.e. 1g, 10m, 5k. Defaults to 100m.
When set to true metadata files are stored in compressed format. This setting doesn’t affect index files that are already compressed by default. Defaults to false.
Name used by the plugin when it uses the Google Cloud JSON API. Setting a custom name can be useful to authenticate your cluster when requests statistics are logged in the Google Cloud Platform. Default to repository-gcs