Resource.Access(resource as any,optional nativeQuery as nullable text,optional options as nullable record) as any