From d6ee425a65668ee28ff97c6fb70f3497865d6572 Mon Sep 17 00:00:00 2001 From: eisandbar <55670245+eisandbar@users.noreply.github.com> Date: Tue, 16 Aug 2022 09:26:38 -0400 Subject: [PATCH] feat(google-api-go-generator): Change field PaymentState to pointer (#1663) Added field PaymentState of schema SubscriptionPurchase of the androidpublisher:v3 api to the list of pointerFields. This was done the same way as it was previously done for v2. Fixes #727 --- google-api-go-generator/gen.go | 1 + 1 file changed, 1 insertion(+) diff --git a/google-api-go-generator/gen.go b/google-api-go-generator/gen.go index 744efea9503..6860232c19e 100644 --- a/google-api-go-generator/gen.go +++ b/google-api-go-generator/gen.go @@ -965,6 +965,7 @@ var pointerFields = []fieldName{ {api: "androidpublisher:v3", schema: "ProductPurchase", field: "PurchaseType"}, {api: "androidpublisher:v2", schema: "SubscriptionPurchase", field: "CancelReason"}, {api: "androidpublisher:v2", schema: "SubscriptionPurchase", field: "PaymentState"}, + {api: "androidpublisher:v3", schema: "SubscriptionPurchase", field: "PaymentState"}, {api: "androidpublisher:v2", schema: "SubscriptionPurchase", field: "PurchaseType"}, {api: "androidpublisher:v3", schema: "SubscriptionPurchase", field: "PurchaseType"}, {api: "cloudmonitoring:v2beta2", schema: "Point", field: "BoolValue"},