Skip to content

Commit d9b2969

Browse files
authored
fix: upgrade and fix asset samples (GoogleCloudPlatform#1413)
1 parent 6f82fe1 commit d9b2969

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

asset/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"require": {
33
"google/cloud-bigquery": "^1.16.0",
44
"google/cloud-storage": "^1.9",
5-
"google/cloud-asset": "^1.2.0"
5+
"google/cloud-asset": "^1.4.2"
66
}
77
}

asset/src/batch_get_assets_history.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
use Google\Cloud\Asset\V1\TimeWindow;
2424
use Google\Protobuf\Timestamp;
2525

26-
function batch_get_assets_history(string $projectId, string $assetNames)
26+
function batch_get_assets_history(string $projectId, array $assetNames)
2727
{
2828
$client = new AssetServiceClient();
2929
$formattedParent = $client->projectName($projectId);

testing/run_test_suite.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ fi
2323
FLAKES=(
2424
# Add directories here to run the tests but ignore them if they fail
2525
datastore/api
26-
asset
2726
)
2827

2928
# Directories we do not want to run tests in, even if they exist

0 commit comments

Comments
 (0)