From ce8c605f7c284f116f8852117e624009438ed365 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 9 May 2024 20:53:09 +0000 Subject: [PATCH] fix: Fix ApiVersion header typo --- .../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;