Pharo Smalltalk client libraries for Google Cloud Platform services.
This is an unofficial, community-maintained library and is not affiliated with, endorsed, or supported by Google LLC. Use at your own risk.
| Package | Description | Documentation |
|---|---|---|
| Google-GenAI | Gemini AI text generation and chat | docs/gemini.md |
| Google-BigQuery | BigQuery dataset management | docs/bigquery.md |
| Google-Auth | GCP authentication | docs/getting-started.md |
| Smalltalk | Version |
|---|---|
| Pharo | 12.0, 13.0 |
Metacello new
baseline: 'GoogleCloud';
repository: 'github://newapplesho/google-cloud-smalltalk:main/src';
load.Smalltalk platform environment at: 'GOOGLE_APPLICATION_CREDENTIALS' put:(FileLocator home / 'service_account_key.json') pathString.See Getting Started for more authentication options.
client := GoogleGenAIClient new
config: (GoogleGenAIConfig new
projectId: 'your-gcp-project-id';
useVertexAI: true;
yourself).
response := client generateContent: 'Explain Smalltalk in one sentence.'.
Transcript show: response text.See Gemini Documentation for chat, code generation, and more.
- Getting Started - Authentication setup
- Gemini AI - Text generation and chat
- BigQuery - Dataset management