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 2323async function main ( assetTypes ) {
2424 // [START asset_quickstart_list_assets]
2525 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 ( ) ;
2828
2929 const projectId = await client . getProjectId ( ) ;
3030 const projectResource = `projects/${ projectId } ` ;
@@ -43,7 +43,7 @@ async function main(assetTypes) {
4343 // readTime: { seconds: 1593988758 },
4444 } ;
4545
46- // Call cloud.assets.v1p5beta1 .ListAssets API.
46+ // Call cloud.assets.v1 .ListAssets API.
4747 const result = await client . listAssets ( request ) ;
4848 // Handle the response.
4949 console . log ( util . inspect ( result , { depth : null } ) ) ;
You can’t perform that action at this time.
0 commit comments