Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jan 9, 2025

This PR adds the insert_tag() helper function to InstanceConfig.

This is needed to support Bigtable's upcoming feature to allow tagging an instance on creation. Our tests require a method to add the tags information to the instance proto, and this using this library is how we achieve that.


This change is Reviewable

@ghost ghost self-requested a review as a code owner January 9, 2025 00:45
@product-auto-label product-auto-label bot added the api: bigtable Issues related to the Bigtable API. label Jan 9, 2025
@dbolduc
Copy link
Member

dbolduc commented Jan 9, 2025

/gcbrun

@ghost ghost temporarily deployed to external January 9, 2025 15:49 — with GitHub Actions Inactive
@ghost ghost temporarily deployed to external January 9, 2025 15:49 — with GitHub Actions Inactive
@dbolduc
Copy link
Member

dbolduc commented Jan 9, 2025

It looks like the tags field does not exist in the public proto:

https://github.com/googleapis/googleapis/blob/8cd87061e43b6adf3f7d0b1d40d0f6192cc2ca74/google/bigtable/admin/v2/instance.proto#L76-L112

We can discuss over email what to do about this.

I am going to close this PR. It is easy enough to hit the reopen button if/when a tags field is added.

@dbolduc dbolduc closed this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants