Skip to content

Commit aef9075

Browse files
committed
Update tasks client library version
1 parent 42bc3cb commit aef9075

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

appengine/php72/tasks/apps/handler/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"require": {
3-
"google/cloud-tasks": "^0.4.1",
43
"google/cloud-logging": "^1.14"
54
},
65
"require-dev": {

appengine/php72/tasks/snippets/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-tasks": "^0.4.1"
3+
"google/cloud-tasks": "^0.8.0"
44
},
55
"require-dev": {
66
"phpunit/phpunit": "^5",

appengine/php72/tasks/snippets/src/create_task.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
list($_, $projectId, $locationId, $queueId, $payload) = $argv;
3131

3232
# [START cloud_tasks_appengine_create_task]
33-
use Google\Cloud\Tasks\V2beta3\AppEngineHttpRequest;
34-
use Google\Cloud\Tasks\V2beta3\CloudTasksClient;
35-
use Google\Cloud\Tasks\V2beta3\HttpMethod;
36-
use Google\Cloud\Tasks\V2beta3\Task;
33+
use Google\Cloud\Tasks\V2\AppEngineHttpRequest;
34+
use Google\Cloud\Tasks\V2\CloudTasksClient;
35+
use Google\Cloud\Tasks\V2\HttpMethod;
36+
use Google\Cloud\Tasks\V2\Task;
3737

3838
/** Uncomment and populate these variables in your code */
3939
// $projectId = 'The Google project ID';

0 commit comments

Comments
 (0)