Skip to main content

A command called google and foo for the cloudmesh shell

Project description

Cloudmesh Google Providers





see cloudmesh.cmd5


Cloudmesh-google provider offers various cloud engineering operations via command line. cloudmesh-google storage module provides following options via command line using cms storage :

  • create dir
  • put
  • get
  • list
  • delete

Also following options are available via command line using cms google :

  • json_to_yaml (adds json file information to yaml)
  • yaml_to_json (creates a json file from yaml entry)
  • list_bucket
  • create_bucket
  • blob_metadata
  • rename_blob
  • copy_blob_btw_buckets


Refer installation of cloudmesh-google:





      "type": "service_account",
      "project_id": "imposing-coast-257700",
      "private_key_id": "xxxxxxxx....",
      "private_key": "-----BEGIN PRIVATE KEY-----\nxxxxxxxxxx\n-----END PRIVATE KEY-----\n",
      "client_email": "",
      "client_id": "12345678...",
      "auth_uri": "",
      "token_uri": "",
      "auth_provider_x509_cert_url": "",
      "client_x509_cert_url": "" \

API Reference

Using API through Google API Python Client:

from googleapiclient.discovery import build

compute = build('compute', 'v1', developerKey=apiToken) #Multiple API versions, I assume v1 is the one we want to use

instances = compute.instances() #Holds operations for working with specific instances
instances.list() #List available instances
instances.delete(project, zone, instance) # Delete specific instance

API reference:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cloudmesh-google, version 4.1.9
Filename, size File type Python version Upload date Hashes
Filename, size cloudmesh_google-4.1.9-py2.py3-none-any.whl (15.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size cloudmesh-google-4.1.9.tar.gz (12.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page