core.Map<core.String, core.dynamic> toJson() => { if (discoveryConfig != null) 'discoveryConfig': discoveryConfig!, if (updateMask != null) 'updateMask': updateMask!, };