Skip to content

Commit

Permalink
Regenerate with defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
coryan committed Aug 17, 2022
1 parent f6139de commit 7b4d0a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion google/cloud/apikeys/doc/main.dox
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ which should give you a taste of the API Keys API C++ client library API.

<!-- inject-endpoint-env-vars-start -->

- `GOOGLE_CLOUD_CPP_APIKEYS_SERVICE_ENDPOINT=...` overrides the
- `GOOGLE_CLOUD_CPP_API_KEYS_ENDPOINT=...` overrides the
`EndpointOption` (which defaults to "apikeys.googleapis.com")
used by `MakeApiKeysConnection()`.

Expand Down
4 changes: 2 additions & 2 deletions google/cloud/apikeys/internal/api_keys_option_defaults.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ auto constexpr kBackoffScaling = 2.0;

Options ApiKeysDefaultOptions(Options options) {
options = google::cloud::internal::PopulateCommonOptions(
std::move(options), "GOOGLE_CLOUD_CPP_APIKEYS_SERVICE_ENDPOINT", "",
"GOOGLE_CLOUD_CPP_APIKEYS_SERVICE_AUTHORITY", "apikeys.googleapis.com");
std::move(options), "GOOGLE_CLOUD_CPP_API_KEYS_ENDPOINT", "",
"GOOGLE_CLOUD_CPP_API_KEYS_AUTHORITY", "apikeys.googleapis.com");
options =
google::cloud::internal::PopulateGrpcOptions(std::move(options), "");
if (!options.has<apikeys::ApiKeysRetryPolicyOption>()) {
Expand Down

0 comments on commit 7b4d0a7

Please sign in to comment.