Skip to content

Commit bf3f4b8

Browse files
peter-zheng-gbshaffer
authored andcommitted
[CloudAsset] Update client library version to use endpoint v1. (GoogleCloudPlatform#865)
1 parent 52bed4b commit bf3f4b8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

asset/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"google/cloud-storage": "^1.9",
4-
"google/cloud-asset": "^0.1.3",
4+
"google/cloud-asset": "^0.2.0",
55
"symfony/console": " ^3.0"
66
},
77
"autoload": {

asset/src/batch_get_assets_history.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
namespace Google\Cloud\Samples\Asset;
1919

2020
# [START asset_quickstart_batch_get_assets_history]
21-
use Google\Cloud\Asset\V1beta1\AssetServiceClient;
22-
use Google\Cloud\Asset\V1beta1\ContentType;
23-
use Google\Cloud\Asset\V1beta1\TimeWindow;
21+
use Google\Cloud\Asset\V1\AssetServiceClient;
22+
use Google\Cloud\Asset\V1\ContentType;
23+
use Google\Cloud\Asset\V1\TimeWindow;
2424
use Google\Protobuf\Timestamp;
2525

2626
function batch_get_assets_history($projectId, $assetNames)

asset/src/export_assets.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
namespace Google\Cloud\Samples\Asset;
1919

2020
# [START asset_quickstart_export_assets]
21-
use Google\Cloud\Asset\V1beta1\AssetServiceClient;
22-
use Google\Cloud\Asset\V1beta1\GcsDestination;
23-
use Google\Cloud\Asset\V1beta1\OutputConfig;
21+
use Google\Cloud\Asset\V1\AssetServiceClient;
22+
use Google\Cloud\Asset\V1\GcsDestination;
23+
use Google\Cloud\Asset\V1\OutputConfig;
2424

2525
/**
2626
* Export assets for given project to specified dump file path.

0 commit comments

Comments
 (0)