|
| 1 | +{ |
| 2 | + "name": "bigtable", |
| 3 | + "name_pretty": "Cloud Bigtable", |
| 4 | + "product_documentation": "https://cloud.google.com/bigtable", |
| 5 | + "client_documentation": "https://cloud.google.com/python/docs/reference/bigtable/latest", |
| 6 | + "issue_tracker": "https://issuetracker.google.com/savedsearches/559777", |
| 7 | + "release_level": "stable", |
| 8 | + "language": "python", |
| 9 | + "library_type": "GAPIC_COMBO", |
| 10 | + "repo": "googleapis/python-bigtable", |
| 11 | + "distribution_name": "google-cloud-bigtable", |
| 12 | + "api_id": "bigtable.googleapis.com", |
| 13 | + "requires_billing": true, |
| 14 | + "samples": [ |
| 15 | + { |
| 16 | + "name": "Hello World in Cloud Bigtable", |
| 17 | + "description": "Demonstrates how to connect to Cloud Bigtable and run some basic operations. More information available at: https://cloud.google.com/bigtable/docs/samples-python-hello", |
| 18 | + "file": "main.py", |
| 19 | + "runnable": true, |
| 20 | + "custom_content": "<pre>usage: main.py [-h] [--table TABLE] project_id instance_id<br>Demonstrates how to connect to Cloud Bigtable and run some basic operations.<br>Prerequisites: - Create a Cloud Bigtable cluster.<br>https://cloud.google.com/bigtable/docs/creating-cluster - Set your Google<br>Application Default Credentials.<br>https://developers.google.com/identity/protocols/application-default-<br>credentials<br><br><br>positional arguments:<br> project_id Your Cloud Platform project ID.<br> instance_id ID of the Cloud Bigtable instance to connect to.<br><br><br>optional arguments:<br> -h, --help show this help message and exit<br> --table TABLE Table to create and destroy. (default: Hello-Bigtable)</pre>", |
| 21 | + "override_path": "hello" |
| 22 | + }, |
| 23 | + { |
| 24 | + "name": "Hello World using HappyBase", |
| 25 | + "description": "This sample demonstrates using the Google Cloud Client Library HappyBase package, an implementation of the HappyBase API to connect to and interact with Cloud Bigtable. More information available at: https://cloud.google.com/bigtable/docs/samples-python-hello-happybase", |
| 26 | + "file": "main.py", |
| 27 | + "runnable": true, |
| 28 | + "custom_content": "<pre>usage: main.py [-h] [--table TABLE] project_id instance_id<br>Demonstrates how to connect to Cloud Bigtable and run some basic operations.<br>Prerequisites: - Create a Cloud Bigtable cluster.<br>https://cloud.google.com/bigtable/docs/creating-cluster - Set your Google<br>Application Default Credentials.<br>https://developers.google.com/identity/protocols/application-default-<br>credentials<br><br><br>positional arguments:<br> project_id Your Cloud Platform project ID.<br> instance_id ID of the Cloud Bigtable instance to connect to.<br><br><br>optional arguments:<br> -h, --help show this help message and exit<br> --table TABLE Table to create and destroy. (default: Hello-Bigtable)</pre>", |
| 29 | + "override_path": "hello_happybase" |
| 30 | + }, |
| 31 | + { |
| 32 | + "name": "cbt Command Demonstration", |
| 33 | + "description": "This page explains how to use the cbt command to connect to a Cloud Bigtable instance, perform basic administrative tasks, and read and write data in a table. More information about this quickstart is available at https://cloud.google.com/bigtable/docs/quickstart-cbt", |
| 34 | + "file": "instanceadmin.py", |
| 35 | + "runnable": true, |
| 36 | + "custom_content": "<pre>usage: instanceadmin.py [-h] [run] [dev-instance] [del-instance] [add-cluster] [del-cluster] project_id instance_id cluster_id<br>Demonstrates how to connect to Cloud Bigtable and run some basic operations.<br>Prerequisites: - Create a Cloud Bigtable cluster.<br>https://cloud.google.com/bigtable/docs/creating-cluster - Set your Google<br>Application Default Credentials.<br>https://developers.google.com/identity/protocols/application-default-<br>credentials<br><br><br>positional arguments:<br> project_id Your Cloud Platform project ID.<br> instance_id ID of the Cloud Bigtable instance to connect to.<br><br><br>optional arguments:<br> -h, --help show this help message and exit<br> --table TABLE Table to create and destroy. (default: Hello-Bigtable)</pre>", |
| 37 | + "override_path": "instanceadmin" |
| 38 | + }, |
| 39 | + { |
| 40 | + "name": "Metric Scaler", |
| 41 | + "description": "This sample demonstrates how to use Stackdriver Monitoring to scale Cloud Bigtable based on CPU usage.", |
| 42 | + "file": "metricscaler.py", |
| 43 | + "runnable": true, |
| 44 | + "custom_content": "<pre>usage: metricscaler.py [-h] [--high_cpu_threshold HIGH_CPU_THRESHOLD] [--low_cpu_threshold LOW_CPU_THRESHOLD] [--short_sleep SHORT_SLEEP] [--long_sleep LONG_SLEEP] bigtable_instance bigtable_cluster<br>usage: metricscaler.py [-h] [--high_cpu_threshold HIGH_CPU_THRESHOLD] <br> [--low_cpu_threshold LOW_CPU_THRESHOLD] <br> [--short_sleep SHORT_SLEEP] [--long_sleep LONG_SLEEP] <br> bigtable_instance bigtable_cluster <br><br> <br>Scales Cloud Bigtable clusters based on CPU usage. <br><br> <br>positional arguments: <br> bigtable_instance ID of the Cloud Bigtable instance to connect to. <br> bigtable_cluster ID of the Cloud Bigtable cluster to connect to. <br><br> <br>optional arguments: <br> -h, --help show this help message and exit <br> --high_cpu_threshold HIGH_CPU_THRESHOLD <br> If Cloud Bigtable CPU usage is above this threshold, <br> scale up <br> --low_cpu_threshold LOW_CPU_THRESHOLD <br> If Cloud Bigtable CPU usage is below this threshold, <br> scale down <br> --short_sleep SHORT_SLEEP <br> How long to sleep in seconds between checking metrics <br> after no scale operation <br> --long_sleep LONG_SLEEP <br> How long to sleep in seconds between checking metrics <br> after a scaling operation</pre>", |
| 45 | + "override_path": "metricscaler" |
| 46 | + }, |
| 47 | + { |
| 48 | + "name": "Quickstart", |
| 49 | + "description": "Demonstrates of Cloud Bigtable. This sample creates a Bigtable client, connects to an instance and then to a table, then closes the connection.", |
| 50 | + "file": "main.py", |
| 51 | + "runnable": true, |
| 52 | + "custom_content": "<pre>usage: main.py [-h] [--table TABLE] project_id instance_id <br><br> <br>positional arguments: <br> project_id Your Cloud Platform project ID. <br> instance_id ID of the Cloud Bigtable instance to connect to. <br><br> <br>optional arguments: <br> -h, --help show this help message and exit <br> --table TABLE Existing table used in the quickstart. (default: my-table)</pre>", |
| 53 | + "override_path": "quickstart" |
| 54 | + }, |
| 55 | + { |
| 56 | + "name": "Quickstart using HappyBase", |
| 57 | + "description": "Demonstrates of Cloud Bigtable using HappyBase. This sample creates a Bigtable client, connects to an instance and then to a table, then closes the connection.", |
| 58 | + "file": "main.py", |
| 59 | + "runnable": true, |
| 60 | + "custom_content": "<pre>usage: main.py [-h] [--table TABLE] project_id instance_id<br>usage: main.py [-h] [--table TABLE] project_id instance_id <br><br> <br>positional arguments: <br> project_id Your Cloud Platform project ID. <br> instance_id ID of the Cloud Bigtable instance to connect to. <br><br> <br>optional arguments: <br> -h, --help show this help message and exit <br> --table TABLE Existing table used in the quickstart. (default: my-table)</code", |
| 61 | + "override_path": "quickstart_happybase" |
| 62 | + }, |
| 63 | + { |
| 64 | + "name": "Snippets", |
| 65 | + "description": "This folder contains snippets for Python Cloud Bigtable.", |
| 66 | + "override_path": "snippets" |
| 67 | + }, |
| 68 | + { |
| 69 | + "name": "Table Admin", |
| 70 | + "description": "Demonstrates how to connect to Cloud Bigtable and run some basic operations.", |
| 71 | + "file": "tableadmin.py", |
| 72 | + "runnable": true, |
| 73 | + "custom_content": "<pre>usage: tableadmin.py [-h] [run] [delete] [--table TABLE] project_id instance_id <br><br> <br>Demonstrates how to connect to Cloud Bigtable and run some basic operations. <br>Prerequisites: - Create a Cloud Bigtable cluster. <br>https://cloud.google.com/bigtable/docs/creating-cluster - Set your Google <br>Application Default Credentials. <br>https://developers.google.com/identity/protocols/application-default- <br>credentials <br><br> <br>positional arguments: <br> project_id Your Cloud Platform project ID. <br> instance_id ID of the Cloud Bigtable instance to connect to. <br><br> <br>optional arguments: <br> -h, --help show this help message and exit <br> --table TABLE Table to create and destroy. (default: Hello-Bigtable)</pre>", |
| 74 | + "override_path": "tableadmin" |
| 75 | + } |
| 76 | + ], |
| 77 | + "default_version": "v2", |
| 78 | + "codeowner_team": "@googleapis/api-bigtable @googleapis/api-bigtable-partners", |
| 79 | + "api_shortname": "bigtable" |
| 80 | +} |
0 commit comments