From 12a7618dc62838ebcba8b8a0234fdd756b7b0706 Mon Sep 17 00:00:00 2001 From: Satish Matti Date: Tue, 26 May 2020 15:01:45 -0700 Subject: [PATCH] Update generated code for LogConfig --- pkg/composite/gen.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkg/composite/gen.go b/pkg/composite/gen.go index 02d5288369..0b4e733f18 100644 --- a/pkg/composite/gen.go +++ b/pkg/composite/gen.go @@ -3182,6 +3182,9 @@ func (backendService *BackendService) ToAlpha() (*computealpha.BackendService, e if alpha.Iap != nil { alpha.Iap.ForceSendFields = []string{"Enabled", "Oauth2ClientId", "Oauth2ClientSecret"} } + if alpha.LogConfig != nil { + alpha.LogConfig.ForceSendFields = []string{"Enable"} + } return alpha, nil } @@ -3201,6 +3204,9 @@ func (backendService *BackendService) ToBeta() (*computebeta.BackendService, err if beta.Iap != nil { beta.Iap.ForceSendFields = []string{"Enabled", "Oauth2ClientId", "Oauth2ClientSecret"} } + if beta.LogConfig != nil { + beta.LogConfig.ForceSendFields = []string{"Enable"} + } return beta, nil } @@ -3220,6 +3226,9 @@ func (backendService *BackendService) ToGA() (*compute.BackendService, error) { if ga.Iap != nil { ga.Iap.ForceSendFields = []string{"Enabled", "Oauth2ClientId", "Oauth2ClientSecret"} } + if ga.LogConfig != nil { + ga.LogConfig.ForceSendFields = []string{"Enable"} + } return ga, nil }