const Regress = imports.gi.Regress; let fooForeignStruct = new Regress.FooForeignStruct({ regress_foo: value });