I can’t figure out how to set up dot net ClassroomService based on the sample Python code:
`classroom_service = googleapiclient.discovery.build(
serviceName="classroom"
version="v1",
discoveryServiceUrl=f"https://classroom.googleapis.com/$discovery/rest?labels=ADD_ONS_ALPHA&key={GOOGLE_API_KEY}",
credentials=credentials)`
In dot net, I use the following successfully for Google Classroom calls, but it doesn’t work with the new Classroom Add On feature.
`using (var classroomService = new ClassroomService(new BaseClientService.Initializer
{
HttpClientInitializer = GoogleCredential.FromAccessToken(accessToken),
ApplicationName = "App Test",
}))
{...`
I think it’s the discoveryServiceUrl that is set up wrong in dot net, since it needs the labels param. How can I make sure this is set up correctly in dot net?
There’s no DiscoveryServiceUrl field that I see anywhere.