From bd396ca929c31c54da1d6969ae5917ffaa32a02a Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Fri, 10 May 2024 14:33:23 +0000 Subject: [PATCH] fix: Fix ApiVersion header typo (#2467) --- .../client/googleapis/services/AbstractGoogleClientRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-api-client/src/main/java/com/google/api/client/googleapis/services/AbstractGoogleClientRequest.java b/google-api-client/src/main/java/com/google/api/client/googleapis/services/AbstractGoogleClientRequest.java index f729375f1..c9a7b5967 100644 --- a/google-api-client/src/main/java/com/google/api/client/googleapis/services/AbstractGoogleClientRequest.java +++ b/google-api-client/src/main/java/com/google/api/client/googleapis/services/AbstractGoogleClientRequest.java @@ -69,7 +69,7 @@ public abstract class AbstractGoogleClientRequest extends GenericData { * The generated request class will pass this constant as part of the header if the RPC supports * ApiVersion. */ - protected static final String API_VERSION_HEADER = "X-Google-Api-Version"; + protected static final String API_VERSION_HEADER = "X-Goog-Api-Version"; /** Google client. */ private final AbstractGoogleClient abstractGoogleClient;