From ee3c43a3fd827c4d8310c239ed082c30ab17527a Mon Sep 17 00:00:00 2001 From: "l.gabrysiak" Date: Mon, 24 Mar 2025 21:21:48 +0100 Subject: [PATCH] Add ApplicationName to BigQueryClient --- .../Services/Implementation/GoogleBigQueryClientFactory.cs | 3 ++- .../Services/Implementation/GoogleBigQueryClientFactory.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/AzureFunction/Services/Implementation/GoogleBigQueryClientFactory.cs b/AzureFunction/Services/Implementation/GoogleBigQueryClientFactory.cs index 7c546b3..681b7f4 100644 --- a/AzureFunction/Services/Implementation/GoogleBigQueryClientFactory.cs +++ b/AzureFunction/Services/Implementation/GoogleBigQueryClientFactory.cs @@ -49,7 +49,8 @@ public class GoogleBigQueryClientFactory : IGoogleBigQueryClientFactory { ProjectId = projectId, Credential = credential, - HttpClientFactory = httpClientFactory + HttpClientFactory = httpClientFactory, + ApplicationName = userAgent }.Build(); } diff --git a/Migration/Services/Implementation/GoogleBigQueryClientFactory.cs b/Migration/Services/Implementation/GoogleBigQueryClientFactory.cs index 5747117..3d1ffd5 100644 --- a/Migration/Services/Implementation/GoogleBigQueryClientFactory.cs +++ b/Migration/Services/Implementation/GoogleBigQueryClientFactory.cs @@ -49,7 +49,8 @@ public class GoogleBigQueryClientFactory : IGoogleBigQueryClientFactory { ProjectId = projectId, Credential = credential, - HttpClientFactory = httpClientFactory + HttpClientFactory = httpClientFactory, + ApplicationName = userAgent }.Build(); }