Skip to content

Commit

Permalink
Merge branch 'main' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
yash30201 committed Feb 14, 2023
2 parents 00db484 + 6638c14 commit 02086fb
Show file tree
Hide file tree
Showing 38 changed files with 44 additions and 477 deletions.
4 changes: 3 additions & 1 deletion bigquery/stackoverflow/stackoverflow.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# [START bigquery_simple_app_all]
<?php
# [START_EXCLUDE]
/**
* Copyright 2016 Google Inc.
*
Expand All @@ -20,8 +22,8 @@
*
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/main/bigquery/api/README.md
*/
# [END_EXCLUDE]

# [START bigquery_simple_app_all]
require __DIR__ . '/vendor/autoload.php';

# [START bigquery_simple_app_deps]
Expand Down
17 changes: 12 additions & 5 deletions compute/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# Google Compute Engine PHP Samples

## Description
This is a simple web-based example of calling the Google Compute Engine API
in PHP. These samples include calling the API with both the
[Google API client](api-client) and [Google Cloud Client](cloud-client) (GA).
This is a set of examples of calling the Google Compute Engine API
in PHP. These samples include calling the API with the
[Google Cloud Client](https://github.com/googleapis/google-cloud-php).

Following samples are available:
* [Hello world](helloworld): a simple web-based example of calling the Google Compute Engine API
* [Instances](instances): GCE instances manipulation samples
* [Firewall](firewall): firewall rules manipulation samples
* [Logging](logging): app demonstrating how to log to Compute Engine from a PHP application

## Google Cloud Samples

* [Google Cloud Client](cloud-client) (**Recommended**): Under active development, currently in GA.
* [Google API client](api-client): Stable and generally available, but no longer under active development
To browse ready to use code samples check
[Google Cloud Samples](https://cloud.google.com/docs/samples?language=php&product=computeengine).
48 changes: 0 additions & 48 deletions compute/api-client/helloworld/README.md

This file was deleted.

Loading

0 comments on commit 02086fb

Please sign in to comment.