Skip to content

Commit 9d2db49

Browse files
authored
adds Open In Cloudshell to all READMEs with one depth (GoogleCloudPlatform#496)
1 parent 3a8fcbf commit 9d2db49

File tree

14 files changed

+73
-3
lines changed

14 files changed

+73
-3
lines changed

auth/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Google Auth PHP Sample Application
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=auth
7+
38
## Description
49

510
This command-line application shows how to authenticate to Google Cloud APIs

dlp/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Google DLP PHP Sample Application
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=dlp
7+
38
## Description
49

510
This simple command-line application demonstrates how to invoke Google

error_reporting/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Stackdriver Error Reporting
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=error_reporting
7+
38
`quickstart.php` and `error_reporting.php` are simple command-line programs to demonstrate logging
49
exceptions, errors, and PHP fatral errors to Stackdriver Error Reporting.
510

iap/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Google Cloud Identity Aware Proxy Samples
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=iap
7+
38
These samples show how to use the [Google Cloud Identity Aware Proxy][iap]. Cloud Identity-Aware Proxy (Cloud IAP) controls access to your cloud applications running on Google Cloud Platform. Cloud IAP works by verifying a user’s identity and determining if that user should be allowed to access the application.
49

510
If this is your first time using the Google Cloud Identity Aware Proxy, try out our [quickstart tutorial][iap-quickstart].

kms/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Google Cloud KMS API Samples
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=kms
7+
38
## Description
49

510
These samples show how to use the [Google Cloud KMS API]

language/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Google Cloud Natural Language API Samples
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=language
7+
38
These samples show how to use the [Google Cloud Natural Language API][language-api]
49
to analyze text.
510

@@ -192,7 +197,7 @@ To run the Analyze Entity Sentiment sample:
192197
Entity Magnitude: 1.7999999523163
193198
Entity Score: 0
194199

195-
Mentions:
200+
Mentions:
196201
Begin Offset: 0
197202
Content: New York
198203
Mention Type: PROPER

logging/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Stackdriver Logging v2 API Samples
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=logging
7+
38
`logging.php` is a simple command-line program to demonstrate writing to a log,
49
listing its entries, deleting it, interacting with sinks to export logs to
510
Google Cloud Storage.
@@ -11,7 +16,7 @@ To use logging sinks, you will also need a Google Cloud Storage Bucket.
1116
You must add Cloud Logging as an owner to the bucket. To do so, add
1217
`[email protected]` as an owner to the bucket. See the
1318
[exportings logs](https://cloud.google.com/logging/docs/export/configure_export#configuring_log_sinks)
14-
docs for complete details.
19+
docs for complete details.
1520

1621
# Running locally
1722

monitoring/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Stackdriver Monitoring PHP Samples
22
==================================
33

4+
[![Open in Cloud Shell][shell_img]][shell_link]
5+
6+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
7+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=monitoring
8+
49
This directory contains samples for Stackdriver Monitoring.
510
[Stackdriver Monitoring][monitoring] collects metrics, events, and metadata from
611
Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes,

spanner/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Google Cloud Spanner PHP Samples
22
================================
33

4+
[![Open in Cloud Shell][shell_img]][shell_link]
5+
6+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
7+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=spanner
8+
49
This directory contains samples for Google Cloud Spanner.
510
[Google Cloud Spanner][spanner] is a highly scalable, transactional, managed,
611
[NewSQL][newsql] database service. Cloud Spanner solves the need for a

speech/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Google Cloud Speech API Samples
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=speech
7+
38
These samples show how to use the [Google Cloud Speech API][speech-api]
49
to transcribe audio files, as well as live audio from your computer's
510
microphone.

storage/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Google Cloud Storage PHP Sample Application
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=storage
7+
38
## Description
49

510
This simple command-line application demonstrates how to invoke Google Cloud Storage from PHP.

translate/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Google Cloud Translate API Samples
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=translate
7+
38
## Description
49

510
These samples show how to use the [Google Cloud Translate API](

video/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Google Video PHP Sample Application
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=video
7+
38
## Description
49

510
This simple command-line application demonstrates how to invoke Google

vision/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Google Vision PHP Sample Application
22

3+
[![Open in Cloud Shell][shell_img]][shell_link]
4+
5+
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
6+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googlecloudplatform/php-docs-samples&page=editor&working_dir=vision
7+
38
## Description
49

5-
This simple command-line application demonstrates how to invoke Google
10+
This simple command-line application demonstrates how to invoke Google
611
Vision API from PHP.
712

813
## Build and Run

0 commit comments

Comments
 (0)