From 25bb4d67757a7e6aeab62291e8d14f7e410d253b Mon Sep 17 00:00:00 2001 From: vijay-qlogic <vijay@qlogic.io> Date: Sat, 30 Jun 2018 14:09:46 +0530 Subject: [PATCH] reference updated --- samples/document-snippets/instance.js | 2 +- src/instance.js | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/samples/document-snippets/instance.js b/samples/document-snippets/instance.js index c1241f5ea..7767c41c0 100644 --- a/samples/document-snippets/instance.js +++ b/samples/document-snippets/instance.js @@ -219,7 +219,7 @@ function getMetaData(instanceId) { .then(result => { const metaData = result[0]; // const apiResponse = result[1]; - console.log(`Instance Metadata: \n${metaData}`); + console.log('%s %O', 'Instance Metadata:\n', metaData); }) .catch(err => { console.error('Error geting Metadata: ', err); diff --git a/src/instance.js b/src/instance.js index 8c0fe7aff..687e63ab3 100644 --- a/src/instance.js +++ b/src/instance.js @@ -113,7 +113,7 @@ Please use the format 'my-instance' or '${ * to check the status of the request. * @param {object} callback.apiResponse The full API response. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_create_instance */ create(options, callback) { @@ -150,7 +150,7 @@ Please use the format 'my-instance' or '${ * @param {?error} callback.err An error returned while making this request. * @param {Cluster} callback.appProfile The newly created app profile. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_create_appProfile */ createAppProfile(id, options, callback) { @@ -215,7 +215,7 @@ Please use the format 'my-instance' or '${ * @param {Operation} callback.operation An operation object that can be used * to check the status of the request. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_create_cluster */ createCluster(id, options, callback) { @@ -287,7 +287,7 @@ Please use the format 'my-instance' or '${ * @param {Table} callback.table The newly created table. * @param {object} callback.apiResponse The full API response. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_create_table */ createTable(id, options, callback) { @@ -377,7 +377,7 @@ Please use the format 'my-instance' or '${ * request. * @param {object} callback.apiResponse The full API response. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_del_instance */ delete(gaxOptions, callback) { @@ -409,7 +409,7 @@ Please use the format 'my-instance' or '${ * request. * @param {boolean} callback.exists Whether the instance exists or not. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_exists_instance */ exists(gaxOptions, callback) { @@ -443,7 +443,7 @@ Please use the format 'my-instance' or '${ * @param {Instance} callback.instance The Instance object. * @param {object} callback.apiResponse The resource as it exists in the API. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_get_instance */ get(gaxOptions, callback) { @@ -467,7 +467,7 @@ Please use the format 'my-instance' or '${ * @param {AppProfile[]} callback.appProfiles List of all AppProfiles. * @param {object} callback.apiResponse The full API response. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_get_app_profiles */ getAppProfiles(gaxOptions, callback) { @@ -517,7 +517,7 @@ Please use the format 'my-instance' or '${ * Clusters. * @param {object} callback.apiResponse The full API response. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_get_clusters */ getClusters(gaxOptions, callback) { @@ -564,7 +564,7 @@ Please use the format 'my-instance' or '${ * request. * @param {object} callback.metadata The metadata. * - * @example <caption>include:samples/instance-snippets.js</caption> + * @example <caption>include:samples/document-snippets/instance.js</caption> * region_tag:bigtable_get_imeta */ getMetadata(gaxOptions, callback) {