diff --git a/mockgcp/mockcloudids/endpoint.go b/mockgcp/mockcloudids/endpoint.go index d4c5441a28..f42d91bd9d 100644 --- a/mockgcp/mockcloudids/endpoint.go +++ b/mockgcp/mockcloudids/endpoint.go @@ -135,6 +135,8 @@ func (c *CloudIDSEndpointV1) PatchProjectsLocationsEndpoint(ctx context.Context, paths := strings.Split(request.GetUpdateMask(), ",") for _, path := range paths { switch path { + case "threatExceptions": + curObj.ThreatExceptions = request.ProjectsLocationsEndpoint.GetThreatExceptions() default: return nil, status.Errorf(codes.InvalidArgument, "field %q is not yet handled in mock", path) }