From 83aa4b854c4b84a0cba12b5728e4ddef45c0efe9 Mon Sep 17 00:00:00 2001 From: Anh Le Date: Wed, 29 May 2024 23:23:27 +0000 Subject: [PATCH] Add pscInstanceConfig fields for AlloyDB instance Update --- mockgcp/mockalloydb/instance.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mockgcp/mockalloydb/instance.go b/mockgcp/mockalloydb/instance.go index fb32e33823..90dab65844 100644 --- a/mockgcp/mockalloydb/instance.go +++ b/mockgcp/mockalloydb/instance.go @@ -124,6 +124,8 @@ func (s *AlloyDBAdminV1) UpdateInstance(ctx context.Context, req *pb.UpdateInsta obj.ReadPoolConfig = req.Instance.GetReadPoolConfig() case "machineConfig": obj.MachineConfig = req.Instance.GetMachineConfig() + case "pscInstanceConfig": + obj.PscInstanceConfig = req.Instance.GetPscInstanceConfig() default: return nil, status.Errorf(codes.InvalidArgument, "update_mask path %q not valid", path) }