Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
92453fc
Export the GCRuleMaker class
danieljbruce Aug 19, 2025
20da51e
Use the admin client for the first sample
danieljbruce Aug 20, 2025
239bf8a
feat: updated samples to use GCRuleMaker
google-labs-jules[bot] Aug 20, 2025
d5abeb0
feat: updated samples to use GCRuleMaker
google-labs-jules[bot] Aug 20, 2025
0e8d911
feat: Update restoreTable sample to use generated client
google-labs-jules[bot] Aug 21, 2025
f6c20e9
table id to table name
danieljbruce Aug 21, 2025
23d186c
The rule should be a union - not nested
danieljbruce Aug 21, 2025
b5c52d4
Use instance of admin client - not admin client
danieljbruce Aug 21, 2025
541a6c0
Update the rules so they won’t throw errors
danieljbruce Aug 21, 2025
06e875c
change family.id to family.name
danieljbruce Aug 21, 2025
36aa3ed
max age has to be at least 1 millisecond
danieljbruce Aug 21, 2025
e80d55c
Run linter
danieljbruce Aug 21, 2025
e1ccefb
Refresh project id token
danieljbruce Aug 21, 2025
178a0df
Get rid of projectId token
danieljbruce Aug 21, 2025
c893205
revert change to backups method called
danieljbruce Aug 22, 2025
c749aa2
Use the admin client for createTable instead
danieljbruce Aug 22, 2025
acd812f
snippets should include admin client
danieljbruce Aug 22, 2025
4ffd875
This code snippet should include project fetch
danieljbruce Aug 22, 2025
eeb69f2
Comment out options
danieljbruce Aug 22, 2025
a990f93
Use the admin client to create a table
danieljbruce Aug 22, 2025
a69f533
Use the generated layer for maxVersions
danieljbruce Aug 22, 2025
577d0e3
Don’t use instance.name in parent path
danieljbruce Aug 22, 2025
1d50752
Update the family snippets
danieljbruce Aug 25, 2025
9994a10
Update createTable in the Row samples
danieljbruce Aug 25, 2025
5abe977
Eliminate the need for any default projectId fetch
danieljbruce Aug 25, 2025
6b559ae
Don’t hardcode the project id
danieljbruce Aug 25, 2025
003ce8b
don’t hardcode project id
danieljbruce Aug 25, 2025
664afb7
commit examples
danieljbruce Aug 25, 2025
f966e77
Don’t create table twice
danieljbruce Aug 25, 2025
acaf7e9
options is not used. remove it
danieljbruce Aug 25, 2025
c901c0a
table admin
danieljbruce Aug 25, 2025
7adfb66
Hardcode instance name
danieljbruce Aug 25, 2025
c5ed919
delete the examples folder
danieljbruce Aug 25, 2025
29dc222
remove options
danieljbruce Aug 25, 2025
0467c3c
Merge branch 'main' into fix-restore-table-sample
danieljbruce Aug 25, 2025
fa41c12
add header
danieljbruce Aug 25, 2025
1cb92fa
Merge branch 'fix-restore-table-sample' of https://github.com/googlea…
danieljbruce Aug 25, 2025
76146b9
The rest of the samples should use
danieljbruce Aug 28, 2025
3cf912a
Update more tables code
danieljbruce Aug 28, 2025
e9dd0be
commit the api-reference-doc-snippets
danieljbruce Sep 2, 2025
7241dbe
correct the backups samples
danieljbruce Sep 2, 2025
9eb96e0
Revert "correct the backups samples"
danieljbruce Sep 2, 2025
0d3a861
Modify the reads samples
danieljbruce Sep 3, 2025
72c1ee3
Update the functions script
danieljbruce Sep 3, 2025
e54adf9
Make separate column family creation calls
danieljbruce Sep 3, 2025
9941155
Fix the deletes sample changes
danieljbruce Sep 3, 2025
528480a
change the fixture
danieljbruce Sep 3, 2025
1ed6a72
return value should be false literal
danieljbruce Sep 3, 2025
b39fd45
Correct the fixture for the deletes samples
danieljbruce Sep 3, 2025
e985209
Reintroduce the backup samples
danieljbruce Sep 3, 2025
c6ed0cf
Replace write.js code with calls to generated layr
danieljbruce Aug 29, 2025
2b6a378
removed unused table
danieljbruce Aug 29, 2025
f88db1a
backups from instance as well
danieljbruce Aug 29, 2025
1ca6cf0
Fix the index.js sample
danieljbruce Sep 3, 2025
1c8ed0b
Fixed a bunch of syntax highlighting errors
danieljbruce Sep 3, 2025
03a5619
run the linter
danieljbruce Sep 3, 2025
b5deee6
Changes to pass the linting check
danieljbruce Sep 3, 2025
7553201
Eliminate unused cluster
danieljbruce Sep 4, 2025
98f1abc
Add comment for restore table LRO
danieljbruce Sep 4, 2025
a6faac9
Add a script for the consistency token
danieljbruce Sep 4, 2025
f71dc27
Use instance admin client and eliminate unused
danieljbruce Sep 4, 2025
1f3f203
Make a separate modifyColumnFamilies call
danieljbruce Sep 4, 2025
27ef71f
Use instance admin client for the clusters samples
danieljbruce Sep 4, 2025
7ce5fa6
use admin client in family.js
danieljbruce Sep 4, 2025
c265cf4
Use the instance admin client for creating instanc
danieljbruce Sep 4, 2025
f7dc2af
reintroduce necessary variables
danieljbruce Sep 5, 2025
e45ad3f
Fix the runtime issues from the before hook
danieljbruce Sep 9, 2025
ec00614
Fix bugs due to switch to admin layer
danieljbruce Sep 9, 2025
88af005
Use the instance admin client in instance.js
danieljbruce Sep 4, 2025
071093c
changes to instances.test.js file
danieljbruce Sep 4, 2025
0b23ff4
Get rid of calls to locationPath
danieljbruce Sep 9, 2025
03cfd0e
define instancePath directly
danieljbruce Sep 9, 2025
5ffd84e
instancePath should be fixed string
danieljbruce Sep 9, 2025
7b1b824
operation is actually first argument
danieljbruce Sep 9, 2025
f8acb59
Use instance admin client in row.js
danieljbruce Sep 4, 2025
48b97b0
Run linter and fix table.js
danieljbruce Sep 4, 2025
44ed61c
Fix some of the linting errors
danieljbruce Sep 4, 2025
ebc9a47
Use instanceAdminClient in instances.js
danieljbruce Sep 4, 2025
ada69c8
Update the appProfile instance admin samples
danieljbruce Sep 4, 2025
c71b50c
Revert "Update the appProfile instance admin samples"
danieljbruce Sep 9, 2025
0ca1f04
Must iterate through subobject
danieljbruce Sep 9, 2025
f07432a
Revert "Revert "Update the appProfile instance admin samples""
danieljbruce Sep 9, 2025
497f9a9
Make updates to the cluster.js file
danieljbruce Sep 4, 2025
b9f9cbe
instance.js use the instanceAdminClient
danieljbruce Sep 5, 2025
5d2d711
refactor: update instance.js to use generated client
google-labs-jules[bot] Sep 5, 2025
ee69971
replace project path
danieljbruce Sep 9, 2025
15211f4
Update the location paths
danieljbruce Sep 9, 2025
f57f097
Fix the backup id paths
danieljbruce Sep 9, 2025
9de6148
Don’t rely on admin client for path building
danieljbruce Sep 10, 2025
a186751
replace all instance paths
danieljbruce Sep 10, 2025
63a678b
Use the instance id path
danieljbruce Sep 10, 2025
d501eaf
Replace table path builders
danieljbruce Sep 10, 2025
eacbd16
Replace appProfileId path
danieljbruce Sep 10, 2025
e066fe0
Merge branch 'main' of https://github.com/googleapis/nodejs-bigtable …
danieljbruce Sep 10, 2025
e752e02
Fix the linting errors
danieljbruce Sep 10, 2025
6f2d632
fix linting issues
danieljbruce Sep 10, 2025
f8d94fa
samples for instances should include everything
danieljbruce Sep 17, 2025
12830dc
Merge branch 'main' of https://github.com/googleapis/nodejs-bigtable …
danieljbruce Sep 17, 2025
c97d465
Update the tableadmin samples to contain everythin
danieljbruce Sep 17, 2025
1203007
Eliminate unnecessary import
danieljbruce Sep 18, 2025
7442090
Merge branch 'main' of https://github.com/googleapis/nodejs-bigtable …
danieljbruce Sep 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions samples/api-reference-doc-snippets/family.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
const snippets = {
createColmFamily: async (instanceId, tableId, familyId) => {
// [START bigtable_api_create_family]
const {BigtableTableAdminClient, GCRuleMaker} =
require('@google-cloud/bigtable').v2;
const {BigtableTableAdminClient} = require('@google-cloud/bigtable').v2;
const adminClient = new BigtableTableAdminClient();
const projectId = await adminClient.getProjectId();

Expand Down
Loading
Loading