-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
615 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"id": "prediction", | ||
"samples": [ | ||
{ | ||
"id": "models", | ||
"name": "Models", | ||
"file": "hostedmodels.js", | ||
"docs_link": "https://cloud.google.com/prediction/docs/developer-guide#predictionfromappengine", | ||
"usage": { | ||
"text": "node hostedmodels <phrase>" | ||
}, | ||
"help": "node hostedmodels \"Hello world\"", | ||
"snippets": [ | ||
{ | ||
"id": "query", | ||
"region_tag": "predict" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
{ | ||
"id": "pubsub", | ||
"samples": [ | ||
{ | ||
"id": "topics", | ||
"name": "Topics", | ||
"file": "topics.js", | ||
"docs_link": "https://cloud.google.com/pubsub/publisher", | ||
"usage": "node topics --help", | ||
"snippets": [ | ||
{ | ||
"id": "create", | ||
"region_tag": "create_topic" | ||
}, | ||
{ | ||
"id": "delete", | ||
"region_tag": "delete_topic" | ||
}, | ||
{ | ||
"id": "publish", | ||
"region_tag": "publish" | ||
}, | ||
{ | ||
"id": "list", | ||
"region_tag": "list_topics" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "subscriptions", | ||
"name": "Subscriptions", | ||
"file": "subscriptions.js", | ||
"docs_link": "https://cloud.google.com/pubsub/subscriber", | ||
"usage": "node subscriptions --help", | ||
"snippets": [ | ||
{ | ||
"id": "create", | ||
"region_tag": "create_subscription" | ||
}, | ||
{ | ||
"id": "delete", | ||
"region_tag": "delete_subscription" | ||
}, | ||
{ | ||
"id": "list", | ||
"region_tag": "get_all_subscriptions" | ||
}, | ||
{ | ||
"id": "pull", | ||
"region_tag": "pull_messages" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "iam", | ||
"name": "IAM (Identity and Access Management)", | ||
"file": "iam.js", | ||
"docs_link": "https://cloud.google.com/pubsub/docs", | ||
"usage": "node iam --help", | ||
"snippets": [ | ||
{ | ||
"id": "get-topic-policy", | ||
"region_tag": "get_topic_policy" | ||
}, | ||
{ | ||
"id": "get-subscription-policy", | ||
"region_tag": "get_subscription_policy" | ||
}, | ||
{ | ||
"id": "set-topic-policy", | ||
"region_tag": "set_topic_policy" | ||
}, | ||
{ | ||
"id": "set-subscription-policy", | ||
"region_tag": "set_subscription_policy" | ||
}, | ||
{ | ||
"id": "test-topic-permissions", | ||
"region_tag": "test_topic_permissions" | ||
}, | ||
{ | ||
"id": "test-subscription-permissions", | ||
"region_tag": "test_subscription_permissions" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"id": "resource", | ||
"samples": [ | ||
{ | ||
"id": "projects", | ||
"name": "Projects", | ||
"file": "projects.js", | ||
"docs_link": "https://cloud.google.com/resource-manager/docs/", | ||
"usage": "node projects --help", | ||
"snippets": [ | ||
{ | ||
"id": "list", | ||
"region_tag": "list_projects" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.