Skip to content

Commit f442912

Browse files
feat: [servicecontrol] include api_key_uid in service control check response (#5061)
* feat: include api_key_uid in service control check response PiperOrigin-RevId: 608766712 Source-Link: googleapis/googleapis@7ac2785 Source-Link: googleapis/googleapis-gen@3864b57 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFwaS1zZXJ2aWNlY29udHJvbC8uT3dsQm90LnlhbWwiLCJoIjoiMzg2NGI1NzU4YjlkMTAyMjc5NDVhYjk3M2YzYzY5OGE1MzZkMmY3OCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent da1c96f commit f442912

4 files changed

Lines changed: 40 additions & 1 deletion

File tree

packages/google-api-servicecontrol/protos/google/api/servicecontrol/v1/service_controller.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ message CheckResponse {
121121

122122
// Consumer info of this check.
123123
ConsumerInfo consumer_info = 2;
124+
125+
// The unique id of the api key in the format of "apikey:<UID>".
126+
// This field will be populated when the consumer passed to Service Control
127+
// is an API key and all the API key related validations are successful.
128+
string api_key_uid = 5;
124129
}
125130

126131
// `ConsumerInfo` provides information about the consumer.

packages/google-api-servicecontrol/protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-api-servicecontrol/protos/protos.js

Lines changed: 25 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-api-servicecontrol/protos/protos.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)