Skip to content

Commit

Permalink
reference updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vijay-qlogic committed Jun 30, 2018
1 parent 722dbba commit 7e8848b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion samples/document-snippets/instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
20 changes: 10 additions & 10 deletions src/instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 7e8848b

Please sign in to comment.