Skip to content

Commit

Permalink
feat(samples): update real time feed api sample code to use v1 API su…
Browse files Browse the repository at this point in the history
…rface
  • Loading branch information
cwxie-google authored and bcoe committed Dec 18, 2019
1 parent ba86ad8 commit 6fca63d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion asset/snippets/createFeed.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
async function main(feedId, assetNames, topicName) {
// [START asset_quickstart_create_feed]
const util = require('util');
const {AssetServiceClient} = require('@google-cloud/asset/src/v1p2beta1');
const {AssetServiceClient} = require('@google-cloud/asset');

const client = new AssetServiceClient();

Expand Down
2 changes: 1 addition & 1 deletion asset/snippets/deleteFeed.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
async function main(feedName) {
// [START asset_quickstart_delete_feed]
const util = require('util');
const {AssetServiceClient} = require('@google-cloud/asset/src/v1p2beta1');
const {AssetServiceClient} = require('@google-cloud/asset');

const client = new AssetServiceClient();

Expand Down
2 changes: 1 addition & 1 deletion asset/snippets/getFeed.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
async function main(feedName) {
// [START asset_quickstart_get_feed]
const util = require('util');
const {AssetServiceClient} = require('@google-cloud/asset/src/v1p2beta1');
const {AssetServiceClient} = require('@google-cloud/asset');

const client = new AssetServiceClient();

Expand Down
2 changes: 1 addition & 1 deletion asset/snippets/listFeeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
async function main() {
// [START asset_quickstart_list_feeds]
const util = require('util');
const {AssetServiceClient} = require('@google-cloud/asset/src/v1p2beta1');
const {AssetServiceClient} = require('@google-cloud/asset');

const client = new AssetServiceClient();

Expand Down
2 changes: 1 addition & 1 deletion asset/snippets/updateFeed.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
async function main(feedName, topicName) {
// [START asset_quickstart_update_feed]
const util = require('util');
const {AssetServiceClient} = require('@google-cloud/asset/src/v1p2beta1');
const {AssetServiceClient} = require('@google-cloud/asset');

const client = new AssetServiceClient();

Expand Down

0 comments on commit 6fca63d

Please sign in to comment.