Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spanner): support instance edition #14678

Merged

Conversation

scotthart
Copy link
Member

@scotthart scotthart commented Sep 4, 2024

This change is Reviewable

@scotthart scotthart requested a review from a team as a code owner September 4, 2024 17:41
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Sep 4, 2024
@@ -117,13 +117,59 @@ class CreateInstanceRequestBuilder {
return std::move(*this);
}

enum class Edition { kStandard = 0, kEnterprise, kEnterprisePlus };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

documentation?

Also, nit: drop the = 0 ?

Copy link
Member Author

@scotthart scotthart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @dbolduc)


google/cloud/spanner/create_instance_request_builder.h line 120 at r1 (raw file):

Previously, dbolduc (Darren Bolduc) wrote…

documentation?

Also, nit: drop the = 0 ?

Done.

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

Attention: Patch coverage is 70.00000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 93.62%. Comparing base (718f218) to head (15fb48e).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...le/cloud/spanner/create_instance_request_builder.h 57.14% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14678      +/-   ##
==========================================
- Coverage   93.62%   93.62%   -0.01%     
==========================================
  Files        2320     2320              
  Lines      207152   207188      +36     
==========================================
+ Hits       193947   193978      +31     
- Misses      13205    13210       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@scotthart scotthart force-pushed the spanner_instance_builder_edition branch from d31f355 to 15fb48e Compare September 5, 2024 15:08
@scotthart scotthart merged commit a515560 into googleapis:main Sep 5, 2024
70 of 71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants