File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 23
23
async function main ( assetTypes ) {
24
24
// [START asset_quickstart_list_assets]
25
25
const util = require ( 'util' ) ;
26
- const { v1p5beta1 } = require ( '@google-cloud/asset' ) ;
27
- const client = new v1p5beta1 . AssetServiceClient ( ) ;
26
+ const { v1 } = require ( '@google-cloud/asset' ) ;
27
+ const client = new v1 . AssetServiceClient ( ) ;
28
28
29
29
const projectId = await client . getProjectId ( ) ;
30
30
const projectResource = `projects/${ projectId } ` ;
@@ -43,7 +43,7 @@ async function main(assetTypes) {
43
43
// readTime: { seconds: 1593988758 },
44
44
} ;
45
45
46
- // Call cloud.assets.v1p5beta1 .ListAssets API.
46
+ // Call cloud.assets.v1 .ListAssets API.
47
47
const result = await client . listAssets ( request ) ;
48
48
// Handle the response.
49
49
console . log ( util . inspect ( result , { depth : null } ) ) ;
You can’t perform that action at this time.
0 commit comments