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