php-docs-samples
php-docs-samples copied to clipboard
A collection of samples that demonstrate how to call Google Cloud services from PHP.
I've noticed several (and counting) of our Cloud Functions samples' `DeployTest`s define a `processFunctionLogs` function. Since these functions are largely similar (if not the same) across all these files, we...
Hello, After literally 24h of trying almost everything, I open this issue because I think there is a gap between the doc API and this library. USE CASE : create...
In addition to #1178, please also add: 1. `pubsub_enable_subscription_ordering`: [docs](https://cloud.google.com/pubsub/docs/ordering#enabling_message_ordering) 1. `pubsub_list_topic_subscriptions`: [docs](https://cloud.google.com/pubsub/docs/admin#listing_subscriptions), this is different from listing project subscriptions. 1. `pubsub_publisher_concurrency_control`: [docs](https://cloud.google.com/pubsub/docs/publisher#concurrency). This is optional, depending on if concurrency...
Hi, Is there a way to cache the node_modules folder from one build to another so that the build is faster? Currently, I use the following `cloud_build.yaml` file: ``` steps:...
Currently the speech streaming sample just reads a file, sends it, and waits for a response (all serially). But the streaming api is mainly useful for bidi streaming - ie...
What is the limit of seconds for the detection of intention by audio ? I'm using ogg files, and **it only detects audios for a maximum of 5 seconds**. ```...
Hello, Please can I suggest a change? In this example script: [https://github.com/GoogleCloudPlatform/php-docs-samples/blob/master/dialogflow/src/detect_intent_stream.php](url) we have the following extract: ```php foreach ($stream->closeWriteAndReadAll() as $response) { $recognitionResult = $response->getRecognitionResult(); if ($recognitionResult) { $transcript...
I have this error when deploy my app on Gitlab runner. I don't know what happening and how to fix this error. $ echo $SERVICE_ACCOUNT > /tmp/$CI_PIPELINE_ID.json $ gcloud auth...
We're having 5 new apis and I'm adding php sample code for those new five apis.