{"id":4780,"date":"2020-04-17T19:30:36","date_gmt":"2020-04-17T19:30:36","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=4780"},"modified":"2022-03-08T16:51:22","modified_gmt":"2022-03-08T16:51:22","slug":"cbt-tool-google-professional-data-engineer-gcp","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/","title":{"rendered":"cbt tool Google Professional Data Engineer GCP"},"content":{"rendered":"\n<p>In this, we will learn about the cbt tool of Google Professional Data Engineer GCP.<\/p>\n\n\n<ul>\n<li>A command-line interface<\/li>\n<li>perform operations on Bigtable.<\/li>\n<li>written in Go<\/li>\n<li>install the cbt tool as a Cloud SDK component or by using the standard go tool.<\/li>\n<\/ul>\n<p>Usage:<\/p>\n<p>cbt [-&lt;option&gt; &lt;option-argument&gt;] &lt;command&gt; &lt;required-argument&gt; [optional-argument]\n<p>The commands are:<\/p>\n<ul>\n<li>count &#8211; Count rows in a table<\/li>\n<li>createinstanceCreate an instance with an initial cluster<\/li>\n<li>createcluster &#8211; Create a cluster in the configured instance<\/li>\n<li>createfamily &#8211; Create a column family<\/li>\n<li>createtable &#8211; Create a table<\/li>\n<li>updatecluster &#8211; Update a cluster in the configured instance<\/li>\n<li>deleteinstanceDelete an instance<\/li>\n<li>deletecluster &#8211; Delete a cluster from the configured instance<\/li>\n<li>deletecolumn &#8211; Delete all cells in a column<\/li>\n<li>deletefamily &#8211; Delete a column family<\/li>\n<li>deleterow &#8211; Delete a row<\/li>\n<li>deleteallrows &#8211; Delete all rows<\/li>\n<li>deletetable &#8211; Delete a table<\/li>\n<li>doc &#8211; Print godoc-suitable documentation for cbt<\/li>\n<li>help &#8211; Print help text<\/li>\n<li>listinstances &#8211; List instances in a project<\/li>\n<li>listclusters &#8211; List clusters in an instance<\/li>\n<li>lookup -Read from a single row<\/li>\n<li>ls -List tables and column families<\/li>\n<li>mddoc &#8211; Print documentation for cbt in Markdown format<\/li>\n<li>read &#8211; Read rows<\/li>\n<li>set &#8211; Set value of a cell (write)<\/li>\n<li>setgcpolicy &#8211; Set the garbage-collection policy (age, versions) for a column family<\/li>\n<li>waitforreplicationBlock until all the completed writes have been replicated to all the clusters<\/li>\n<li>version &#8211; Print the current cbt version<\/li>\n<li>createappprofile Create app profile for an instance<\/li>\n<li>getappprofile &#8211; Read app profile for an instance<\/li>\n<li>listappprofileLists app profile for an instance<\/li>\n<li>updateappprofile Update app profile for an instance<\/li>\n<li>deleteappprofile Delete app profile for an instance<\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<p>The options are:<\/p>\n<ul>\n<li>-project string : project ID. If unset uses gcloud configured project<\/li>\n<li>-instance string :Cloud Bigtable instance<\/li>\n<li>-creds string: Path to the credentials file. If set, uses the application credentials in this file<\/li>\n<\/ul>\n\n\n<p><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/google-cloud-certified-professional-data-engineer-tutorial\/\" target=\"_blank\" rel=\"noreferrer noopener\">Check here for more.<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this, we will learn about the cbt tool of Google Professional Data Engineer GCP. A command-line interface perform operations on Bigtable. written in Go install the cbt tool as a Cloud SDK component or by using the standard go tool. Usage: cbt [-&lt;option&gt; &lt;option-argument&gt;] &lt;command&gt; &lt;required-argument&gt; [optional-argument] The commands are: count &#8211; Count rows&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[617],"tags":[666,682,619,623,622,618,621],"class_list":["post-4780","page","type-page","status-publish","hentry","category-google-gcp","tag-bigtable","tag-bigtable-cbt-tool","tag-data-engineer","tag-gcp","tag-google-certification","tag-google-cloud","tag-professional-data-engineer"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>cbt tool Google Professional Data Engineer GCP<\/title>\n<meta name=\"description\" content=\"Enhance your knowledge by learning about the cbt tool for better preparation for Google Professional Data Engineer GCP Exam Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"cbt tool Google Professional Data Engineer GCP\" \/>\n<meta property=\"og:description\" content=\"Enhance your knowledge by learning about the cbt tool for better preparation for Google Professional Data Engineer GCP Exam Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-08T16:51:22+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/\",\"name\":\"cbt tool Google Professional Data Engineer GCP\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-04-17T19:30:36+00:00\",\"dateModified\":\"2022-03-08T16:51:22+00:00\",\"description\":\"Enhance your knowledge by learning about the cbt tool for better preparation for Google Professional Data Engineer GCP Exam Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"cbt tool Google Professional Data Engineer GCP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"cbt tool Google Professional Data Engineer GCP","description":"Enhance your knowledge by learning about the cbt tool for better preparation for Google Professional Data Engineer GCP Exam Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/","og_locale":"en_US","og_type":"article","og_title":"cbt tool Google Professional Data Engineer GCP","og_description":"Enhance your knowledge by learning about the cbt tool for better preparation for Google Professional Data Engineer GCP Exam Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2022-03-08T16:51:22+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/","name":"cbt tool Google Professional Data Engineer GCP","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-04-17T19:30:36+00:00","dateModified":"2022-03-08T16:51:22+00:00","description":"Enhance your knowledge by learning about the cbt tool for better preparation for Google Professional Data Engineer GCP Exam Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/cbt-tool-google-professional-data-engineer-gcp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"cbt tool Google Professional Data Engineer GCP"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/4780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=4780"}],"version-history":[{"count":2,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/4780\/revisions"}],"predecessor-version":[{"id":52322,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/4780\/revisions\/52322"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=4780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=4780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=4780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}