I need to read/write location data to Google Business API. Unfortunately, it seems that Google provides the proper API wrapper only for Java: https://developers.google.com/my-business/content/location-data
For instance,
public static void updateLocation(String phone, String name) throws Exception {
Location location = new Location()
.setPrimaryPhone(phone);
Mybusiness.Accounts.Locations.Patch updateLocation =
mybusiness.accounts().locations().patch(name, location);
updateLocation.setFieldMask("primary_phone");
updateLocation.setLanguageCode("en-AU");
Location updatedLocation = updateLocation.execute();
System.out.printf("Updated Location:\n%s", updatedLocation);
}
I am looking for something similar for C#. Thanks in advance.